ITK  4.1.0
Insight Segmentation and Registration Toolkit
itkRecursiveMultiResolutionPyramidImageFilter.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 __itkRecursiveMultiResolutionPyramidImageFilter_h
00019 #define __itkRecursiveMultiResolutionPyramidImageFilter_h
00020 
00021 #include "itkMultiResolutionPyramidImageFilter.h"
00022 #include "vnl/vnl_matrix.h"
00023 
00024 namespace itk
00025 {
00063 template<
00064   class TInputImage,
00065   class TOutputImage
00066   >
00067 class ITK_EXPORT RecursiveMultiResolutionPyramidImageFilter:
00068   public MultiResolutionPyramidImageFilter< TInputImage, TOutputImage >
00069 {
00070 public:
00072   typedef RecursiveMultiResolutionPyramidImageFilter Self;
00073   typedef MultiResolutionPyramidImageFilter< TInputImage, TOutputImage >
00074   Superclass;
00075   typedef SmartPointer< Self >       Pointer;
00076   typedef SmartPointer< const Self > ConstPointer;
00077 
00079   itkNewMacro(Self);
00080 
00082   itkTypeMacro(RecursiveMultiResolutionPyramidImageFilter,
00083                MultiResolutionPyramidImageFilter);
00084 
00086   itkStaticConstMacro(ImageDimension, unsigned int,
00087                       Superclass::ImageDimension);
00088 
00090   typedef typename Superclass::InputImageType         InputImageType;
00091   typedef typename Superclass::OutputImageType        OutputImageType;
00092   typedef typename Superclass::InputImagePointer      InputImagePointer;
00093   typedef typename Superclass::OutputImagePointer     OutputImagePointer;
00094   typedef typename Superclass::InputImageConstPointer InputImageConstPointer;
00095 
00101   virtual void GenerateOutputRequestedRegion(DataObject *output);
00103 
00110   virtual void GenerateInputRequestedRegion();
00111 
00112 protected:
00113   RecursiveMultiResolutionPyramidImageFilter();
00114   ~RecursiveMultiResolutionPyramidImageFilter() {}
00115   void PrintSelf(std::ostream & os, Indent indent) const;
00116 
00118   void GenerateData();
00119 
00120 private:
00121   RecursiveMultiResolutionPyramidImageFilter(const Self &); //purposely not
00122                                                             // implemented
00123   void operator=(const Self &);                             //purposely not
00124                                                             // implemented
00125 };
00126 } // namespace itk
00127 
00128 #ifndef ITK_MANUAL_INSTANTIATION
00129 #include "itkRecursiveMultiResolutionPyramidImageFilter.hxx"
00130 #endif
00131 
00132 #endif
00133