Structure from Motion

Similar documents
Calibrating a single camera. Odilon Redon, Cyclops, 1914

What are the camera parameters? Where are the light sources? What is the mapping from radiance to pixel color? Want to solve for 3D geometry

Image warping and stitching May 5 th, 2015

AIMS Computer vision. AIMS Computer Vision. Outline. Outline.

Multi-stable Perception. Necker Cube

Lecture 4: Principal components

Image Alignment CSC 767

Range images. Range image registration. Examples of sampling patterns. Range images and range surfaces

Prof. Feng Liu. Spring /24/2017

An efficient method to build panoramic image mosaics

Fitting and Alignment

Geometric Transformations and Multiple Views

A Comparison and Evaluation of Three Different Pose Estimation Algorithms In Detecting Low Texture Manufactured Objects

Computer Vision I. Xbox Kinnect: Rectification. The Fundamental matrix. Stereo III. CSE252A Lecture 16. Example: forward motion

STRUCTURE and motion problems form a class of geometric

Computer Animation and Visualisation. Lecture 4. Rigging / Skinning

Angle-Independent 3D Reconstruction. Ji Zhang Mireille Boutin Daniel Aliaga

Introduction to Multiview Rank Conditions and their Applications: A Review.

Feature Extraction and Registration An Overview

Feature Reduction and Selection

Line-based Camera Movement Estimation by Using Parallel Lines in Omnidirectional Video

Recognizing Faces. Outline

Finding Intrinsic and Extrinsic Viewing Parameters from a Single Realist Painting

Fitting & Matching. Lecture 4 Prof. Bregler. Slides from: S. Lazebnik, S. Seitz, M. Pollefeys, A. Effros.

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision

Face Recognition University at Buffalo CSE666 Lecture Slides Resources:

LECTURE : MANIFOLD LEARNING

Graph-based Clustering

New dynamic zoom calibration technique for a stereo-vision based multi-view 3D modeling system

Machine Learning 9. week

3D vector computer graphics

LEAST SQUARES. RANSAC. HOUGH TRANSFORM.

Correspondence-free Synchronization and Reconstruction in a Non-rigid Scene

Support Vector Machines

3D Modeling Using Multi-View Images. Jinjin Li. A Thesis Presented in Partial Fulfillment of the Requirements for the Degree Master of Science

MULTISPECTRAL IMAGES CLASSIFICATION BASED ON KLT AND ATR AUTOMATIC TARGET RECOGNITION

Alignment and Object Instance Recognition

Lecture #15 Lecture Notes

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points;

Accounting for the Use of Different Length Scale Factors in x, y and z Directions

New Extensions of the 3-Simplex for Exterior Orientation

SIMULTANEOUS REGISTRATION OF MULTIPLE VIEWS OF A 3D OBJECT

Multi-view 3D Position Estimation of Sports Players

Model-Based Bundle Adjustment to Face Modeling

CS434a/541a: Pattern Recognition Prof. Olga Veksler. Lecture 15

GIVEN measurements in 2D images, the goal of geometric

Self-Calibration from Image Triplets. 1 Robotics Research Group, Department of Engineering Science, Oxford University, England

APPLICATION OF AN AUGMENTED REALITY SYSTEM FOR DISASTER RELIEF

Computer Vision. Exercise Session 1. Institute of Visual Computing

Introduction to Geometrical Optics - a 2D ray tracing Excel model for spherical mirrors - Part 2

Resolving Ambiguity in Depth Extraction for Motion Capture using Genetic Algorithm

RECONSTRUCTION OF 3D TUBULAR STRUCTURES FROM CONE-BEAM PROJECTIONS

Optimal Combination of Stereo Camera Calibration from Arbitrary Stereo Images.

Planar Catadioptric Stereo: Multiple-View Geometry and Image-Based Camera Localization

Accuracy of Measuring Camera Position by Marker Observation

Any Pair of 2D Curves Is Consistent with a 3D Symmetric Interpretation

The Codesign Challenge

IMAGE MATCHING WITH SIFT FEATURES A PROBABILISTIC APPROACH

Implementation of a Dynamic Image-Based Rendering System

Takahiro ISHIKAWA Takahiro Ishikawa Takahiro Ishikawa Takeo KANADE

MOTION BLUR ESTIMATION AT CORNERS

Biostatistics 615/815

Reading. 14. Subdivision curves. Recommended:

REFRACTION. a. To study the refraction of light from plane surfaces. b. To determine the index of refraction for Acrylic and Water.

Parallel Numerics. 1 Preconditioning & Iterative Solvers (From 2016)

Exact solution, the Direct Linear Transfo. ct solution, the Direct Linear Transform

Multiple Frame Motion Inference Using Belief Propagation

A Scalable Projective Bundle Adjustment Algorithm using the L Norm

Towards Direct Recovery of Shape and Motion Parameters from Image Sequences

Robust Recovery of Camera Rotation from Three Frames. B. Rousso S. Avidan A. Shashua y S. Peleg z. The Hebrew University of Jerusalem

Model reconstruction and pose acquisition using extended Lowe s method

Robust Computation and Parametrization of Multiple View. Relations. Oxford University, OX1 3PJ. Gaussian).

Programming in Fortran 90 : 2017/2018

A SALIENCY BASED OBJECT TRACKING METHOD

Large Motion Estimation for Omnidirectional Vision

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers

Harmonic Coordinates for Character Articulation PIXAR

Comparison of traveltime inversions on a limestone structure

PHOTOGRAMMETRIC ANALYSIS OF ASYNCHRONOUSLY ACQUIRED IMAGE SEQUENCES

Inverse Kinematics (part 2) CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Spring 2016

6.1 2D and 3D feature-based alignment 275. similarity. Euclidean

Environmental Mapping by Trinocular Vision for Self-Localization Using Monocular Vision

Parallelism for Nested Loops with Non-uniform and Flow Dependences

A Factorization Approach to Structure from Motion with Shape Priors

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes

Realtime Moving Object Detection from a Freely Moving Monocular Camera

Complex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following.

Alignment of Non-Overlapping Sequences

Scan Conversion & Shading

Fusion of Data from Head-Mounted and Fixed Sensors 1

Shape Representation Robust to the Sketching Order Using Distance Map and Direction Histogram

PROJECTIVE RECONSTRUCTION OF BUILDING SHAPE FROM SILHOUETTE IMAGES ACQUIRED FROM UNCALIBRATED CAMERAS

Proper Choice of Data Used for the Estimation of Datum Transformation Parameters

Scan Conversion & Shading

Stabilization of infra-red aerial image sequences using robust estimation

Abstract metric to nd the optimal pose and to measure the distance between the measurements

Image-based Motion Stabilization for Maritime Surveillance

Ecient Computation of the Most Probable Motion from Fuzzy. Moshe Ben-Ezra Shmuel Peleg Michael Werman. The Hebrew University of Jerusalem

3D Rigid Facial Motion Estimation from Disparity Maps

Problem Set 3 Solutions

Transcription:

Structure from Moton

Structure from Moton For now, statc scene and movng camera Equvalentl, rgdl movng scene and statc camera Lmtng case of stereo wth man cameras Lmtng case of multvew camera calbraton wth unknown target Gven n ponts and camera postons, have 2n equatons and 3n+6 unknowns

Approaches Obtanng pont correspondences Optcal flow Stereo methods: correlaton, feature matchng Solvng for ponts and camera moton onlnear mnmzaton (bundle adjustment) Varous appromatons

Orthographc Appromaton Smplest SFM case: camera appromated b orthographc projecton Perspectve Orthographc

Weak Perspectve An orthographc assumpton s sometmes well appromated b a telephoto lens Weak Perspectve

Consequences of Orthographc Projecton Translaton perpendcular to mage plane cannot be recovered Scene can be recovered up to scale (f weak perspectve)

Orthographc Structure from Moton Method due to Tomas & Kanade, 992 Assume n ponts n 3D space p.. p n Observed at ponts n tme at mage coordnates ( j, j ), =.., j=..n Feature trackng, optcal flow, etc. All ponts vsble n all frames

Orthographc Structure from Moton Wrte down matr of data = n n n n D Ponts Frames Frames

Orthographc Structure from Moton Step : fnd translaton Translaton perpendcular to vewng drecton cannot be obtaned Translaton parallel to vewng drecton equals moton of average poston of all ponts

Orthographc Structure from Moton After fndng translaton, subtract t out (.e., subtract average of each row) = n n n n ~ D

Orthographc Structure from Moton Step 2: tr to fnd rotaton Rotaton at each frame defnes local coordnate aes,, and Then î ĵ kˆ ~ ~ = ˆ p, ~ ˆ ~ = j p j j j j

Orthographc Structure from Moton So, can wrte where R s a rotaton matr and S s a shape matr D = RS ~ [ ] n p p S j j R ~ ~ ˆ ˆ ˆ ˆ T T T T = = = n n n n ~ D

Orthographc Structure from Moton Goal s to factor Before we do, observe that rank( ) should be 3 (n deal case wth no nose) Proof: Rank of R s 3 unless no rotaton Rank of S s 3 ff have noncoplanar ponts Product of 2 matrces of rank 3 has rank 3 Wth nose, rank( ) mght be > 3 D ~ D ~ D ~

Goal s to factor Appl SVD: D ~ SVD D ~ ~ D = UWV nto R and S But should have rank 3 all but 3 of the w should be 0 Etract the top 3 w, together wth the correspondng columns of U and V T

Factorng for Orthographc Structure from Moton After etractng columns, U 3 has dmensons 2 3 (just what we wanted for R) W 3 V 3 T has dmensons 3 n (just what we wanted for S) So, let R * =U 3, S * =W 3 V 3 T

Affne Structure from Moton The and j entres of R * are not, n general, unt length and perpendcular We have found moton (and therefore shape) up to an affne transformaton Ths s the best we could do f we ddn t assume orthographc camera

D ~ Ensurng Orthogonalt Snce can be factored as R * S *, t can also be factored as (R * Q)(Q - S * ), for an Q So, search for Q such that R = R * Q has the propertes we want

Ensurng Orthogonalt Want or Let T = QQ T Equatons for elements of T solve b least squares Ambgut add constrants ( ) ( ) ˆ ˆ T * * T = Q Q 0 ˆ ˆ ˆ ˆ ˆ ˆ * T * T * T * T * T * T = = = j QQ j QQ j QQ = = 0 0 ˆ, 0 0 ˆ * T * T j Q Q

Ensurng Orthogonalt Have found T = QQ T Fnd Q b takng square root of T Cholesk decomposton f T s postve defnte General algorthms (e.g. sqrtm n Matlab)

Orthogonal Structure from Moton Let s recap: Wrte down matr of observatons Fnd translaton from avg. poston Subtract translaton Factor matr usng SVD Wrte down equatons for orthogonalzaton Solve usng least squares, square root At end, get matr R = R * Q of camera postons and matr S = Q - S * of 3D ponts

Results Image sequence [Tomas & Kanade]

Results Tracked features [Tomas & Kanade]

Results Reconstructed shape Top vew Front vew [Tomas & Kanade]

Orthographc Perspectve Wth orthographc or weak perspectve can t recover all nformaton Wth full perspectve, can recover more nformaton (translaton along optcal as) Result: can recover geometr and full moton up to global scale factor

Perspectve SFM Methods Bundle adjustment (full nonlnear mnmzaton) Methods based on factorzaton Methods based on fundamental matrces Methods based on vanshng ponts

Moton Feld for Camera Moton Translaton: Moton feld lnes converge (possbl at )

Moton Feld for Camera Moton Rotaton: Moton feld lnes do not converge

Moton Feld for Camera Moton Combned rotaton and translaton: moton feld lnes have component that converges, and component that does not Algorthms can look for vanshng pont, then determne component of moton around ths pont Focus of epanson / contracton Instantaneous eppole

Fndng Instantaneous Eppole Observaton: moton feld due to translaton depends on depth of ponts Moton feld due to rotaton does not Idea: compute dfference between moton of a pont, moton of neghbors Dfferences pont towards nstantaneous eppole

SVD (Agan!) Want to ft drecton to all v (dfferences n optcal flow) wthn some neghborhood PCA on matr of v Equvalentl, take egenvector of A = Σ( v)( v) T correspondng to largest egenvalue Gves drecton of paralla l n that patch, together wth estmate of relablt

SFM Algorthm Compute optcal flow Fnd vanshng pont (least squares soluton) Fnd drecton of translaton from eppole Fnd perpendcular component of moton Fnd veloct, as of rotaton Fnd depths of ponts (up to global scale)