ITK  5.4.0
Insight 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 int 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 int &outLeftP, unsigned int &outRightP)
 
bool StartLine (std::vector< InputImagePixelType > &buffer, InputImagePixelType &Extreme, unsigned int &outLeftP, unsigned int &outRightP)
 

Private Attributes

unsigned int m_Size
 
using InputImagePixelType = TInputPix
 
 AnchorOpenCloseLine ()
 
 ~AnchorOpenCloseLine ()=default
 

Member Typedef Documentation

◆ HistogramType

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

Definition at line 63 of file itkAnchorOpenCloseLine.h.

◆ InputImagePixelType

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

◆ AnchorOpenCloseLine()

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

Some convenient type alias.

◆ ~AnchorOpenCloseLine()

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

Some convenient type alias.

Member Function Documentation

◆ Compare1()

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

Definition at line 78 of file itkAnchorOpenCloseLine.h.

◆ Compare2()

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

Definition at line 85 of file itkAnchorOpenCloseLine.h.

◆ DoLine()

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

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

◆ FinishLine()

template<typename TInputPix , typename TCompare >
void itk::AnchorOpenCloseLine< TInputPix, TCompare >::FinishLine ( std::vector< InputImagePixelType > &  buffer,
InputImagePixelType Extreme,
unsigned int &  outLeftP,
unsigned int &  outRightP 
)
private

◆ PrintSelf()

template<typename TInputPix , typename TCompare >
void itk::AnchorOpenCloseLine< TInputPix, TCompare >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const

◆ SetSize()

template<typename TInputPix , typename TCompare >
void itk::AnchorOpenCloseLine< TInputPix, TCompare >::SetSize ( unsigned int  size)
inline

Definition at line 55 of file itkAnchorOpenCloseLine.h.

◆ StartLine()

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

Member Data Documentation

◆ m_Size

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

Definition at line 61 of file itkAnchorOpenCloseLine.h.


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