Skip to content

Conversation

@cozdas
Copy link
Collaborator

@cozdas cozdas commented Dec 18, 2025

Addressing the issue #1915

Currently the clamping is removed ONLY when pure-gamma TRCs are used ('curv' and type 0 parametric 'para' curves). In this case mirroring around origin is used for the negative values.

Other parametric curves are currently implemented as 1DLuts in OCIO, thus parametric curves of type 1-4 along with LUT-based TRCs will still clamp the values per ICC spec.

If need arises, in a later wave we can either convert 'para' curve LUTs to half-domain ones or try to implement them with more complex ops (such as exponent with linear).

…ng from ICC profiles.

Currently the clamping is removed ONLY when the the type 0 (simple gamma) TRC is used. In this case the the mirroring around origin is used for the negative values.

Other parametric curves are currently implemented as 1DLuts thus will not handle out of bound values properly. In a later wave we can either convert LUTs to half-domain ones or try to implement them with more complex ops (such as exponent with linear).

Signed-off-by: cuneyt.ozdas <cuneyt.ozdas@autodesk.com>
- More detailed explanation for the clamp removal in pure-gamma TRC cases.

Signed-off-by: cuneyt.ozdas <cuneyt.ozdas@autodesk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant