SoConvertImageProcessing Class Reference
[Image Editing]

ImageViz SoConvertImageProcessing engine changes the format of an image. More...

#include <ImageViz/Engines/ImageManipulation/ImageEditing/SoConvertImageProcessing.h>

Inheritance diagram for SoConvertImageProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  DataType {
  UNSIGNED_CHAR = 0,
  SIGNED_CHAR = 1,
  SHORT_INTEGER = 2,
  UNSIGNED_SHORT = 3,
  LABEL = 4,
  BINARY = 5,
  LONG_INTEGER = 6,
  FLOATING_POINT = 7
}

Public Member Functions

 SoConvertImageProcessing ()

Public Attributes

SoSFEnum computeMode
SoSFImageDataAdapter inImage
SoSFEnum dataType
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz SoConvertImageProcessing engine changes the format of an image.

The SoConvertImageProcessing engine changes the arithmetic format of the input image $I$ to an output image $O$. Conversion follows the C convention, and no overflow is checked. When converting to a binary image type, non zero gray level values will be changed to 1 and zero gray level value will stay unchanged. The formats are:

FILE FORMAT/DEFAULT


Library references: convert

See related examples:

MarkerPicking, BatchProcessing


Member Enumeration Documentation

Enumerator:
UNSIGNED_CHAR 

1 byte depth.

Intensity range: unsigned integer from 0 to 255.

SIGNED_CHAR 

1 byte depth.

Intensity range: signed integer from -128 to 127.

SHORT_INTEGER 

2 bytes depth.

Intensity range: signed integer from -32,768 to 32,767.

UNSIGNED_SHORT 

2 bytes depth.

Intensity range: unsigned integer from 0 to 65,535.

LABEL 

2 bytes depth.

Intensity range: unsigned integer from 0 to 65,535.

BINARY 

2 bytes depth.

Intensity range: unsigned integer from 0 to 1.

LONG_INTEGER 

4 bytes depth.

Intensity range: signed integer from $-2^31$ to $2^31-1$.

FLOATING_POINT 

4 bytes depth.


Constructor & Destructor Documentation

SoConvertImageProcessing::SoConvertImageProcessing (  ) 

Constructor.


Member Data Documentation

Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.

Default is MODE_AUTO

Select the output arithmetic format.

Use enum DataType. Default is UNSIGNED_CHAR

The input image.

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

The output 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 28 Oct 2019
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/