18 #ifndef __itkWienerDeconvolutionImageFilter_h
19 #define __itkWienerDeconvolutionImageFilter_h
74 template<
class TInputImage,
class TKernelImage = TInputImage,
class TOutputImage = TInputImage,
class TInternalPrecision=
double >
94 itkStaticConstMacro(ImageDimension,
unsigned int,
95 TInputImage::ImageDimension);
123 itkSetMacro(NoiseVariance,
double);
124 itkGetConstMacro(NoiseVariance,
double);
134 virtual void PrintSelf( std::ostream & os,
Indent indent )
const;
138 void operator=(
const Self &);
145 template<
class 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"