ITK
6.0.0
Insight Toolkit
|
#include <itkAnchorErodeDilateLine.h>
class to implement erosions and dilations using anchor methods. This is the base class that must be instantiated with appropriate definitions of greater, less and so on. There is special code for cases where the structuring element is bigger than the image size that aren't particularly anchor related, but use the same data structures. Hopefully these sections occupy a very minor proportion of the time.
Definition at line 37 of file itkAnchorErodeDilateLine.h.
Public Types | |
using | InputImagePixelType = TInputPix |
Public Member Functions | |
AnchorErodeDilateLine () | |
void | DoLine (std::vector< TInputPix > &buffer, std::vector< TInputPix > &inbuffer, unsigned int bufflength) |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | SetSize (unsigned int size) |
~AnchorErodeDilateLine ()=default | |
Private Types | |
using | HistogramType = Function::MorphologyHistogram< InputImagePixelType, TCompare > |
Private Member Functions | |
bool | Compare (const InputImagePixelType &a, const InputImagePixelType &b) |
void | FinishLine (std::vector< TInputPix > &buffer, std::vector< TInputPix > &inbuffer, InputImagePixelType &Extreme, int &outLeftP, int &outRightP, int &inLeftP, int &inRightP, int middle) |
bool | StartLine (std::vector< TInputPix > &buffer, std::vector< TInputPix > &inbuffer, InputImagePixelType &Extreme, int &outLeftP, int &outRightP, int &inLeftP, int &inRightP, int middle) |
bool | StrictCompare (const InputImagePixelType &a, const InputImagePixelType &b) |
bool | UseVectorBasedHistogram () |
Private Attributes | |
unsigned int | m_Size |
|
private |
Definition at line 62 of file itkAnchorErodeDilateLine.h.
using itk::AnchorErodeDilateLine< TInputPix, TCompare >::InputImagePixelType = TInputPix |
Some convenient type alias.
Definition at line 42 of file itkAnchorErodeDilateLine.h.
itk::AnchorErodeDilateLine< TInputPix, TCompare >::AnchorErodeDilateLine | ( | ) |
|
default |
|
inlineprivate |
Definition at line 103 of file itkAnchorErodeDilateLine.h.
References itk::Math::AlmostEquals().
void itk::AnchorErodeDilateLine< TInputPix, TCompare >::DoLine | ( | std::vector< TInputPix > & | buffer, |
std::vector< TInputPix > & | inbuffer, | ||
unsigned int | bufflength | ||
) |
|
private |
void itk::AnchorErodeDilateLine< TInputPix, TCompare >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const |
|
inline |
Definition at line 48 of file itkAnchorErodeDilateLine.h.
|
private |
|
inlineprivate |
Definition at line 96 of file itkAnchorErodeDilateLine.h.
|
inlineprivate |
Definition at line 85 of file itkAnchorErodeDilateLine.h.
|
private |
Definition at line 60 of file itkAnchorErodeDilateLine.h.