Share

Range

The Range element maps the input domain to the output range by scaling and offsetting values.

If a minInValue is present, then minOutValue must also be present and the result is clamped at the low end. Similarly, if maxInValue is present, then maxOutValue must also be present and the result is clamped at the high end. If none of minInValue, minOutValue, maxInValue, or maxOutValue are present, then the Range operator performs only bit-depth conversion.

The scaling of minInValue and maxInValue depends on the input bit-depth, and the scaling of minOutValue and maxOutValue depends the output bit-depth.

If both minimum and maximum values are specified, then the formula for Range is:

If only minimum values are specified, the formula is:

If only maximum values are specified, the formula is:

Where:

Contains

Contained By

Attributes

id, name, bypass, inBitDepth, outBitDepth

See Common Operator Attributes.

Example

10-bit full range to SMPTE (legal) range. generic RGB generic RGB **** 0.0000 1023.0000 64.0000 940.0000 ****

Was this information helpful?