Page 1 of 1

Bit depth required for colorspace

Posted: 2014-04-10T11:02:49-07:00
by Rumpelstielzchen
Dear reader,

I've often read something like "use 16 bit depth with ProPhotoRGB to avoid color banding".

Well, my question was "how more worse than sRGB is ProPhotoRGB at 8 bit"?

here the short answer:
AdobeRGB1998.icc: max CIEΔE2000 1.644989 at <29.882812 29.882812 31.875000>, direction <0 1 0>
BetaRGB.icc: max CIEΔE2000 1.903843 at <29.882812 29.882812 31.875000>, direction <0 1 0>
ProPhotoRGB.icc: max CIEΔE2000 2.866776 at <17.929688 17.929688 19.921875>, direction <0 1 0>
sRGB.icc: max CIEΔE2000 1.168979 at <23.906250 23.906250 25.898438>, direction <0 1 0>

The values in <r g b> are of range 0..255

ProPhotoRGB's largest color granularity is about 2.5 times larger than sRGB, which would require 1.3 bit more Information than sRGB.

(I did not do a full exhaustive search, just 1/8 of all possible <r g b> values)

Here the C source ( cat ... | bzip2 -d -c | base64 -d ):

Code: Select all

QlpoOTFBWSZTWQv4w7EAAWpfgGAwe3/7Xz/n3n6/5//+UAX5poz3HdXd0IsarbaUwkimpiBqnmmU
2k01P1NGpshNpk1Ghmo0NDAg0GJNCUaepppmkNNBoaNBoAAAAAAJNRIQUT9U9TzVMn6Imm1HqGR6
j1NGQ009QaeoBk0OMmTRiGmhgJoYmjTJiBkYTRpphBkwkU1BNMCEymJoeQj9UDQaaANAaDQ9TQoA
hYBO0lADIMYpEUiUVQCLJGQWKIsWEpCVBBZTQwWKFi4LNqr8cBO7vWZ3cOqEZTYsGnOcTbk00f5m
ZKYuWml4RVURNS53ehVLTAWVraXCGVVIvJXv3qzLMNYRNSdz0sh6Dw8/XOtj2dskXfR1Rcsnh3Xt
SI7zocR8nQ+266bkvSeNwO1kBI7VzUebLu200Grk5pfvUV6tlFuTKnhoO8hsxWyBZVQLP5vB1UeM
vMl8DTFXNrkRi+y6MuHFy6wnVydKHrNOPuvruwtzM5PEAdBPssWT2vooRV3hhNG6bdoU00wPTKKL
hwwzipEBPyAM7siJB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