Question: 9. Suppose image file values are in 0..255 in each color channel. If we define R= R/255 for the red channel, we wish to carry

9. Suppose image file values are in 0..255 in each color channel. If we define R= R/255 for the red channel, we wish to carry out gamma correction by passing a new value to the display device, with /2.0, 4 Exercises 115 0.9 0.8 0.7 1.8 1.6 1.4 1.2 1 1.8 1.6 0.4 2.2 0.6 0.5 0.4 0.3 0.2 0 0.1 0 0.8 0.6 0.4 02 1 0.8 0.8 0.0 0.4 0.2 0.2 0.4 0.6 0.81 121.4 0 ig. 4.20 a Color-matching functions; b transformed color-matching functions It is common to carry out this operation using integer math. Suppose we approx- imate the calculation as creating new integer values in 0.. 255 via (a) Comment (very roughly) on the effect of this operation on the number of actually available levels for display. Hint: Coding this up in any language will help you understand the mechanism at work betterand as well, then you can simply count the output levels. (b) Which end of the levels 0..255 is affected most by gamma correction, the low end near 0 or the high end near 255? Why? How much at each end? 9. Suppose image file values are in 0..255 in each color channel. If we define R= R/255 for the red channel, we wish to carry out gamma correction by passing a new value to the display device, with /2.0, 4 Exercises 115 0.9 0.8 0.7 1.8 1.6 1.4 1.2 1 1.8 1.6 0.4 2.2 0.6 0.5 0.4 0.3 0.2 0 0.1 0 0.8 0.6 0.4 02 1 0.8 0.8 0.0 0.4 0.2 0.2 0.4 0.6 0.81 121.4 0 ig. 4.20 a Color-matching functions; b transformed color-matching functions It is common to carry out this operation using integer math. Suppose we approx- imate the calculation as creating new integer values in 0.. 255 via (a) Comment (very roughly) on the effect of this operation on the number of actually available levels for display. Hint: Coding this up in any language will help you understand the mechanism at work betterand as well, then you can simply count the output levels. (b) Which end of the levels 0..255 is affected most by gamma correction, the low end near 0 or the high end near 255? Why? How much at each end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
