Mathematical description of a perspective projection, Computer Graphics

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)

Posted Date: 4/4/2013 2:50:14 AM | Location : United States







Related Discussions:- Mathematical description of a perspective projection, Assignment Help, Ask Question on Mathematical description of a perspective projection, Get Answer, Expert's Help, Mathematical description of a perspective projection Discussions

Write discussion on Mathematical description of a perspective projection
Your posts are moderated
Related Questions

Question 1 What is 2D? Explain method of converting 2D patterns into 3D images Question 2 Write about the following tools to create dart Create dart Multiply dar

Software for computer animation Whether you might have the excellent hardware in the world, but without a high-quality software package, your hardware can act nothing. There

Question 1: (a) Once a selection is made, what area of the image can be edited? (b) What is the purpose of saving selections? (c) How can you move a selection while you a

TIFF: It is Tagged Image file format which is used mainly for exchanging documents among various applications and computers. This was primarily designed to turn into the standa

Bezier Curves - Modeling and Rendering Bezier curves are utilized in computer graphics to turn out curves which display reasonably smooth at all scales. Such spline approximat

Rotation about an arbitrary axis Rotation about an arbitrary axis is a composition of several rotations and translation operations. What you need to do is the following:  a)

IMG/MAC/MSP File Formats IMG files were originally implemented to work along with GEM paint program and can handle monochrome and grey level pictures only. MAC files are uti

Negative Accelerations - computer animation In order to incorporate decreasing speed in an animation the time spacing between the frames must decrease, thus there exists lesser

Important points about the bezier curves - modeling and rendering 1) Generalizing the idea of Bezier curve of degree at n based upon n+1 control point p0,.....pn P(0)= P 0