ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
itk::AnchorOpenCloseLine< TInputPix, TCompare > Class Template Reference

#include <itkAnchorOpenCloseLine.h>

Detailed Description

template<class TInputPix, class TCompare>
class itk::AnchorOpenCloseLine< TInputPix, TCompare >

class to implement openings and closings using anchor methods. This is the base class that must be instantiated with appropriate definitions of greater, less and so on

Definition at line 36 of file itkAnchorOpenCloseLine.h.

Public Member Functions

void DoLine (std::vector< InputImagePixelType > &buffer, unsigned bufflength)
 
void PrintSelf (std::ostream &os, Indent indent) const
 
void SetSize (unsigned int size)
 

Private Types

typedef
Function::MorphologyHistogram
< InputImagePixelType,
TCompare > 
HistogramType
 

Private Member Functions

bool Compare1 (const InputImagePixelType &a, const InputImagePixelType &b)
 
bool Compare2 (const InputImagePixelType &a, const InputImagePixelType &b)
 
void FinishLine (std::vector< InputImagePixelType > &buffer, InputImagePixelType &Extreme, unsigned &outLeftP, unsigned &outRightP)
 
bool StartLine (std::vector< InputImagePixelType > &buffer, InputImagePixelType &Extreme, unsigned &outLeftP, unsigned &outRightP)
 

Private Attributes

unsigned int m_Size
 
typedef TInputPix InputImagePixelType
 
 AnchorOpenCloseLine ()
 
 ~AnchorOpenCloseLine ()
 

Member Typedef Documentation

template<class TInputPix , class TCompare >
typedef Function::MorphologyHistogram< InputImagePixelType, TCompare > itk::AnchorOpenCloseLine< TInputPix, TCompare >::HistogramType
private

Definition at line 62 of file itkAnchorOpenCloseLine.h.

template<class TInputPix , class TCompare >
typedef TInputPix itk::AnchorOpenCloseLine< TInputPix, TCompare >::InputImagePixelType

Some convenient typedefs.

Definition at line 41 of file itkAnchorOpenCloseLine.h.

Constructor & Destructor Documentation

template<class TInputPix , class TCompare >
itk::AnchorOpenCloseLine< TInputPix, TCompare >::AnchorOpenCloseLine ( )

Some convenient typedefs.

template<class TInputPix , class TCompare >
itk::AnchorOpenCloseLine< TInputPix, TCompare >::~AnchorOpenCloseLine ( )
inline

Some convenient typedefs.

Definition at line 43 of file itkAnchorOpenCloseLine.h.

Member Function Documentation

template<class TInputPix , class TCompare >
bool itk::AnchorOpenCloseLine< TInputPix, TCompare >::Compare1 ( const InputImagePixelType a,
const InputImagePixelType b 
)
inlineprivate

Definition at line 74 of file itkAnchorOpenCloseLine.h.

template<class TInputPix , class TCompare >
bool itk::AnchorOpenCloseLine< TInputPix, TCompare >::Compare2 ( const InputImagePixelType a,
const InputImagePixelType b 
)
inlineprivate

Definition at line 80 of file itkAnchorOpenCloseLine.h.

template<class TInputPix , class TCompare >
void itk::AnchorOpenCloseLine< TInputPix, TCompare >::DoLine ( std::vector< InputImagePixelType > &  buffer,
unsigned  bufflength 
)

Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.

template<class TInputPix , class TCompare >
void itk::AnchorOpenCloseLine< TInputPix, TCompare >::FinishLine ( std::vector< InputImagePixelType > &  buffer,
InputImagePixelType Extreme,
unsigned &  outLeftP,
unsigned &  outRightP 
)
private
template<class TInputPix , class TCompare >
void itk::AnchorOpenCloseLine< TInputPix, TCompare >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
template<class TInputPix , class TCompare >
void itk::AnchorOpenCloseLine< TInputPix, TCompare >::SetSize ( unsigned int  size)
inline

Definition at line 54 of file itkAnchorOpenCloseLine.h.

template<class TInputPix , class TCompare >
bool itk::AnchorOpenCloseLine< TInputPix, TCompare >::StartLine ( std::vector< InputImagePixelType > &  buffer,
InputImagePixelType Extreme,
unsigned &  outLeftP,
unsigned &  outRightP 
)
private

Member Data Documentation

template<class TInputPix , class TCompare >
unsigned int itk::AnchorOpenCloseLine< TInputPix, TCompare >::m_Size
private

Definition at line 60 of file itkAnchorOpenCloseLine.h.


The documentation for this class was generated from the following file: