SlideShare a Scribd company logo
1 of 17
Download to read offline
Camera Model and Imaging Geometry
Subject: Image Procesing & Computer Vision
Dr. Varun Kumar
Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 1 / 17
Outlines
1 Relationship between Cartesian and Homogeneous Coordinate System
2 Perspective Transformation and Imaging Process
3 Learning of Imaging Geometry
4 References
Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 2 / 17
Image Formation
Here, (x, y, 0)− − − − − − −
λ
(0, 0, λ)− − − − − − −
Z−λ
Z
(X, Y , Z)
(x, y, z) → Camera co-ordinate system.
(X, Y , Z) → World co-ordinate system aligned with camera
co-ordinate system.
(0, 0, λ) → Center of the lens.
Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 3 / 17
Continued–
Aim of the camera
Projection of (X, Y , Z) on the image plane → x-y plane.
Homogeneous co-ordinates
x
λ = − X
Z−λ = X
λ−Z ⇒ x = λX
λ−Z
y
λ = − Y
Z−λ = Y
λ−Z ⇒ y = λY
λ−Z
z
λ = − Z
Z−λ = Z
λ−Z ⇒ z = λZ
λ−Z → No need for discussion
Cartesian co-ordinates Homogeneous co-ordinates
(X, Y , Z) ⇒ (kX, kY , kZ, k)
Note: There may be a question.
W =


X
Y
Z

 ⇒ Wh =




kX
kY
kZ
k




Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 4 / 17
Perspective transform
Perspective transform matrix
Q. How can we find the world co-ordinates from the camera co-ordinate
system that contain the 2D image information?
P =




1 0 0 0
0 1 0 0
0 0 1 0
0 0 −1
λ 1



 ⇒ ch = Pwh =




1 0 0 0
0 1 0 0
0 0 1 0
0 0 −1
λ 1








kX
kY
kZ
k



 =




kX
kY
kZ
−k Z
λ + k




Here, ch → Camera co-ordinate system in homogeneous form
wh → World co-ordinate system in homogeneous form
Representation in Cartesian co-ordinate
c =


x
y
z

 =


λX/(λ − Z)
λY /(λ − Z)
λZ/(λ − Z)


Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 5 / 17
Inverse perspective transform
Maps an image point back to 3D
wh = P−1
ch where P−1
=




1 0 0 0
0 1 0 0
0 0 1 0
0 0 1
λ 1




For an image point (x0, y0, 0)
ch =




kx0
ky0
0
k



 ⇒ wh =




kx0
ky0
0
k



 but w =


X
Y
Z

 =


x0
y0
0


This result is unacceptable, because for every value Z in 3D gives 0 value
in its projection.
Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 6 / 17
Continued–
Equation of the line of world co-ordinate system
X =
x0(λ − Z)
λ
Y =
y0(λ − Z)
λ
Inverse perspective transformation is formulated by using Z component of
ch as a free variable.
ch =




kx0
ky0
kz
k



 ⇒ wh = P−1
ch =




kx0
ky0
kz
kz
λ + k




Cartesian co-ordinate
w =


X
Y
Z

 =


λx0/(λ + z)
λy0/(λ + z)
λz/(λ + z)

 ⇒ X =
λx0
(λ + z)
, Y =
λy0
(λ + z)
, Z =
λz
(λ + z)
Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 7 / 17
Camera and world co-ordinate system are not aligned
From above expression,
z =
λZ
λ − Z
⇒ X =
x0(λ − Z)
λ
, Y =
y0(λ − Z)
λ
Note: Inverse perspective transform needs knowledge of at least one of
the world co-ordinate point.
3D camera set up
Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 8 / 17
Continued–
Set up specification
Camera is mounted on a Gimble
Pan angle θ and tilt angle α
Displacement of Gimble from the center (origin) is W0
Displacement of image plane center from Gimble center is r.
Q. A point W in world co-ordinate system is given, how will we find the
corresponding image point.
Ans There are several steps,
Bring the world and co-ordinate system under alignment through set of
transformation.
Apply perspective transform to obtain the image co-ordinate for any
world co-ordinate.
Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 9 / 17
Transformation steps
Transformation steps
Displacement of gimble center from the origin by W0.
Tilt of x-axis by θ.
Pan of z-axis by α.
Displacement of image plane with respect to gimble center by r.
Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 10 / 17
Continued–
Transform matrix by Gimble (Translation)
G =




1 0 0 − X0
0 1 0 − Y0
0 0 1 − Z0
0 0 0 1



 , Rθ =




cos(θ) sin(θ) 0 0
−sin(θ) cos(θ) 0 0
0 0 1 0
0 0 0 1




Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 11 / 17
Tilt operation
Tilt operation
Rα =




1 0 0 0
0 cos(α) sin(α) 0
0 − sin(α) cos(α) 0
0 0 0 1




Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 12 / 17
Continued–
Concatenation
Two rotation matrices can be concatenated by a single matrix
R = RθRα =




cos(θ) sin(θ) 0 0
−sin(θ)cos(α) cos(θ)cos(α) sin(α) 0
sin(θ)sin(α) − cos(θ)sin(α) cos(α) 0
0 0 0 1




When camera center displaced by r
T =




1 0 0 − r1
0 1 0 − r2
0 0 1 − r3
0 0 0 1




Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 13 / 17
Continued–
Modified relation between ch and wh
A homogeneous world point wh will be mapped to a homogeneous image
point ch as by given transform
ch = PTRGwh (1)
P → Perspective transform
Cartesian co-ordinates from world co-ordinates
x = λ
(X − X0)cos(θ) + (Y − Y0)cos(θ) − r1
−(X − X0)sin(θ)sin(α) + (Y − Y0)cos(θ)sin(α) − (Z − Z0)cos(α) + r2 + λ
and
y = λ
−(X − X0)sin(θ)cos(α) + (Y − Y0)cos(θ)cos(α) + (Z − Z0)sin(α) − r2
−(X − X0)sin(θ)sin(α) + (Y − Y0)cos(θ)sin(α) − (Z − Z0)cos(α) + r2 + λ
Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 14 / 17
Example
T =




1 0 0 0
0 1 0 0
0 0 1 −1
0 0 0 1



 , Rθ =




cos(135o
) sin(135o
) 0 0
−sin(135o
) cos(135o
) 0 0
0 0 1 0
0 0 0 1




Rα =




1 0 0 0
0 cos(135o
) sin(135o
) 0
0 − sin(135o
) cos(135o
) 0
0 0 0 1




Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 15 / 17
Continued–
Basic description
Let center of the camera is λ = 0.055 unit from the image plane.
From above Figure, World co-ordinates of corner point → (1, 1, 0.2)




ˆx
ˆy
ˆz
1



 = RαRθT




1
1
0.2
1



 =




0
0.43
1.55
1




⇒ x = λˆx
λ−ˆz = 0 and y = λˆy
λ−ˆz = −0.0099
Home work question :
Q. What is concatenated transformation matrix for a translation [2,3]
followed by rotation by an angle 45o
Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 16 / 17
References
M. Sonka, V. Hlavac, and R. Boyle, Image processing, analysis, and machine vision.
Cengage Learning, 2014.
D. A. Forsyth and J. Ponce, “A modern approach,” Computer vision: a modern
approach, vol. 17, pp. 21–48, 2003.
L. Shapiro and G. Stockman, “Computer vision prentice hall,” Inc., New Jersey,
2001.
R. C. Gonzalez, R. E. Woods, and S. L. Eddins, Digital image processing using
MATLAB. Pearson Education India, 2004.
Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 17 / 17

More Related Content

What's hot

Build Your Own 3D Scanner: Introduction
Build Your Own 3D Scanner: IntroductionBuild Your Own 3D Scanner: Introduction
Build Your Own 3D Scanner: IntroductionDouglas Lanman
 
The fourier transform for satellite image compression
The fourier transform for satellite image compressionThe fourier transform for satellite image compression
The fourier transform for satellite image compressioncsandit
 
Andrey Kuznetsov and Vladislav Myasnikov - Using Efficient Linear Local Feat...
Andrey Kuznetsov and  Vladislav Myasnikov - Using Efficient Linear Local Feat...Andrey Kuznetsov and  Vladislav Myasnikov - Using Efficient Linear Local Feat...
Andrey Kuznetsov and Vladislav Myasnikov - Using Efficient Linear Local Feat...AIST
 
Chapter 1 introduction (Image Processing)
Chapter 1 introduction (Image Processing)Chapter 1 introduction (Image Processing)
Chapter 1 introduction (Image Processing)Varun Ojha
 
A Compressed Sensing Approach to Image Reconstruction
A Compressed Sensing Approach to Image ReconstructionA Compressed Sensing Approach to Image Reconstruction
A Compressed Sensing Approach to Image Reconstructionijsrd.com
 
NIH TGM Guo 38 Real-Time 3D
NIH TGM Guo 38 Real-Time 3DNIH TGM Guo 38 Real-Time 3D
NIH TGM Guo 38 Real-Time 3DLiheng Guo
 
Snakes in Images (Active contour tutorial)
Snakes in Images (Active contour tutorial)Snakes in Images (Active contour tutorial)
Snakes in Images (Active contour tutorial)Yan Xu
 
Digital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency DomainDigital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency DomainMostafa G. M. Mostafa
 
Digital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image FundamentalsDigital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image FundamentalsMostafa G. M. Mostafa
 
A Beginner's Guide to Monocular Depth Estimation
A Beginner's Guide to Monocular Depth EstimationA Beginner's Guide to Monocular Depth Estimation
A Beginner's Guide to Monocular Depth EstimationRyo Takahashi
 
Build Your Own 3D Scanner: Conclusion
Build Your Own 3D Scanner: ConclusionBuild Your Own 3D Scanner: Conclusion
Build Your Own 3D Scanner: ConclusionDouglas Lanman
 
Lec9: Medical Image Segmentation (III) (Fuzzy Connected Image Segmentation)
Lec9: Medical Image Segmentation (III) (Fuzzy Connected Image Segmentation)Lec9: Medical Image Segmentation (III) (Fuzzy Connected Image Segmentation)
Lec9: Medical Image Segmentation (III) (Fuzzy Connected Image Segmentation)Ulaş Bağcı
 
FAN search for image copy-move forgery-amalta 2014
 FAN search for image copy-move forgery-amalta 2014 FAN search for image copy-move forgery-amalta 2014
FAN search for image copy-move forgery-amalta 2014SondosFadl
 
Build Your Own 3D Scanner: 3D Scanning with Swept-Planes
Build Your Own 3D Scanner: 3D Scanning with Swept-PlanesBuild Your Own 3D Scanner: 3D Scanning with Swept-Planes
Build Your Own 3D Scanner: 3D Scanning with Swept-PlanesDouglas Lanman
 
miccai-poster-Bahram-Marami
miccai-poster-Bahram-Maramimiccai-poster-Bahram-Marami
miccai-poster-Bahram-MaramiBahram Marami
 
COM2304: Introduction to Computer Vision & Image Processing
COM2304: Introduction to Computer Vision & Image Processing COM2304: Introduction to Computer Vision & Image Processing
COM2304: Introduction to Computer Vision & Image Processing Hemantha Kulathilake
 
Concept of stereo vision based virtual touch
Concept of stereo vision based virtual touchConcept of stereo vision based virtual touch
Concept of stereo vision based virtual touchVivek Chamorshikar
 

What's hot (20)

Build Your Own 3D Scanner: Introduction
Build Your Own 3D Scanner: IntroductionBuild Your Own 3D Scanner: Introduction
Build Your Own 3D Scanner: Introduction
 
The fourier transform for satellite image compression
The fourier transform for satellite image compressionThe fourier transform for satellite image compression
The fourier transform for satellite image compression
 
Andrey Kuznetsov and Vladislav Myasnikov - Using Efficient Linear Local Feat...
Andrey Kuznetsov and  Vladislav Myasnikov - Using Efficient Linear Local Feat...Andrey Kuznetsov and  Vladislav Myasnikov - Using Efficient Linear Local Feat...
Andrey Kuznetsov and Vladislav Myasnikov - Using Efficient Linear Local Feat...
 
Chapter 1 introduction (Image Processing)
Chapter 1 introduction (Image Processing)Chapter 1 introduction (Image Processing)
Chapter 1 introduction (Image Processing)
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
A Compressed Sensing Approach to Image Reconstruction
A Compressed Sensing Approach to Image ReconstructionA Compressed Sensing Approach to Image Reconstruction
A Compressed Sensing Approach to Image Reconstruction
 
NIH TGM Guo 38 Real-Time 3D
NIH TGM Guo 38 Real-Time 3DNIH TGM Guo 38 Real-Time 3D
NIH TGM Guo 38 Real-Time 3D
 
Snakes in Images (Active contour tutorial)
Snakes in Images (Active contour tutorial)Snakes in Images (Active contour tutorial)
Snakes in Images (Active contour tutorial)
 
Digital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency DomainDigital Image Processing: Image Enhancement in the Frequency Domain
Digital Image Processing: Image Enhancement in the Frequency Domain
 
Digital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image FundamentalsDigital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image Fundamentals
 
A Beginner's Guide to Monocular Depth Estimation
A Beginner's Guide to Monocular Depth EstimationA Beginner's Guide to Monocular Depth Estimation
A Beginner's Guide to Monocular Depth Estimation
 
Build Your Own 3D Scanner: Conclusion
Build Your Own 3D Scanner: ConclusionBuild Your Own 3D Scanner: Conclusion
Build Your Own 3D Scanner: Conclusion
 
Digital Image Fundamentals - II
Digital Image Fundamentals - IIDigital Image Fundamentals - II
Digital Image Fundamentals - II
 
Lec9: Medical Image Segmentation (III) (Fuzzy Connected Image Segmentation)
Lec9: Medical Image Segmentation (III) (Fuzzy Connected Image Segmentation)Lec9: Medical Image Segmentation (III) (Fuzzy Connected Image Segmentation)
Lec9: Medical Image Segmentation (III) (Fuzzy Connected Image Segmentation)
 
Image transforms
Image transformsImage transforms
Image transforms
 
FAN search for image copy-move forgery-amalta 2014
 FAN search for image copy-move forgery-amalta 2014 FAN search for image copy-move forgery-amalta 2014
FAN search for image copy-move forgery-amalta 2014
 
Build Your Own 3D Scanner: 3D Scanning with Swept-Planes
Build Your Own 3D Scanner: 3D Scanning with Swept-PlanesBuild Your Own 3D Scanner: 3D Scanning with Swept-Planes
Build Your Own 3D Scanner: 3D Scanning with Swept-Planes
 
miccai-poster-Bahram-Marami
miccai-poster-Bahram-Maramimiccai-poster-Bahram-Marami
miccai-poster-Bahram-Marami
 
COM2304: Introduction to Computer Vision & Image Processing
COM2304: Introduction to Computer Vision & Image Processing COM2304: Introduction to Computer Vision & Image Processing
COM2304: Introduction to Computer Vision & Image Processing
 
Concept of stereo vision based virtual touch
Concept of stereo vision based virtual touchConcept of stereo vision based virtual touch
Concept of stereo vision based virtual touch
 

Similar to Lecture 7 (Digital Image Processing)

Lecture 6 Basic Transform: Translation, Rotation, Scaling
Lecture 6 Basic Transform: Translation, Rotation, ScalingLecture 6 Basic Transform: Translation, Rotation, Scaling
Lecture 6 Basic Transform: Translation, Rotation, ScalingVARUN KUMAR
 
Lossless image compression via by lifting scheme
Lossless image compression via by lifting schemeLossless image compression via by lifting scheme
Lossless image compression via by lifting schemeSubhashini Subramanian
 
Lecture 12 (Image transformation)
Lecture 12 (Image transformation)Lecture 12 (Image transformation)
Lecture 12 (Image transformation)VARUN KUMAR
 
Journey to structure from motion
Journey to structure from motionJourney to structure from motion
Journey to structure from motionJa-Keoung Koo
 
Report Satellite Navigation Systems
Report Satellite Navigation SystemsReport Satellite Navigation Systems
Report Satellite Navigation SystemsFerro Demetrio
 
MULTIFOCUS IMAGE FUSION USING MULTIRESOLUTION APPROACH WITH BILATERAL GRADIEN...
MULTIFOCUS IMAGE FUSION USING MULTIRESOLUTION APPROACH WITH BILATERAL GRADIEN...MULTIFOCUS IMAGE FUSION USING MULTIRESOLUTION APPROACH WITH BILATERAL GRADIEN...
MULTIFOCUS IMAGE FUSION USING MULTIRESOLUTION APPROACH WITH BILATERAL GRADIEN...cscpconf
 
Review of Linear Image Degradation and Image Restoration Technique
Review of Linear Image Degradation and Image Restoration TechniqueReview of Linear Image Degradation and Image Restoration Technique
Review of Linear Image Degradation and Image Restoration TechniqueBRNSSPublicationHubI
 
Robust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systemsRobust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systemsPantelis Sopasakis
 
iv10_linear_pose.pptx
iv10_linear_pose.pptxiv10_linear_pose.pptx
iv10_linear_pose.pptxdarmadi ir,mm
 
Differential kinematics robotic
Differential kinematics  roboticDifferential kinematics  robotic
Differential kinematics roboticdahmane sid ahmed
 
Linear Smoothing, Median, and Sharpening Filter
Linear Smoothing, Median, and Sharpening FilterLinear Smoothing, Median, and Sharpening Filter
Linear Smoothing, Median, and Sharpening FilterVARUN KUMAR
 
Dense Visual Odometry Using Genetic Algorithm
Dense Visual Odometry Using Genetic AlgorithmDense Visual Odometry Using Genetic Algorithm
Dense Visual Odometry Using Genetic AlgorithmSlimane Djema
 
3-D Visual Reconstruction: A System Perspective
3-D Visual Reconstruction: A System Perspective3-D Visual Reconstruction: A System Perspective
3-D Visual Reconstruction: A System PerspectiveGuillermo Medina Zegarra
 
Lecture 16 KL Transform in Image Processing
Lecture 16 KL Transform in Image ProcessingLecture 16 KL Transform in Image Processing
Lecture 16 KL Transform in Image ProcessingVARUN KUMAR
 
Edge linking in image processing
Edge linking in image processingEdge linking in image processing
Edge linking in image processingVARUN KUMAR
 
Nuclear imaging, PET CT MEDICAL PHYSICS
Nuclear imaging, PET CT MEDICAL PHYSICSNuclear imaging, PET CT MEDICAL PHYSICS
Nuclear imaging, PET CT MEDICAL PHYSICSShahid Younas
 
Equation of motion of a variable mass system3
Equation of motion of a variable mass system3Equation of motion of a variable mass system3
Equation of motion of a variable mass system3Solo Hermelin
 
Trytten computergraphics(1)
Trytten computergraphics(1)Trytten computergraphics(1)
Trytten computergraphics(1)nriaz469
 

Similar to Lecture 7 (Digital Image Processing) (20)

Lecture 6 Basic Transform: Translation, Rotation, Scaling
Lecture 6 Basic Transform: Translation, Rotation, ScalingLecture 6 Basic Transform: Translation, Rotation, Scaling
Lecture 6 Basic Transform: Translation, Rotation, Scaling
 
Lossless image compression via by lifting scheme
Lossless image compression via by lifting schemeLossless image compression via by lifting scheme
Lossless image compression via by lifting scheme
 
Lecture 12 (Image transformation)
Lecture 12 (Image transformation)Lecture 12 (Image transformation)
Lecture 12 (Image transformation)
 
Journey to structure from motion
Journey to structure from motionJourney to structure from motion
Journey to structure from motion
 
Report Satellite Navigation Systems
Report Satellite Navigation SystemsReport Satellite Navigation Systems
Report Satellite Navigation Systems
 
MULTIFOCUS IMAGE FUSION USING MULTIRESOLUTION APPROACH WITH BILATERAL GRADIEN...
MULTIFOCUS IMAGE FUSION USING MULTIRESOLUTION APPROACH WITH BILATERAL GRADIEN...MULTIFOCUS IMAGE FUSION USING MULTIRESOLUTION APPROACH WITH BILATERAL GRADIEN...
MULTIFOCUS IMAGE FUSION USING MULTIRESOLUTION APPROACH WITH BILATERAL GRADIEN...
 
Review of Linear Image Degradation and Image Restoration Technique
Review of Linear Image Degradation and Image Restoration TechniqueReview of Linear Image Degradation and Image Restoration Technique
Review of Linear Image Degradation and Image Restoration Technique
 
Robust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systemsRobust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systems
 
iv10_linear_pose.pptx
iv10_linear_pose.pptxiv10_linear_pose.pptx
iv10_linear_pose.pptx
 
Differential kinematics robotic
Differential kinematics  roboticDifferential kinematics  robotic
Differential kinematics robotic
 
Linear Smoothing, Median, and Sharpening Filter
Linear Smoothing, Median, and Sharpening FilterLinear Smoothing, Median, and Sharpening Filter
Linear Smoothing, Median, and Sharpening Filter
 
Dense Visual Odometry Using Genetic Algorithm
Dense Visual Odometry Using Genetic AlgorithmDense Visual Odometry Using Genetic Algorithm
Dense Visual Odometry Using Genetic Algorithm
 
3-D Visual Reconstruction: A System Perspective
3-D Visual Reconstruction: A System Perspective3-D Visual Reconstruction: A System Perspective
3-D Visual Reconstruction: A System Perspective
 
Lecture 16 KL Transform in Image Processing
Lecture 16 KL Transform in Image ProcessingLecture 16 KL Transform in Image Processing
Lecture 16 KL Transform in Image Processing
 
Control System Assignment Help
Control System Assignment HelpControl System Assignment Help
Control System Assignment Help
 
G1804014348
G1804014348G1804014348
G1804014348
 
Edge linking in image processing
Edge linking in image processingEdge linking in image processing
Edge linking in image processing
 
Nuclear imaging, PET CT MEDICAL PHYSICS
Nuclear imaging, PET CT MEDICAL PHYSICSNuclear imaging, PET CT MEDICAL PHYSICS
Nuclear imaging, PET CT MEDICAL PHYSICS
 
Equation of motion of a variable mass system3
Equation of motion of a variable mass system3Equation of motion of a variable mass system3
Equation of motion of a variable mass system3
 
Trytten computergraphics(1)
Trytten computergraphics(1)Trytten computergraphics(1)
Trytten computergraphics(1)
 

More from VARUN KUMAR

Distributed rc Model
Distributed rc ModelDistributed rc Model
Distributed rc ModelVARUN KUMAR
 
Electrical Wire Model
Electrical Wire ModelElectrical Wire Model
Electrical Wire ModelVARUN KUMAR
 
Interconnect Parameter in Digital VLSI Design
Interconnect Parameter in Digital VLSI DesignInterconnect Parameter in Digital VLSI Design
Interconnect Parameter in Digital VLSI DesignVARUN KUMAR
 
Introduction to Digital VLSI Design
Introduction to Digital VLSI DesignIntroduction to Digital VLSI Design
Introduction to Digital VLSI DesignVARUN KUMAR
 
Challenges of Massive MIMO System
Challenges of Massive MIMO SystemChallenges of Massive MIMO System
Challenges of Massive MIMO SystemVARUN KUMAR
 
E-democracy or Digital Democracy
E-democracy or Digital DemocracyE-democracy or Digital Democracy
E-democracy or Digital DemocracyVARUN KUMAR
 
Ethics of Parasitic Computing
Ethics of Parasitic ComputingEthics of Parasitic Computing
Ethics of Parasitic ComputingVARUN KUMAR
 
Action Lines of Geneva Plan of Action
Action Lines of Geneva Plan of ActionAction Lines of Geneva Plan of Action
Action Lines of Geneva Plan of ActionVARUN KUMAR
 
Geneva Plan of Action
Geneva Plan of ActionGeneva Plan of Action
Geneva Plan of ActionVARUN KUMAR
 
Fair Use in the Electronic Age
Fair Use in the Electronic AgeFair Use in the Electronic Age
Fair Use in the Electronic AgeVARUN KUMAR
 
Software as a Property
Software as a PropertySoftware as a Property
Software as a PropertyVARUN KUMAR
 
Orthogonal Polynomial
Orthogonal PolynomialOrthogonal Polynomial
Orthogonal PolynomialVARUN KUMAR
 
Patent Protection
Patent ProtectionPatent Protection
Patent ProtectionVARUN KUMAR
 
Copyright Vs Patent and Trade Secrecy Law
Copyright Vs Patent and Trade Secrecy LawCopyright Vs Patent and Trade Secrecy Law
Copyright Vs Patent and Trade Secrecy LawVARUN KUMAR
 
Property Right and Software
Property Right and SoftwareProperty Right and Software
Property Right and SoftwareVARUN KUMAR
 
Investigating Data Trials
Investigating Data TrialsInvestigating Data Trials
Investigating Data TrialsVARUN KUMAR
 
Gaussian Numerical Integration
Gaussian Numerical IntegrationGaussian Numerical Integration
Gaussian Numerical IntegrationVARUN KUMAR
 
Censorship and Controversy
Censorship and ControversyCensorship and Controversy
Censorship and ControversyVARUN KUMAR
 
Romberg's Integration
Romberg's IntegrationRomberg's Integration
Romberg's IntegrationVARUN KUMAR
 
Introduction to Censorship
Introduction to Censorship Introduction to Censorship
Introduction to Censorship VARUN KUMAR
 

More from VARUN KUMAR (20)

Distributed rc Model
Distributed rc ModelDistributed rc Model
Distributed rc Model
 
Electrical Wire Model
Electrical Wire ModelElectrical Wire Model
Electrical Wire Model
 
Interconnect Parameter in Digital VLSI Design
Interconnect Parameter in Digital VLSI DesignInterconnect Parameter in Digital VLSI Design
Interconnect Parameter in Digital VLSI Design
 
Introduction to Digital VLSI Design
Introduction to Digital VLSI DesignIntroduction to Digital VLSI Design
Introduction to Digital VLSI Design
 
Challenges of Massive MIMO System
Challenges of Massive MIMO SystemChallenges of Massive MIMO System
Challenges of Massive MIMO System
 
E-democracy or Digital Democracy
E-democracy or Digital DemocracyE-democracy or Digital Democracy
E-democracy or Digital Democracy
 
Ethics of Parasitic Computing
Ethics of Parasitic ComputingEthics of Parasitic Computing
Ethics of Parasitic Computing
 
Action Lines of Geneva Plan of Action
Action Lines of Geneva Plan of ActionAction Lines of Geneva Plan of Action
Action Lines of Geneva Plan of Action
 
Geneva Plan of Action
Geneva Plan of ActionGeneva Plan of Action
Geneva Plan of Action
 
Fair Use in the Electronic Age
Fair Use in the Electronic AgeFair Use in the Electronic Age
Fair Use in the Electronic Age
 
Software as a Property
Software as a PropertySoftware as a Property
Software as a Property
 
Orthogonal Polynomial
Orthogonal PolynomialOrthogonal Polynomial
Orthogonal Polynomial
 
Patent Protection
Patent ProtectionPatent Protection
Patent Protection
 
Copyright Vs Patent and Trade Secrecy Law
Copyright Vs Patent and Trade Secrecy LawCopyright Vs Patent and Trade Secrecy Law
Copyright Vs Patent and Trade Secrecy Law
 
Property Right and Software
Property Right and SoftwareProperty Right and Software
Property Right and Software
 
Investigating Data Trials
Investigating Data TrialsInvestigating Data Trials
Investigating Data Trials
 
Gaussian Numerical Integration
Gaussian Numerical IntegrationGaussian Numerical Integration
Gaussian Numerical Integration
 
Censorship and Controversy
Censorship and ControversyCensorship and Controversy
Censorship and Controversy
 
Romberg's Integration
Romberg's IntegrationRomberg's Integration
Romberg's Integration
 
Introduction to Censorship
Introduction to Censorship Introduction to Censorship
Introduction to Censorship
 

Recently uploaded

The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 

Recently uploaded (20)

The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 

Lecture 7 (Digital Image Processing)

  • 1. Camera Model and Imaging Geometry Subject: Image Procesing & Computer Vision Dr. Varun Kumar Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 1 / 17
  • 2. Outlines 1 Relationship between Cartesian and Homogeneous Coordinate System 2 Perspective Transformation and Imaging Process 3 Learning of Imaging Geometry 4 References Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 2 / 17
  • 3. Image Formation Here, (x, y, 0)− − − − − − − λ (0, 0, λ)− − − − − − − Z−λ Z (X, Y , Z) (x, y, z) → Camera co-ordinate system. (X, Y , Z) → World co-ordinate system aligned with camera co-ordinate system. (0, 0, λ) → Center of the lens. Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 3 / 17
  • 4. Continued– Aim of the camera Projection of (X, Y , Z) on the image plane → x-y plane. Homogeneous co-ordinates x λ = − X Z−λ = X λ−Z ⇒ x = λX λ−Z y λ = − Y Z−λ = Y λ−Z ⇒ y = λY λ−Z z λ = − Z Z−λ = Z λ−Z ⇒ z = λZ λ−Z → No need for discussion Cartesian co-ordinates Homogeneous co-ordinates (X, Y , Z) ⇒ (kX, kY , kZ, k) Note: There may be a question. W =   X Y Z   ⇒ Wh =     kX kY kZ k     Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 4 / 17
  • 5. Perspective transform Perspective transform matrix Q. How can we find the world co-ordinates from the camera co-ordinate system that contain the 2D image information? P =     1 0 0 0 0 1 0 0 0 0 1 0 0 0 −1 λ 1     ⇒ ch = Pwh =     1 0 0 0 0 1 0 0 0 0 1 0 0 0 −1 λ 1         kX kY kZ k     =     kX kY kZ −k Z λ + k     Here, ch → Camera co-ordinate system in homogeneous form wh → World co-ordinate system in homogeneous form Representation in Cartesian co-ordinate c =   x y z   =   λX/(λ − Z) λY /(λ − Z) λZ/(λ − Z)   Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 5 / 17
  • 6. Inverse perspective transform Maps an image point back to 3D wh = P−1 ch where P−1 =     1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 λ 1     For an image point (x0, y0, 0) ch =     kx0 ky0 0 k     ⇒ wh =     kx0 ky0 0 k     but w =   X Y Z   =   x0 y0 0   This result is unacceptable, because for every value Z in 3D gives 0 value in its projection. Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 6 / 17
  • 7. Continued– Equation of the line of world co-ordinate system X = x0(λ − Z) λ Y = y0(λ − Z) λ Inverse perspective transformation is formulated by using Z component of ch as a free variable. ch =     kx0 ky0 kz k     ⇒ wh = P−1 ch =     kx0 ky0 kz kz λ + k     Cartesian co-ordinate w =   X Y Z   =   λx0/(λ + z) λy0/(λ + z) λz/(λ + z)   ⇒ X = λx0 (λ + z) , Y = λy0 (λ + z) , Z = λz (λ + z) Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 7 / 17
  • 8. Camera and world co-ordinate system are not aligned From above expression, z = λZ λ − Z ⇒ X = x0(λ − Z) λ , Y = y0(λ − Z) λ Note: Inverse perspective transform needs knowledge of at least one of the world co-ordinate point. 3D camera set up Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 8 / 17
  • 9. Continued– Set up specification Camera is mounted on a Gimble Pan angle θ and tilt angle α Displacement of Gimble from the center (origin) is W0 Displacement of image plane center from Gimble center is r. Q. A point W in world co-ordinate system is given, how will we find the corresponding image point. Ans There are several steps, Bring the world and co-ordinate system under alignment through set of transformation. Apply perspective transform to obtain the image co-ordinate for any world co-ordinate. Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 9 / 17
  • 10. Transformation steps Transformation steps Displacement of gimble center from the origin by W0. Tilt of x-axis by θ. Pan of z-axis by α. Displacement of image plane with respect to gimble center by r. Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 10 / 17
  • 11. Continued– Transform matrix by Gimble (Translation) G =     1 0 0 − X0 0 1 0 − Y0 0 0 1 − Z0 0 0 0 1     , Rθ =     cos(θ) sin(θ) 0 0 −sin(θ) cos(θ) 0 0 0 0 1 0 0 0 0 1     Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 11 / 17
  • 12. Tilt operation Tilt operation Rα =     1 0 0 0 0 cos(α) sin(α) 0 0 − sin(α) cos(α) 0 0 0 0 1     Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 12 / 17
  • 13. Continued– Concatenation Two rotation matrices can be concatenated by a single matrix R = RθRα =     cos(θ) sin(θ) 0 0 −sin(θ)cos(α) cos(θ)cos(α) sin(α) 0 sin(θ)sin(α) − cos(θ)sin(α) cos(α) 0 0 0 0 1     When camera center displaced by r T =     1 0 0 − r1 0 1 0 − r2 0 0 1 − r3 0 0 0 1     Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 13 / 17
  • 14. Continued– Modified relation between ch and wh A homogeneous world point wh will be mapped to a homogeneous image point ch as by given transform ch = PTRGwh (1) P → Perspective transform Cartesian co-ordinates from world co-ordinates x = λ (X − X0)cos(θ) + (Y − Y0)cos(θ) − r1 −(X − X0)sin(θ)sin(α) + (Y − Y0)cos(θ)sin(α) − (Z − Z0)cos(α) + r2 + λ and y = λ −(X − X0)sin(θ)cos(α) + (Y − Y0)cos(θ)cos(α) + (Z − Z0)sin(α) − r2 −(X − X0)sin(θ)sin(α) + (Y − Y0)cos(θ)sin(α) − (Z − Z0)cos(α) + r2 + λ Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 14 / 17
  • 15. Example T =     1 0 0 0 0 1 0 0 0 0 1 −1 0 0 0 1     , Rθ =     cos(135o ) sin(135o ) 0 0 −sin(135o ) cos(135o ) 0 0 0 0 1 0 0 0 0 1     Rα =     1 0 0 0 0 cos(135o ) sin(135o ) 0 0 − sin(135o ) cos(135o ) 0 0 0 0 1     Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 15 / 17
  • 16. Continued– Basic description Let center of the camera is λ = 0.055 unit from the image plane. From above Figure, World co-ordinates of corner point → (1, 1, 0.2)     ˆx ˆy ˆz 1     = RαRθT     1 1 0.2 1     =     0 0.43 1.55 1     ⇒ x = λˆx λ−ˆz = 0 and y = λˆy λ−ˆz = −0.0099 Home work question : Q. What is concatenated transformation matrix for a translation [2,3] followed by rotation by an angle 45o Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 16 / 17
  • 17. References M. Sonka, V. Hlavac, and R. Boyle, Image processing, analysis, and machine vision. Cengage Learning, 2014. D. A. Forsyth and J. Ponce, “A modern approach,” Computer vision: a modern approach, vol. 17, pp. 21–48, 2003. L. Shapiro and G. Stockman, “Computer vision prentice hall,” Inc., New Jersey, 2001. R. C. Gonzalez, R. E. Woods, and S. L. Eddins, Digital image processing using MATLAB. Pearson Education India, 2004. Subject: Image Procesing & Computer Vision Dr. Varun Kumar (IIIT Surat)Lecture 7 17 / 17