PROJECTIONS
Prof. M Khairul Islam, PhD
Dept. of Computer Science & Engineering
University of Chittagong
Email: mkislam@cu.ac.bd
Projection
 Projection is the process of transforming a three-
dimensional (3D) scene into a two-dimensional (2D)
image.
 This transformation is essential for displaying 3D
objects on 2D surfaces like screens or printed images,
where depth and perspective are conveyed in a limited
visual space.
P
P’
P (3D) P’ (2D)
Plane of Projection
Projector
Center of Projection
Object Point
• Center of projection: The point from where
projection is taken. It can be either light source or
eye.
• Projection plane: The plane on which projection of
object is formed.
• Projectors: Line emerging from COP and hitting the
projection plane. When projectors hit object and
then hit projection plane the shadow of the object
will be formed on projection plane.
Types of Projections
Parallel Projection
 Parallel projection is a kind of projection where the
projecting lines emerge parallelly from the polygon
surface and then incident parallelly on the plane.
 In parallel projection, the centre of the projection lies at
infinity.
 In parallel projection, the view of the object obtained at
the plane is less-realistic as there is no for-shortcoming
and the relative dimension of the object remains
preserves.
Chapter 14
Orthographic Projections
 The direction of projection is normal to the projection
of the plane.
 Projectors are parallel to each other making an angle
90 with view plane.
 Orthographic projections are most often used to
procedure the front, side, and top views.
 Engineering and architectural drawings commonly
employ these orthographic projections.
 Some special orthographic parallel projections involve
plan view, side elevations.
Chapter 14
z
Plane of projection
Viewer
Orthographic Projection












1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
 Orthographic Projection Matrix:
 Projection along z axis:
Transformation: x’ = x
y’ = y
z-coordinate information is lost!
11
 Projection plane parallel to principal face
 Usually form front, top, side views
 Front, side and rear orthographic projections are called
elevations.
 Used in engineering drawing
Multiview Orthographic Projection
front
side
top
16
 Allow projection plane to move relative to object
 classify by how many angles of
a corner of a projected cube are
the same
 none: trimetric
 two: dimetric
 three: isometric
q 1
q 3
q 2
Axonometric Projections
Axonometric Projections
 Isometric Projection: The direction of projection makes
equal angles with all the three principal axes.
 Di-metric Projection: The direction of projection makes
equal angles with exactly two of the principal axes.
 Tri-metric: The direction of projection makes unequal
angels with the three principal axes.
Oblique Projections
 Oblique projections are obtained by projectors along
parallel lines that are not perpendicular to the
projection plane.
 An oblique projection shows the front and top surfaces
that include the three dimensions of height, width and
depth.
 The front or principal surface of an object is parallel to
the plane of projection.
 Effective in pictorial representation.
z
y
x
Viewer
Oblique Projection
 Oblique Projection Matrix:
 Transformation: x’ = x+k1z
y’ = y+k2z
 The z-coordinate value of the object point, leads
to a shift of x, y coordinates of the projected
point, proportional to z.












1
0
0
0
0
0
0
0
0
1
0
0
0
1
2
1
k
k
22
 Arbitrary relationship between projectors and
projection plane
Oblique Projection
23
 If we look at the example of the cube it
appears that the cube has been sheared
 Oblique Projection = Shear + Orthogonal
Projection
Oblique Projections
24
Advantages and Disadvantages
 Can pick the angles to emphasize a particular face
 Architecture: plan oblique, elevation oblique
 Angles in faces parallel to projection plane are
preserved while we can still see “around” side
Types of Oblique Projections
 Cavalier: The direction of projections is chosen so that
there is no fore-shortening of lines perpendicular to xy-
plane.
 caviar: 45 degree
 Cabinet: The direction of projections is chosen so that lines
perpendicular to xy-plane are foreshortening by half their
length
 cavinet: 63.4 degree
27
Advantages and Disadvantages
 Preserves both distances and angles
 Shapes preserved
 Can be used for measurements

Building plans

Manuals
 Cannot see what object really looks like
because many surfaces hidden from view
 Often we add the isometric
28
Perspective Projection
Perspective Projection
 The projectors intersect at a Center of Projection O.
Perspective Projection
 For convenience of deriving projection equations, we assume that
the center of projection is at the origin.
 The object and the plane of projection are now on the negative z
side.
 The distance D then refers to the z-coordinate of the object point
(towards –z).
 The plane of projection has the equation z = f.
Perspective Projection
 The z-coordinate value of the object point leads to
proportional scaling along x, y directions.
 Projections of objects located closer to the center of
projection O, appear to be larger in size compared to
objects that are farther away from O.
Perspective projections: Properties
 Projections map points from one space to
another coordinate space of lower dimension,
and hence involves loss of information.
 Projections are not invertible. All projection
matrices are singular.
 All points on a projector map to the same point
on the plane of projection.
 Parallel lines (not parallel to the projection plan)
on the object converge at a single point in the
projection (the vanishing point)
 Drawing simple perspectives by hand uses these
vanishing point(s)
vanishing point
Vanishing Points
 Vanishing Points:
These points are formed by the intersection of lines parallel
to one of the three principal axis. The number of principal
vanishing points is determined by the view plane.
 One point perspective
 Two point perspective
 Three point perspective
36
One-Point Perspective
 One principal face parallel to projection plane
 One vanishing point for cube
Image plane is perpendicular to x
axis
37
 On principal direction parallel to projection plane
 Two vanishing points for cube
Two-Point Perspective
38
Three-Point Perspective
 No principal face parallel to projection plane
 Three vanishing points for cube
Perspective Characteristics/Anomalies
 Perspective Foreshortening: The farther an object is
from the center of projection, the smaller it appears.
 Example: Square A is larger in size than square B but at
vanishing point in viewing plane they appears to be of
same size.
Scaled Orthographic Projection
 Special case of perspective projection
 Object dimensions are small compared to
distance to camera
 Also called “weak perspective”
 What’s the projection matrix?
Image World
Slide by Steve Seitz

































1
0
0
0
0
0
0
0
0
0
1
z
y
x
s
f
f
v
u
w
Parallel vs Perspective Projections
Parallel Projection Perspective Projection
Size of 3D figure and 2D figure
remains same
Size of 3D figure is larger than 2D
figure
Shape of 3D figure and 2D figure
remains same
Shape of 3D figure and 2D figure
differs based on the viewpoint
location as well as angle
Lines of projection are straight
Lines of projection converges to a
viewpoint
The distance between view plane
and viewpoint is infinite
Distance between view plane and
viewpoint is finite since it
converges into the view point
Actual size of the 3D object is
known
Actual size of the 3D object is
unknown
An example is X-ray of teeth
An example is a picture of
mountain taken using camer

1c. Projection-Computer Vision Introduction.pptx

  • 1.
    PROJECTIONS Prof. M KhairulIslam, PhD Dept. of Computer Science & Engineering University of Chittagong Email: [email protected]
  • 2.
    Projection  Projection isthe process of transforming a three- dimensional (3D) scene into a two-dimensional (2D) image.  This transformation is essential for displaying 3D objects on 2D surfaces like screens or printed images, where depth and perspective are conveyed in a limited visual space.
  • 3.
    P P’ P (3D) P’(2D) Plane of Projection Projector Center of Projection Object Point
  • 4.
    • Center ofprojection: The point from where projection is taken. It can be either light source or eye. • Projection plane: The plane on which projection of object is formed. • Projectors: Line emerging from COP and hitting the projection plane. When projectors hit object and then hit projection plane the shadow of the object will be formed on projection plane.
  • 5.
  • 6.
    Parallel Projection  Parallelprojection is a kind of projection where the projecting lines emerge parallelly from the polygon surface and then incident parallelly on the plane.  In parallel projection, the centre of the projection lies at infinity.  In parallel projection, the view of the object obtained at the plane is less-realistic as there is no for-shortcoming and the relative dimension of the object remains preserves. Chapter 14
  • 8.
    Orthographic Projections  Thedirection of projection is normal to the projection of the plane.  Projectors are parallel to each other making an angle 90 with view plane.  Orthographic projections are most often used to procedure the front, side, and top views.  Engineering and architectural drawings commonly employ these orthographic projections.  Some special orthographic parallel projections involve plan view, side elevations. Chapter 14
  • 9.
  • 10.
    Orthographic Projection             1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1  OrthographicProjection Matrix:  Projection along z axis: Transformation: x’ = x y’ = y z-coordinate information is lost!
  • 11.
    11  Projection planeparallel to principal face  Usually form front, top, side views  Front, side and rear orthographic projections are called elevations.  Used in engineering drawing Multiview Orthographic Projection
  • 13.
  • 16.
    16  Allow projectionplane to move relative to object  classify by how many angles of a corner of a projected cube are the same  none: trimetric  two: dimetric  three: isometric q 1 q 3 q 2 Axonometric Projections
  • 17.
    Axonometric Projections  IsometricProjection: The direction of projection makes equal angles with all the three principal axes.  Di-metric Projection: The direction of projection makes equal angles with exactly two of the principal axes.  Tri-metric: The direction of projection makes unequal angels with the three principal axes.
  • 18.
    Oblique Projections  Obliqueprojections are obtained by projectors along parallel lines that are not perpendicular to the projection plane.  An oblique projection shows the front and top surfaces that include the three dimensions of height, width and depth.  The front or principal surface of an object is parallel to the plane of projection.  Effective in pictorial representation.
  • 20.
  • 21.
    Oblique Projection  ObliqueProjection Matrix:  Transformation: x’ = x+k1z y’ = y+k2z  The z-coordinate value of the object point, leads to a shift of x, y coordinates of the projected point, proportional to z.             1 0 0 0 0 0 0 0 0 1 0 0 0 1 2 1 k k
  • 22.
    22  Arbitrary relationshipbetween projectors and projection plane Oblique Projection
  • 23.
    23  If welook at the example of the cube it appears that the cube has been sheared  Oblique Projection = Shear + Orthogonal Projection Oblique Projections
  • 24.
    24 Advantages and Disadvantages Can pick the angles to emphasize a particular face  Architecture: plan oblique, elevation oblique  Angles in faces parallel to projection plane are preserved while we can still see “around” side
  • 25.
    Types of ObliqueProjections  Cavalier: The direction of projections is chosen so that there is no fore-shortening of lines perpendicular to xy- plane.  caviar: 45 degree  Cabinet: The direction of projections is chosen so that lines perpendicular to xy-plane are foreshortening by half their length  cavinet: 63.4 degree
  • 27.
    27 Advantages and Disadvantages Preserves both distances and angles  Shapes preserved  Can be used for measurements  Building plans  Manuals  Cannot see what object really looks like because many surfaces hidden from view  Often we add the isometric
  • 28.
  • 29.
    Perspective Projection  Theprojectors intersect at a Center of Projection O.
  • 30.
    Perspective Projection  Forconvenience of deriving projection equations, we assume that the center of projection is at the origin.  The object and the plane of projection are now on the negative z side.  The distance D then refers to the z-coordinate of the object point (towards –z).  The plane of projection has the equation z = f.
  • 32.
    Perspective Projection  Thez-coordinate value of the object point leads to proportional scaling along x, y directions.  Projections of objects located closer to the center of projection O, appear to be larger in size compared to objects that are farther away from O.
  • 33.
    Perspective projections: Properties Projections map points from one space to another coordinate space of lower dimension, and hence involves loss of information.  Projections are not invertible. All projection matrices are singular.  All points on a projector map to the same point on the plane of projection.
  • 34.
     Parallel lines(not parallel to the projection plan) on the object converge at a single point in the projection (the vanishing point)  Drawing simple perspectives by hand uses these vanishing point(s) vanishing point Vanishing Points
  • 35.
     Vanishing Points: Thesepoints are formed by the intersection of lines parallel to one of the three principal axis. The number of principal vanishing points is determined by the view plane.  One point perspective  Two point perspective  Three point perspective
  • 36.
    36 One-Point Perspective  Oneprincipal face parallel to projection plane  One vanishing point for cube Image plane is perpendicular to x axis
  • 37.
    37  On principaldirection parallel to projection plane  Two vanishing points for cube Two-Point Perspective
  • 38.
    38 Three-Point Perspective  Noprincipal face parallel to projection plane  Three vanishing points for cube
  • 39.
    Perspective Characteristics/Anomalies  PerspectiveForeshortening: The farther an object is from the center of projection, the smaller it appears.  Example: Square A is larger in size than square B but at vanishing point in viewing plane they appears to be of same size.
  • 40.
    Scaled Orthographic Projection Special case of perspective projection  Object dimensions are small compared to distance to camera  Also called “weak perspective”  What’s the projection matrix? Image World Slide by Steve Seitz                                  1 0 0 0 0 0 0 0 0 0 1 z y x s f f v u w
  • 41.
    Parallel vs PerspectiveProjections Parallel Projection Perspective Projection Size of 3D figure and 2D figure remains same Size of 3D figure is larger than 2D figure Shape of 3D figure and 2D figure remains same Shape of 3D figure and 2D figure differs based on the viewpoint location as well as angle Lines of projection are straight Lines of projection converges to a viewpoint The distance between view plane and viewpoint is infinite Distance between view plane and viewpoint is finite since it converges into the view point Actual size of the 3D object is known Actual size of the 3D object is unknown An example is X-ray of teeth An example is a picture of mountain taken using camer