go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxFixedSmoothingPyramid.h
Go to the documentation of this file.
00001 /*======================================================================
00002 
00003   This file is part of the elastix software.
00004 
00005   Copyright (c) University Medical Center Utrecht. All rights reserved.
00006   See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
00007   details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE. See the above copyright notices for more information.
00012 
00013 ======================================================================*/
00014 
00015 #ifndef __elxFixedSmoothingPyramid_h
00016 #define __elxFixedSmoothingPyramid_h
00017 
00018 #include "itkMultiResolutionGaussianSmoothingPyramidImageFilter.h"
00019 #include "elxIncludes.h"
00020 
00021 namespace elastix
00022 {
00023 using namespace itk;
00024 
00036   template <class TElastix>
00037     class FixedSmoothingPyramid :
00038     public
00039       MultiResolutionGaussianSmoothingPyramidImageFilter<
00040         ITK_TYPENAME FixedImagePyramidBase<TElastix>::InputImageType,
00041         ITK_TYPENAME FixedImagePyramidBase<TElastix>::OutputImageType >,
00042     public
00043       FixedImagePyramidBase<TElastix>
00044   {
00045   public:
00046 
00048     typedef FixedSmoothingPyramid                                   Self;
00049     typedef MultiResolutionGaussianSmoothingPyramidImageFilter<
00050         typename FixedImagePyramidBase<TElastix>::InputImageType,
00051         typename FixedImagePyramidBase<TElastix>::OutputImageType > Superclass1;
00052     typedef FixedImagePyramidBase<TElastix>                         Superclass2;
00053     typedef SmartPointer<Self>                                      Pointer;
00054     typedef SmartPointer<const Self>                                ConstPointer;
00055 
00057     itkNewMacro(Self);
00058 
00060     itkTypeMacro( FixedSmoothingPyramid, MultiResolutionGaussianSmoothingPyramidImageFilter );
00061 
00066     elxClassNameMacro( "FixedSmoothingImagePyramid" );
00067 
00069     itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
00070 
00072     typedef typename Superclass1::InputImageType            InputImageType;
00073     typedef typename Superclass1::OutputImageType           OutputImageType;
00074     typedef typename Superclass1::InputImagePointer         InputImagePointer;
00075     typedef typename Superclass1::OutputImagePointer        OutputImagePointer;
00076     typedef typename Superclass1::InputImageConstPointer    InputImageConstPointer;
00077     typedef typename Superclass1::ScheduleType              ScheduleType;
00078 
00080     typedef typename Superclass2::ElastixType           ElastixType;
00081     typedef typename Superclass2::ElastixPointer        ElastixPointer;
00082     typedef typename Superclass2::ConfigurationType     ConfigurationType;
00083     typedef typename Superclass2::ConfigurationPointer  ConfigurationPointer;
00084     typedef typename Superclass2::RegistrationType      RegistrationType;
00085     typedef typename Superclass2::RegistrationPointer   RegistrationPointer;
00086     typedef typename Superclass2::ITKBaseType           ITKBaseType;
00087 
00088 
00089 
00090   protected:
00091 
00093     FixedSmoothingPyramid() {}
00095     virtual ~FixedSmoothingPyramid() {}
00096 
00097   private:
00098 
00100     FixedSmoothingPyramid( const Self& ); // purposely not implemented
00102     void operator=( const Self& );        // purposely not implemented
00103 
00104   }; // end class FixedSmoothingPyramid
00105 
00106 
00107 } // end namespace elastix
00108 
00109 #ifndef ITK_MANUAL_INSTANTIATION
00110 #include "elxFixedSmoothingPyramid.hxx"
00111 #endif
00112 
00113 #endif // end #ifndef __elxFixedSmoothingPyramid_h
00114 


Generated on 11-05-2012 for elastix by doxygen 1.7.6.1 elastix logo