Reconstruction
16-385 Computer Vision (Kris Kitani)
Carnegie Mellon University
Reconstruction 16-385 Computer Vision (Kris Kitani) Carnegie Mellon - - PowerPoint PPT Presentation
Reconstruction 16-385 Computer Vision (Kris Kitani) Carnegie Mellon University Structure Motion Measurements (scene geometry) (camera geometry) 3D to 2D estimate Pose Estimation known correspondences 2D to 2D estimate Triangulation
16-385 Computer Vision (Kris Kitani)
Carnegie Mellon University
Structure
(scene geometry)
Motion
(camera geometry)
Measurements Pose Estimation
known
estimate
3D to 2D correspondences
Triangulation
estimate
known 2D to 2D coorespondences
Reconstruction
estimate estimate
2D to 2D coorespondences
Given a set of matched points
Estimate the camera matrices Estimate the 3D point
(2 view structure from motion)
Given a set of matched points
Estimate the camera matrices Estimate the 3D point
(2 view structure from motion)
‘structure’ ‘motion’
(of the cameras)
correspondences 8-point algorithm
correspondences 8-point algorithm
matrix P = [ I | 0 ] and P’ = [ [e’x]F | e’ ]
Camera matrices corresponding to the fundamental matrix F may be chosen as
(See Hartley and Zisserman C.9 for proof)
If we have calibrated cameras we have and K K0
Essential matrix:
If we have calibrated cameras we have and K K0
Essential matrix:
SVD: Let W = −1 1 1
If we have calibrated cameras we have and K K0
Essential matrix:
SVD: Let W = −1 1 1 We get FOUR solutions: R1 = UWV> T1 = U3
R2 = UW>V> T2 = −U3
two possible rotations two possible translations
We get FOUR solutions: R1 = UWV> T1 = U3 R2 = UW>V> T2 = −U3 R1 = UWV> R2 = UW>V> T1 = U3 T2 = −U3
Compute determinant of R, valid solution must be equal to 1
(note: det(R) = -1 means rotation and reflection)
Compute 3D point using triangulation, valid solution has positive Z value
(Note: negative Z means point is behind the camera )
Which one do we choose?
camera center image plane
Camera Icon
Find the configuration where the points is in front of both cameras
Let’s visualize the four configurations…
Find the configuration where the points is in front of both cameras
Find the configuration where the points is in front of both cameras
approximation of E (SVD!)
(set smallest SV to zero)
(SVD!!!)
correct R,T pair (don’t use SVD…) From points correspondences to camera displacement
correspondences 8-point algorithm
matrix P = [ I | 0 ] and P’ = [ [e’x]F | e’ ]
in 3D space (triangularization) DLT with x = P X and x’ = P’ X
projective transformation without prior knowledge
Similarity Projective
Calibrated cameras (similarity projection ambiguity) Uncalibrated cameras (projective projection ambiguity)
Structure
(scene geometry)
Motion
(camera geometry)
Measurements Pose Estimation
known
estimate
3D to 2D correspondences
Triangulation
estimate
known 2D to 2D coorespondences
Reconstruction
estimate estimate
2D to 2D coorespondences