A.I.M.S algorithms


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
 

Detailed Description

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

Grey-level mathematical morphology.

Definition at line 181 of file operatormorpho.h.

Constructor & Destructor Documentation

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

Definition at line 47 of file morphogreylevel_d.h.

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

Definition at line 55 of file morphogreylevel_d.h.

Member Function Documentation

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

Definition at line 203 of file operatormorpho.h.

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

Definition at line 205 of file operatormorpho.h.

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

Definition at line 258 of file morphogreylevel_d.h.

References carto::rc_ptr< Volume< T > >::get().

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

Definition at line 275 of file morphogreylevel_d.h.

References carto::rc_ptr< Volume< T > >::get().

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.

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

Definition at line 546 of file morphogreylevel_d.h.

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

Definition at line 192 of file operatormorpho.h.

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

Definition at line 204 of file operatormorpho.h.

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: