image = | genericSeededDistanceMap3dImg (inBinImg3d,inBinSeedImg3d,inDistWeight3d) |
image = | genericSeededDistanceMap3dImg (inBinImg3d,inBinSeedImg3d,inDistWeight3d,maxDistanc) |
generic seeded distance map transform of a 3d input binary image according to a 3d seeded image
3d generic seeded distance map algorithm is the 3d extension of Generic Seeded Distance Map 2d. It allows to compute the distance to the closest seeded voxel in a region for each voxel of this region, according to given weights stored in a ipsdk::imaproc::attr::DistWeight3d attribute. The region is defined by a binary volume with voxel intensities set to 1. The seeded voxels are defined by a seeded volume with voxel intensities set to 1. If the parameter is provided, the propagation is constrained so that it stops when the distance is higher than the
value.
The resulting image buffer type must be one of the following :
See Generic Seeded Distance Map 2d for more details.
Here is an example of a 3d seeded distance map computation applied to a binary input image with a real result image with each weighting coefficients set to 1 :