Homework for CS410x

 

  1. 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.
  2. There are 10 bars from white to black
  3. Click here to see them.
  4. The color are all monochrome and range from 255 to 17 in the following steps:
  5. 255, 238,204,187,153,119,102,68,51,17
  6. The background is a value of 187.
  7. The center rectangle is pure black (0).
  8. 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)
  9. The middle rectangle is 75 pixels tall and starts on pixel x=243. It is 150 pixels wide.
  10. The bottom wedge has a 48 pixel margin. It is just like the top wedge only it goes in reverse order.
  11. Hints for smpte-bars.gif
  12. The bars are valued from left to right as RGB values of:
  13. 204,204,204 = gray
  14. 255, 255, 0 = yellow
  15. 0,255,255 = cyan
  16. 0 255 0 = green
  17. 255 0 255 = magenta
  18. 255 0 0 = red
  19. under it is blue a dark black
  20. dark black = 19, 19, 19,
  21. magenta
  22. dark black
  23. cyan
  24. dark black
  25. Under this is a bluer than blue - I test...this cannot be generated with a positive voltage...our approximation is:
  26. 8,62,89 from x=0 to x=111
  27. 255,255,255 = white bar, x=112 to x=223
  28. 58, 0 , 126 = purple,x=224 to x = 335
  29. dark black, x= 336 to 459
  30. black x=460 to 487
  31. dark black x=488 to 519
  32. 38,38,38 = a shade of gray. 520 to 551
  33.  
  34. The pulse and bar doc is printed in the lab. You may see the spec by clicking here.