SoAddObjectToLabelProcessing Class Reference
[Labeling]

ImageViz SoAddObjectToLabelProcessing engine More...

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

Inheritance diagram for SoAddObjectToLabelProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoAddObjectToLabelProcessing ()

Public Attributes

SoSFImageDataAdapter inBinaryImage
SoSFImageDataAdapter inLabelImage
SoSFInt32 labelValue
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outLabelImage

Detailed Description

ImageViz SoAddObjectToLabelProcessing engine

The SoAddObjectToLabelProcessing engine inserts a marker to a label image.

This engine inserts a marker (described in a binary image) to a label image. The result is a copy of the label image overlapped with the marker. The pixels belonging to the marker are set to the value defined in labelValue field.

A label image may be 16 or 32 bits per pixel. By default it is 2 bytes per pixel, but if the number of labels exceeds 65,535 then the output image is automatically converted to 4 bytes and then can manage more than 2 billion labels.

SoAddObjectToLabelProcessing_image02.png

Figure 1: Binary image describing the marker to add.

SoAddObjectToLabelProcessing_image01.png

Figure 2: Label image in which the marker is inserted.

SoAddObjectToLabelProcessing_image03.png

Figure 3: Result image with added marker.

SEE ALSO

SoMarkerBasedWatershedProcessing, SoGrayscaleResconstructionProcessing.

FILE FORMAT/DEFAULT


Library references: addmarkers

See related examples:

PoreAnalysis


Constructor & Destructor Documentation

SoAddObjectToLabelProcessing::SoAddObjectToLabelProcessing (  ) 

Constructor.


Member Data Documentation

The input binary image.

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

The input label image.

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

The label value to assign.

Default value is 1.

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