18 #ifndef itkAnchorOpenCloseLine_h
19 #define itkAnchorOpenCloseLine_h
35 template<
typename TInputPix,
typename TCompare >
46 void PrintSelf(std::ostream & os,
Indent indent)
const;
50 void DoLine(std::vector<InputImagePixelType> & buffer,
unsigned bufflength);
62 bool StartLine(std::vector<InputImagePixelType> & buffer,
65 unsigned & outRightP);
67 void FinishLine(std::vector<InputImagePixelType> & buffer,
70 unsigned & outRightP);
75 return ! compare( a, b );
81 return compare( a, b ) || a == b;
87 #ifndef ITK_MANUAL_INSTANTIATION
88 #include "itkAnchorOpenCloseLine.hxx"
void DoLine(LineBufferType &LineBuf, LineBufferType &tmpLineBuf, const RealType magnitude, const RealType m_Extreme)
TInputPix InputImagePixelType
bool Compare2(const InputImagePixelType &a, const InputImagePixelType &b)
void SetSize(unsigned int size)
class to implement openings and closings using anchor methods. This is the base class that must be in...
Control indentation during Print() invocation.
bool Compare1(const InputImagePixelType &a, const InputImagePixelType &b)