Ryan Emanuel February 4, 2021 Share February 4, 2021 I'm a lil confused. I'm using linear regression to approximate some color space transforms and package it in a lut. My only concern is are values near 0 and 1. For instance some of the values in the 3x3 matrix are negative so some elements of the lut are beneath 0 and some values are scaled up to 1.5, how is this operation for going from wide gamut to rec 709 not destroying information in the 0-1 range? Link to comment Share on other sites
Anton Meleshkevich February 14, 2021 Share February 14, 2021 Not sure if I get you right. But color space transformations usually create values below 0 and above 1. It's essential to use some gamut mapping before any color grading, especially for operations like saturation. In your particular example, converting from a wider gamut to a lower gamut and then baking it in a LUT can be done, it will just clamp anything below and above 0 and 1 and also bake artifacts depending on your primaries. 1 Link to comment Share on other sites