aimsalgo  5.1.2
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 166 of file operatormorpho.h.

Constructor & Destructor Documentation

◆ MorphoGreyLevel()

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

Definition at line 46 of file morphogreylevel_d.h.

◆ ~MorphoGreyLevel()

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

Definition at line 54 of file morphogreylevel_d.h.

Member Function Documentation

◆ chamferFactor()

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

Definition at line 188 of file operatormorpho.h.

◆ chamferMaskSize()

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

Definition at line 190 of file operatormorpho.h.

◆ doClosing()

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

Definition at line 247 of file morphogreylevel_d.h.

References carto::rc_ptr< class >::get().

◆ doDilation()

◆ doErosion()

◆ doOpening()

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

Definition at line 264 of file morphogreylevel_d.h.

References carto::rc_ptr< class >::get().

◆ 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 176 of file operatormorpho.h.

◆ neededBorderWidth()

template<typename T >
int aims::MorphoGreyLevel< T >::neededBorderWidth

Definition at line 533 of file morphogreylevel_d.h.

◆ setChamferBinaryMorphoEnabled()

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

Definition at line 177 of file operatormorpho.h.

◆ setChamferFactor()

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

Definition at line 189 of file operatormorpho.h.

◆ setChamferMaskSize()

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

Definition at line 191 of file operatormorpho.h.


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