ITK
4.1.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.
typedef SmartPointer< const Self > itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::ConstPointer |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 82 of file itkWienerDeconvolutionImageFilter.h.
typedef TInputImage itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 94 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InputIndexType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputIndexType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 100 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InputPixelType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputPixelType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 97 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InputRegionType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputRegionType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 107 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InputSizeType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputSizeType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 103 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalComplexImagePointerType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalComplexImagePointerType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 116 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalComplexImageType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalComplexImageType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 115 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalComplexType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalComplexType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 114 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalImagePointerType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalImagePointerType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 113 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalImageType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalImageType |
Internal image types.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 112 of file itkWienerDeconvolutionImageFilter.h.
typedef TKernelImage itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelImageType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 96 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::KernelIndexType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelIndexType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 102 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::KernelPixelType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelPixelType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 99 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::KernelRegionType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelRegionType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 109 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::KernelSizeType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelSizeType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 105 of file itkWienerDeconvolutionImageFilter.h.
typedef TOutputImage itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 95 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::OutputIndexType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputIndexType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 101 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::OutputPixelType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputPixelType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 98 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::OutputRegionType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputRegionType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 108 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::OutputSizeType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputSizeType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 104 of file itkWienerDeconvolutionImageFilter.h.
typedef SmartPointer< Self > itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::Pointer |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 81 of file itkWienerDeconvolutionImageFilter.h.
typedef WienerDeconvolutionImageFilter itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::Self |
Standard class typedefs.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 79 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::SizeValueType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::SizeValueType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 106 of file itkWienerDeconvolutionImageFilter.h.
typedef FFTConvolutionImageFilter< TInputImage, TOutputImage > itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::Superclass |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 80 of file itkWienerDeconvolutionImageFilter.h.
itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::WienerDeconvolutionImageFilter | ( | ) | [protected] |
itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::~WienerDeconvolutionImageFilter | ( | ) | [inline, protected] |
Definition at line 126 of file itkWienerDeconvolutionImageFilter.h.
itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::WienerDeconvolutionImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::CreateAnother | ( | void | ) | const [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 >.
void itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::GenerateData | ( | ) | [protected, virtual] |
This filter uses a minipipeline to compute the output.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
virtual const char* itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information ( and related methods )
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
virtual double itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::GetNoiseVariance | ( | ) | const [virtual] |
Set/get the variance of the zero-mean Gaussian white noise assumed to be added to the input.
static Pointer itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
void itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::operator= | ( | const Self & | ) | [private] |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
virtual void itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
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 >.
virtual void itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::SetNoiseVariance | ( | double | _arg | ) | [virtual] |
Set/get the variance of the zero-mean Gaussian white noise assumed to be added to the input.
const unsigned int itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::ImageDimension = TInputImage::ImageDimension [static] |
Dimensionality of input and output data is assumed to be the same.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage >.
Definition at line 92 of file itkWienerDeconvolutionImageFilter.h.
double itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::m_NoiseVariance [private] |
Definition at line 137 of file itkWienerDeconvolutionImageFilter.h.