Value Condition node

Left Toolbar > Value icon Value Nodes > Value Condition icon Value Condition node

The Value Condition node executes the conditional at each pixel of the input image using. If the condition is true, the pixel value is set to 1.0. If the condition is false, the pixel value is set to 0.0.

input
In1 Img VALUE image. Min: -128.0. Max 128.0.

output
Out Img VALUE image. Min: 0.0. Max 1.0.

Procedure

To apply a Value Condition:

  1. On the left toolbar choose Value Nodes > Value Condition. Value icon > Value Condition icon

  2. Drag the Value Condition icon into the Node Graph.

    Value Add node

  3. Adjust the attributes of the Value Condition node.

Inputs

Img An image of VALUE color mode.

Note. If the input image is not of VALUE color mode, it is converted to value color mode using the default settings.

Outputs

Img An image of VALUE color mode.

Attributes Panel

Texture Turbulence attributes

Condition Defines the condition used to inspect the image. If the pixel value... v == min: ...is equal to min... v != min: ...is different to min... v == max: ...is equal to max... v != max: ...is different to max... v < a: ...is less than a... v <= a: ...is less than or equal to a... v == a: ...is equal to a... v >= a: ...is greater than or equal to a... v > a: ...is greater than a... a < v and v < b: ...is greater than a and less than b... ... then set pixel to 1.0, else set pixel to 0.0.

A Defines the value a.

B Defines the value b.