ITK  4.2.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< class TInputImage, class TKernelImage=TInputImage, class TOutputImage=TInputImage, class 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 
78  typedef typename Superclass::InternalImageType InternalImageType;
79  typedef typename Superclass::InternalImagePointerType InternalImagePointerType;
80  typedef typename Superclass::InternalComplexType InternalComplexType;
81  typedef typename Superclass::InternalComplexImageType InternalComplexImageType;
82  typedef typename Superclass::InternalComplexImagePointerType InternalComplexImagePointerType;
83 
85  itkNewMacro(Self);
86 
90 
91 protected:
94 
95  virtual void Initialize(ProgressAccumulator * progress,
96  float progressWeight,
97  float iterationProgressWeight);
98 
99  virtual void Iteration(ProgressAccumulator * progress,
100  float iterationProgressWeight);
101 
102  virtual void Finish(ProgressAccumulator *progress, float progressWeight);
103 
104  typedef typename Superclass::FFTFilterType FFTFilterType;
105  typedef typename Superclass::IFFTFilterType IFFTFilterType;
106 
107  virtual void PrintSelf(std::ostream & os, Indent indent) const;
108 
109 private:
110  RichardsonLucyDeconvolutionImageFilter(const Self &); // purposely not implemented
111  void operator=(const Self &); // purposely not implemented
112 
121 
123 
132 };
133 } // end namespace itk
134 
135 #ifndef ITK_MANUAL_INSTANTIATION
136 #include "itkRichardsonLucyDeconvolutionImageFilter.hxx"
137 #endif
138 
139 #endif
140