15 views

Uploaded by Trần Bính Đường

- Rigid Motion and Homogeneous Transformations
- Timetable for Aptitude
- M.sc. (Physics) Part I(Semester I & II)
- 0.01 (T) - Classroom Expectations and Procedures WKST
- Lecture 3
- Relevance, cognitive environment, and audience
- Projection of Line
- CAD & a Second Series QP
- IB Math Studies Syllabus 2014
- 11 June FP1 Model
- G6 Geo
- Locally Anisotropic Stochastic Processes in Fiber Bundles
- Chapter 05 Pictorial Sketching
- cullen lp oct 28 reply -1
- ART Education Curriculum DSERT 2013
- Form 2 Mid Year
- digital unit plan - color study
- Matlab code for implementation of routhharwitz table table
- lessonplan
- 4. Schwarzschild Metric at a Discounted Price

You are on page 1of 13

LECTURE 9

PERSPECTIVE PROJECTIONS

1. Perspective Transformations and Projections

a) Single point b) Two point c) Three Point

2.

a [T ] = d g l

b e i

c i j

p q r s

m n

Perspective transformations Linear transformations local scaling, shear, rotation reflection Translations l, m, n along x, y, and z axis Overall scaling

Perspective Transformation

If any of the first 3 elements in the last column of 4x4 transformation matrix is non-zero a perspective transformation results

1 0 0 0 0 1 0 0 0 0 1 r 0 0 0 1

[x

z 1]

= [x

z (rz + 1)]

[x

y*

z* 1 =

x rz + 1

y rz + 1

z 1 rz + 1

Perspective Projection

To obtain perspective projection, we project the results of perspective transformation on to a any of the orthographic projection planes, say, z=0 plane.

1 0 0 0 1 0 0 0 0 1 0 0 0 1 0 0 0 0 1 r 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 1 0 0 0 0 0 r 0 0 0 1

[x

z 1]

= [x

z 1]

= [x

y 0 (rz + 1)]

[x

y*

z* 1 =

x rz + 1

y 0 1 rz + 1

y

Im

Projectors

e ag

screen

COP

t ec bj O

x z

ct ct

je Ob

COP

Vanishing Point

Consider the following figure where using similar triangles we can write the transformed coordinates as:

x* x = zc zc z

y* x +z

*2 *2 c

x* =

y

x 1

2

z zc

y* =

y 1 z zc

z x P X* P* Y* y

x + ( zc z )

2

Let

r=

1 zc

x y ; 1 + rz 1 + rz

zc The origin is unaffected. If the plane of projection passes through the object, then that section of the object is shown at true size and true shape

je Ob

z Vanishing point 1/r A B A -1/r COP B Projection plane x 1. The original line AB and transformed line AB intersect the z=0 plane at the same point on it. 2. The line AB intersects z axis at z=1/r 3. This point is called the vanishing point A 1. Perspective transformation of AB yields AB 2. Orthographic projection of AB gives the required projection ABon z=0 plane

Perspective Transformation

The effect of the perspective transformation is to bring a point at infinity to a finite value in the 3D space The entire semi-infinite positive space 0z is transformed to finite positive half-space 0z*1/r A point at infinity can be shown to transform to a finite distance

1 0 [0 0 1 0] 0 0 0 1 0 0 0 0 1 0 0 0 = [0 0 r 1 1]

1 r

Perspective Transformations

A single point perspective transformation with respect to zaxis 1 0 0 0

[x

z 1]

0 1 0 0 0 0 1 r 0 0 0 1

= [x

z (rz + 1)]

[x

y*

z* 1 =

Now the perspective projection is obtained by concatenating the orthographic projection matrix

1 0 0 0 1 0 0 0 [T ] = [ Pt ][ Pz ] = 0 1 0 0 0 1 0 0 0 0 1 r 0 0 0 0 0 0 0 1 0 0 0 1 = 1 0 0 0 0 1 0 0 0 0 0 r 0 0 0 1

x rz + 1

y rz + 1

z 1 rz + 1

[x

y*

z* 1 =

x rz + 1

y 0 1 rz + 1

A single point perspective transformation with respect to z-axis

The COP is on +ve z-axis and the V.P is equal distance away on ve zaxis

A single point perspective transformation with respect to xaxis and y-axis are given below respectively

1 0 0 [T ] = [ Pt ][ Pz ] = 0 1 0 0 0 1 0 0 0

*

p 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 =

1 0 0 0 1 0 0 0 0 0 0 0

p 0 0 1

[x

x 1= px + 1

y 0 1 px + 1

1 0 0 0 = 0 1 0 q 0 0 0 0 0 0 0 1

1 0 0 0 1 0 0 0 [T ] = [ Pt ][ Pz ] = 0 1 0 q 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 1

[x

y*

z* 1 =

x qy + 1

y 0 1 qy + 1

Numerical Example: A single point perspective transformation has to be performed on a unit cube from a center zc=10 on the z-axis, followed by its projection on z=0 plane Sol:Since zc=10 , r=-1/ zc= -1/10= -0.1 The perspective projection matrix for this problem can be written as

1 0 0 [U ][T ] = [U ][ Pr ] = [U ] 0 0 0 0 0 0 0 0 1 0 1 0 0.1

The two point perspective projection can directly be obtained on similar lines as:

1 0 0 [T ] = [ Ppq ] =

VP

p q 0 1 =

1 0 0 0 1 0 0 0 0 0 0 0

p q 0 1

0 1 0 0 0 0 0 0 0

[x

y*

z* 1 =

x px + qy + 1

1 0 0

y 0 1 px + qy + 1

1 0 0 = 0 1 0 0 0 0 0 0 0 p q 0 1

p 1 0 0 0 0 0 1 0 q 0 0 0 0 0 1 0 0 0 1

[T ] = [ Ppq ] = [ Pp ][ Pq ] =

0 1 0 0 0 0 0 0 0

VP

The three point perspective projection can be obtained on similar lines as:

1 0 0 [T ] = [ Pt ][ Pz ] = 0 1 0 0 0 1 0 0 0 p 1 0 0 0 q 0 1 0 0 r 0 0 0 0 1 0 0 0 1 = 1 0 0 0 1 0 0 0 0 0 0 0 p q r 1

[x

y*

z* 1 =

x px + qy + rz + 1

y 0 1 px + qy + rz + 1

Just applying the perspective transformation may not show all details. To view 3 faces of a cuboid, a translation, one or more rotations are used before applying the perspective projections. One translation followed by a single point Pers. Projn.

1 0 [T ] = [Txyz ][ Prz ] = 0 l 1 0 0 0 1 0 0 0 0 1 0 0 0 1 0 0 = 0 0 0 0 0 0 0 1 / zc l m m n 1 0 0 0 1 0 1 0 0 0 0 0 0 1 / zc

0 (1 n) / zc

Note that the scaling factor of (1-n)/Zc appearing in the above result. It is close to reality as the objects gets smaller away from the observerAs Zc , the scale effect disappears

1 0 [T ] = [Txyz ][ Prz ] = 0 l 0 1 0

1 0 0 0 1 0 0 0 0 1 0 0 0 1 0 0 = 0 0 0 0 0 0 0 1 / zc l m m n 1 0 0 0 1

y

0 0 0

0 0 1 / zc

0 (1 n) / zc

COP z

-z

-y

Consider the transformation matrix for rotation about the yaxis by an angle , followed by a single point perspective projection on the plane z=0 from a COP at z=zc

cos 0 [T ] = [ R ][ Prz ] = sin 0 0 sin 1 0 0 cos 0 0 0 1 0 0 0 1 0 0 0 1 0 0 sin zc 0 cos zc 1 0 0 0 0 0 1 / zc 0 1

Two Point Perspective

cos = 0 sin 0

0 sin 1 0 0 0 cos 0

Thus a single rotation about a principal axis perpendicular to the one on which the COP lies is equivalent to the two point perspective transformation. However rotation about the same axis on which COP lies does not have this effect

cos = 0 sin 0 0 sin 1 0 0 0 cos 0 sin zc 0 cos zc 1

Consider the transformation matrix for rotation about the y-axis by an angle , followed by rotation about the x-axis by an angle , and a single point perspective projection on the plane z=0 from a cop at z=zc

[T ] = [ R y ][ R x ][ Prz ] = cos 0 sin 0 0 sin 1 0 0 0 cos 0 0 0 0 1 1 0 0 cos 0 sin cos 0 0 0 0 1 1 0 0 0 1 0 0 0

0 sin 0 0

0 0 0 1 / zc 0 0 0 1

cos = 0 sin 0

10

Perspective Transformations: Vanishing Points There are two methods of finding VPs 1. Finding intersection between any two parallel line after transformation and projection 2. Find the concatenated Perspective matrix. Use this to transform points at infinity

1 0 0 0 1 0 0 0 1 0 0 0 p q r 1

1 0 0 0 [VP][T ] = 0 1 0 0 0 0 1 0

TP

VP

VP

TP

11

Perspective Transformations: Trace Points These points result from the set of parallel lines on inclined planes. We use the concatenated Perspective matrix to transform points at infinity in the direction of inclined edges

1 0 0

1 0 0 0 1 0 0 0 1 0 0 0

p q r 1

TP = TP

[VP][T ] = 1 1 0 0

Oblique Projections Oblique projection results when parallel projectors from centre of projection at infinity intersect the plane of projection at an oblique angle.

Useful to show the general 3D shape of an object. Two oblique projections are well known: Cavalier and Cabinet.

Cavalier Projection: It results when the angle of projection is 45. In this projection all the three

foreshortening factors are equal and the image appears too thick.

Cabinet Projection: It is an oblique projection with foreshortening factor for edges perpendicular to the plane of projection is half of that in other directions.

This projection corrects the thickening effect of cavalier projection.

12

Oblique Projection

The transformation matrix for an oblique projection is given below:

Tob = 1 0 f cos 0 0 1 f sin 0 0 0 0 0 0 0 0 1

The angle of projection is and the angle projected z axis makes with the horizontal is and f is the foreshortening factor, = cot 1 ( f = 1) = 45 Cavalier

= cot 1 ( f = 1 ) = 63.43 2 = cot 1 ( f = 0) = 90

Cabinet Orthographic

Non-planar Projections Telescopic projection: As the telescope makes the distant objects appear closer and the microscope makes the smaller objects appear Map Projection: This is also called the cartographic projection. These mappings are based on Gaussian curvature matching. Display Projection: The computer graphic displays use a variety of 2D and 3D projections.

13

- Rigid Motion and Homogeneous TransformationsUploaded byPereira
- Timetable for AptitudeUploaded byGurualwaysguru Veligandla's
- M.sc. (Physics) Part I(Semester I & II)Uploaded byguruoke
- 0.01 (T) - Classroom Expectations and Procedures WKSTUploaded bymstatesmathclass
- Lecture 3Uploaded byhdphimxem
- Relevance, cognitive environment, and audienceUploaded byBrian Larson
- Projection of LineUploaded bychinmay shah
- CAD & a Second Series QPUploaded byimnithin
- IB Math Studies Syllabus 2014Uploaded bydmal88
- 11 June FP1 ModelUploaded bymoiseicristian
- G6 GeoUploaded bygnaneshpendli1
- Locally Anisotropic Stochastic Processes in Fiber BundlesUploaded bySergiu Vacaru
- Chapter 05 Pictorial SketchingUploaded byAhmed Resha
- cullen lp oct 28 reply -1Uploaded byapi-252942769
- ART Education Curriculum DSERT 2013Uploaded byvivekact
- Form 2 Mid YearUploaded byAza Ra Bahieyah
- digital unit plan - color studyUploaded byapi-451615963
- Matlab code for implementation of routhharwitz table tableUploaded byEngr. Naveed Mazhar
- lessonplanUploaded byapi-231255118
- 4. Schwarzschild Metric at a Discounted PriceUploaded bydertweasr
- IGCSE MATHS 580_2003_qp_PAPER3Uploaded byHassan mahmud
- ZKTeco+Fingerprint+Scanner+SDK+Selection+Guide-Ver3.0Uploaded byYasser Abdella
- PoroEquationDerivation DeriveUploaded byXiaogai Li
- GUIDE on Importing Design StripsUploaded byMara Pearl Domingo
- math weekly for camiUploaded byapi-369967101
- Music projects to serve underprivileged childrenUploaded bykchordst
- Grade 2 Maths QuestionsUploaded byKevin
- Solution Manual of Calculus With Analytic Geometry by Sm Yusuf PDFUploaded byAnonymous T4gUDGSYYW
- FollandUploaded byDiptaishik Choudhury
- AZ_Field10_StudyGuideUploaded byntnewelljr

- Giai de Thi Cao DangUploaded byTrần Bính Đường
- Xác suất thống kê 2015 - Do Duc Thai Ft Tien DungUploaded bylchoan
- hinh1.1Uploaded byTrần Bính Đường
- Support Vector MachineUploaded byTrần Bính Đường
- 4000 english words volume 1.pdfUploaded byHồ Phi Trọng
- TuDienToanAnhVietUploaded byHocLieuMo
- TuDienToanAnhVietUploaded byHocLieuMo
- 001Uploaded byTrần Bính Đường
- vntex-manUploaded byTrần Bính Đường
- Learning With Python 2nd EditionUploaded byTrần Bính Đường
- frechetUploaded byTrần Bính Đường
- Chc6b0c6a1ng 5 Uoc LuongUploaded byTrần Bính Đường
- DictionaryUploaded byTrần Bính Đường
- pxc387338Uploaded byTrần Bính Đường

- Prysmian – Cable InstallationUploaded byDarko Risteski
- Cryog Processing Tc113571Uploaded byFernando Carvalho
- Vision of the Future of Solid MechanicUploaded byenggsantu
- Castanedo - Infrared Vision Applications for the Non-Destructive TestingUploaded bymarburg1984
- G08 Biomechanics Edited With QuestionsUploaded byagrawal29071989
- Front End Engineering DesignUploaded byAnonymous ntK705Rt
- Stupwmi St eUploaded byniklas7484
- [SCI] Math and Science Activity IntegratedUploaded bychlsc
- MMEF Portfolio TheoryUploaded byRajkumar35
- Karen A. Hallberg- New Trends in Density Matrix RenormalizationUploaded byPo48HSD
- Quality Analysis of Pomegranate by Nondestructive Soft Xray Method 2157 7110.1000341Uploaded bymehul03ec
- FTIRUploaded byDilla Wulan Ningrum
- 1. pitfalls in seismic interpretation.pdfUploaded byIulianPopescu
- Economized Data Center CoolingUploaded byFernando Simoni Leamari
- Autoclave - Technical InformationUploaded byjbjb2000
- 09Uploaded byBalvinder Budania
- Experiment S5 - Isolation of Eugenol From Cloves -18387918Uploaded bystevefox086
- qp_ch2Uploaded byphuctranlv
- Wilkerson Phd 2010Uploaded byPopescu
- Chason HDP 2015Uploaded byHenry
- kemh101.pdfUploaded bySneha Sinha
- ipsyllUploaded bysatish5269115
- Does Curve Veering Occur in the Eigenvalue Problem of RotorsUploaded byAli Tatar
- MATHUploaded byQusyairi Wahab
- org chem 6Uploaded bytyron9520
- Final Civil VI Semester New SyllabusUploaded bypukhraj007
- dairy cattle housingUploaded byrengachen
- ISTA_3AUploaded bysms0021
- 2014_10_lyp_Mathematics_16Uploaded bysusan george
- 1 Design of Tower Foundations Subramonia Book GOOD GOODUploaded byandyhr