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

De casteljau algorithm - 2d clipping algorithms, De Casteljau Algorithm ...

De Casteljau Algorithm For computation of Bézier curves an iterative algorithm known as de Casteljau algorithm is used.  The algorithm uses repeated linear interpolation.

Opengl, Write a program that allows interactive manipulation of the positio...

Write a program that allows interactive manipulation of the position and orientation of a camera. Draw a teapot at the global origin 0,0,0. You can find a shaded teapot model and

Differentiate between lossy and lossless compression, Question: (a) Di...

Question: (a) Differentiate between lossy and lossless compression. (b) State the uses of the two compression standards MPEG-1 and MPEG-2. (c) State three areas where

Crt, working of crt

working of crt

Terms, composite transformation

composite transformation

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

Convert the intensity value of the current pixel, Step1:  Read a text file ...

Step1:  Read a text file which we want to hide. Step2:  Transform it into an array of its binary value. Step3: Transform this array into its equivalent one dimensional array

What is shearing, What is shearing?  The shearing transformation actua...

What is shearing?  The shearing transformation actually slants the object with the X direction or the Y direction as needed.ie; this transformation slants the shape of an obje

Education training process, Education training process falls into three gen...

Education training process falls into three general categories: 1) Instructor Support Products: These are used through teachers additionally to text books, lectures and other

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