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

Computational algorithm for simulating physical system, computational algor...

computational algorithm for simulating the behavior of different physical and mathematical systems Monte Carlo methods are an extensively utilized class of computational algor

Chain of responsibility and the iterator patterns, QUESTION (a) Conside...

QUESTION (a) Consider the observer, façade, chain of responsibility and the iterator patterns. i) Give detailed descriptions and draw their structures. ii) Explain the in

Graphics hardware - computer aided design, Graphics Hardware - Computer aid...

Graphics Hardware - Computer aided Design Despite with which advance graphic software you are working along with, if your output device is not well or hardware handling which

How graphics output changes according to dpi, Question : (a) List and d...

Question : (a) List and describe important aspects to take into consideration when looking at paper for print. (b) Describe clearly the meaning of the following words: I.

Target market before doing a design work, Question: (a) Explain the i...

Question: (a) Explain the importance of knowing and understanding your target market before doing a design work. Use example(s) to enhance your answer. (b) Describe the

Calculate the gray level value for all the pixels, An 8x8 image f[i,j] has ...

An 8x8 image f[i,j] has gray levels given by the following equation: f [i , j]= ? i-j ? ; i,j=0,1,2,3,4,5,6,7. a. Calculate the gray level value for all the pixels in the 8x8

How to identify window area - raster graphics and clipping, A convex polygo...

A convex polygonal region having n- vertices {P 0 , P 1 , P 2 ..., P n - 1 , P n , P 0 } or lattice points to be identified by the user includes the convex window area. To be exact

Introduction of viewing transformations, Introduction of Viewing  Transfor...

Introduction of Viewing  Transformations Projection is fundamentally a transformation or mapping of 3D objects upon 2D screen. Projection is mostly categorised in Para

Characteristics of vector drawings, Characteristics of vector drawings: Ve...

Characteristics of vector drawings: Vector drawings are generally pretty small files as they include only data about the Bezier curves which form the drawing. The EPS-file format

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