18 #ifndef itkAnchorErodeDilateLine_h
19 #define itkAnchorErodeDilateLine_h
36 template<
typename TInputPix,
typename TCompare >
44 void DoLine(std::vector<TInputPix> & buffer, std::vector<TInputPix> & inbuffer,
64 bool StartLine(std::vector<TInputPix> & buffer,
65 std::vector<TInputPix> & inbuffer,
73 void FinishLine(std::vector<TInputPix> & buffer,
74 std::vector<TInputPix> & inbuffer,
97 return compare( a, b );
103 return compare( a, b ) || a == b;
109 #ifndef ITK_MANUAL_INSTANTIATION
110 #include "itkAnchorErodeDilateLine.hxx"
bool StartLine(std::vector< TInputPix > &buffer, std::vector< TInputPix > &inbuffer, InputImagePixelType &Extreme, int &outLeftP, int &outRightP, int &inLeftP, int &inRightP, int middle)
TInputPix InputImagePixelType
void FinishLine(std::vector< TInputPix > &buffer, std::vector< TInputPix > &inbuffer, InputImagePixelType &Extreme, int &outLeftP, int &outRightP, int &inLeftP, int &inRightP, int middle)
void DoLine(std::vector< TInputPix > &buffer, std::vector< TInputPix > &inbuffer, unsigned bufflength)
bool UseVectorBasedHistogram()
void PrintSelf(std::ostream &os, Indent indent) const
bool Compare(const InputImagePixelType &a, const InputImagePixelType &b)
bool StrictCompare(const InputImagePixelType &a, const InputImagePixelType &b)
Control indentation during Print() invocation.
Function::MorphologyHistogram< InputImagePixelType, TCompare > HistogramType
void SetSize(unsigned int size)
class to implement erosions and dilations using anchor methods. This is the base class that must be i...