itkBoxSigmaImageFilter.h
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 __itkBoxSigmaImageFilter_h
00019 #define __itkBoxSigmaImageFilter_h
00020
00021 #include "itkBoxImageFilter.h"
00022
00023 namespace itk {
00024
00032 template<class TInputImage, class TOutputImage=TInputImage>
00033 class ITK_EXPORT BoxSigmaImageFilter :
00034 public BoxImageFilter<TInputImage, TOutputImage>
00035 {
00036 public:
00038 typedef BoxSigmaImageFilter 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(BoxSigmaImageFilter, BoxImageFilter);
00048
00050 typedef TInputImage InputImageType;
00051 typedef TOutputImage OutputImageType;
00052 typedef typename TInputImage::RegionType RegionType;
00053 typedef typename TInputImage::SizeType SizeType;
00054 typedef typename TInputImage::IndexType IndexType;
00055 typedef typename TInputImage::PixelType PixelType;
00056 typedef typename TInputImage::OffsetType OffsetType;
00057 typedef typename Superclass::OutputImageRegionType OutputImageRegionType;
00058 typedef typename TOutputImage::PixelType OutputPixelType;
00059
00061 itkStaticConstMacro(OutputImageDimension, unsigned int,
00062 TOutputImage::ImageDimension);
00063 itkStaticConstMacro(InputImageDimension, unsigned int,
00064 TInputImage::ImageDimension);
00066
00067
00068 #ifdef ITK_USE_CONCEPT_CHECKING
00069
00070 itkConceptMacro(SameDimension,
00071 (Concept::SameDimension<itkGetStaticConstMacro(InputImageDimension),itkGetStaticConstMacro(OutputImageDimension)>));
00072
00073
00075 #endif
00076
00077
00078 protected:
00079 BoxSigmaImageFilter();
00080 ~BoxSigmaImageFilter() {};
00081
00083 void ThreadedGenerateData (const OutputImageRegionType&
00084 outputRegionForThread,
00085 int threadId);
00086
00087 private:
00088 BoxSigmaImageFilter(const Self&);
00089 void operator=(const Self&);
00090
00091 };
00092
00093 }
00094
00095 #ifndef ITK_MANUAL_INSTANTIATION
00096 #include "itkBoxSigmaImageFilter.txx"
00097 #endif
00098
00099 #endif
00100