SoChamferDistanceMapProcessing3d engine
More...
#include <ImageViz/Engines/MathematicalMorphology/DistanceMaps/SoChamferDistanceMapProcessing3d.h>
Public Member Functions | |
| SoChamferDistanceMapProcessing3d () | |
Public Attributes | |
| SoSFImageDataAdapter | inBinaryImage |
| SoSFFloat | faceDistance |
| SoSFFloat | edgeDistance |
| SoSFFloat | cornerDistance |
| SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outMapImage |
SoChamferDistanceMapProcessing3d engine
The SoChamferDistanceMapProcessing3d engine computes a 3D chamfer distance transformation.
This engine is like the SoChessboardDistanceMapProcessing engine but takes care of the diagonals.
SoChessboardDistanceMapProcessing.
| inBinaryImage | NULL |
| faceDistance | 1.0f |
| edgeDistance | 1.414f |
| cornerDistance | 1.73f |
| SoChamferDistanceMapProcessing3d::SoChamferDistanceMapProcessing3d | ( | ) |
Constructor.
The distance between 2 pixels with min 3D connexity.
Default value is 1.73f.
The distance between 2 pixels with middle 3D connexity.
Default value is 1.414f.
The distance between 2 pixels with max 3D connexity.
Default value is 1.0f.
The input 3D binary image.
Default value is NULL. Supported types include: binary image.
| SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoChamferDistanceMapProcessing3d::outMapImage |
The output distance map image.
Default value is NULL. Supported types include: grayscale binary label color image.