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,
52 void PrintSelf(std::ostream & os,
Indent indent)
const;
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"
TInputPix InputImagePixelType
void DoLine(LineBufferType &LineBuf, LineBufferType &tmpLineBuf, const RealType magnitude, const RealType m_Extreme)
bool UseVectorBasedHistogram()
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...