|
ITK
5.1.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkParametricBlindLeastSquaresDeconvolutionImageFilter_h
19 #define itkParametricBlindLeastSquaresDeconvolutionImageFilter_h
58 template <
typename TInputImage,
typename TKernelSource,
typename TOutputImage = TInputImage>
101 itkSetMacro(Alpha,
double);
102 itkGetMacro(Alpha,
double);
107 itkSetMacro(Beta,
double);
108 itkGetMacro(Beta,
double);
116 Initialize(
ProgressAccumulator * progress,
float progressWeight,
float iterationProgressWeight)
override;
125 PrintSelf(std::ostream & os,
Indent indent)
const override;
128 template <
typename TPixel>
144 return !(*
this != other);
148 operator()(
const TPixel & estimateFT,
const TPixel & kernelEstimateFT,
const TPixel & inputFT)
150 return estimateFT * kernelEstimateFT - inputFT;
154 template <
typename TPixel>
170 return !(*
this != other);
174 operator()(
const TPixel & estimateFT,
const TPixel & differenceFT,
const TPixel & kernelFT)
178 return estimateFT - m_Alpha * (differenceFT * std::conj(kernelFT));
193 double m_Alpha{ 0.01 };
229 #ifndef ITK_MANUAL_INSTANTIATION
230 # include "itkParametricBlindLeastSquaresDeconvolutionImageFilter.hxx"
typename Superclass::InternalComplexImagePointerType InternalComplexImagePointerType
bool operator==(const ParametricBlindLeastSquaresDeconvolutionDifference &other) const
TKernelSource KernelSourceType
KernelSourcePointer m_KernelSource
bool operator!=(const ParametricBlindLeastSquaresDeconvolutionDifference &) const
InternalComplexImagePointerType m_TransformedInput
typename Superclass::InternalImagePointerType InternalImagePointerType
TPixel operator()(const TPixel &estimateFT, const TPixel &differenceFT, const TPixel &kernelFT)
Control indentation during Print() invocation.
typename Superclass::InternalComplexType InternalComplexType
typename Superclass::InternalImageType InternalImageType
TPixel operator()(const TPixel &estimateFT, const TPixel &kernelEstimateFT, const TPixel &inputFT)
typename Superclass::InternalComplexImageType InternalComplexImageType
Base class for all process objects that output image data.
typename Superclass::InternalComplexImagePointerType InternalComplexImagePointerType
void SetAlpha(double alpha)
bool operator!=(const ParametricBlindLeastSquaresDeconvolutionImageUpdate &) const
Implements pixel-wise generic operation of three images.
TInputImage InputImageType
Least-squares blind deconvolution filter that also estimates the parameters of a user-supplied parame...
typename KernelSourceType::Pointer KernelSourcePointer
Facilitates progress reporting for filters that wrap around multiple other filters.
Abstract base class for filters that implement iterative deconvolution algorithms.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
bool operator==(const ParametricBlindLeastSquaresDeconvolutionImageUpdate &other) const
ImageUpdateFilterType::Pointer m_ImageUpdateFilter
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
DifferenceFilterType::Pointer m_DifferenceFilter
InternalComplexImagePointerType m_TransformedCurrentEstimate
TOutputImage OutputImageType