SoGeodesicDistanceMapProcessing Class Reference
[Distance Maps]

ImageViz SoGeodesicDistanceMapProcessing engine More...

#include <ImageViz/Engines/MathematicalMorphology/DistanceMaps/SoGeodesicDistanceMapProcessing.h>

Inheritance diagram for SoGeodesicDistanceMapProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoGeodesicDistanceMapProcessing ()

Public Attributes

SoSFEnum computeMode
SoSFImageDataAdapter inBinaryImage
SoSFImageDataAdapter inMaskImage
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outMapImage

Detailed Description

ImageViz SoGeodesicDistanceMapProcessing engine

The SoGeodesicDistanceMapProcessing engine computes the Chamfer distance using a mask of forbidden areas.

This engine is like the SoChamferDistanceMapProcessing2d and SoChamferDistanceMapProcessing3d engines but uses mask to forbidden areas. This engine is very useful when obstacles are present in the image and should not be taken into account in the distance map.

Sample: Distance porosity measure.

SoGeodesicDistanceMapProcessing_image01.png

Figure 1: Initial image

SoGeodesicDistanceMapProcessing_image02.png

Figure 2: Mask of the object

SoGeodesicDistanceMapProcessing_image03.png

Figure 3: Mask of the material

SoGeodesicDistanceMapProcessing_image04.png

Figure 4

SoGeodesicDistanceMapProcessing_image05.png

Figure 5

Figure 4 & 5: Distance map of the porosity with the rainbox2 LUT
(taken the outside of object as the starting point of the distance map)

SEE ALSO

SoChamferDistanceMapProcessing3d, SoChamferDistanceMapProcessing2d.

FILE FORMAT/DEFAULT


Library references: distmask


Constructor & Destructor Documentation

SoGeodesicDistanceMapProcessing::SoGeodesicDistanceMapProcessing (  ) 

Constructor.


Member Data Documentation

Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.

Default is MODE_AUTO

The input binary image.

Default value is NULL. Supported types include: binary color image.

The binary image for the forbidden area (compute distance only outside).

Default value is NULL. Supported types include: binary color image.

The output distance map image.

Default value is NULL. Supported types include: grayscale binary label color image.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/