18 #ifndef itkAnchorOpenCloseLine_h
19 #define itkAnchorOpenCloseLine_h
35 template<
typename TInputPix,
typename TCompare >
48 void PrintSelf(std::ostream & os,
Indent indent)
const;
52 void DoLine(std::vector<InputImagePixelType> & buffer,
unsigned bufflength);
64 bool StartLine(std::vector<InputImagePixelType> & buffer,
67 unsigned & outRightP);
69 void FinishLine(std::vector<InputImagePixelType> & buffer,
72 unsigned & outRightP);
77 return ! compare( a, b );
83 return compare( a, b ) || a == b;
89 #ifndef ITK_MANUAL_INSTANTIATION
90 #include "itkAnchorOpenCloseLine.hxx"
TInputPix InputImagePixelType
Function::MorphologyHistogram< InputImagePixelType, TCompare > HistogramType
void DoLine(LineBufferType &LineBuf, LineBufferType &tmpLineBuf, const RealType magnitude, const RealType m_Extreme)
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)