Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkNormalizeImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkNormalizeImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-10-16 19:33:45 $
00007   Version:   $Revision: 1.10 $
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 __itkNormalizeImageFilter_h
00018 #define __itkNormalizeImageFilter_h
00019 
00020 #include "itkImageToImageFilter.h"
00021 #include "itkStatisticsImageFilter.h"
00022 #include "itkShiftScaleImageFilter.h"
00023 
00024 #include "itkEventObject.h"
00025 
00026 namespace itk {
00027 
00040 template<class TInputImage,class TOutputImage>
00041 class ITK_EXPORT NormalizeImageFilter : 
00042     public ImageToImageFilter<TInputImage, TOutputImage>
00043 {
00044 public:
00046   typedef NormalizeImageFilter                         Self;
00047   typedef ImageToImageFilter<TInputImage,TOutputImage> Superclass;
00048   typedef SmartPointer<Self>                           Pointer;
00049   typedef SmartPointer<const Self>                     ConstPointer;
00050 
00052   itkNewMacro(Self);  
00053 
00055   itkTypeMacro(NormalizeImageFilter, ImageToImageFilter);
00056 
00058   typedef typename TInputImage::Pointer  InputImagePointer;
00059   typedef typename TOutputImage::Pointer OutputImagePointer;
00060 
00062   virtual void Modified() const;
00063 
00064 protected:
00065   NormalizeImageFilter();
00066 
00068   void  GenerateData ();
00069 
00070   // Override since the filter needs all the data for the algorithm
00071   void GenerateInputRequestedRegion();
00072 
00073 private:
00074   NormalizeImageFilter(const Self&); //purposely not implemented
00075   void operator=(const Self&); //purposely not implemented
00076 
00077   typename StatisticsImageFilter<TInputImage>::Pointer              m_StatisticsFilter;
00078   typename ShiftScaleImageFilter<TInputImage,TOutputImage>::Pointer m_ShiftScaleFilter;
00079 }; // end of class
00080 
00081 } // end namespace itk
00082   
00083 #ifndef ITK_MANUAL_INSTANTIATION
00084 #include "itkNormalizeImageFilter.txx"
00085 #endif
00086 
00087 #endif
00088 

Generated at Mon Jul 12 2010 19:19:41 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000