Skip to content

tests: add creation and usage cLUT profiles

Vitaly Prosyak requested to merge vitalyp/weston:vp/mr/color-output2 into main

Added cLUT profile creation to validate linearization algorithm for DToB3 tag (direction dev to PCS). The 3DLUT is built by using raw matrix conversion from dev to XYZ and reverse (XYZ to device). When 3DLUT content is generated we examine the range of values. Trilinear(on GPU) and tetrahedral(on LCMS) interpolations require that value should be normalized 0-1.0. The normalized 3DLUT is created and the denormalization matrix is added after.

Credits to: Vladimir Lachine vladimir.lachine@amd.com Graeme Gill graeme@argyllcms.com Co-authored-by: Pekka Paalanen pekka.paalanen@collabora.com Signed-off-by: Vitaly Prosyak vitaly.prosyak@amd.com

Edited by Vitaly Prosyak

Merge request reports