View Full Version : YCoCg [[0,1];[-0.5,0.5];[-0.5,0.5]] to RGB [[0,255];[0,255];[0,255]] and vice-versa
luquinhas0021
28th January 2019, 17:31
How can I get lossless conversion between this two color spaces with this parameters?
huhn
28th January 2019, 17:46
if you read the wiki https://en.wikipedia.org/wiki/YCoCg
you need to more bit deep to store YCoCg/-R lossless to store 8 bit rgb you need 9 bit.
luquinhas0021
28th January 2019, 18:13
if you read the wiki https://en.wikipedia.org/wiki/YCoCg
you need more bit depth to store YCoCg/-R lossless: to store 8 bit rgb you need 9 bit.
Yes, I've seen that, althought the number of bits, for the application I want, doesn't matter.
huhn
28th January 2019, 22:56
so increase the bitdeep and apply the shown formula shown?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.