SoRegionToObjectProcessing2d Class Reference
[Labeling]

ImageViz SoRegionToObjectProcessing2d image filter More...

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

Inheritance diagram for SoRegionToObjectProcessing2d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoRegionToObjectProcessing2d ()

Public Attributes

SoSFImageDataAdapter inRegionImage
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outObjectImage

Detailed Description

ImageViz SoRegionToObjectProcessing2d image filter

The SoRegionToObjectProcessing2d engine transforms an object image into a region image.

The SoObjectToRegionProcessing2d engine scans the image from top to bottom and left to right. The algorithm works in two steps:

BEFORE:

\[ \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|} \hline 1 & 1 & 1 & 1 & 1 & 1 \\ \hline 1 & 2 & 2 & 2 & 2 & 1 \\ \hline 1 & 2 & 2 & 2 & 2 & 1 \\ \hline 1 & 2 & 2 & 2 & 2 & 1 \\ \hline 1 & 1 & 1 & 1 & 1 & 1 \\ \hline \end{tabular} \]

AFTER:

\[ \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|} \hline 1 & 1 & 1 & 1 & 1 & 1 \\ \hline 1 & 0 & 0 & 0 & 0 & 1 \\ \hline 1 & 0 & 2 & 2 & 0 & 1 \\ \hline 1 & 0 & 0 & 0 & 0 & 1 \\ \hline 1 & 1 & 1 & 1 & 1 & 1 \\ \hline \end{tabular} \]

SEE ALSO

SoObjectToRegionProcessing2d, SoLabelingProcessing.

FILE FORMAT/DEFAULT


Library references: region2label


Constructor & Destructor Documentation

SoRegionToObjectProcessing2d::SoRegionToObjectProcessing2d (  ) 

Constructor.


Member Data Documentation

The input region label image.

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

The output object label 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 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/