SoObjectToSegmentApproximation2d Class Reference
[Computational Geometry]

ImageViz SoObjectToSegmentApproximation2d engine More...

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

Inheritance diagram for SoObjectToSegmentApproximation2d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoObjectToSegmentApproximation2d ()

Public Attributes

SoSFImageDataAdapter inObjectImage
SoSFInt32 minArea
SoSFInt32 maxPointNumber
SoSFFloat maxDistance
SoImageVizEngineOutput
< SoSFSegmentChain,
SoSegmentChain * > 
outSegment

Detailed Description

ImageViz SoObjectToSegmentApproximation2d engine

The SoObjectToSegmentApproximation2d engine computes the polygonal approximation of object boundaries.

For an introduction, see section Discrete Geometry.

The SoObjectToSegmentApproximation2d engine first extracts chains from objects edges. Then it applies the dichotomous polygonal approximation. This operation consists in converting chains into segments by approximating the polygons of linear segments. It provides the outlines of the polygons.

FILE FORMAT/DEFAULT


Library references: seg_approx


Constructor & Destructor Documentation

SoObjectToSegmentApproximation2d::SoObjectToSegmentApproximation2d (  ) 

Constructor.


Member Data Documentation

The input binary or label image.

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

The maximum distance in pixels between curve and segment.

Default value is 1.5f.

The maximum number of processed pixels.

Default value is 256000.

The minimum surface of kept cells.

Default value is 5.

The output segment.

Default value is NULL.


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/