| Accurate Image Manipulation for Desktop Publishing | ||
Available Bit-Depth Resolution by Gamma Compensation Into 8-bit Data
For mathematically inclined
it is the first derivative of the inverse gamma function, x-axis is
binary coded so that the value 1 of the derivative represents the 8-bit
accuracy. y-axis is coded to show the gray percentage K%.
d(gamma_compensation) d(i) = (1/g)* I^((1-g)/g) where: I=linear-light intensity
Please note that the gray swatch is gamma compensated for gamma space 2.2 viewing to enable direct comparison of the values on uncalibrated CRT monitor. From the chart:
The 9th bit is gained only at 93%. The 10th bit is gained only 97%. There is practially no more "benefits" from the gamma, since the 11th bit is very very near to the 100% black. Note that without a cooled CCD device the S/N ratio (signal to noise ratio) of highest quality scientific acquire devices is typically about 60dB that is comparable to 10 bit (1 bit = 6.2 dB). Consumer devices have much more noise, they have usually less than 48dB S/N so gamma compression does not give any benefit at all, only degradation. Conclusions
On the other hand image manipulation operations that are performed on gamma compensated images create artifacts and large errors that are very difficult to correct. Please see the the comparison gallery it demonstrates some of the problems. The shading comparison page shows the difference of the dreaded banding. Accurate Image Manipulation for Desktop Publishing Copyright Timo Autiokari, 1998-2007. Contact info |
||