18#ifndef itkAnchorErodeDilateLine_h
19#define itkAnchorErodeDilateLine_h
36template <
typename TInputPix,
typename TCompare>
45 DoLine(std::vector<TInputPix> & buffer, std::vector<TInputPix> & inbuffer,
unsigned int bufflength);
66 std::vector<TInputPix> & inbuffer,
76 std::vector<TInputPix> & inbuffer,
112#ifndef ITK_MANUAL_INSTANTIATION
113# include "itkAnchorErodeDilateLine.hxx"
class to implement erosions and dilations using anchor methods. This is the base class that must be i...
void DoLine(std::vector< TInputPix > &buffer, std::vector< TInputPix > &inbuffer, unsigned int bufflength)
bool StrictCompare(const InputImagePixelType &a, const InputImagePixelType &b)
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 SetSize(unsigned int size)
void FinishLine(std::vector< TInputPix > &buffer, std::vector< TInputPix > &inbuffer, InputImagePixelType &Extreme, int &outLeftP, int &outRightP, int &inLeftP, int &inRightP, int middle)
~AnchorErodeDilateLine()=default
bool Compare(const InputImagePixelType &a, const InputImagePixelType &b)
void PrintSelf(std::ostream &os, Indent indent) const
bool UseVectorBasedHistogram()
Control indentation during Print() invocation.
bool AlmostEquals(T1 x1, T2 x2)
Provide consistent equality checks between values of potentially different scalar or complex types.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....