ITK
5.0.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 | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageType = TInputImage |
using | InputIndexType = typename Superclass::InputIndexType |
using | InputPixelType = typename Superclass::InputPixelType |
using | InputRegionType = typename Superclass::InputRegionType |
using | InputSizeType = typename Superclass::InputSizeType |
using | InternalComplexImagePointerType = typename Superclass::InternalComplexImagePointerType |
using | InternalComplexImageType = typename Superclass::InternalComplexImageType |
using | InternalComplexType = typename Superclass::InternalComplexType |
using | InternalImagePointerType = typename Superclass::InternalImagePointerType |
using | InternalImageType = typename Superclass::InternalImageType |
using | KernelImageType = TKernelImage |
using | KernelIndexType = typename Superclass::KernelIndexType |
using | KernelPixelType = typename Superclass::KernelPixelType |
using | KernelRegionType = typename Superclass::KernelRegionType |
using | KernelSizeType = typename Superclass::KernelSizeType |
using | OutputImageType = TOutputImage |
using | OutputIndexType = typename Superclass::OutputIndexType |
using | OutputPixelType = typename Superclass::OutputPixelType |
using | OutputRegionType = typename Superclass::OutputRegionType |
using | OutputSizeType = typename Superclass::OutputSizeType |
using | Pointer = SmartPointer< Self > |
using | Self = WienerDeconvolutionImageFilter |
using | SizeValueType = typename Superclass::SizeValueType |
using | Superclass = InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > |
Public Types inherited from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageType = TInputImage |
using | InputIndexType = typename Superclass::InputIndexType |
using | InputPixelType = typename Superclass::InputPixelType |
using | InputRegionType = typename Superclass::InputRegionType |
using | InputSizeType = typename Superclass::InputSizeType |
using | InternalComplexImagePointerType = typename Superclass::InternalComplexImagePointerType |
using | InternalComplexImageType = typename Superclass::InternalComplexImageType |
using | InternalComplexType = typename Superclass::InternalComplexType |
using | InternalImagePointerType = typename Superclass::InternalImagePointerType |
using | InternalImageType = typename Superclass::InternalImageType |
using | KernelImageType = TKernelImage |
using | KernelIndexType = typename Superclass::KernelIndexType |
using | KernelPixelType = typename Superclass::KernelPixelType |
using | KernelRegionType = typename Superclass::KernelRegionType |
using | KernelSizeType = typename Superclass::KernelSizeType |
using | OutputImageType = TOutputImage |
using | OutputIndexType = typename Superclass::OutputIndexType |
using | OutputPixelType = typename Superclass::OutputPixelType |
using | OutputRegionType = typename Superclass::OutputRegionType |
using | OutputSizeType = typename Superclass::OutputSizeType |
using | Pointer = SmartPointer< Self > |
using | Self = InverseDeconvolutionImageFilter |
using | SizeValueType = typename Superclass::SizeValueType |
using | Superclass = FFTConvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > |
Public Types inherited from itk::FFTConvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
using | BoundaryConditionPointerType = typename Superclass::BoundaryConditionPointerType |
using | BoundaryConditionType = typename Superclass::BoundaryConditionType |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageType = TInputImage |
using | InputIndexType = typename InputImageType::IndexType |
using | InputPixelType = typename InputImageType::PixelType |
using | InputRegionType = typename InputImageType::RegionType |
using | InputSizeType = typename InputImageType::SizeType |
using | InternalComplexImagePointerType = typename InternalComplexImageType::Pointer |
using | InternalComplexImageType = Image< InternalComplexType, TInputImage::ImageDimension > |
using | InternalComplexType = std::complex< TInternalPrecision > |
using | InternalImagePointerType = typename InternalImageType::Pointer |
using | InternalImageType = Image< TInternalPrecision, TInputImage::ImageDimension > |
using | KernelImageType = TKernelImage |
using | KernelIndexType = typename KernelImageType::IndexType |
using | KernelPixelType = typename KernelImageType::PixelType |
using | KernelRegionType = typename KernelImageType::RegionType |
using | KernelSizeType = typename KernelImageType::SizeType |
using | OutputImageType = TOutputImage |
using | OutputIndexType = typename OutputImageType::IndexType |
using | OutputPixelType = typename OutputImageType::PixelType |
using | OutputRegionType = typename OutputImageType::RegionType |
using | OutputSizeType = typename OutputImageType::SizeType |
using | Pointer = SmartPointer< Self > |
using | Self = FFTConvolutionImageFilter |
using | SizeValueType = typename InputSizeType::SizeValueType |
using | Superclass = ConvolutionImageFilterBase< TInputImage, TKernelImage, TOutputImage > |
Public Types inherited from itk::ConvolutionImageFilterBase< TInputImage, TKernelImage, TOutputImage > | |
using | BoundaryConditionPointerType = BoundaryConditionType * |
using | BoundaryConditionType = ImageBoundaryCondition< TInputImage > |
using | ConstPointer = SmartPointer< const Self > |
using | DefaultBoundaryConditionType = ZeroFluxNeumannBoundaryCondition< TInputImage > |
using | InputImageType = TInputImage |
using | InputIndexType = typename InputImageType::IndexType |
using | InputPixelType = typename InputImageType::PixelType |
using | InputRegionType = typename InputImageType::RegionType |
using | InputSizeType = typename InputImageType::SizeType |
using | KernelImageType = TKernelImage |
using | KernelIndexType = typename KernelImageType::IndexType |
using | KernelPixelType = typename KernelImageType::PixelType |
using | KernelRegionType = typename KernelImageType::RegionType |
using | KernelSizeType = typename KernelImageType::SizeType |
using | OutputImageType = TOutputImage |
using | OutputIndexType = typename OutputImageType::IndexType |
using | OutputPixelType = typename OutputImageType::PixelType |
enum | OutputRegionModeType { SAME = 0, VALID } |
using | OutputRegionType = typename OutputImageType::RegionType |
using | OutputSizeType = typename OutputImageType::SizeType |
using | Pointer = SmartPointer< Self > |
using | Self = ConvolutionImageFilterBase |
using | SizeValueType = typename InputSizeType::SizeValueType |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::ImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
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 Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::FFTConvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ConvolutionImageFilterBase< TInputImage, TKernelImage, TOutputImage > | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
double | m_NoiseVariance |
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::ConstPointer = SmartPointer< const Self > |
Definition at line 87 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputImageType = TInputImage |
Definition at line 98 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputIndexType = typename Superclass::InputIndexType |
Definition at line 104 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputPixelType = typename Superclass::InputPixelType |
Definition at line 101 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputRegionType = typename Superclass::InputRegionType |
Definition at line 111 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InputSizeType = typename Superclass::InputSizeType |
Definition at line 107 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalComplexImagePointerType = typename Superclass::InternalComplexImagePointerType |
Definition at line 120 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalComplexImageType = typename Superclass::InternalComplexImageType |
Definition at line 119 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalComplexType = typename Superclass::InternalComplexType |
Definition at line 118 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalImagePointerType = typename Superclass::InternalImagePointerType |
Definition at line 117 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::InternalImageType = typename Superclass::InternalImageType |
Internal image types.
Definition at line 116 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelImageType = TKernelImage |
Definition at line 100 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelIndexType = typename Superclass::KernelIndexType |
Definition at line 106 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelPixelType = typename Superclass::KernelPixelType |
Definition at line 103 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelRegionType = typename Superclass::KernelRegionType |
Definition at line 113 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::KernelSizeType = typename Superclass::KernelSizeType |
Definition at line 109 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputImageType = TOutputImage |
Definition at line 99 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputIndexType = typename Superclass::OutputIndexType |
Definition at line 105 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputPixelType = typename Superclass::OutputPixelType |
Definition at line 102 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputRegionType = typename Superclass::OutputRegionType |
Definition at line 112 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::OutputSizeType = typename Superclass::OutputSizeType |
Definition at line 108 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::Pointer = SmartPointer< Self > |
Definition at line 86 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::Self = WienerDeconvolutionImageFilter |
Definition at line 81 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::SizeValueType = typename Superclass::SizeValueType |
Definition at line 110 of file itkWienerDeconvolutionImageFilter.h.
using itk::WienerDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >::Superclass = InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > |
Definition at line 85 of file itkWienerDeconvolutionImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
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 >.
|
overrideprotectedvirtual |
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.
|
overrideprotectedvirtual |
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 96 of file itkWienerDeconvolutionImageFilter.h.
|
private |
Definition at line 138 of file itkWienerDeconvolutionImageFilter.h.