35 #ifndef AIMS_DISTANCEMAP_ADVECTION_H
36 #define AIMS_DISTANCEMAP_ADVECTION_H
110 float _propagation_threshold;
Propagate labels along a vector field.
carto::VolumeRef< int16_t > doit(const carto::VolumeRef< int16_t > &label_vol, const carto::VolumeRef< float > &gradX, const carto::VolumeRef< float > &gradY, const carto::VolumeRef< float > &gradZ, int16_t seedlabel)
Propagate a region using an overlap criterion.
static const float default_propagation_threshold
carto::VolumeRef< int16_t > descend_scalar_field(const carto::VolumeRef< int16_t > &seeds, const carto::VolumeRef< float > &field)
Propagate labels along the gradient of a scalar field.
virtual ~GradientAdvection()
void setPropagationThreshold(float)
carto::VolumeRef< int16_t > propagate_all_labels(const carto::VolumeRef< int16_t > &seeds, const carto::VolumeRef< float > &fieldx, const carto::VolumeRef< float > &fieldy, const carto::VolumeRef< float > &fieldz)
Propagate labels using the local direcion of a vector field.
void setVerbose(bool=true)