18 #ifndef __itkWienerDeconvolutionImageFilter_h
19 #define __itkWienerDeconvolutionImageFilter_h
74 template<
typename TInputImage,
typename TKernelImage = TInputImage,
typename TOutputImage = TInputImage,
typename TInternalPrecision=
double >
95 TInputImage::ImageDimension);
123 itkSetMacro(NoiseVariance,
double);
124 itkGetConstMacro(NoiseVariance,
double);
145 template<
typename TPixel >
158 return !(*
this != other);
160 inline TPixel
operator()(
const TPixel & I,
const TPixel & H)
const
167 TPixel Pf = std::norm( I );
169 TPixel denominator = std::norm( H ) + ( Pn / (Pf - Pn) );
173 value = I * ( std::conj( H ) / denominator );
211 #ifndef ITK_MANUAL_INSTANTIATION
212 #include "itkWienerDeconvolutionImageFilter.hxx"
double m_KernelZeroMagnitudeThreshold
Superclass::InputIndexType InputIndexType
TPixel operator()(const TPixel &I, const TPixel &H) const
Superclass::InputRegionType InputRegionType
static const unsigned int ImageDimension
~WienerDeconvolutionImageFilter()
Superclass::InternalComplexImageType InternalComplexImageType
Superclass::KernelIndexType KernelIndexType
Superclass::InputRegionType InputRegionType
Superclass::SizeValueType SizeValueType
Superclass::OutputIndexType OutputIndexType
double GetNoisePowerSpectralDensityConstant() const
The Wiener deconvolution image filter is designed to restore an image convolved with a blurring kerne...
Superclass::InputPixelType InputPixelType
~WienerDeconvolutionFunctor()
WienerDeconvolutionImageFilter()
Base class for all process objects that output image data.
double m_NoisePowerSpectralDensityConstant
Superclass::OutputPixelType OutputPixelType
TInputImage InputImageType
void operator=(const Self &)
Superclass::OutputRegionType OutputRegionType
Superclass::InternalImageType InternalImageType
SmartPointer< const Self > ConstPointer
WienerDeconvolutionFunctor()
Superclass::OutputIndexType OutputIndexType
virtual void PrintSelf(std::ostream &os, Indent indent) const
WienerDeconvolutionImageFilter Self
Superclass::InputSizeType InputSizeType
Superclass::InternalComplexType InternalComplexType
Superclass::InputIndexType InputIndexType
void SetNoisePowerSpectralDensityConstant(double constant)
Superclass::KernelRegionType KernelRegionType
Superclass::InternalImagePointerType InternalImagePointerType
bool operator!=(const WienerDeconvolutionFunctor &) const
Superclass::OutputRegionType OutputRegionType
bool operator==(const WienerDeconvolutionFunctor &other) const
Superclass::KernelSizeType KernelSizeType
Superclass::OutputPixelType OutputPixelType
SmartPointer< Self > Pointer
Superclass::KernelPixelType KernelPixelType
Superclass::InternalImageType InternalImageType
InverseDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > Superclass
double GetKernelZeroMagnitudeThreshold() const
Superclass::InternalComplexImagePointerType InternalComplexImagePointerType
Superclass::InputPixelType InputPixelType
Superclass::KernelIndexType KernelIndexType
Superclass::OutputSizeType OutputSizeType
Control indentation during Print() invocation.
Superclass::KernelSizeType KernelSizeType
Superclass::InternalImagePointerType InternalImagePointerType
Superclass::InputSizeType InputSizeType
TKernelImage KernelImageType
Superclass::OutputSizeType OutputSizeType
The direct linear inverse deconvolution filter.
TOutputImage OutputImageType
Superclass::KernelPixelType KernelPixelType
Superclass::InternalComplexType InternalComplexType
void SetKernelZeroMagnitudeThreshold(double mu)
Superclass::InternalComplexImagePointerType InternalComplexImagePointerType
Superclass::KernelRegionType KernelRegionType
Superclass::InternalComplexImageType InternalComplexImageType
Superclass::SizeValueType SizeValueType