00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkRecursiveMultiResolutionPyramidImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:28:38 $ 00007 Version: $Revision: 1.12 $ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 #ifndef __itkRecursiveMultiResolutionPyramidImageFilter_h 00018 #define __itkRecursiveMultiResolutionPyramidImageFilter_h 00019 00020 #include "itkMultiResolutionPyramidImageFilter.h" 00021 #include "vnl/vnl_matrix.h" 00022 00023 namespace itk 00024 { 00025 00053 template < 00054 class TInputImage, 00055 class TOutputImage 00056 > 00057 class ITK_EXPORT RecursiveMultiResolutionPyramidImageFilter : 00058 public MultiResolutionPyramidImageFilter< TInputImage, TOutputImage > 00059 { 00060 public: 00062 typedef RecursiveMultiResolutionPyramidImageFilter Self; 00063 typedef MultiResolutionPyramidImageFilter<TInputImage,TOutputImage> 00064 Superclass; 00065 typedef SmartPointer<Self> Pointer; 00066 typedef SmartPointer<const Self> ConstPointer; 00067 00069 itkNewMacro(Self); 00070 00072 itkTypeMacro(RecursiveMultiResolutionPyramidImageFilter, 00073 MultiResolutionPyramidImageFilter); 00074 00076 itkStaticConstMacro(ImageDimension, unsigned int, 00077 Superclass::ImageDimension); 00078 00080 typedef typename Superclass::InputImageType InputImageType; 00081 typedef typename Superclass::OutputImageType OutputImageType; 00082 typedef typename Superclass::InputImagePointer InputImagePointer; 00083 typedef typename Superclass::OutputImagePointer OutputImagePointer; 00084 typedef typename Superclass::InputImageConstPointer InputImageConstPointer; 00085 00091 virtual void GenerateOutputRequestedRegion(DataObject *output); 00092 00099 virtual void GenerateInputRequestedRegion(); 00100 00101 protected: 00102 RecursiveMultiResolutionPyramidImageFilter(); 00103 ~RecursiveMultiResolutionPyramidImageFilter() {}; 00104 void PrintSelf(std::ostream&os, Indent indent) const; 00105 00107 void GenerateData(); 00108 00109 private: 00110 RecursiveMultiResolutionPyramidImageFilter(const Self&); //purposely not implemented 00111 void operator=(const Self&); //purposely not implemented 00112 00113 }; 00114 00115 00116 } // namespace itk 00117 00118 #ifndef ITK_MANUAL_INSTANTIATION 00119 #include "itkRecursiveMultiResolutionPyramidImageFilter.txx" 00120 #endif 00121 00122 #endif 00123 00124