SoCenterLineApproximation3d Class Reference
[Computational Geometry]

ImageViz SoCenterLineApproximation3d engine More...

#include <ImageViz/Engines/ImageSegmentation/ComputationalGeometry/SoCenterLineApproximation3d.h>

Inheritance diagram for SoCenterLineApproximation3d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoCenterLineApproximation3d ()

Public Attributes

SoSFImageDataAdapter inLabelImage
SoSFBool autoMode
SoSFUInt32 numberOfBranches
SoSFDouble newBranchSensibility
SoSFDouble distanceMapSmoothing
SoSFUInt32 smoothingIteration
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outBinaryImage
SoImageVizEngineOutput
< SoSFFieldContainer,
SoIndexedLineSet * > 
outLineSet

Detailed Description

ImageViz SoCenterLineApproximation3d engine

The engine extracts the centerline of a label image. A centerline is a path with a tree topology that approximates the input shape. The extraction procedure enforces the path to be equidistant to its boundaries.

The engine searches for a graph with tree topology (without loops). If the object contains loops this algorithms will not fail, instead it will just ignore certain connectivity so that the tree topology of graph is preserved.

The engine searches iteratively for the longest branch that can be added to the tree.

FILE FORMAT/DEFAULT


Library references: centerline3d

See related examples:

Centerline


Constructor & Destructor Documentation

SoCenterLineApproximation3d::SoCenterLineApproximation3d (  ) 

Constructor.


Member Data Documentation

If this parameter is set to true the number of branches is computed automatically (the parameter newBranchSensibility controls the adding of new branches) otherwise branches are added until numberOfBranches connections is reached.

Default value is false.

This parameter controls the smoothing of the distance map which is computed internally to make the tree centered.

Smoothing of the distance map can be useful when the distance map is not sufficiently smooth ( generally it leads to oscillation in the tree ). The filter is a Gaussian filter of standard deviation euclideanDistanceMapSigmaSmoothing. Default value is 0.3.

Input label image.

One centerline will be extracted by label. Default is NULL.

This parameter controls the adding of a new branch in the tree in automatic mode.

A new branch is added to the tree only if its length (b in scheme) is newBranchSensibility time farther than the closest boundary point at junction (a in scheme). Default value is 3.0.

SoCenterLineProcessing3d_sensibility.png

Figure 1: New branch sensibility

Number of branches iteratively added to the reconstructed centerline tree.

This parameter is not used if autoMode is set to true. Default value is 1.

Output centerline.

The resulting image is a binary image that represents the extracted centerline. Default value is NULL.

Output line set.

This output is the geometric counterpart of the output binary image. Default value is NULL.

Number of smoothing iteration of the output line set (post processing).

A smoothing iteration applies a mean filter of size 3 on vertices. Default value is 3.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/