18#ifndef itkAnchorOpenCloseLine_h
19#define itkAnchorOpenCloseLine_h
35template <
typename TInputPix,
typename TCompare>
52 DoLine(std::vector<InputImagePixelType> & buffer,
unsigned int bufflength);
66 StartLine(std::vector<InputImagePixelType> & buffer,
68 unsigned int & outLeftP,
69 unsigned int & outRightP);
74 unsigned int & outLeftP,
75 unsigned int & outRightP);
81 return !compare(a, b);
88 return compare(a, b) || a == b;
94#ifndef ITK_MANUAL_INSTANTIATION
95# include "itkAnchorOpenCloseLine.hxx"
class to implement openings and closings using anchor methods. This is the base class that must be in...
bool Compare2(const InputImagePixelType &a, const InputImagePixelType &b)
void DoLine(std::vector< InputImagePixelType > &buffer, unsigned int bufflength)
bool Compare1(const InputImagePixelType &a, const InputImagePixelType &b)
void SetSize(unsigned int size)
void PrintSelf(std::ostream &os, Indent indent) const
TInputPix InputImagePixelType
void FinishLine(std::vector< InputImagePixelType > &buffer, InputImagePixelType &Extreme, unsigned int &outLeftP, unsigned int &outRightP)
~AnchorOpenCloseLine()=default
bool StartLine(std::vector< InputImagePixelType > &buffer, InputImagePixelType &Extreme, unsigned int &outLeftP, unsigned int &outRightP)
Control indentation during Print() invocation.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....