ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkWienerDeconvolutionImageFilter.h>
The Wiener deconvolution image filter is designed to restore an image convolved with a blurring kernel while keeping noise enhancement to a minimum.
The Wiener filter aims to minimize noise enhancement induced by frequencies with low signal-to-noise ratio. The Wiener filter kernel is defined in the frequency domain as where is the Fourier transform of the blurring kernel with which the original image was convolved and the signal-to-noise ratio . is defined by where is the power spectral density of the uncorrupted signal and is the power spectral density of the noise. When applied to the input blurred image, this filter produces an estimate of the true underlying signal that minimizes the expected error between and .
This filter requires two inputs, the image to be deconvolved and the blurring kernel. These two inputs can be set using the methods SetInput() and SetKernelImage(), respectively.
The power spectral densities of the signal and noise are typically unavailable for a given problem. In particular, cannot be computed from because this unknown signal is precisely the signal that this filter aims to recover. Nevertheless, it is common for the noise to have a power spectral density that is flat or decreasing significantly more slowly than the power spectral density of a typical image as the frequency increases. Hence, can typically be approximated with a constant, and this filter makes this assumption (see the NoiseVariance member variable). , on the other hand, will vary with input. This filter computes the power spectral density of the input blurred image, subtracts the power spectral density of the noise, and uses the result as the estimate of .
For further information on the Wiener deconvolution filter, please see "Digital Signal Processing" by Kenneth R. Castleman, Prentice Hall, 1995
Definition at line 75 of file itkWienerDeconvolutionImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef Superclass::InputIndexType | InputIndexType |
typedef Superclass::InputPixelType | InputPixelType |
typedef Superclass::InputRegionType | InputRegionType |
typedef Superclass::InputSizeType | InputSizeType |
typedef Superclass::InternalComplexImagePointerType | InternalComplexImagePointerType |
typedef Superclass::InternalComplexImageType | InternalComplexImageType |
typedef Superclass::InternalComplexType | InternalComplexType |
typedef Superclass::InternalImagePointerType | InternalImagePointerType |
typedef Superclass::InternalImageType | InternalImageType |
typedef TKernelImage | KernelImageType |
typedef Superclass::KernelIndexType | KernelIndexType |
typedef Superclass::KernelPixelType | KernelPixelType |
typedef Superclass::KernelRegionType | KernelRegionType |
typedef Superclass::KernelSizeType | KernelSizeType |
typedef TOutputImage | OutputImageType |
typedef Superclass::OutputIndexType | OutputIndexType |
typedef Superclass::OutputPixelType | OutputPixelType |
typedef Superclass::OutputRegionType | OutputRegionType |
typedef Superclass::OutputSizeType | OutputSizeType |
typedef SmartPointer< Self > | Pointer |
typedef WienerDeconvolutionImageFilter | Self |
typedef Superclass::SizeValueType | SizeValueType |
typedef InverseDeconvolutionImageFilter < TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | Superclass |
Public Types inherited from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef Superclass::InputIndexType | InputIndexType |
typedef Superclass::InputPixelType | InputPixelType |
typedef Superclass::InputRegionType | InputRegionType |
typedef Superclass::InputSizeType | InputSizeType |
typedef Superclass::InternalComplexImagePointerType | InternalComplexImagePointerType |
typedef Superclass::InternalComplexImageType | InternalComplexImageType |
typedef Superclass::InternalComplexType | InternalComplexType |
typedef Superclass::InternalImagePointerType | InternalImagePointerType |
typedef Superclass::InternalImageType | InternalImageType |
typedef TKernelImage | KernelImageType |
typedef Superclass::KernelIndexType | KernelIndexType |
typedef Superclass::KernelPixelType | KernelPixelType |
typedef Superclass::KernelRegionType | KernelRegionType |
typedef Superclass::KernelSizeType | KernelSizeType |
typedef TOutputImage | OutputImageType |
typedef Superclass::OutputIndexType | OutputIndexType |
typedef Superclass::OutputPixelType | OutputPixelType |
typedef Superclass::OutputRegionType | OutputRegionType |
typedef Superclass::OutputSizeType | OutputSizeType |
typedef SmartPointer< Self > | Pointer |
typedef InverseDeconvolutionImageFilter | Self |
typedef Superclass::SizeValueType | SizeValueType |
typedef FFTConvolutionImageFilter < TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | Superclass |
Public Types inherited from itk::FFTConvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
typedef Superclass::BoundaryConditionPointerType | BoundaryConditionPointerType |
typedef Superclass::BoundaryConditionType | BoundaryConditionType |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef InputImageType::IndexType | InputIndexType |
typedef InputImageType::PixelType | InputPixelType |
typedef InputImageType::RegionType | InputRegionType |
typedef InputImageType::SizeType | InputSizeType |
typedef InternalComplexImageType::Pointer | InternalComplexImagePointerType |
typedef Image < InternalComplexType, TInputImage::ImageDimension > | InternalComplexImageType |
typedef std::complex < TInternalPrecision > | InternalComplexType |
typedef InternalImageType::Pointer | InternalImagePointerType |
typedef Image < TInternalPrecision, TInputImage::ImageDimension > | InternalImageType |
typedef TKernelImage | KernelImageType |
typedef KernelImageType::IndexType | KernelIndexType |
typedef KernelImageType::PixelType | KernelPixelType |
typedef KernelImageType::RegionType | KernelRegionType |
typedef KernelImageType::SizeType | KernelSizeType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::IndexType | OutputIndexType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef OutputImageType::RegionType | OutputRegionType |
typedef OutputImageType::SizeType | OutputSizeType |
typedef SmartPointer< Self > | Pointer |
typedef FFTConvolutionImageFilter | Self |
typedef InputSizeType::SizeValueType | SizeValueType |
typedef ConvolutionImageFilterBase < TInputImage, TKernelImage, TOutputImage > | Superclass |
Public Types inherited from itk::ConvolutionImageFilterBase< TInputImage, TKernelImage, TOutputImage > | |
typedef BoundaryConditionType * | BoundaryConditionPointerType |
typedef ImageBoundaryCondition < TInputImage > | BoundaryConditionType |
typedef SmartPointer< const Self > | ConstPointer |
typedef ZeroFluxNeumannBoundaryCondition < TInputImage > | DefaultBoundaryConditionType |
typedef TInputImage | InputImageType |
typedef InputImageType::IndexType | InputIndexType |
typedef InputImageType::PixelType | InputPixelType |
typedef InputImageType::RegionType | InputRegionType |
typedef InputImageType::SizeType | InputSizeType |
typedef TKernelImage | KernelImageType |
typedef KernelImageType::IndexType | KernelIndexType |
typedef KernelImageType::PixelType | KernelPixelType |
typedef KernelImageType::RegionType | KernelRegionType |
typedef KernelImageType::SizeType | KernelSizeType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::IndexType | OutputIndexType |
typedef OutputImageType::PixelType | OutputPixelType |
enum | OutputRegionModeType { SAME = 0, VALID } |
typedef OutputImageType::RegionType | OutputRegionType |
typedef OutputImageType::SizeType | OutputSizeType |
typedef SmartPointer< Self > | Pointer |
typedef ConvolutionImageFilterBase | Self |
typedef InputSizeType::SizeValueType | SizeValueType |
typedef ImageToImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TOutputImage > | Superclass |
Public Types inherited from itk::ImageSource< TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual void | SetNoiseVariance (double _arg) |
virtual double | GetNoiseVariance () const |
Public Member Functions inherited from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
virtual void | SetKernelZeroMagnitudeThreshold (double _arg) |
virtual double | GetKernelZeroMagnitudeThreshold () const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::FFTConvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::FFTConvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ConvolutionImageFilterBase< TInputImage, TKernelImage, TOutputImage > | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Member Functions | |
void | operator= (const Self &) |
WienerDeconvolutionImageFilter (const Self &) | |
Private Attributes | |
double | m_NoiseVariance |
Additional Inherited Members | |
Protected Types inherited from itk::FFTConvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
typedef RealToHalfHermitianForwardFFTImageFilter < InternalImageType, InternalComplexImageType > | FFTFilterType |
typedef HalfHermitianToRealInverseFFTImageFilter < InternalComplexImageType, InternalImageType > | IFFTFilterType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
typedef SmartPointer< const Self > itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::ConstPointer |
Definition at line 85 of file itkWienerDeconvolutionImageFilter.h.
typedef TInputImage itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputImageType |
Definition at line 97 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InputIndexType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputIndexType |
Definition at line 103 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InputPixelType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputPixelType |
Definition at line 100 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InputRegionType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputRegionType |
Definition at line 110 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InputSizeType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputSizeType |
Definition at line 106 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalComplexImagePointerType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalComplexImagePointerType |
Definition at line 119 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalComplexImageType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalComplexImageType |
Definition at line 118 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalComplexType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalComplexType |
Definition at line 117 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalImagePointerType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalImagePointerType |
Definition at line 116 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalImageType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalImageType |
Internal image types.
Definition at line 115 of file itkWienerDeconvolutionImageFilter.h.
typedef TKernelImage itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelImageType |
Definition at line 99 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::KernelIndexType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelIndexType |
Definition at line 105 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::KernelPixelType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelPixelType |
Definition at line 102 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::KernelRegionType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelRegionType |
Definition at line 112 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::KernelSizeType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelSizeType |
Definition at line 108 of file itkWienerDeconvolutionImageFilter.h.
typedef TOutputImage itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputImageType |
Definition at line 98 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::OutputIndexType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputIndexType |
Definition at line 104 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::OutputPixelType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputPixelType |
Definition at line 101 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::OutputRegionType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputRegionType |
Definition at line 111 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::OutputSizeType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputSizeType |
Definition at line 107 of file itkWienerDeconvolutionImageFilter.h.
typedef SmartPointer< Self > itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::Pointer |
Definition at line 84 of file itkWienerDeconvolutionImageFilter.h.
typedef WienerDeconvolutionImageFilter itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::Self |
Definition at line 79 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::SizeValueType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::SizeValueType |
Definition at line 109 of file itkWienerDeconvolutionImageFilter.h.
typedef InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::Superclass |
Definition at line 83 of file itkWienerDeconvolutionImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 129 of file itkWienerDeconvolutionImageFilter.h.
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
|
protectedvirtual |
This filter uses a minipipeline to compute the output.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
|
virtual |
Run-time type information ( and related methods )
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
|
virtual |
Set/get the variance of the zero-mean Gaussian white noise assumed to be added to the input.
|
static |
Method for creation through the object factory.
|
private |
|
protectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
|
virtual |
Set/get the variance of the zero-mean Gaussian white noise assumed to be added to the input.
|
static |
Dimensionality of input and output data is assumed to be the same.
Definition at line 95 of file itkWienerDeconvolutionImageFilter.h.
|
private |
Definition at line 140 of file itkWienerDeconvolutionImageFilter.h.