This is an old revision of the document!


PHP's gd library is missing or unable to create PNG images

Calculate Value

Description

This container calculates a value employing a logic/algebraic expression.

Inputs

Name Type Description
Expression Image Expression Algebraic or logical expression used to calculate the lookup table.

Optional Inputs

Name Type Description Default Value
Use Default Value Bool If true, a default value will be passed as an output of the algebraic/logic expression in case an algebraic error occurs, e.g. division by zero. False
Default Value Double Value to be passed in case an algebraic error occurs. 0.0

Output

Name Type Description
Calculated Double The calculated value.

Group

Notes

The list of mathematical and logical operators that can be employed in the logic/algebraic expression can be found in the image expression reference. Note that the operators and functions described in Image Operators and Functions and Image Neighborhood Functions can not be used in value calculations.

The tables used by the “Calculate Value” must be provided by a corresponding Number Table and the values must be provided by a corresponding Number Value.

Internal Name

CalculateValue