# Calculate Value

## Description

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

## Inputs

Name | Type | Description |
---|---|---|

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

## Optional Inputs

Name | Type | Description | Default Value |
---|---|---|---|

Default Value | Real Value Type | Value to be passed in case an algebraic error occurs. | None |

## Output

Name | Type | Description |
---|---|---|

Calculated | Real Value Type | 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