00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __itkAnchorOpenImageFilter_h
00019 #define __itkAnchorOpenImageFilter_h
00020
00021 #include "itkAnchorOpenCloseImageFilter.h"
00022
00023 namespace itk {
00024
00025 template<class TImage, class TKernel>
00026 class ITK_EXPORT AnchorOpenImageFilter :
00027 public AnchorOpenCloseImageFilter<TImage, TKernel, std::less<typename TImage::PixelType>,
00028 std::greater<typename TImage::PixelType>, std::less_equal<typename TImage::PixelType>,
00029 std::greater_equal<typename TImage::PixelType> >
00030
00031 {
00032 public:
00033 typedef AnchorOpenImageFilter Self;
00034 typedef AnchorOpenCloseImageFilter<TImage, TKernel, std::less<typename TImage::PixelType>,
00035 std::greater<typename TImage::PixelType>, std::less_equal<typename TImage::PixelType>,
00036 std::greater_equal<typename TImage::PixelType> > Superclass;
00037
00038 typedef SmartPointer<Self> Pointer;
00039 typedef SmartPointer<const Self> ConstPointer;
00040
00042 itkNewMacro(Self);
00043
00044 virtual ~AnchorOpenImageFilter() {}
00045 protected:
00046 AnchorOpenImageFilter()
00047 {
00048 this->m_Boundary1 = NumericTraits< ITK_TYPENAME TImage::PixelType >::max();
00049 this->m_Boundary2 = NumericTraits< ITK_TYPENAME TImage::PixelType >::NonpositiveMin();
00050 }
00051 void PrintSelf(std::ostream& os, Indent indent) const
00052 {
00053 os << indent << "Anchor opening: " << std::endl;
00054 }
00055
00056 private:
00057
00058 AnchorOpenImageFilter(const Self&);
00059 void operator=(const Self&);
00060
00061 };
00062
00063
00064 }
00065
00066 #endif
00067