CS8092 Computer Graphics and Multimedia Watermark
CS8092 Computer Graphics and Multimedia Watermark
PART - A
1. State the difference between CMY and HSV color models.(nov/dec 2012)
The HSV (Hue,Saturation,Value) model is a color model which uses color descriptions that have a more
intuitive appeal to a user. To give a color specification, a user selects a spectral color and the amounts of
white and black that is to be added to obtain different shades, tint, and tones.
A color model defined with the primary colors cyan, magenta, and yellow is useful for describing color
output to hard-copy devices.
35.What is Transformation?
Transformation is the process of introducing changes in the shape size and orientation of the object using scaling
rotation reflection shearing & translation etc.
36.What is translation?
Translation is the process of changing the position of an object in a straight-line path from one coordinate location
to another. Every point (x, y) in the object must undergo a displacement to
(x´,y´). the transformation is: x´
= x + tx
y´ = y+ty
39.What is shearing?
The shearing transformation actually slants the object along the X direction or the Y direction as required.ie; this
transformation slants the shape of an object along a required plane.
PART – B
1. Explain in detail about XYZ color model.
Refer Unit 1 NotesPg(2-3)
2. Explain in detail about RGB color model.[DEC 2011,16,18,MAY 2016,18]
Refer Unit 1 Notes Pg(3-4)
3. Explain in detail about YIQ color model.[DEC 2016,17,MAY 2018]
Refer Unit 1 Notes Pg (4)
4. Explain in detail about CMY color model.[MAY 2012,18,DEC 18]
Refer Unit 1 Notes Pg(4-5)
5. Explain in detail about HSV color model.[DEC 2011,13,16,MAY 2013,16,17,18]
Refer Unit 1 Notes Pg(5-7)
6. Compare and contrast RGB and CMY.[MAY 2012]
Refer Unit 1 Notes Pg (3-5)
7. Explain in detail about the conversion between HSV and RGB color models.[MAY 2016,17]
Refer Unit 1 Notes Pg(3-4)
Refer Unit 1 Notes Pg(5-7)
8. Explain in detail about HLS color model.[MAY 2013,17,18]
Refer Unit 1 Notes Pg(7)
9. Derive equations and explain Bresenham’s Line Drawing algorithm with an example.[MAY
2016,DEC 12,18]
Refer Unit 1 Notes Pg(9-10)
10. Explain DDA Line Drawing Algorithm with an example in detail.[MAY 2016,19 DEC 2017]
Refer Unit 1 Notes Pg(7-9)
11. Derive equations and explain Midpoint Circle generation algorithm with an example.[DEC
2011,17,MAY 2017,2018] Refer Unit 1 Notes Pg(10-11)
12. Write down and explain the midpoint circle drawing algorithm by deriving its decision
parameter.Also calculate the pixel locations of a circle having center at (2, 3) and radius 10 units.
.[DEC 2011,17,MAY 2017,2018] Refer Unit 1 Notes Pg(10-11)
13.Using Bresenham line drawing algorithm , find out which pixel would be turned on for the
line with end points (4,4) to (12,9) .[MAY 2016,DEC 12,18] Refer Unit 1 Notes Pg(9-10)
UNIT-II TWO DIMENSIONAL
GRAPHICS PART - A
1. What is Transformation?
Transformation is the process of introducing changes in the shape size and orientation of the object
using scaling rotation reflection shearing & translation etc.
In a passive transformation the points x and y represent same points in the space but in a different
coordinate system. Here the change in the coordinates is merely due to the change in the type of the
user coordinate system.
.
3.What is translation?
Translation is the process of changing the position of an object in a straight-line path from one
coordinate location to another. Every point (x, y) in the object must undergo a displacement to
(x´,y´). the transformation is:
x’=x+tx
y’=y+ty
4. What is rotation?
A 2-D rotation is done by repositioning the coordinates along a
circular path, in X = rcos (q + f) and Y = r sin (q + f).
5. What is scaling?
The scaling transformations changes the shape of an object and can be carried out by multiplying
each vertex (x,y) by scaling factor Sx,Sy where Sx is the scaling factor of x and Sy is the scaling
factor of y.
7. What is reflection?
The reflection is actually the transformation that produces a mirror image of an object. For this use
some angles and lines of reflection.
Clipping is the method of cutting a graphics display to neatly fit a predefined graphics region or the
view port.
Point clipping
Line clipping
Area clipping
Curve clipping
Text clipping
• All-or-none character clipping – discard only those characters that are not completely inside
the window. Any character that either overlaps or is outside a window boundary is clipped.
• Individual characters – if an individual character overlaps a clip window boundary, clip off
the parts of the character that are outside the window.
17. What is fixed point scaling?
The location of a scaled object can be controlled by a position called the fixed point that is to
remain unchanged after the scaling transformation.
A transformation that distorts the shape of an object such that the transformed shape appears
as if the object were composed of internal layers that had been caused to slide over each other is
called a shear.
where the edges of the clip window (xwmin ,xwmax, ywmin, ywmax) can be either the world-coordinate
window boundaries or viewport boundaries. If any one of these inequalities is not satisfied, the points
are clipped (not saved for display).
PART – B
PART - A
1. What are the various representation schemes used in three dimensional objects?
Boundary representation (B-res) – describe the 3 dimensional object as a set of surfaces that
separate the object interior from the environment.
5. Write short notes on rendering bi-cubic surface patches of constant u and v method.
The simple way is to draw the iso-parmetric lines of the surface. Discrete approximations to curves on
the surface are produced by holding one parameter constant and allowing the other to vary at discrete
intervals over its whole range. This produce curves of constant u and constant v.
9. What is a spline?
To produce a smooth curve through a designed set of points, a flexible strip called spline is used. Such
a spline curve can be mathematically described with a piecewise cubic polynomial function whose
first and second derivatives are continuous across various curve section.
PART B
1. Explain Beizer Curves [DEC 2015,17,MAY 2017,18]
Refer Unit 3 Notes Pg(36-37)
2. Explain Back face detection method and Depth buffer method[NOV/DEC 2015,MAY/JUNE 2014,
MAY/JUNE 2013]
Refer Unit 3 Notes Pg(41-44)
3.Explain area subdivision and A- Buffer method
Refer Unit 3 Notes Pg(43-47)
4.Briefly explain about the basic transformations performed on three dimensional objects.[DEC
2011,MAY 2012]
Refer Unit 3 Notes Pg(48-50)
5.Write short notes on parallel and perspective projections.[DEC 2012,15]
Refer Unit 3 Notes Pg(53-54)
6.Explain in detail about three dimensional display methods.[DEC 2012,15]
Lossy compression is used for compressing audio, gray-scale or color images, and
video objects in which absolute data accuracy is not necessary.
The idea behind the lossy compression is that, the human eye fills in the missing
information in the case of video.
The following lists some of the lossy compression mechanisms:
Joint Photographic Experts Group (JPEG)
Moving Picture Experts Group (MPEG)
Intel DVI
CCITT H.261 (P * 24) Video Coding Algorithm
Fractals.
Some of the commonly accepted lossless standards are given below:
Packpits encoding (Run-length encoding)
CCITT Group 3 I D
CCITT Group 3 2D
CCITT Group 4
Lempe l-Ziv and Welch algorithm LZW.
PART B (16 MARKS)