ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <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 > | |
Public Types inherited from itk::FFTConvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
typedef Superclass::BoundaryConditionPointerType | BoundaryConditionPointerType |
typedef Superclass::BoundaryConditionType | BoundaryConditionType |
Public Types inherited from itk::ConvolutionImageFilterBase< TInputImage, TKernelImage, TOutputImage > | |
typedef ZeroFluxNeumannBoundaryCondition < TInputImage > | DefaultBoundaryConditionType |
enum | OutputRegionModeType { SAME = 0, VALID } |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
Public Types inherited from itk::ImageSource< TOutputImage > | |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::Pointer | OutputImagePointer |
Public Types inherited from itk::ProcessObject | |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef std::vector < DataObjectIdentifierType > | NameArray |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
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 Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
Static Public Attributes inherited from itk::FFTConvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
Static Public Attributes inherited from itk::ConvolutionImageFilterBase< TInputImage, TKernelImage, TOutputImage > | |
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 > |
Private Member Functions | |
void | operator= (const Self &) |
WienerDeconvolutionImageFilter (const Self &) |
Private Attributes | |
double | m_NoiseVariance |
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, TInternalPrecision >.
Definition at line 85 of file itkWienerDeconvolutionImageFilter.h.
typedef TInputImage itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 97 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InputIndexType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputIndexType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 103 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InputPixelType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputPixelType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 100 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InputRegionType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputRegionType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 110 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InputSizeType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputSizeType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 106 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalComplexImagePointerType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalComplexImagePointerType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 119 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalComplexImageType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalComplexImageType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 118 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalComplexType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalComplexType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 117 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalImagePointerType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalImagePointerType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 116 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::InternalImageType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalImageType |
Internal image types.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 115 of file itkWienerDeconvolutionImageFilter.h.
typedef TKernelImage itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelImageType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 99 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::KernelIndexType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelIndexType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 105 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::KernelPixelType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelPixelType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 102 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::KernelRegionType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelRegionType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 112 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::KernelSizeType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelSizeType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 108 of file itkWienerDeconvolutionImageFilter.h.
typedef TOutputImage itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 98 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::OutputIndexType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputIndexType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 104 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::OutputPixelType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputPixelType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 101 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::OutputRegionType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputRegionType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 111 of file itkWienerDeconvolutionImageFilter.h.
typedef Superclass::OutputSizeType itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputSizeType |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 107 of file itkWienerDeconvolutionImageFilter.h.
typedef SmartPointer< Self > itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::Pointer |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 84 of file itkWienerDeconvolutionImageFilter.h.
typedef WienerDeconvolutionImageFilter itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::Self |
Standard class typedefs.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
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, TInternalPrecision >.
Definition at line 109 of file itkWienerDeconvolutionImageFilter.h.
typedef InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::Superclass |
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
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.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
|
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, TInternalPrecision >.
|
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.
Reimplemented from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >.
Definition at line 95 of file itkWienerDeconvolutionImageFilter.h.
|
private |
Definition at line 140 of file itkWienerDeconvolutionImageFilter.h.