Mathematical description of a perspective projection, Computer Graphics

Assignment Help:

Mathematical description of a Perspective Projection

A perspective transformation is found by prescribing a center of projection and a viewing plane. Let here assume that P(x,y,z) be any object point in 3-D and center of projection is at E(0,0,-d). The problem is to find out the image point coordinates P'(x',y',z') on the Z=0 plane as in Figure 18.

703_Mathematical description of a Perspective Projection.png

The parametric equation of a l EP, beginning from E and passing via P is:

E+ t(P-E)  0

=(0,0,-d)+t[(x,y,z)-(0,0,-d)]

=(0,0,-d)+t(x,y,z+d)

=[t.x, t.y, -d+t.(z+d)]

Point P' is acquired, when t=t*

There is, P'=(x',y',z') =[t*.x, t*.y, -d+t*.(z+d)]

Because P' lies on Z=0 plane implies -d+t*.(z+d)=0 must be true, there is t*=d/(z+d) is actual.

Therefore x'=t*.x=x.d/(z+d)

                  y'=t*.y=y.d/(z+d)

                  z'=-d+t*(z+d)=0,

 

Hence P'=( x.d/(z+d), y.d/(z+d), 0)

                  =(x/((z/d)+1),y/((z/d)+1),0)

In terms of Homogeneous coordinate system here P'=(x,y,0,(z/d)+1).  ---------(5)

 

The equation 5 in above can be written in matrix form as:

21_Mathematical description of a Perspective Projection 1.png

-------(1)

There is, P'h = Ph.Pper,z   ------    (2)

Here Pper,z in equation (4) represents the single point perspective transformation on z-axis.

The Ordinary coordinates are as:

[x',y',z',1]=[x/(r.z+1),y/(r.z+1),0,1]  where r=1/d                             ------ (3)


Related Discussions:- Mathematical description of a perspective projection

Graphics image processing-image processing, Graphics Image Processing: The...

Graphics Image Processing: The most generally utilized software is: Photoshop. Characteristics: I.          Most general image processing software. II.         Focuses upon

What is the advantages of electrostatic plotters, What is the advantages of...

What is the advantages of electrostatic plotters? Advantages of electrostatic plotters: They have very high quality printers and faster than pen plotters. Recent electros

Constant intensity shading or flat shading, Constant intensity shading OR F...

Constant intensity shading OR Flat shading  In this technique particular intensity is calculated for each polygon surface that is all points that lie upon the surface of the

Various cases of cohen sutherland line clippings - algorithm, Various cases...

Various cases of Cohen Sutherland Line Clippings Currently, we study how this clipping algorithm works. For the sake of simplicity we will tackle all the cases with the assist

Test for checking disjoint polygons by using of min-max test, Test For chec...

Test For checking Disjoint Polygons by using of Min-max Test Test 1: For checking disjoint polygons by using of Min-max test. Assume that you have two polygons as P1 and

Rotation - 2-d and 3-d transformations, Rotation - 2-D and 3-D transformati...

Rotation - 2-D and 3-D transformations Within 2-D rotation, an object is rotated via an angle θ along w.r.t. the origin. This angle is assumed to be +ive for anticlockwise rot

Polygon or area clipping algorithm, Polygon or Area Clipping Algorithm - Su...

Polygon or Area Clipping Algorithm - Sutherland-Hodgman Algorithm There are different algorithms as Liang-Barsky, Line clipping, Weiler-Atherton Polygon Clipping,

Film - applications for computer animation, Film - Applications for Compute...

Film - Applications for Computer Animation Computer animation has turn into regular and accepted in particular effects. Movies as "Jurassic Park", "Terminator 2: Judgment Day"

Introduction of 2-d and 3-d transformations, Introduction of 2-D and 3-D  ...

Introduction of 2-D and 3-D  Transformations In this, the subsequent things have been discussed in detail as given below: Different geometric transformations as transla

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