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

itkBoxMeanImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkBoxMeanImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-08-07 09:19:55 $
00007   Version:   $Revision: 1.1 $
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 
00018 #ifndef __itkBoxMeanImageFilter_h
00019 #define __itkBoxMeanImageFilter_h
00020 
00021 #include "itkBoxImageFilter.h"
00022 
00023 namespace itk {
00024 
00032 template<class TInputImage, class TOutputImage=TInputImage>
00033 class ITK_EXPORT BoxMeanImageFilter : 
00034     public BoxImageFilter<TInputImage, TOutputImage>
00035 {
00036 public:
00038   typedef BoxMeanImageFilter                         Self;
00039   typedef BoxImageFilter<TInputImage, TOutputImage>  Superclass;
00040   typedef SmartPointer<Self>                         Pointer;
00041   typedef SmartPointer<const Self>                   ConstPointer;
00042 
00044   itkNewMacro(Self);
00045 
00047   itkTypeMacro(BoxMeanImageFilter, 
00048                BoxImageFilter);
00049 
00051   typedef TInputImage                                InputImageType;
00052   typedef TOutputImage                               OutputImageType;
00053   typedef typename TInputImage::RegionType           RegionType;
00054   typedef typename TInputImage::SizeType             SizeType;
00055   typedef typename TInputImage::IndexType            IndexType;
00056   typedef typename TInputImage::PixelType            PixelType;
00057   typedef typename TInputImage::OffsetType           OffsetType;
00058   typedef typename Superclass::OutputImageRegionType OutputImageRegionType;
00059   typedef typename TOutputImage::PixelType           OutputPixelType;
00060 
00062   itkStaticConstMacro(OutputImageDimension, unsigned int,
00063                       TOutputImage::ImageDimension);
00064   itkStaticConstMacro(InputImageDimension, unsigned int,
00065                       TInputImage::ImageDimension);
00067 
00068 
00069 #ifdef ITK_USE_CONCEPT_CHECKING
00070 
00071   itkConceptMacro(SameDimension,
00072                   (Concept::SameDimension<itkGetStaticConstMacro(InputImageDimension),itkGetStaticConstMacro(OutputImageDimension)>));
00073 
00074   
00076 #endif
00077 
00078     
00079 protected:
00080   BoxMeanImageFilter();
00081   ~BoxMeanImageFilter() {};
00082 
00084   void  ThreadedGenerateData (const OutputImageRegionType& outputRegionForThread, int threadId);
00085 
00086 private:
00087   BoxMeanImageFilter(const Self&); //purposely not implemented
00088   void operator=(const Self&); //purposely not implemented
00089 
00090 }; // end of class
00091 
00092 } // end namespace itk
00093   
00094 #ifndef ITK_MANUAL_INSTANTIATION
00095 #include "itkBoxMeanImageFilter.txx"
00096 #endif
00097 
00098 #endif
00099 

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