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 );
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)
bool AlmostEquals(T1 x1, T2 x2)
Provide consistent equality checks between values of potentially different scalar or complex types...
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...