18 #ifndef __itkAnchorOpenCloseLine_h
19 #define __itkAnchorOpenCloseLine_h
35 template<
typename TInputPix,
typename TCompare >
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(std::vector< InputImagePixelType > &buffer, unsigned bufflength)
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 StartLine(std::vector< InputImagePixelType > &buffer, InputImagePixelType &Extreme, unsigned &outLeftP, unsigned &outRightP)
void FinishLine(std::vector< InputImagePixelType > &buffer, InputImagePixelType &Extreme, unsigned &outLeftP, unsigned &outRightP)
void PrintSelf(std::ostream &os, Indent indent) const
bool Compare1(const InputImagePixelType &a, const InputImagePixelType &b)