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); 00093 00100 virtual void GenerateInputRequestedRegion(); 00101 00102 protected: 00103 RecursiveMultiResolutionPyramidImageFilter(); 00104 ~RecursiveMultiResolutionPyramidImageFilter() {}; 00105 void PrintSelf(std::ostream&os, Indent indent) const; 00106 00108 void GenerateData(); 00109 00110 private: 00111 RecursiveMultiResolutionPyramidImageFilter(const Self&); //purposely not implemented 00112 void operator=(const Self&); //purposely not implemented 00113 00114 }; 00115 00116 00117 } // namespace itk 00118 00119 #ifndef ITK_MANUAL_INSTANTIATION 00120 #include "itkRecursiveMultiResolutionPyramidImageFilter.txx" 00121 #endif 00122 00123 #endif 00124 00125 00126