18 #ifndef itkInverseDeconvolutionImageFilter_h
19 #define itkInverseDeconvolutionImageFilter_h
54 template <
typename TInputImage,
55 typename TKernelImage = TInputImage,
56 typename TOutputImage = TInputImage,
57 typename TInternalPrecision =
double>
77 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
106 itkSetMacro(KernelZeroMagnitudeThreshold,
double);
107 itkGetConstMacro(KernelZeroMagnitudeThreshold,
double);
116 GenerateData()
override;
119 PrintSelf(std::ostream & os,
Indent indent)
const override;
127 template <
typename TInput1,
typename TInput2,
typename TOutput>
142 return !(*
this != other);
147 const double absH = std::abs(H);
149 if (absH >= m_KernelZeroMagnitudeThreshold)
151 value = static_cast<TOutput>(I / H);
161 m_KernelZeroMagnitudeThreshold = mu;
166 return m_KernelZeroMagnitudeThreshold;
177 #ifndef ITK_MANUAL_INSTANTIATION
178 # include "itkInverseDeconvolutionImageFilter.hxx"