ITK  5.0.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

using HistogramType = Function::MorphologyHistogram< InputImagePixelType, TCompare >
 

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
 
using InputImagePixelType = TInputPix
 
 AnchorOpenCloseLine ()
 
 ~AnchorOpenCloseLine ()=default
 

Member Typedef Documentation

template<typename TInputPix , typename TCompare >
using itk::AnchorOpenCloseLine< TInputPix, TCompare >::HistogramType = Function::MorphologyHistogram< InputImagePixelType, TCompare >
private

Definition at line 60 of file itkAnchorOpenCloseLine.h.

template<typename TInputPix , typename TCompare >
using itk::AnchorOpenCloseLine< TInputPix, TCompare >::InputImagePixelType = TInputPix

Some convenient type alias.

Definition at line 41 of file itkAnchorOpenCloseLine.h.

Constructor & Destructor Documentation

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

Some convenient type alias.

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

Some convenient type alias.

Member Function Documentation

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

Definition at line 72 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 78 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

Definition at line 52 of file itkAnchorOpenCloseLine.h.

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

Definition at line 58 of file itkAnchorOpenCloseLine.h.


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