#ifndef __itkAreaClosingImageFilter_h #define __itkAreaClosingImageFilter_h #include "itkAttributeMorphologyBaseImageFilter.h" namespace itk { template class ITK_EXPORT AreaClosingImageFilter : public AttributeMorphologyBaseImageFilter > { public: typedef AreaClosingImageFilter Self; typedef AttributeMorphologyBaseImageFilter > Superclass; typedef SmartPointer Pointer; typedef SmartPointer ConstPointer; /** * Extract some information from the image types. Dimensionality * of the two images is assumed to be the same. */ typedef typename TOutputImage::PixelType OutputPixelType; typedef typename TOutputImage::InternalPixelType OutputInternalPixelType; typedef typename TInputImage::PixelType InputPixelType; typedef typename TInputImage::InternalPixelType InputInternalPixelType; typedef typename TInputImage::IndexType IndexType; typedef typename TInputImage::OffsetType OffsetType; typedef typename TInputImage::SizeType SizeType; itkStaticConstMacro(ImageDimension, unsigned int, TOutputImage::ImageDimension); /** Method for creation through the object factory. */ itkNewMacro(Self); /** Runtime information support. */ itkTypeMacro(AreaClosingImageFilter, AttributeMorphologyBaseImageFilter); protected: AreaClosingImageFilter(){} virtual ~AreaClosingImageFilter() {} private: AreaClosingImageFilter(const Self&); //purposely not implemented void operator=(const Self&); //purposely not implemented }; } // namespace itk #endif