SoEuclideanDistanceMapProcessing3d image filter More...
#include <ImageViz/Engines/MathematicalMorphology/DistanceMaps/SoEuclideanDistanceMapProcessing3d.h>
Public Types | |
enum | MappingMode { INSIDE = 0, OUTSIDE = 1 } |
enum | BorderCondition { ZERO = 0, MIRROR = 1 } |
Public Member Functions | |
SoEuclideanDistanceMapProcessing3d () | |
Public Attributes | |
SoSFEnum | mappingMode |
SoSFEnum | borderCondition |
SoSFImageDataAdapter | inBinaryImage |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outMapImage |
This algorithm computes a 3D distance map for a 3D object. Each voxel will be assigned a value depending on the distance to the nearest object boundary. The boundary voxels of the object are assigned a value of zero whereas the assigned value increases as the distance increases. This algorithm computes distances using the Euclidean metric.
SoChamferDistanceMapProcessing3d SoChessboardDistanceMapProcessing
mappingMode | INSIDE |
borderCondition | ZERO |
inBinaryImage | NULL |
SoEuclideanDistanceMapProcessing3d::SoEuclideanDistanceMapProcessing3d | ( | ) |
Constructor.
This field defines the border condition.
Use enum BorderCondition. Default is ZERO
The input binary image.
Default value is NULL. Supported types include: binary image.
This field defines the region where the distance map is computed.
Use enum MappingMode. Default is INSIDE
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoEuclideanDistanceMapProcessing3d::outMapImage |
Distance map of the input binary image.
Distance map of the shape represented by the input image. Each voxel is assigned to a value depending on the distance to the nearest object boundary. The output image will be a 32-bit floating image. Default value is NULL. Supported types include: binary image.