Find the normalization transformation, Computer Graphics

Assignment Help:

Illustration: Find the normalization transformation N that uses the rectangle W (1, 1), X (5, 3), Y (4, 5) and Z (0, 3) as a window and also the normalized device screen like the viewport.

2190_Find the normalization transformation 1.png

Figure: Example Transformations

Currently, we observe that the window edges are not parallel to the coordinate axes. Consequently we will first rotate the window regarding W hence it is aligned along with the axes.

Now, tan α= (3 -1)/(5-1) = 1/2

⇒ Sin α =    1 /√5;   Cos α = 2/√5

Now, we are rotating the rectangle in clockwise direction. Consequently α is negative which is, - α.

The rotation matrix about W (1, 1):

550_Find the normalization transformation 2.png

[TR.θ]W =

945_Find the normalization transformation 3.png

The x extent of the rotated window is the length of WX:

√(42 + 22) = 2√5

As same, the y extent is length of WZ that is,

√ (12 + 22) =   √5

For scaling the rotated window to the normalized viewport we calculate sx and sy as,

 sx = (viewport x extent)/(window x extent)= 1/2√5

sy = (viewport y  extent)/(window y extent) =   1/√5

925_Find the normalization transformation 4.png

As in expression (1), the common form of transformation matrix showing mapping of a window to a viewport:

[T] =

Within this problem [T] may be termed as N as this is a case of normalization transformation with,

xwmin = 1                        xvmin = 0

ywmin = 1                        yvmin = 0

 sx = 1/2√5      

 sy =  1/√5

Via substituting the above values in [T] which is N:

N =

1677_Find the normalization transformation 5.png

Here, we compose the rotation and transformation N to determine the needed viewing transformation NR.

 NR = N [TR.θ]W =

2096_Find the normalization transformation 6.png


Related Discussions:- Find the normalization transformation

Sprite animation interactive may be non rectangular, Sprite animation inter...

Sprite animation interactive, may be non rectangular (Computer games) In its simplest form it is a 2-D graphic object which moves across the display. Sprites frequently can hav

Explain the fundamentals of a compression, Question 1 Explain the funda...

Question 1 Explain the fundamental steps in digital image processing 2 Explain the terms reflection, complement and Translation with example diagrams 3 Explain about Imag

Psychrometric properties - design project, Read the next page and work thro...

Read the next page and work through the steps: a.  Select a location (anywhere in the world) and research the typical weather (temperature, barometric pressure, and humidity).

What is the minimum amount of video ram, Consider a raster system with the ...

Consider a raster system with the resolution of 1024 x 768 pixels and the color palette calls for 65,536 colors. What is the minimum amount of video RAM that the computer must have

Studio-based one-plus-one interview, Question 1: a. List respectively ...

Question 1: a. List respectively ten main technical and human components necessary to ensure a studio-based one-plus-one interview? b. How does each component contribute in

Description and measurement of circadian rhythms, The description and measu...

The description and measurement of circadian rhythms. Describe the standard method used for the recording and graphing of behavioral rhythms in animals, especially the use

What is the real value, QUESTION (a) People want to know design pattern...

QUESTION (a) People want to know design patterns. i) What should their attitude be about design patterns? ii) How can people use design patterns to do a better job?

Describe fully the term preflight, Question: Adobe InDesign software ...

Question: Adobe InDesign software is used to create works such as posters, flyers, brochures, magazines and books. Designers and graphics production artists are the principa

perform a perspective projection on the plane, Consider at line segment AB...

Consider at line segment AB in the Figure k, parallel to the z-axis along with end points A (3, 2, 4) and B (3, 2, 8). Perform a perspective projection on the z = 0 plane from the

Properties of bezier curves - modeling and rendering, Properties of Bezier ...

Properties of Bezier Curves - modeling and rendering A very helpful property of a Bezier curve is that it always passes via the first and last control points. Such the bounda

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd