Homework for CS410x
- Due 11/8/97...hints for gamma.gif.
Assume that gamma.gif is a 640x480 image. It must be resizable,
but, for the purpose of specification, we shall assume a fixed
size. Resizing will change the absolute numbers, but not the
relative size.
- There are 10 bars from white to black
- Click here to see them.
- The color are all monochrome and range from 255 to 17 in the
following steps:
- 255, 238,204,187,153,119,102,68,51,17
- The background is a value of 187.
- The center rectangle is pure black (0).
- The left white wedge starts at x=64 and ends at x=114. All
wedges are the same width (50 pixels). All wedges are 100 pixels
tall (except the middle wedge)
- The middle rectangle is 75 pixels tall and starts on pixel
x=243. It is 150 pixels wide.
- The bottom wedge has a 48 pixel margin. It is just like the
top wedge only it goes in reverse order.
- Hints for smpte-bars.gif
- The bars are valued from left to right as RGB values of:
- 204,204,204 = gray
- 255, 255, 0 = yellow
- 0,255,255 = cyan
- 0 255 0 = green
- 255 0 255 = magenta
- 255 0 0 = red
- under it is blue a dark black
- dark black = 19, 19, 19,
- magenta
- dark black
- cyan
- dark black
- Under this is a bluer than blue - I test...this cannot be
generated with a positive voltage...our approximation is:
- 8,62,89 from x=0 to x=111
- 255,255,255 = white bar, x=112 to x=223
- 58, 0 , 126 = purple,x=224 to x = 335
- dark black, x= 336 to 459
- black x=460 to 487
- dark black x=488 to 519
- 38,38,38 = a shade of gray. 520 to 551
-
- The pulse and bar doc is printed in the lab. You may see the
spec by clicking here.