00001 /*========================================================================= 00002 00003 Program: F.R.E.E. - flexible registration evaluation engine 00004 Version: v.1.0.0 00005 Date: $Date: 2006/09/01 12:00:00 $ 00006 Module: $RCSfile: freNormalizeImageFilterController.h,v $ 00007 Language: C++ 00008 00009 00010 00011 Copyright (c) 2007 Ralf o Floca (Department of Medical Informatics, 00012 Institute for Medical Biometry and Informatics, University of Heidelberg, 00013 Germany). All rights reserved. 00014 See FREECopyright.txt or http://www.mi.med.uni-hd.de/free/copyright.htm 00015 for details. 00016 00017 This software is distributed WITHOUT ANY WARRANTY; without even 00018 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00019 PURPOSE. See the above copyright notices for more information. 00020 00021 =========================================================================*/ 00022 #ifndef __freNormalizeImageFilterController_h 00023 #define __freNormalizeImageFilterController_h 00024 00025 #include "freImageToImageFilterControllerBase.h" 00026 00027 #include "itkNormalizeImageFilter.h" 00028 00029 namespace FREE 00030 { 00031 00041 freControllerIDMacro(NormalizeImageFilterControllerBase, "NormalizeImageFilterBase"); 00042 template <class TInputImage> 00043 class NormalizeImageFilterControllerBase : public ImageToImageFilterControllerBase< itk::NormalizeImageFilter<TInputImage, TInputImage> > 00044 { 00045 public: 00046 typedef itk::NormalizeImageFilter<TInputImage, TInputImage> ComponentType; 00047 typedef ImageToImageFilterControllerBase<ComponentType> Superclass; 00048 typedef NormalizeImageFilterControllerBase<TInputImage> Self; 00049 00050 typedef typename ComponentType::Pointer ComponentPointer; 00051 typedef typename Superclass::GenericComponentType GenericComponentType; 00052 typedef typename Superclass::GenericComponentPointer GenericComponentPointer; 00053 typedef typename Superclass::GenericMediaPointer GenericMediaPointer; 00054 00055 itkTypeMacro(NormalizeImageFilterControllerBase, ImageToImageFilterControllerBase); 00056 00057 protected: 00058 NormalizeImageFilterControllerBase() 00059 { 00060 //Profile settings 00061 this->UpdateControllerID(ControllerID::NormalizeImageFilterControllerBase); 00062 this->m_Description = "Basis for itk::NormalizeImageFilter"; 00063 00064 }; 00065 }; 00066 00072 freControllerIDMacro(Normalize2DImageFilterController, "Normalize 2D Image Filter"); 00073 class Normalize2DImageFilterController : public NormalizeImageFilterControllerBase< ImageTypes<2>::InternalImageType > 00074 { 00075 public: 00076 typedef NormalizeImageFilterControllerBase< ImageTypes<2>::InternalImageType > Superclass; 00077 typedef Normalize2DImageFilterController Self; 00078 00079 typedef Superclass::ComponentType ComponentType; 00080 typedef ComponentType::Pointer ComponentPointer; 00081 typedef Superclass::GenericComponentType GenericComponentType; 00082 typedef Superclass::GenericComponentPointer GenericComponentPointer; 00083 typedef Superclass::GenericMediaPointer GenericMediaPointer; 00084 00085 itkTypeMacro(Normalize2DImageFilterController, NormalizeImageFilterControllerBase); 00086 00087 Normalize2DImageFilterController(); 00088 }; 00089 00095 freControllerIDMacro(Normalize3DImageFilterController, "Normalize 3D Image Filter"); 00096 class Normalize3DImageFilterController : public NormalizeImageFilterControllerBase< ImageTypes<3>::InternalImageType > 00097 { 00098 public: 00099 typedef NormalizeImageFilterControllerBase< ImageTypes<3>::InternalImageType > Superclass; 00100 typedef Normalize3DImageFilterController Self; 00101 00102 typedef Superclass::ComponentType ComponentType; 00103 typedef ComponentType::Pointer ComponentPointer; 00104 typedef Superclass::GenericComponentType GenericComponentType; 00105 typedef Superclass::GenericComponentPointer GenericComponentPointer; 00106 typedef Superclass::GenericMediaPointer GenericMediaPointer; 00107 00108 itkTypeMacro(Normalize3DImageFilterController, NormalizeImageFilterControllerBase); 00109 00110 Normalize3DImageFilterController(); 00111 }; 00112 00113 } //end of namespace free 00114 00115 #endif
1.5.3 written by Dimitri van Heesch,
© 1997-2000