![]() |
aimsalgo
5.1.2
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. 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) |
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 carto::rc_ptr< class >::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< class >::at(), carto::VolumeRef< class >::copyHeaderFrom(), carto::VolumeRef< class >::fill(), carto::rc_ptr< class >::get(), carto::VolumeRef< class >::getSizeT(), carto::VolumeRef< class >::getSizeX(), carto::VolumeRef< class >::getSizeY(), carto::VolumeRef< class >::getSizeZ(), carto::VolumeRef< class >::getVoxelSize(), carto::VolumeRef< class >::header(), aims::meshdistance::max(), aims::meshdistance::min(), and carto::rc_ptr< class >::reset().
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< class >::at(), carto::VolumeRef< class >::copyHeaderFrom(), carto::VolumeRef< class >::fill(), carto::rc_ptr< class >::get(), carto::VolumeRef< class >::getSizeT(), carto::VolumeRef< class >::getSizeX(), carto::VolumeRef< class >::getSizeY(), carto::VolumeRef< class >::getSizeZ(), carto::VolumeRef< class >::getVoxelSize(), carto::VolumeRef< class >::header(), aims::meshdistance::max(), aims::meshdistance::min(), and carto::rc_ptr< class >::reset().
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().
|
static |
Definition at line 504 of file morphogreylevel_d.h.
References carto::VolumeRef< class >::at(), carto::VolumeRef< class >::getSizeX(), carto::VolumeRef< class >::getSizeY(), and carto::VolumeRef< class >::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 |
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.