Tuesday, May 20, 2008

Assignment 3

1. The chromaticity diagram has the shape of a shark's fin or a triangle because it is defined by three coordinates representing the three pimary colours red, green and blue. The coordinates points are farthest apart when they form a triangle


Plots of wavelengths vs x/y, wavlengths vs y and wavelengths vs z/y shown below including table


























































The graphs represent the dominant wavelenth for a giveen ratio trichromatic coefficients



3 One approach involves treating the components as postion vectors and assigning each point a vector. Vector C1 for color 1, C2 for color 2, and vector C for color C. The color C or vector C can be represented as a linear comination of vector C1 and C2 as follows. ( Refer to diagram below)



OC = OC + aC1C2 = OC1+ a(OC2 - OC1) = OC1+ aOC2 - aOC1 = OC1(1-a) + aOC2=



(1-a)(X1, Y1) + a(X2, Y2) = ((1-a)(X, (1-a)Y1) + (aX2, aY2) =



((1-a)X1, (1-a)Y1) + (aX2, aY2) = ((1-a)X1 + aX2, (1-a)Y1 + a Y2)



where 0<= a<= sqr((x2-x1)^2 + (y2 - y1)^2)































Sketch the CMY components of the image in problem 6.6 as they would appear on a monochrome monitor.



5. The RGB components are given by the following equations

B= I(1 - s)

R = I[ 1 + ScosH/cos(60' - H) ] and G = 3I - (R + B)

The transformation that inversts the RGB componenets is R', B' and C'

where R' = 1-R, B' = 1 -B, and C' = 1 -C

No comments: