ITK  4.1.0
Insight Segmentation and Registration Toolkit
itkProjectedIterativeDeconvolutionImageFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002  *
00003  *  Copyright Insight Software Consortium
00004  *
00005  *  Licensed under the Apache License, Version 2.0 (the "License");
00006  *  you may not use this file except in compliance with the License.
00007  *  You may obtain a copy of the License at
00008  *
00009  *         http://www.apache.org/licenses/LICENSE-2.0.txt
00010  *
00011  *  Unless required by applicable law or agreed to in writing, software
00012  *  distributed under the License is distributed on an "AS IS" BASIS,
00013  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *  See the License for the specific language governing permissions and
00015  *  limitations under the License.
00016  *
00017  *=========================================================================*/
00018 #ifndef __itkProjectedIterativeDeconvolutionImageFilter_h
00019 #define __itkProjectedIterativeDeconvolutionImageFilter_h
00020 
00021 #include "itkIterativeDeconvolutionImageFilter.h"
00022 
00023 #include "itkThresholdImageFilter.h"
00024 
00025 namespace itk
00026 {
00044 template< class TSuperclass >
00045 class ITK_EXPORT ProjectedIterativeDeconvolutionImageFilter : public TSuperclass
00046 {
00047 public:
00049   typedef ProjectedIterativeDeconvolutionImageFilter Self;
00050   typedef TSuperclass                                Superclass;
00051   typedef SmartPointer< Self >                       Pointer;
00052   typedef SmartPointer< const Self >                 ConstPointer;
00053 
00055   typedef typename Superclass::InputImageType        InputImageType;
00056   typedef typename Superclass::KernelImageType       KernelImageType;
00057   typedef typename Superclass::OutputImageType       OutputImageType;
00058 
00060   typedef typename Superclass::InternalImageType               InternalImageType;
00061   typedef typename Superclass::InternalImagePointerType        InternalImagePointerType;
00062   typedef typename Superclass::InternalComplexType             InternalComplexType;
00063   typedef typename Superclass::InternalComplexImageType        InternalComplexImageType;
00064   typedef typename Superclass::InternalComplexImagePointerType InternalComplexImagePointerType;
00065 
00067   itkNewMacro(Self);
00068 
00070   itkTypeMacro(ProjectedIterativeDeconvolutionImageFilter,
00071                IterativeDeconvolutionImageFilter);
00072 
00073 protected:
00074   ProjectedIterativeDeconvolutionImageFilter();
00075   virtual ~ProjectedIterativeDeconvolutionImageFilter();
00076 
00077   virtual void Initialize(ProgressAccumulator * progress,
00078                           float progressWeight,
00079                           float iterationProgressWeight);
00080 
00081   virtual void Iteration(ProgressAccumulator * progress,
00082                          float iterationProgressWeight);
00083 
00084 private:
00085   ProjectedIterativeDeconvolutionImageFilter(const Self &); // purposely not implemented
00086   void operator=(const Self &); // purposely not implemented
00087 
00088   typedef ThresholdImageFilter< InternalImageType > ProjectionFilterType;
00089 
00090   typename ProjectionFilterType::Pointer m_ProjectionFilter;
00091 };
00092 } // end namespace ITK
00093 
00094 #ifndef ITK_MANUAL_INSTANTIATION
00095 #include "itkProjectedIterativeDeconvolutionImageFilter.hxx"
00096 #endif
00097 
00098 #endif
00099