itkAnchorCloseImageFilter.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 __itkAnchorCloseImageFilter_h
00019 #define __itkAnchorCloseImageFilter_h
00020
00021 #include "itkAnchorOpenCloseImageFilter.h"
00022
00023 namespace itk {
00024
00025 template<class TImage, class TKernel>
00026 class ITK_EXPORT AnchorCloseImageFilter :
00027 public AnchorOpenCloseImageFilter<TImage, TKernel, std::greater<typename TImage::PixelType>,
00028 std::less<typename TImage::PixelType>, std::greater_equal<typename TImage::PixelType>,
00029 std::less_equal<typename TImage::PixelType> >
00030
00031 {
00032 public:
00033 typedef AnchorCloseImageFilter Self;
00034 typedef AnchorOpenCloseImageFilter<TImage, TKernel, std::greater<typename TImage::PixelType>,
00035 std::less<typename TImage::PixelType>, std::greater_equal<typename TImage::PixelType>,
00036 std::less_equal<typename TImage::PixelType> > Superclass;
00037
00038 typedef SmartPointer<Self> Pointer;
00039 typedef SmartPointer<const Self> ConstPointer;
00040
00042 itkNewMacro(Self);
00043
00044 virtual ~AnchorCloseImageFilter() {}
00045 protected:
00046 AnchorCloseImageFilter()
00047 {
00048 this->m_Boundary1 = NumericTraits< ITK_TYPENAME TImage::PixelType >::NonpositiveMin();
00049 this->m_Boundary2 = NumericTraits< ITK_TYPENAME TImage::PixelType >::max();
00050 }
00051 void PrintSelf(std::ostream& os, Indent indent) const
00052 {
00053 os << indent << "Anchor closing: " << std::endl;
00054 }
00055
00056 private:
00057
00058 AnchorCloseImageFilter(const Self&);
00059 void operator=(const Self&);
00060
00061 };
00062
00063
00064 }
00065
00066 #endif
00067