00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkRecursiveMultiResolutionPyramidImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2009-03-05 17:09:59 $ 00007 Version: $Revision: 1.14 $ 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 00058 template < 00059 class TInputImage, 00060 class TOutputImage 00061 > 00062 class ITK_EXPORT RecursiveMultiResolutionPyramidImageFilter : 00063 public MultiResolutionPyramidImageFilter< TInputImage, TOutputImage > 00064 { 00065 public: 00067 typedef RecursiveMultiResolutionPyramidImageFilter Self; 00068 typedef MultiResolutionPyramidImageFilter<TInputImage,TOutputImage> 00069 Superclass; 00070 typedef SmartPointer<Self> Pointer; 00071 typedef SmartPointer<const Self> ConstPointer; 00072 00074 itkNewMacro(Self); 00075 00077 itkTypeMacro(RecursiveMultiResolutionPyramidImageFilter, 00078 MultiResolutionPyramidImageFilter); 00079 00081 itkStaticConstMacro(ImageDimension, unsigned int, 00082 Superclass::ImageDimension); 00083 00085 typedef typename Superclass::InputImageType InputImageType; 00086 typedef typename Superclass::OutputImageType OutputImageType; 00087 typedef typename Superclass::InputImagePointer InputImagePointer; 00088 typedef typename Superclass::OutputImagePointer OutputImagePointer; 00089 typedef typename Superclass::InputImageConstPointer InputImageConstPointer; 00090 00096 virtual void GenerateOutputRequestedRegion(DataObject *output); 00098 00105 virtual void GenerateInputRequestedRegion(); 00106 00107 protected: 00108 RecursiveMultiResolutionPyramidImageFilter(); 00109 ~RecursiveMultiResolutionPyramidImageFilter() {}; 00110 void PrintSelf(std::ostream&os, Indent indent) const; 00111 00113 void GenerateData(); 00114 00115 private: 00116 RecursiveMultiResolutionPyramidImageFilter(const Self&); //purposely not implemented 00117 void operator=(const Self&); //purposely not implemented 00118 00119 }; 00120 00121 00122 } // namespace itk 00123 00124 #ifndef ITK_MANUAL_INSTANTIATION 00125 #include "itkRecursiveMultiResolutionPyramidImageFilter.txx" 00126 #endif 00127 00128 #endif 00129