It342 Tutorial1 Model Answer
It342 Tutorial1 Model Answer
Q1: Briefly explain why we need to be able to have less than 24-bit color and why this makes for a
problem. Generally, what do we need to do to adaptively transform 24-bit color values to 8-bit ones?
Answer:
May not be able to handle such large file sizes or not have 24-bit displays.
The colors will be somewhat wrong. However, we need to cluster color pixels so as to best use the bits
available to be as accurate as possible for the colors in an image. In more detail: variance minimization
quantization .
Minimum variance quantization allocates more of the available colormap entries to colors that
appear frequently in the input image and allocates fewer entries to colors that appear infrequently.
Therefore if there are for example many reds, as in a red apple, there will be more
resolution in the red part of the color cube.
Q2 : At your job, you have decided to impress the boss by using up more disk space for the company’s
grayscale images. Instead of using 8 bits per pixel, you’d like to use 48 bits per pixel in RGB. How
could you store the original grayscale images so that in the new format they would appear the same
as they used to, visually?
Answer:
48 bits RGB means 16 bits per channel: so re-store the old ints, which were < 28, as new ints <
216. But then the new values have to be created by multiplying the old values by 28, so that e.g.
a mid-gray is still a mid-gray. As well, have to duplicate the old gray into all three of R,G,B.
How would you match each of the following (more vaguely stated) characteristics to each of the above
terms?
(a) luminance : brightness
(b) hue : wavelength
(c) saturation : whiteness
(d) chrominance : color level