aimsalgo  5.0.5
Neuroimaging image processing
aims::MorphoGreyLevel< T > Class Template Reference

Grey-level mathematical morphology. More...

#include <aims/morphology/operatormorpho.h>

Public Member Functions

 MorphoGreyLevel ()
 
virtual ~MorphoGreyLevel ()
 
bool isChamferBinaryMorphoEnabled () const
 when enabled, on binary images, the chamfer-based morphomath is used instead of the grey-level one. More...
 
void setChamferBinaryMorphoEnabled (bool x)
 
carto::VolumeRef< T > doErosion (const carto::VolumeRef< T > &dataIn, float radius)
 
carto::VolumeRef< T > doDilation (const carto::VolumeRef< T > &dataIn, float radius)
 
carto::VolumeRef< T > doClosing (const carto::VolumeRef< T > &dataIn, float radius)
 
carto::VolumeRef< T > doOpening (const carto::VolumeRef< T > &dataIn, float radius)
 
float chamferFactor () const
 
void setChamferFactor (float x)
 
Point3d chamferMaskSize () const
 
void setChamferMaskSize (const Point3d &p)
 
int neededBorderWidth () const
 

Static Public Member Functions

static bool isBinary (const carto::VolumeRef< T > &dataIn)
 

Detailed Description

template<typename T>
class aims::MorphoGreyLevel< T >

Grey-level mathematical morphology.

Definition at line 181 of file operatormorpho.h.

Constructor & Destructor Documentation

◆ MorphoGreyLevel()

template<typename T >
aims::MorphoGreyLevel< T >::MorphoGreyLevel ( )

Definition at line 47 of file morphogreylevel_d.h.

◆ ~MorphoGreyLevel()

template<typename T >
aims::MorphoGreyLevel< T >::~MorphoGreyLevel ( )
virtual

Definition at line 55 of file morphogreylevel_d.h.

References aims::sqr().

Member Function Documentation

◆ chamferFactor()

template<typename T >
float aims::MorphoGreyLevel< T >::chamferFactor ( ) const
inline

Definition at line 203 of file operatormorpho.h.

◆ chamferMaskSize()

template<typename T >
Point3d aims::MorphoGreyLevel< T >::chamferMaskSize ( ) const
inline

Definition at line 205 of file operatormorpho.h.

◆ doClosing()

template<typename T >
carto::VolumeRef< T > aims::MorphoGreyLevel< T >::doClosing ( const carto::VolumeRef< T > &  dataIn,
float  radius 
)

◆ doDilation()

◆ doErosion()

◆ doOpening()

◆ isBinary()

◆ isChamferBinaryMorphoEnabled()

template<typename T >
bool aims::MorphoGreyLevel< T >::isChamferBinaryMorphoEnabled ( ) const
inline

when enabled, on binary images, the chamfer-based morphomath is used instead of the grey-level one.

This is the default as it is way faster.

Definition at line 191 of file operatormorpho.h.

◆ neededBorderWidth()

template<typename T >
int aims::MorphoGreyLevel< T >::neededBorderWidth ( ) const

Definition at line 548 of file morphogreylevel_d.h.

Referenced by aims::MorphoGreyLevel< T >::doOpening().

◆ setChamferBinaryMorphoEnabled()

template<typename T >
void aims::MorphoGreyLevel< T >::setChamferBinaryMorphoEnabled ( bool  x)
inline

Definition at line 192 of file operatormorpho.h.

◆ setChamferFactor()

template<typename T >
void aims::MorphoGreyLevel< T >::setChamferFactor ( float  x)
inline

Definition at line 204 of file operatormorpho.h.

◆ setChamferMaskSize()

template<typename T >
void aims::MorphoGreyLevel< T >::setChamferMaskSize ( const Point3d p)
inline

Definition at line 206 of file operatormorpho.h.


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