ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkAnchorErodeDilateLine.h>
Public Types | |
typedef TInputPix | InputImagePixelType |
Public Member Functions | |
AnchorErodeDilateLine () | |
void | DoLine (std::vector< TInputPix > &buffer, std::vector< TInputPix > &inbuffer, unsigned bufflength) |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | SetSize (unsigned int size) |
~AnchorErodeDilateLine () | |
Private Types | |
typedef Function::MorphologyHistogram < InputImagePixelType, TCompare > | HistogramType |
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 |
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.
typedef Function::MorphologyHistogram< InputImagePixelType, TCompare > itk::AnchorErodeDilateLine< TInputPix, TCompare >::HistogramType [private] |
Definition at line 62 of file itkAnchorErodeDilateLine.h.
typedef TInputPix itk::AnchorErodeDilateLine< TInputPix, TCompare >::InputImagePixelType |
Some convenient typedefs.
Definition at line 42 of file itkAnchorErodeDilateLine.h.
itk::AnchorErodeDilateLine< TInputPix, TCompare >::AnchorErodeDilateLine | ( | ) |
itk::AnchorErodeDilateLine< TInputPix, TCompare >::~AnchorErodeDilateLine | ( | ) | [inline] |
Definition at line 55 of file itkAnchorErodeDilateLine.h.
bool itk::AnchorErodeDilateLine< TInputPix, TCompare >::Compare | ( | const InputImagePixelType & | a, |
const InputImagePixelType & | b | ||
) | [inline, private] |
Definition at line 100 of file itkAnchorErodeDilateLine.h.
void itk::AnchorErodeDilateLine< TInputPix, TCompare >::DoLine | ( | std::vector< TInputPix > & | buffer, |
std::vector< TInputPix > & | inbuffer, | ||
unsigned | bufflength | ||
) |
void itk::AnchorErodeDilateLine< TInputPix, TCompare >::FinishLine | ( | std::vector< TInputPix > & | buffer, |
std::vector< TInputPix > & | inbuffer, | ||
InputImagePixelType & | Extreme, | ||
int & | outLeftP, | ||
int & | outRightP, | ||
int & | inLeftP, | ||
int & | inRightP, | ||
int | middle | ||
) | [private] |
void itk::AnchorErodeDilateLine< TInputPix, TCompare >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const |
void itk::AnchorErodeDilateLine< TInputPix, TCompare >::SetSize | ( | unsigned int | size | ) | [inline] |
Definition at line 47 of file itkAnchorErodeDilateLine.h.
bool itk::AnchorErodeDilateLine< TInputPix, TCompare >::StartLine | ( | std::vector< TInputPix > & | buffer, |
std::vector< TInputPix > & | inbuffer, | ||
InputImagePixelType & | Extreme, | ||
int & | outLeftP, | ||
int & | outRightP, | ||
int & | inLeftP, | ||
int & | inRightP, | ||
int | middle | ||
) | [private] |
bool itk::AnchorErodeDilateLine< TInputPix, TCompare >::StrictCompare | ( | const InputImagePixelType & | a, |
const InputImagePixelType & | b | ||
) | [inline, private] |
Definition at line 94 of file itkAnchorErodeDilateLine.h.
bool itk::AnchorErodeDilateLine< TInputPix, TCompare >::UseVectorBasedHistogram | ( | ) | [inline, private] |
Definition at line 82 of file itkAnchorErodeDilateLine.h.
unsigned int itk::AnchorErodeDilateLine< TInputPix, TCompare >::m_Size [private] |
Definition at line 60 of file itkAnchorErodeDilateLine.h.