Share

Gamma

The Gamma element applies a gamma correction to color values.

It is an Autodesk extension to the Academy/ASC XML color transform format.

Introduced

Version 1.2.

Contains

Contained By

Attributes

id, name, bypass, inBitDepth, outBitDepth

See Common Operator Attributes.

style

Specifies the type of power law curve. Required.

Note: The following equations assume that the input and output bit-depths are floating-point. For integers, the values are normalized to [0.0, 1.0]. In other words, the gamma and offset values stored in the CTF file do not depend on the input and output bit depths.
ValueMeaning
"basicFwd"Applies the power law with the gamma value specified in the GammaParams element. The GammaParams element must not have an offset attribute.

"basicRev"Applies the power law with the inverse of gamma value. The GammaParams element must not have an offset attribute.

"moncurveFwd"Applies a function that has a linear segment near the origin (black) and a power-law segment at higher values. At the junction, the curve is continuous in both value and tangent. This type of curve is used in the Rec. 709, sRGB, and CIE L* equations.

The GammaParams element must have an offset attribute.

"moncurveRev"Applies a function that has a linear segment near the origin (black) and an inverse power-law segment at higher values. The GammaParams element must have an offset attribute.

Example

Without Offset

**** ****

With Offset

**** ****

Was this information helpful?