Replies: 1 comment 1 reply
-
Hello @cut-shots, I haven't tested your code but typically, one does not multiply RGB by 10000 before encoding with PQ: If you consider a SDR image in range [0, 1], once displayed on a 100 nits display, the maximum image value is set to the display peak luminance which is what we typically want. Now if we want to display it the same way, i.e., at 100 nits, on a display using PQ, we would need to multiply RGB by 100 because PQ is absolute, that would put our white at 100 nits, leaving room for highlights if the image was actually HDR.
Those are, confusingly, not the exact range of the colourspace but that of the domain-range scale: https://colour.readthedocs.io/en/develop/basics.html#domain-range-scales |
Beta Was this translation helpful? Give feedback.
-
Hi,
Im having trouble finding a mistake in my Signalchain. I'm trying to Transform a imported RGB Image in the Rec.2020 colorspace into YCbCr with PQ nonlinearity/ ICtCp. Afterwards i subsample the Chromachannels CtCp/CbCr and Transform everything back into RGB. Without the Subsampling everything looks ok but with Subsampling i get wierd image artefacts that are unexpected.
via ICtCp
via YCbCr
I would expect there to be some crosstalk related artefacts but i think they shouldent be that saturated.
Im following the steps from the ICtCp Whitepaper to convert my RGB (page 13) https://professional.dolby.com/siteassets/pdfs/ictcp_dolbywhitepaper_v071.pdf
I think my issue might be the scaling of the RGB signal for the inverse PQ eotf but as far as i understood the Range is 0-10000.
For the subsampling and quantization i use these Functions:
On a side note, why is the documentation giving [-1,1] as the range for Ct/Cp, shouldent it only allow [-0.5, 0.5] as the scalar matrix is applied in the L'M'S' to ICtCp Matrix?
I would greatly appreciate any help on where im going wrong with this, feel like ive tried many different versions off the conversions but never got it to not produce this effect. If everything is in order and thats just what happens with the aubsampling in PQ then that would also be a valid result but im affraid im missing something :)
Beta Was this translation helpful? Give feedback.
All reactions