Professional Documents
Culture Documents
MCA101
MCA101
Q2. (a) What is an image's aspect ratio? If the size of an image is 3 x 2 (2)
inches and resolution is 300 ppi, what are the total number of pixels
in an image?
(b) Consider a raster system with resolution of 2560 x 2048.. It' the ( )
system supports 24 hit true colour (RGB) per pixel. How many
bytes are needed to store the image?
(c) If we use direct color coding scheme as 5 bits each for red and ( )
green and 6 hits for blue for a total of 16 bits per pixel, how many
possiblf, simultaneous colors do we have?
Q3. (a) During scan converting a circle centered at origin (0.0) using 8-way.
symmeirY, if the point (x,y) is (2,8) in one region. then what would.
be the corresponding seven points after reflection of (2,8) with
respect tc x -- axis. y — axis. y = x axis and y = — x axis?
(b) Plot the pixels of circle in first octant (y > x). centered at (2.5) and, )
having a radius of r --- 7 units using mid point circle drawing
algorithm. Show pixel positions and calculations for decision
parameters.
(c) Derive-the 'equation fo, ellipse slope in terms ofdfil;•CLI3S . .
how _soope of the curve changes monotonically from one reg.,ior,to. ,:
other in Mid point ellipse drawing algorithm?
Q4. (a) Define transformations •;i1 2-D. Derive the matrix of rotation by ,an (3)
angle of "6" in anticlockwise direcOn.
(b) Peru= t(lowing transformations on a point (6.4) in sequence., (3)
i. Translate by t, = - 2 and ty = 4.
ii. Then, scwe by s, t ane y = 1.
fur:.11y, rotate by 90° in clockwise direction. Determine
the final coaidinates oi' the transformed no;nt.