SoImageFormulaProcessing Class Reference
[Arithmetic Operations]

ImageViz SoImageFormulaProcessing engine computes a new image combining one, two or three images using a given arithmetic formula. More...

#include <ImageViz/Engines/ArithmeticAndLogic/ArithmeticOperations/SoImageFormulaProcessing.h>

Inheritance diagram for SoImageFormulaProcessing:
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

 SoImageFormulaProcessing ()

Public Attributes

SoSFEnum computeMode
SoSFImageDataAdapter inImage
SoSFImageDataAdapter inImage2
SoSFImageDataAdapter inImage3
SoSFString inFormula
SoSFEnum dataType
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz SoImageFormulaProcessing engine computes a new image combining one, two or three images using a given arithmetic formula.

The formula used by this engine must be written according to the custom formula syntax.

Some of the examples below can be implemented with an existing engine. In these cases using the appropriate native engine will be more efficient in term of performance.

Basic usage

Usage with kernels

Usage with offsets

Usage of image coordinates

FILE FORMAT/DEFAULT


Library references: imageformula


Member Enumeration Documentation

Enumerator:
UNSIGNED_CHAR 
SIGNED_CHAR 
SHORT_INTEGER 
UNSIGNED_SHORT 
LABEL 
BINARY 
LONG_INTEGER 
FLOATING_POINT 

Constructor & Destructor Documentation

SoImageFormulaProcessing::SoImageFormulaProcessing (  ) 

Constructor.


Member Data Documentation

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

Default is MODE_AUTO

Arithmetic format.

Use enum DataType. Default is UNSIGNED_CHAR

Formula to apply on image(s).

See Custom formula syntax for how to use a formula. Default value is "".

The input image.

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

Optional image : enter image or let field empty.

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

Optional image : enter image or let field empty.

This parameter is optional. 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 12 Sep 2022
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/