Professional Documents
Culture Documents
c. Translation d.Scaling
64. The process of mapping a world window in world coordinate system to viewport
are called......................
a. Screen coordinate system b.Viewport
c. Clipping window d.Transformation viewing
66. . is a type of Histogram Modification which can be used to move the location of the
frequencies:
67. The distance from one pixel to the next pixel is called...........
a. Resolution b.Dot Pitch
c. Pixmap d.ppi
68. A method used to test lines for total clipping is equivalent to the.............
70. If an object is rotated through an angle A in clockwise direction, the rotation matrix
R=...............
71. The below matrix can be used to reflect 2D object about the origin point
a. b.
-1 0 0 -1 0 1
0 -1 0 0 0 -1
0 0 1 0 0 1
c. d.
1 0 0 0 0 -1
0 -1 0 0 0 -1
0 0 0 0 0 0
c. Distortion d.Scaling
74. .................... involves one-to-many matches that compares a query face image against
all the template images in the database to determine the identity of the query face.
Numerical:
1. Suppose that we have been given the 3-bit 4x4 image shown in the figure
below:
3 2 4 5
7 7 8 2
3 1 2 3
5 4 6 7
The intensity of the pixels vary between 18, perform histogram equalization on this
image and scale the intensity to 120
2. Implement the DDA algo and show how it draws a line whose end
points is (4,4) and (-3,0).
3. Consider the line from 0,0 to 4,6. Use the simple DDA algo to rasterize the
line.
4. Consider the line from 0, 0 to -6,-6. Use the simple DDA algo to rasterize the
line.
5. Consider the line from 20, 10 to 30,18. Use the simple DDA algo to rasterize
the line.
6. Consider the line from 5, 5 to 13,9. Use the Bresenhams algo to rasterize the
line.
7. Consider the line from 10, 20 to 18,30. Use the Bresenhams algo to rasterize
the line.
8. Use the following videos information to find:
Total size of Digital Video
Data Rate of digital video
23. Find the transformation matrix that transforms the square ABCD
whose center is at (2, 2) is reduced to half of its size, with center still
remaining at (2, 2). The coordinates are A (0, 0), B (0, 4), C (4, 4), D (4, 0).
24. Consider a square A (1, 0), B (0, 0), C (0, 1), D (1, 1). Rotate the square
ABCD by 45 clockwise about A (1, 0).
25. Magnify the triangle with vertices A (0, 0), B (1, 1), C (5, 2) to twice its
size while keeping C (5,2) fixed.
26. Prove that 2D rotation and scaling is commutative if Sx=Sy or =
n(hint R.S=S.R if Sx=Sy)
27. The reflection along the line y=x is equivalent to the reflection along
the x axis followed by counter clockwise rotation by degrees. Find the value
of .
28. Show that reflection through x axis followed by reflection through the
line y=-x is equivalent to rotation about the origin.
29. Show that reflection through the line y=-x is equivalent to reflection
relative to y axis followed by counter clockwise rotation by 90.
30. A mirror is placed vertically such that it passes through the points
(10,0) and (0,10). Find the reflected view of triangle ABC with coordinates
A(5,5) B(20,40) and C(10,70).
31. What are the steps needed to perform 3D-rotation about an arbitrary
axis that is not parallel to any of x-, y- or z-axis. Write homogeneous
transformation matrix for each step.
32. Prove that simultaneous shearing in both direction(x & y direction) is
not equal to composition of shear along x axis followed by shear in y axis.
33. Write a 2x2 transformation matrix for each of the following rotations
about the origin:
f. Counter clockwise by
g. Counter clockwise by /2
h. Clockwise by /2
i. Counter clockwise by 5/4
34. Find out the final coordinates of a figure bounded by the coordinates
(1,1) , (3,4), (5,7) and (10,3) when rotated about a point (8,8) by 30 in
clockwise direction and scaled by two units in x direction and 3 units in y
direction.
35. Find the reflection of a point A (5,9) about the line y=x+5.
36. Let R be the rectangular window whose lower left-hand corner is at
L(-3,1) and upper right-hand corner is at R (2,6). If the line segment is
defined with two points with A(-4,2) and B(-1,7).
37. Use cohen Sutherland algorthim to find the visible portion of the line
P(40,80) Q(120,30) inside the window, the window is defined as ABCD:
A(20,20) B(60,20) C(60,40) and D(20,40).
38. Use Cohen Sutherland algorithm to clip line P1(70,20) and P2(100,10)
against a window lower left corner (50,10) and upper right hand
corner(80,40).
39. Given a clipping window A (20, 20) B(60,20) C(60,40) D(20,40). Using
Cohen Sutherland Algorithm find the visible portion of line segment joining
the points P (40,80) Q(120,30).
40. A clipping window ABCD is specified as A(0,0) B(40,0) C(40,40)
D(0,40). Using midpoint subdivision algorithm, find the visible portion. If any
of the line segment joining the points P(-10,20) and Q(50,10).
41. Suppose that we have been given the 3-bit 6x6 image shown in the figure
below:
43. Find the output of applying Smoothing filter on the pixel (3, 5) shown in
block of image:
2 2 0 3 4 5 7
1/9 1/9 1/9
1 6 7 2 3 9 9
1/9 6/9 1/9
2 3 6 6 7 2 3
1/9 1/9 1/9
2 0 7 3 2 6 0
Filter
1 2 1 7 4 3 0
1 2 9 8 1 0 1
Block of Image
44. Suppose that a window has its lowest left corner at (-2,-1) and its
upper right corner at (3,2). Using Sutherland Cohen Line Clipping algo find
the visible portion if any of the line segment joining the points (-3,1) and (1,-
2).
45. A window is defined as (0,0) (1023,0) (1023,1023) and (0,1023). Using
Cohen Sutherland algorithm clip the line P1(-307,631) P2(820,-136).
46. The pyramid defined by coordinates A(0,0,0) B(1,0,0) C(0,1,0) and
D(0,0,1) is rotated 45 with respect to Z axis. Find the coordinates of rotated
object.
47. Translate the unit cube 2 units in x, y and z axis.
48. Translate the pyramid A(1,0,0) B(0,1,0) C(0,0,1) and D(0,0,2) 2 units in
x, y and z axis.
49. Rotate a unit cube in x direction with an angle of 45(anticlockwise).
Vertices are A(1,0,0) B(0,1,0) C(0,0,1) D(1,1,0) E(0,1,1) F(1,0,1) G(1,1,1)
H(0,0,0).
50. Reflect the pyramid A(1,0,0) B(0,1,0) C(0,0,1) and D(0,0,0) about yz
plane.
51. Suppose (Sx, Sy) is any point (but not the origin). What are the steps
needed to perform 2D Scaling transformation using (Sx, Sy) as a fixed point.
52. Find the color image size for a 6x4 inch image at 300 ppi, if the header
file equal to 100 bytes?