SoAddObjectToLabelProcessing Class Reference

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
< SoSFImageDataAdapter,
SoImageDataAdapter * > 

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.


Figure 1: Binary image describing the marker to add.


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


Figure 3: Result image with added marker.


SoMarkerBasedWatershedProcessing, SoGrayscaleResconstructionProcessing.


Library references: addmarkers

See related examples:


Constructor & Destructor Documentation

SoAddObjectToLabelProcessing::SoAddObjectToLabelProcessing (  ) 


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.