ITK  4.6.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<typename TInputPix, typename 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<typename TInputPix , typename TCompare >
typedef Function::MorphologyHistogram< InputImagePixelType, TCompare > itk::AnchorOpenCloseLine< TInputPix, TCompare >::HistogramType
private

Definition at line 62 of file itkAnchorOpenCloseLine.h.

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

Some convenient typedefs.

Definition at line 41 of file itkAnchorOpenCloseLine.h.

Constructor & Destructor Documentation

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

Some convenient typedefs.

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

Some convenient typedefs.

Definition at line 43 of file itkAnchorOpenCloseLine.h.

Member Function Documentation

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

Definition at line 74 of file itkAnchorOpenCloseLine.h.

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

Definition at line 80 of file itkAnchorOpenCloseLine.h.

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

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

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

Member Data Documentation

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

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