Go to the source code of this file.
|
template<typename T > |
void | AimsDistanceFrontPropagation (carto::rc_ptr< carto::Volume< T > > &vol, T val_domain, T val_outside, int xm, int ym, int zm, float mult_factor, bool divide) |
|
template<typename T > |
void | AimsDistanceFrontPropagation (aims::BucketMap< T > &vol, T val_domain, T val_outside, int xm, int ym, int zm, float mult_factor, bool divide) |
| Chamfer front propagation distance map on a bucket. More...
|
|
◆ AimsDistanceFrontPropagation() [1/2]
template<typename T >
void AimsDistanceFrontPropagation |
( |
aims::BucketMap< T > & |
vol, |
|
|
T |
val_domain, |
|
|
T |
val_outside, |
|
|
int |
xm, |
|
|
int |
ym, |
|
|
int |
zm, |
|
|
float |
mult_factor, |
|
|
bool |
divide |
|
) |
| |
Chamfer front propagation distance map on a bucket.
- Parameters
-
vol | both input and output |
val_domain | value where the distance can propagate in the input bucket |
val_outside | voxels of this value are ignored, the front cannot propagate on this value. In buckets it is generally unused, so provide an unused value (negative for instance). Input voxels of other values are considered fixed at their given distance. Use at least one voxel with a given distance (0 typically) to start the propagation. |
xm | size of the kernel on x (in voxels) |
ym | size of the kernel on y (in voxels) |
zm | size of the kernel on z (in voxels) |
mult_factor | all distances are internally multiplied by this factor to overcome precision issues (typically when using int values) |
divide | tells whether the multiplied distances should be re-divided to millimeters values at the end of the operation |
◆ AimsDistanceFrontPropagation() [2/2]
template<typename T >
void AimsDistanceFrontPropagation |
( |
carto::rc_ptr< carto::Volume< T > > & |
vol, |
|
|
T |
val_domain, |
|
|
T |
val_outside, |
|
|
int |
xm, |
|
|
int |
ym, |
|
|
int |
zm, |
|
|
float |
mult_factor, |
|
|
bool |
divide |
|
) |
| |