aimsalgo 6.0.0
Neuroimaging image processing
danielsson.h File Reference
#include <aims/config/aimsalgo_config.h>
#include <cartobase/smart/rcptr.h>
Include dependency graph for danielsson.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  carto
 

Enumerations

enum  DanielssonSide { AIMS_DANIELSSON_OUTSIDE , AIMS_DANIELSSON_INSIDE }
 

Functions

Danielsson distance maps.

Two distance maps can be processed : the distance map of the outside of the object (give AIMS_DANIELSSON_OUTSIDE argument), and the distance map of the inside of the object (give the AIMS_DANIELSSON_INSIDE argument).

carto::VolumeRef< float > AimsDanielssonDistanceMap (const carto::rc_ptr< carto::Volume< int16_t > > &vol, DanielssonSide side=AIMS_DANIELSSON_OUTSIDE)
 Return float euclidean Danielsson distance map.
 
carto::VolumeRef< float > AimsSignedDanielssonDistanceMap (const carto::rc_ptr< carto::Volume< int16_t > > &vol)
 Return float euclidean signed distance map (minus out, plus in object)
 

Enumeration Type Documentation

◆ DanielssonSide

Enumerator
AIMS_DANIELSSON_OUTSIDE 
AIMS_DANIELSSON_INSIDE 

Definition at line 48 of file danielsson.h.

Function Documentation

◆ AimsDanielssonDistanceMap()

carto::VolumeRef< float > AimsDanielssonDistanceMap ( const carto::rc_ptr< carto::Volume< int16_t > > & vol,
DanielssonSide side = AIMS_DANIELSSON_OUTSIDE )

Return float euclidean Danielsson distance map.

References AIMS_DANIELSSON_OUTSIDE.

◆ AimsSignedDanielssonDistanceMap()

carto::VolumeRef< float > AimsSignedDanielssonDistanceMap ( const carto::rc_ptr< carto::Volume< int16_t > > & vol)

Return float euclidean signed distance map (minus out, plus in object)