



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The final exam problems for a computer science course, specifically for the topic of computer graphics. The problems cover various topics such as gamma correction, surface intersections, image filtering, image reconstruction, transformations, and rasterization. Students are expected to apply theoretical knowledge and problem-solving skills to answer these questions.
Typology: Exams
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Thursday 18 December 2003 2.5 hours
Problem 1: Gamma correction (6 pts)
The display on my Macintosh is calibrated to provide the transfer function I = a^1.^8 , where a ∈ [0, 1] is the value associated with a pixel and I is the light intensity emitted by the display. The display on your Windows PC is calibrated to provide the transfer function I = a^2.^2. Suppose I scan a photograph and adjust it to look just right on my display, then e-mail it to you. Assuming no software on either system is doing anything special about gamma correction, when you look at it on your display:
Note that color saturation can be determined by the ratios of the color channels: if the ratios are close to 1 the color is nearly gray (not saturated), and if they are far from 1 the color is more saturated.
Problem 2: Surfaces and ray intersection (15 pts)
f 1 (x) = ‖(x − c) − [(x − c) · vˆ]ˆv‖ − r
f 2 (x) = ‖M x‖ − 1
(a) when M =
(b) when M =
Problem 3: Image filtering (15 pts)
If the following 1D discrete filters are used to define 2D filters and applied to images, which filter goes with which operation?
0
0
0
0
0
(a) blur (b) sharpen (c) shift left and down (d) shift right and up (e) differentiate (in some way)
Problem 6: Rasterization (18 pts)
You are working on a flight simulator. On approach to landing, the plane is flying level over the runway, as illustrated in diagram (a). The runway is made out of triangles as illustrated in diagram (b).
90 °
z = 0 z = –
z
x
(^20)
0
–10 –20 –30 –40 –
y = 10
runway ( y = 0)
runway top view
(a)
(b)
Assume the camera generating the cockpit view has a field of view of 90◦, and the image is 1000 by 1000 pixels.
The runway is texture mapped with a texture that covers exactly the area of the runway illustrated in diagram (b). The texture coordinate u runs from 0 to 1 across the runway from left to right (from the plane’s viewpoint), and the texture coordinate v runs from 0 to 1 along the runway in the direction of the plane’s travel.
For the triangle to be rendered, the following operations have to happen somewhere: trans- formation, lighting, texturing, and hidden surface removal.
Problem 7: Color (18 pts)
(a) mixing white with a colored paint (b) replacing the RGB color (r, g, b) with (ar, ag, ab) (c) changing Y in the (x, y, Y ) color model (d) changing y in the (x, y, Y ) color model
0 400 700
1
response
wavelength (nm)
0 400 700
1
wavelength (nm)
0 400 700
1
wavelength (nm)
S M L
Which of these spectra is/are metameric (for Martians) to gray and why?
0 400 700
1
spectral power wavelength (nm)
0 400 700
1
wavelength (nm)
0 400 700
1
wavelength (nm)
(a) (b) (c)