<< Chapter < Page Chapter >> Page >
This module is part of the collection, A First Course in Electrical and Computer Engineering . The LaTeX source files for this collection were created using an optical character recognition technology, and because of this process there may be more errors than usual. Please contact us if you discover any errors.

Computer screens and printers are two-dimensional display devices. We must somehow convert three-dimensional images to two dimensions in orderto display them. This task is done by another kind of matrix operator called a projection .

To build a projection, we first choose a projection plane in the three- dimensional space of the object we wish to view. All points of the object arethen projected onto the plane. There are many different kinds of projections, corresponding to various geometric rules for mapping points in space onto aplane. We begin with the parallel projection illustrated in Figure 1 , wherein the dotted lines between the points and their projections in the plane are allparallel to one another. These dotted lines are called projectors .

Range. The projection plane is called the range of the projection. We will assume for now that the projection plane passes through the origin. If itdoes not, we may later compose the necessary translations with our projection. Three points, not all in a line, are required to determine a plane. We will takethe origin as one of the points and suppose that the other two points are the vectors r 1 and r 2 . From these vectors, we form the matrix

R = [ r 1 r 2 ] ,

which determines the range of the projection.

Figure one shows a rectangular prism hanging in three-dimensional space, and dashed lines showing the projection of the vertices of the object down to the x-y plane. Figure one shows a rectangular prism hanging in three-dimensional space, and dashed lines showing the projection of the vertices of the object down to the x-y plane.
Oblique Parallel Projection

Null-Space. To complete the specification of the parallel projection, we must specify the direction of the projectors. The line through the origin inthis direction is called the null-space of the projection. Note that any line in the three-dimensional object that is parallel to the null-space will disappearto a point when projected. The null-space may be specified by a vector n pointing in the direction of the projectors.

Orthogonal Projection. If the null-space is perpendicular to the range, we say that the projection is an orthogonal projection . The matrix operator for orthogonal projection is a function of the range. If we assumethat R is specified in three-dimensional coordinates (not homogeneous!), we have the following definition for the orthogonal projection onto the range of R :

P ( R ) = R ( R T R ) - 1 R T R 3 × 3 .

In homogeneous coordinates, we embed this 3 × 3 projection matrix in the general 4 × 4 transformation:

P h ( R ) = P ( R ) 0 0 T 1 .

Suppose we choose the x - y plane as our projection plane. Vectors r 1 and r 2 can be any two points in the plane (besides the origin), so let's take

r 1 = 1 0 0 , r 2 = 1 1 0

Then the range matrix is

R = 1 1 0 1 0 0 .

The orthogonal projection looking down on the x - y plane from the z-axis is

P ( R ) = 1 1 0 1 0 0 ( 1 0 0 1 1 0 1 1 0 1 0 0 ) - 1 1 0 0 1 1 0 = 1 0 0 0 1 0 0 0 0 .

In homogeneous coordinates,

P h ( R ) = 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 ·

In the chapter on linear algebra you learned that the projection of w onto x is given by

z = ( x , w ) x ( x , x )

This is an orthogonal projection of w onto a line, but it is closely related to the projection into the plane just described. To see the similarity, let's workon the expression for z a little:

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, A first course in electrical and computer engineering. OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10685/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'A first course in electrical and computer engineering' conversation and receive update notifications?

Ask