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

What is run length encoding, What is run length encoding?   Run length ...

What is run length encoding?   Run length encoding is a compression method used to store the intensity values in the frame buffer, which keeps each scan line as a set of intege

Advantages of bresenham’s line drawing algorithm, What are the advantages o...

What are the advantages of Bresenham's line drawing algorithm over DDA line drawing algorithm? DDA and Bresenham algorithms both are efficient line drawing algorithm. Breaenham

Design and label the pattern of the folding carton, Question : You have...

Question : You have been approached to design a ‘tuck top auto-lock bottom' carton package for a high-end cosmetic jar under the brand name ‘Beauty One'. Your client asked you

Dda, differentiate between dda and bresenhams line algorithm

differentiate between dda and bresenhams line algorithm

List out the merits and demerits of penetration methods, List out the merit...

List out the merits and demerits of Penetration methods?  The merits and demerits of the Penetration methods are as follows  It is a less expensive technique It has

Region filling, what is region filling? give details

what is region filling? give details

Briefly explain the 12 stages in image processing, QUESTION (a) In Autom...

QUESTION (a) In Automatic Contrast Adjustment briefly explain how to stretch an image to its full intensity (b) Write down a mathematical function of a Modified Automatic Con

Steps for clip a line segment-pq, Steps for clip a line segment-PQ ...

Steps for clip a line segment-PQ Initially, find all the points of intersections of the line segment PQ along with the edges of the polygonal window and describe them eith

Text generation and character generation techniques, Write short notes on T...

Write short notes on Text generation.   OR Character Generation Techniques  Character Generation Techniques   Two different representations are used for storing computer fon

Explain the bresenham line generation algorithm, 1. Explain the Bresenham ...

1. Explain the Bresenham line generation algorithm via digitizing the line with end  points as (15, 5) and also (25,13). Ans. Now we are utilizing the Bresenham line generati

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