![]() |
aimsalgo 6.0.0
Neuroimaging image processing
|
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. | |
| 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) |
Grey-level mathematical morphology.
Definition at line 166 of file operatormorpho.h.
| aims::MorphoGreyLevel< T >::MorphoGreyLevel | ( | ) |
Definition at line 46 of file morphogreylevel_d.h.
|
virtual |
Definition at line 54 of file morphogreylevel_d.h.
|
inline |
Definition at line 188 of file operatormorpho.h.
|
inline |
Definition at line 190 of file operatormorpho.h.
| carto::VolumeRef< T > aims::MorphoGreyLevel< T >::doClosing | ( | const carto::VolumeRef< T > & | dataIn, |
| float | radius ) |
Definition at line 247 of file morphogreylevel_d.h.
References doDilation(), doErosion(), and carto::rc_ptr< typename T >::get().
| carto::VolumeRef< T > aims::MorphoGreyLevel< T >::doDilation | ( | const carto::VolumeRef< T > & | dataIn, |
| float | radius ) |
Definition at line 183 of file morphogreylevel_d.h.
References carto::VolumeRef< typename T >::at(), carto::VolumeRef< typename T >::copyHeaderFrom(), carto::VolumeRef< typename T >::fill(), carto::rc_ptr< typename T >::get(), carto::VolumeRef< typename T >::getSizeT(), carto::VolumeRef< typename T >::getSizeX(), carto::VolumeRef< typename T >::getSizeY(), carto::VolumeRef< typename T >::getSizeZ(), carto::VolumeRef< typename T >::getVoxelSize(), carto::VolumeRef< typename T >::header(), and carto::rc_ptr< typename T >::reset().
Referenced by doClosing(), and doOpening().
| carto::VolumeRef< T > aims::MorphoGreyLevel< T >::doErosion | ( | const carto::VolumeRef< T > & | dataIn, |
| float | radius ) |
Definition at line 119 of file morphogreylevel_d.h.
References carto::VolumeRef< typename T >::at(), carto::VolumeRef< typename T >::copyHeaderFrom(), carto::VolumeRef< typename T >::fill(), carto::rc_ptr< typename T >::get(), carto::VolumeRef< typename T >::getSizeT(), carto::VolumeRef< typename T >::getSizeX(), carto::VolumeRef< typename T >::getSizeY(), carto::VolumeRef< typename T >::getSizeZ(), carto::VolumeRef< typename T >::getVoxelSize(), carto::VolumeRef< typename T >::header(), and carto::rc_ptr< typename T >::reset().
Referenced by doClosing(), and doOpening().
| carto::VolumeRef< T > aims::MorphoGreyLevel< T >::doOpening | ( | const carto::VolumeRef< T > & | dataIn, |
| float | radius ) |
Definition at line 264 of file morphogreylevel_d.h.
References doDilation(), doErosion(), and carto::rc_ptr< typename T >::get().
|
static |
Definition at line 504 of file morphogreylevel_d.h.
References carto::VolumeRef< typename T >::at(), carto::VolumeRef< typename T >::getSizeX(), carto::VolumeRef< typename T >::getSizeY(), and carto::VolumeRef< typename T >::getSizeZ().
|
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.
| int aims::MorphoGreyLevel< T >::neededBorderWidth | ( | ) | const |
Definition at line 533 of file morphogreylevel_d.h.
|
inline |
Definition at line 177 of file operatormorpho.h.
|
inline |
Definition at line 189 of file operatormorpho.h.
|
inline |
Definition at line 191 of file operatormorpho.h.