ITK  4.9.0
Insight Segmentation and Registration Toolkit
itkRichardsonLucyDeconvolutionImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef itkRichardsonLucyDeconvolutionImageFilter_h
19 #define itkRichardsonLucyDeconvolutionImageFilter_h
20 
22 
25 #include "itkMultiplyImageFilter.h"
26 
27 namespace itk
28 {
58 template< typename TInputImage, typename TKernelImage=TInputImage, typename TOutputImage=TInputImage, typename TInternalPrecision=double >
60  public IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision >
61 {
62 public:
65  typedef IterativeDeconvolutionImageFilter< TInputImage,
66  TKernelImage,
67  TOutputImage,
68  TInternalPrecision > Superclass;
71 
73  typedef TInputImage InputImageType;
74  typedef TKernelImage KernelImageType;
75  typedef TOutputImage OutputImageType;
76 
83 
85  itkNewMacro(Self);
86 
90 
91 protected:
94 
95  virtual void Initialize(ProgressAccumulator * progress,
96  float progressWeight,
97  float iterationProgressWeight) ITK_OVERRIDE;
98 
99  virtual void Iteration(ProgressAccumulator * progress,
100  float iterationProgressWeight) ITK_OVERRIDE;
101 
102  virtual void Finish(ProgressAccumulator *progress, float progressWeight) ITK_OVERRIDE;
103 
106 
107  virtual void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
108 
109 private:
110  RichardsonLucyDeconvolutionImageFilter(const Self &) ITK_DELETE_FUNCTION;
111  void operator=(const Self &) ITK_DELETE_FUNCTION;
112 
119  ConjugateAdaptorType,
120  InternalComplexImageType > ComplexConjugateMultiplyType;
121 
123 
124  typename ComplexMultiplyType::Pointer m_ComplexMultiplyFilter1;
126  typename DivideFilterType::Pointer m_DivideFilter;
128  typename ConjugateAdaptorType::Pointer m_ConjugateAdaptor;
129  typename ComplexConjugateMultiplyType::Pointer m_ComplexMultiplyFilter2;
131  typename MultiplyFilterType::Pointer m_MultiplyFilter;
132 };
133 } // end namespace itk
134 
135 #ifndef ITK_MANUAL_INSTANTIATION
136 #include "itkRichardsonLucyDeconvolutionImageFilter.hxx"
137 #endif
138 
139 #endif
Presents each pixel of a complex image as its complex conjugate.
virtual void Iteration(ProgressAccumulator *progress, float iterationProgressWeight) override
Base class for all process objects that output image data.
Deconvolve an image using the Richardson-Lucy deconvolution algorithm.
Base class for specialized complex-to-real inverse Fast Fourier Transform.
IterativeDeconvolutionImageFilter< TInputImage, TKernelImage, TOutputImage, TInternalPrecision > Superclass
Superclass::InternalComplexImagePointerType InternalComplexImagePointerType
Superclass::InternalComplexImageType InternalComplexImageType
Superclass::InternalImagePointerType InternalImagePointerType
virtual void Finish(ProgressAccumulator *progress, float progressWeight) override
Facilitates progress reporting for filters that wrap around multiple other filters.
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::InternalComplexImagePointerType InternalComplexImagePointerType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Abstract base class for filters that implement iterative deconvolution algorithms.
Base class for specialized real-to-complex forward Fast Fourier Transform.
Pixel-wise multiplication of two images.
virtual void Initialize(ProgressAccumulator *progress, float progressWeight, float iterationProgressWeight) override
Templated n-dimensional image class.
Definition: itkImage.h:75