Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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&);
00088 void operator=(const Self&);
00089
00090 };
00091
00092 }
00093
00094 #ifndef ITK_MANUAL_INSTANTIATION
00095 #include "itkBoxMeanImageFilter.txx"
00096 #endif
00097
00098 #endif
00099