SoGroupCloseLabelslProcessing2d Class Reference
[Labeling]

ImageViz SoGroupCloseLabelslProcessing2d engine More...

#include <ImageViz/Engines/ImageSegmentation/Labeling/SoGroupCloseLabelslProcessing2d.h>

Inheritance diagram for SoGroupCloseLabelslProcessing2d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoGroupCloseLabelslProcessing2d ()

Public Attributes

SoSFImageDataAdapter inObjectImage
SoSFFloat maxDistance
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outLabelImage

Detailed Description

ImageViz SoGroupCloseLabelslProcessing2d engine

The SoGroupCloseLabelslProcessing2d groups the objects of the input image according to the distance between them. Knowing the grouping distance, objects will be given the same label if they are separated by this distance or less

SoGroupCloseLabelslProcessing2d_image01.png

Label grouping on a binary image

The figure above shows the results of the SoLabelingProcessing and SoGroupCloseLabelslProcessing2d engines on a binary image. The SoLabelingProcessing engine gives a label number to each cell. The SoGroupCloseLabelslProcessing2d will associate the same label number to each cell of a group, a group being defined by the distance between the separated particles. On the example above the chosen distance is 20 pixels, therefore cells separated by 20 pixels or less will be recognised as belonging to the same group.

FILE FORMAT/DEFAULT


Library references: group_label


Constructor & Destructor Documentation

SoGroupCloseLabelslProcessing2d::SoGroupCloseLabelslProcessing2d (  ) 

Constructor.


Member Data Documentation

The input binary or label image.

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

The maximal distance for grouping objects.

Default value is 3.0f.

The output image.

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


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/