Cst304 Computer Graphics and Image Processing May 2024
Cst304 Computer Graphics and Image Processing May 2024
PART A
2 Find the points in the line from (5, 6) to (8, 12) using the DDA line drawing (3)
algorithm.
Given a triangle with vertices at coordinates (10,20), (10,10), (20,10). Find the (3)
coordinates of vertices after Scaling with parameters Sx:2, Sy:l.5, with respect
to the origin.
6 Perform window to viewport transformation for the point (20,15). Assume that (3)
(Xwmin , Yr",nin) is (0, 0); (X*.* , Y"r.o) is (100, 100); (X"tin , Yvmin) is (5, 5);
' (X"ro, Y"ro) is (20' 20).
8 The spatial resolution of an image is given by 128 X 128. What is the storage (3)
.Page 1of 3
E
(x|cstilt4os220s
PART B
b) Write Bresenham's circle drawing algorithm. Find the points in a circle octant in (7)
the first quadrant with the centre point coordinates (0, 0) and radius as 8.
OR
12 a) Explain the working of the raster scan system with suitable figures. (7)
b) Explain Bresenham's Line drawing algorithm with the help of an example. (7)
Module II
13 a) Explain scan line polygon fill algorithm. What problem does the algorithm (7)
b) Perform the following transformatiort on a triangle with vertices A(0, 0), B(1, 0) (7)
and C(1, l). Find out the new coordinates and draw the result of each
transformation.
14 a) Explain Boundary fill algorithm to fill the interior of any specified area. (7)
*
Differentiate Boundary fill and flood filtdgorithms.
b) Prove that the multiplication of transformation matrices for each of the following (7)
lr
Page 2of3
0300csT3040/52205
Module III
l5 a) Explain cohen sutherland line clippjng algorithm with an example. (7)
b) Explain the Scan line method for visible surface detection. (7)
OR
16 a) Explain Depth buffer algorithm for visible surface detection. Write any two (7)
- disadvantages of the Depth buffer algorithm.
;t
Module IV
17 a) With the help of a block diagram, describe in detail the fundamental steps in image (7)
processing.
b) What is image convolution? Explain various steps involved in image convolution (7)
with the help of an example.
OR
l8 a) Explain the basic relationships between pixels? e)
b) Explain the concept of image sampling and quantization. (7)
I Module v
19. a) What is image segmentation? Explain edge and region based segmentation (7)
technique.
OR
20 a) Explain any two gray level transformation functions. (7)
b) Describe hory an image is segmented using split and merge technique in (7)
. association with the region adjacency graph.
***!F
Page 3of3