-
Notifications
You must be signed in to change notification settings - Fork 477
ProPhotoRGB builtin transforms #2215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Add ProPhotoRGB (ROMM RGB) as a set of builtin transforms for color space conversions between ProPhotoRGB and ACES2065-1, including both native gamma 1.8 and sRGB gamma variants. Updates documentation: usage and available styles, registers the transforms in the registry. Adds comprehensive unit tests for registration, gamma curves, round-trip, and variant support. Signed-off-by: Vlad (Kuzmin) Erium <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution Vlad.
Technically, there should be a version check added to ensure these are not used with configs for earlier versions of the library. But I will add that for you after the TSC decides what release to assign this to.
Signed-off-by: Vlad (Kuzmin) Erium <[email protected]>
Signed-off-by: Vlad (Kuzmin) Erium <[email protected]>
Signed-off-by: Vlad (Kuzmin) Erium <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates Vlad. Here are a few more requests, below.
Regarding the sRGB ProPhoto, it does not need a special LUT, so it is easy for people to add to configs, if they want. I will confirm at the next TSC meeting, but I don't think we should make this a built-in.
src/OpenColorIO/transforms/builtins/BuiltinTransformRegistry.cpp
Outdated
Show resolved
Hide resolved
tests/cpu/transforms/builtins/BuiltinTransformRegistry_tests.cpp
Outdated
Show resolved
Hide resolved
• ProPhotoRGB.cpp to remove unused linear-to-encoded LUT generation and updated the color space conversion to use build_conversion_matrix_to_XYZ_D65. • test cases in BuiltinTransform_tests.cpp and BuiltinTransformRegistry_tests.cpp. Signed-off-by: Vlad (Kuzmin) Erium <[email protected]>
Signed-off-by: Vlad (Kuzmin) Erium <[email protected]>
|
@doug-walker i can't get what a problem with CLs. I have tested code builds in MSVC on windows and in clang-20 on Ubuntu. |
Add ProPhotoRGB (ROMM RGB) as a set of builtin transforms for color space conversions between ProPhotoRGB and ACES2065-1, including both native gamma 1.8 and sRGB gamma variants. Updates documentation: usage and available styles, registers the transforms in the registry. Adds comprehensive unit tests for registration, gamma curves, round-trip, and variant support.