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

Unrepresentative vertex normals - modeling and rendering, Unrepresentative ...

Unrepresentative vertex normals - Modeling and Rendering Calculated vertex normals may not adequately present the surface's geometry. For illustration, if we calculate vertex

Assumption for digital differential analyzer algorithm, Assumption regardin...

Assumption regarding to the Digital Differential Analyzer Algorithm The line generation by DDA is discussed merely for the first Quadrant, whether the line lies in the other q

Illustration, mcqs of illustration in nts test

mcqs of illustration in nts test

Do we have need of to generate full circumference of circle, 1.   Do we hav...

1.   Do we have need of to generate the full circumference of the circle utilizing the algorithm or  can we can produces it in a quadrant or octant only and after that utilization

Concept of hyper text and hyper media, Concept Of Hyper Text And Hyper Medi...

Concept Of Hyper Text And Hyper Media:- Any student, who has utilized online assist for gaming etc, will previously be familiar along with a basic component of the Web-Hypertext.Hy

Interlaced gif, Interlaced GIF: The conventional which is non-interlaced G...

Interlaced GIF: The conventional which is non-interlaced GIF graphic downloads one line of pixels at one time from top to bottom and browsers display all lines of the image as it

Composite transformation, program to prove 2 consecutive rotation & scaling...

program to prove 2 consecutive rotation & scaling are additive in nature

Data set, In this project, the image data set consists of 320 training imag...

In this project, the image data set consists of 320 training images and 285 test images. Table 1 shows the image data set in details. In addition to the original images, th

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