viral infection edition

Size: px
Start display at page:

Download "viral infection edition"

Transcription

1 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 Beginner s Guide to Image Processing or How to make vision-guided killbots step 1 viral infection edition Paul Pounds 8 April 2014 Universit of Queensland Sura Singh! 1

2 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 The Blorch Paul has contracted the Blorch Bad case of insides-fall-out sndrome Sura will guest lecture toda Paul s notes to Sura will take the form of Blorchnotes on the slide Blorch! 2

3 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 But first Some house keeping 3

4 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 House keeping Rubbish and drink bottles in the lab Warning 1. If ou see someone making/leaving a mess in the lab politel ecoriate them. Lab is No Food Zone. Eat outside plz kthbe. Blorchnote: Make sure the know we aren t kidding about this Progress Reviews are done (Almost) everone passed; some barel Wake-up call for a lot of people We are seeing lots of hacking ver little math 4

5 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 House keeping Group 10 is no more; Group 9 is now bigger Should have no advantage or disadvantage 5 On PCBs: Submit to Steve Wright for BEC batch runs If ou want to use a specific fab (eg. for fast turnaround) talk to ETSG the will allow ou to place the order ourself and get reimbursed Ask John Kolbach first. Blorchnote: If students are uncertain have them ask John

6 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 Reminder: House keeping You must submit our designs to Doug for machining parts no later than week 7 No parts will be machined for ou after then You can machine our own parts but ou won t be able to go through the workshop 6

7 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 Calendar at a glance Week Dates Lecture Reviews Demos Assessment submissions 1 3/3 7/3 Introduction You are here 2 10/3 15/3 Principles of Mechatronic Sstems design 3 17/3 21/3 Professional Engineering Topics 4 24/3 28/3 Your soldering is (probabl) terrible 5 31/3-4/3 No lecture Progress review 1 6 7/4 11/4 Image segmentation 7 14/4 18/4 B request Progress seminar 25% demo Design brief Break 21/4 25/4 Sooon 8 28/4 3/5 B request 9 5/5 9/5 B request Progress review 50% demo 10 12/5 16/ /5 23/5 75% demo Preliminar report 12 26/5 30/5 13 2/6 6/6 Closing lecture Final testing Final report and addendum 7

8 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 Progress seminars Progress seminars are net week! First group-based assessment Gives ou presenting eperience and brings us up to date with our team s progress Sign up for session slots via Doodle poll Link to poll will be sent out via Blackboard announcement after the lecture (closes Frida) Blorchnote: Same proceedure as last time nothing scar 8

9 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 Progress Seminar Group presentation 10 minutes per team Stand up and talk about our progress Each person talks for roughl equal time 9 Focus on progress not the requirements! We alread know what the project goal is. We know (roughl) what our approach is. Don t waste valuable time repeating them. Above all show evidence of our work. Blorchnote: The Blorch just loves evidence and justification

10 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 How to sign up: Progress seminars Have one and onl one member of our team nominate a time for our team on the When the sign up the must include their full name and team number. If the don t have both the slot will be cleared. If ou absolutel can t get a slot that works for all of our group me ASAP But this should never happen 10

11 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 FAQ Roundup Can we use off the shelf tires or do we have to make our own? Off the shelf tires are fine so long as ou aren t using a rubber wheel that is 100% tire. Can we use Lego shafts? Sure but wh would ou want to? Can we use Arduino/RaspPi/Raspduino? Yes but I won t respect ou in the morning. Wasn t there supposed to be a doodle poll for lecture topics? Yeah about that 11

12 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 Lecture nominations Onl one person nominated a topic This presentation is therefore on that topic. Future topic polls will be conducted in class He let s do that now! 12 Blorchnote: Please take an informal poll of the students as to what topics the would like to hear about if no consensus let them know that coffee+q&a is often ver helpful too nice if the topics are eas to teach!

13 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 Demos The first preliminar demonstration round runs net week Mark cap at 25 per cent. One demo attempt per team (in this round) If ou are read to test our car contact me now so I can arrange things. Bookings must be made b 5pm Frida. 13

14 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 Back to business And now a special guest 14

15 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 Special guest lecture Featuring 15

16 Perception / Computer Vision What s an object? METR 4202: Advanced Control & Robotics Dr Sura Singh Lecture # 7 September metr4202@itee.uq.edu.au School of Information Technolog and Electrical Engineering at the Universit of Queensland RoboticsCourseWare Contributor

17 Features Colour Corners Edges Lines Statistics on Edges: SIFT SURF METR 4202: Robotics 10 April

18 Features -- Colour Features Baer Patterns Fig: Ch. 10 Robotics Vision and Control METR 4202: Robotics April

19 Colour Spaces HSV YCrCb Gamma Corrected Luma (Y) + Chrominance BW Colour TVs : Just add the Chrominance γ Correction: CRTs γ= Source: Wikipedia HSV and YCrCb METR 4202: Robotics April

20 Edge Detection Cann edge detector: Fig: Ch. 10 Robotics Vision and Control METR 4202: Robotics 10 April

21 Edge Detection Cann edge detector: METR 4202: Robotics 10 April

22 Line Etraction and Segmentation Adopted from Williams Fitch and Singh MTRX 4700 METR 4202: Robotics 10 April

23 Line Formula Adopted from Williams Fitch and Singh MTRX 4700 METR 4202: Robotics 10 April

24 Line Estimation Least squares minimization of the line: Line Equation: Error in Fit: Solution: Adopted from Williams Fitch and Singh MTRX 4700 METR 4202: Robotics 10 April

25 Line Splitting / Segmentation What about corners? Split into multiple lines (via epectation maimization) 1. Epect (assume) a number of lines N (sa 3) 2. Find breakpoints b finding nearest neighbours upto a threshold or simpl at random (RANSAC) 3. How to know N? (Also RANSAC) Adopted from Williams Fitch and Singh MTRX 4700 METR 4202: Robotics 10 April

26 of a Point from a Line Segment d D Adopted from Williams Fitch and Singh MTRX 4700 METR 4202: Robotics April

27 Hough Transform Uses a voting mechanism Can be used for other lines and shapes (not just straight lines) METR 4202: Robotics 10 April

28 Hough Transform: Voting Space Count the number of lines that can go through a point and move it from the - plane to the a-b plane There is onl a one- infinite number (a line!) of solutions (not a two- infinite set a plane) METR 4202: Robotics 10 April

29 Hough Transform: Voting Space In practice the polar form is often used This avoids problems with lines that are nearl vertical METR 4202: Robotics 10 April

30 Hough Transform: Algorithm 1. Quantize the parameter space appropriatel. 2. Assume that each cell in the parameter space is an accumulator. Initialize all cells to zero. 3. For each point () in the (visual & range) image space increment b 1 each of the accumulators that satisf the equation. 4. Maima in the accumulator arra correspond to the parameters of model instances. METR 4202: Robotics 10 April

31 Line Detection Hough Lines [1] A line in an image can be epressed as two variables: Cartesian coordinate sstem: mb Polar coordinate sstem: r θ avoids problems with vert. lines =m+b For each point ( 1 1 ) we can write: Each pair (rθ) represents a line that passes through ( 1 1 ) See also OpenCV documentation (cv::houghlines) METR 4202: Robotics 10 April

32 Line Detection Hough Lines [2] Thus a given point gives a sinusoid Repeating for all points on the image See also OpenCV documentation (cv::houghlines) METR 4202: Robotics 10 April

33 Line Detection Hough Lines [3] Thus a given point gives a sinusoid Repeating for all points on the image NOTE that an intersection of sinusoids represents (a point) represents a line in which piel points la. Thus a line can be detected b finding the number of Intersections between curves See also OpenCV documentation (cv::houghlines) METR 4202: Robotics 10 April

34 Stereo: Epipolar geometr Match features along epipolar lines epipolar line epipolar plane viewing ra Slide from Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

35 Stereo: epipolar geometr for two images (or images with collinear camera centers) can find epipolar lines epipolar lines are the projection of the pencil of planes passing through the centers Rectification: warping the input images (perspective transformation) so that epipolar lines are horizontal Slide from Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

36 Rectification Project each image onto same plane which is parallel to the epipole Resample lines (and shear/stretch) to place lines in correspondence and minimize distortion [Zhang and Loop MSR-TR-99-21] Slide from Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

37 Rectification BAD! Slide from Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics April

38 Rectification GOOD! Slide from Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics April

39 Matching criteria Raw piel values (correlation) Band-pass filtered images [Jones & Malik 92] Corner like features [Zhang ] Edges [man people ] Gradients [Seitz 89; Scharstein 94] Rank statistics [Zabih & Woodfill 94] Slide from Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

40 Finding correspondences Appl feature matching criterion (e.g. correlation or Lucas-Kanade) at all piels simultaneousl Search onl over epipolar lines (man fewer candidate positions) Slide from Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

41 Image registration (revisited) How do we determine correspondences? block matching or SSD (sum squared differences) d is the disparit (horizontal motion) How big should the neighborhood be? Slide from Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

42 Neighborhood size Smaller neighborhood: more details Larger neighborhood: fewer isolated mistakes w = 3 w = 20 Slide from Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

43 Stereo: certaint modeling Compute certaint map from correlations input depth map certaint map METR 4202: Robotics 10 April

44 Plane Sweep Stereo Sweep famil of planes through volume projective re-sampling of (XYZ) input image composite virtual camera each plane defines an image composite homograph METR 4202: Robotics 10 April

45 Plane sweep stereo Re-order (piel / disparit) evaluation loops for ever piel for ever disparit compute cost for ever disparit for ever piel compute cost METR 4202: Robotics 10 April

46 Stereo matching framework For ever disparit compute raw matching costs Wh use a robust function? occlusions other outliers Can also use alternative match criteria METR 4202: Robotics 10 April

47 Stereo matching framework Aggregate costs spatiall Here we are using a bo filter (efficient moving average implementation) Can also use weighted average [non-linear] diffusion METR 4202: Robotics 10 April

48 Stereo matching framework Choose winning disparit at each piel Interpolate to sub-piel accurac E(d) d* d METR 4202: Robotics 10 April

49 Traditional Stereo Matching Advantages: gives detailed surface estimates fast algorithms based on moving averages sub-piel disparit estimates and confidence Limitations: narrow baseline nois estimates fails in tetureless areas gets confused near occlusion boundaries METR 4202: Robotics 10 April

50 Stereo with Non-Linear Diffusion Problem with traditional approach: gets confused near discontinuities New approach: use iterative (non-linear) aggregation to obtain better estimate provabl equivalent to mean-field estimate of Markov Random Field METR 4202: Robotics 10 April

51 Feature-based stereo Match corner (interest) points Interpolate complete solution Slide from Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

52 Cool Robotics Share D. Wedge The Fundamental Matri Song METR 4202: Robotics 10 April

53 Edge Detection Cann edge detector: Pepsi Sequence: Image Data: and Szeliski CS223B-L9 See also: Use of Temporal information to aid segmentation: METR 4202: Robotics 10 April

54 Wh etract features? Object detection Robot Navigation Scene Recognition Steps: Etract Features Match Features Adopted drom S. Lazebnik Gang Hua (CS 558) METR 4202: Robotics 10 April

55 Wh etract features? [2] Panorama stitching Step 3: Align images (see: Hartle & Zisserman Multiple View Geometr) Adopted from S. Lazebnik Gang Hua (CS 558) METR 4202: Robotics 10 April

56 Characteristics of good features Repeatabilit The same feature can be found in several images despite geometric and photometric transformations Salienc Each feature is distinctive Compactness and efficienc Man fewer features than image piels Localit A feature occupies a relativel small area of the image; robust to clutter and occlusion Adopted from S. Lazebnik Gang Hua (CS 558) METR 4202: Robotics 10 April

57 Finding Corners Ke propert: in the region around a corner image gradient has two or more dominant directions Corners are repeatable and distinctive C.Harris and M.Stephens. "A Combined Corner and Edge Detector. Proceedings of the 4th Alve Vision Conference: pages Adopted from S. Lazebnik Gang Hua (CS 558) METR 4202: Robotics 10 April

58 Corner Detection: Basic Idea Look through a window Shifting a window in an direction should give a large change in intensit flat region: no change in all directions Source: A. Efros edge : no change along the edge direction corner : significant change in all directions METR 4202: Robotics 10 April

59 Corner Detection: Mathematics Change in appearance of window w() for the shift [uv]: E( u v) w( ) I( u v) I( ) 2 I( ) E(u v) E(32) Adopted from S. Lazebnik Gang Hua (CS 558) w( ) METR 4202: Robotics 10 April

60 Corner Detection: Mathematics Change in appearance of window w() for the shift [uv]: E( u v) w( ) I( u v) I( ) 2 I( ) E(u v) E(00) Adopted from S. Lazebnik Gang Hua (CS 558) w( ) METR 4202: Robotics 10 April

61 Corner Detection: Mathematics Change in appearance of window w() for the shift [uv]: E( u v) w( ) I( u v) I( ) 2 Window function Shifted intensit Intensit Window function w() = or Adopted from S. Lazebnik Gang Hua (CS 558) 1 in window 0 outside Gaussian Source: 10 April R Szeliski - METR 4202: Robotics 61

62 Corner Detection: Mathematics Change in appearance of window w() for the shift [uv]: E( u v) w( ) I( u v) I( ) 2 We want to find out how this function behaves for small shifts E(u v) Adopted from S. Lazebnik Gang Hua (CS 558) METR 4202: Robotics 10 April

63 Corner Detection: Mathematics Change in appearance of window w() for the shift [uv]: E( u v) w( ) I( u v) I( ) We want to find out how this function behaves for small shifts E( u v) E(00) Eu (00) [ u v] E (00) v 1 E [ u v] 2 E uu uv (00) (00) E E uv vv (00) (00) u v 2 Local quadratic approimation of E(uv) in the neighborhood of (00) is given b the second-order Talor epansion: Adopted from S. Lazebnik Gang Hua (CS 558) METR 4202: Robotics 10 April

64 Corner Detection: Mathematics v u E E E E v u E E v u E v u E vv uv uv uu v u (00) (00) (00) (00) ] [ 2 1 (00) (00) ] [ (00) ) ( 2 ( ) ( ) ( ) ( ) E u v w I u v I Second-order Talor epansion of E(uv) about (00): ) ( ) ( ) ( ) ( 2 ) ( ) ( ) ( 2 ) ( ) ( ) ( ) ( ) ( 2 ) ( ) ( ) ( 2 ) ( ) ( ) ( ) ( ) ( 2 ) ( v u I I v u I w v u I v u I w v u E v u I I v u I w v u I v u I w v u E v u I I v u I w v u E uv uu u 10 April METR 4202: Robotics 64 Adopted from S. Lazebnik Gang Hua (CS 558)

65 Corner Detection: Mathematics v u I w I I w I I w I w v u v u E 2 2 ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ] [ ) ( 2 ( ) ( ) ( ) ( ) E u v w I u v I Second-order Talor epansion of E(uv) about (00): ) ( ) ( ) ( 2 (00) ) ( ) ( ) ( 2 (00) ) ( ) ( ) ( 2 (00) 0 (00) 0 (00) 0 (00) I I w E I I w E I I w E E E E uv vv uu v u 10 April METR 4202: Robotics 65 Adopted from S. Lazebnik Gang Hua (CS 558)

66 Harris detector: Steps Compute Gaussian derivatives at each piel Compute second moment matri M in a Gaussian window around each piel Compute corner response function R Threshold R Find local maima of response function (nonmaimum suppression) C.Harris and M.Stephens. A Combined Corner and Edge Detector. Proceedings of the 4th Alve Vision Conference: pages Adopted from S. Lazebnik Gang Hua (CS 558) METR 4202: Robotics 10 April

67 Harris Detector: Steps Adopted from S. Lazebnik Gang Hua (CS 558) METR 4202: Robotics April

68 Harris Detector: Steps Compute corner response R Adopted from S. Lazebnik Gang Hua (CS 558) METR 4202: Robotics April

69 Harris Detector: Steps Find points with large corner response: R>threshold Adopted from S. Lazebnik Gang Hua (CS 558) METR 4202: Robotics April

70 Harris Detector: Steps Take onl the points of local maima of R Adopted from S. Lazebnik Gang Hua (CS 558) METR 4202: Robotics April

71 Harris Detector: Steps Adopted from S. Lazebnik Gang Hua (CS 558) METR 4202: Robotics April

72 Invariance and covariance We want corner locations to be invariant to photometric transformations and covariant to geometric transformations Invariance: image is transformed and corner locations do not change Covariance: if we have two transformed versions of the same image features should be detected in corresponding locations Adopted from S. Lazebnik Gang Hua (CS 558) METR 4202: Robotics 10 April

73 RANdom SAmple Consensus 1. Repeatedl select a small (minimal) subset of correspondences 2. Estimate a solution (in this case a the line) 3. Count the number of inliers e <Θ (for LMS estimate med( e ) 4. Pick the best subset of inliers 5. Find a complete least-squares solution Related to least median squares See also: MAPSAC (Maimum A Posteriori SAmple Consensus) From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 September

74 Cool Robotics Share (this week) D. Wedge The RANSAC Song METR 4202: Robotics 10 April

75 Scale Invariant Feature Transform Basic idea: Take 1616 square window around detected feature Compute edge orientation (angle of the gradient - 90 ) for each piel Throw out weak edges (threshold gradient magnitude) Create histogram of surviving edge orientations 0 2 angle histogram Adapted from slide b David Lowe METR 4202: Robotics 10 April

76 SIFT descriptor Full version Divide the 1616 window into a 44 grid of cells (22 case shown below) Compute an orientation histogram for each cell 16 cells * 8 orientations = 128 dimensional descriptor Adapted from slide b David Lowe METR 4202: Robotics 10 April

77 Properties of SIFT Etraordinaril robust matching technique Can handle changes in viewpoint Up to about 60 degree out of plane rotation Can handle significant changes in illumination Sometimes even da vs. night (below) Fast and efficient can run in real time Lots of code available From David Lowe and Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

78 Cool Robotics Share Source: Youtube: Wired How the Tesla Model S is Made METR 4202: Robotics 10 April

79 Feature matching Given a feature in I 1 how to find the best match in I 2? 1. Define distance function that compares two descriptors 2. Test all the features in I 2 find the one with min distance From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

80 Feature distance How to define the difference between two features f 1 f 2? Simple approach is SSD(f 1 f 2 ) sum of square differences between entries of the two descriptors can give good scores to ver ambiguous (bad) matches f 1 f 2 I 1 I 2 From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

81 Feature distance How to define the difference between two features f 1 f 2? Better approach: ratio distance = SSD(f 1 f 2 ) / SSD(f 1 f 2 ) f 2 is best SSD match to f 1 in I 2 f 2 is 2 nd best SSD match to f 1 in I 2 gives small values for ambiguous matches f 1 f f ' 2 2 I 1 I 2 From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

82 Evaluating the results How can we measure the performance of a feature matcher? feature distance From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

83 True/false positives true match 200 false match The distance threshold affects performance feature distance True positives = # of detected matches that are correct Suppose we want to maimize these how to choose threshold? False positives = # of detected matches that are incorrect Suppose we want to minimize these how to choose threshold? From Szeliski Computer Vision: Algorithms and Applications

84 Camera calibration Determine camera parameters from known 3D points or calibration object(s) internal or intrinsic parameters such as focal length optical center aspect ratio: what kind of camera? eternal or etrinsic (pose) parameters: where is the camera? How can we do this? From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

85 Camera calibration approaches Possible approaches: linear regression (least squares) non-linear optimization vanishing points multiple planar patterns panoramas (rotational motion) From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

86 Image formation equations (X c Y c Z c ) f u c u From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

87 Calibration matri Is this form of K good enough? non-square piels (digital video) skew radial distortion From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

88 Levenberg-Marquardt Iterative non-linear least squares [Press 92] Linearize measurement equations Substitute into log-likelihood equation: quadratic cost function in Dm From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

89 Levenberg-Marquardt What if it doesn t converge? Multipl diagonal b (1 + l) increase l until it does Halve the step size Dm (m favorite) Use line search Other ideas? Uncertaint analsis: covariance S = A-1 Is maimum likelihood the best idea? How to start in vicinit of global minimum? From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

90 Camera matri calibration Advantages: ver simple to formulate and solve can recover K [R t] from M using QR decomposition [Golub & VanLoan 96] Disadvantages: doesn't compute internal parameters more unknowns than true degrees of freedom need a separate camera matri for each new view From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

91 Multi-plane calibration Use several images of planar target held at unknown orientations [Zhang 99] Compute plane homographies Solve for K-TK-1 from Hk s 1plane if onl f unknown 2 planes if (fucvc) unknown 3+ planes for full K Code available from Zhang and OpenCV From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

92 Rotational motion Use pure rotation (large scene) to estimate f estimate f from pairwise homographies re-estimate f from 360º gap optimize over all {KRj} parameters [Stein 95; Hartle 97; Shum & Szeliski 00; Kang & Weiss 99] f=510 f=468 Most accurate wa to get f short of surveing distant points From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

93 SFM: Structure from Motion (& Cool Robotics Share (this week)) METR 4202: Robotics 10 April

94 Structure [from] Motion Given a set of feature tracks estimate the 3D structure and 3D (camera) motion. Assumption: orthographic projection Tracks: (u fp v fp ) f: frame p: point Subtract out mean 2D position i f : rotation s p : position From Szeliski Computer Vision: Algorithms and Applications

95 Structure from motion How man points do we need to match? 2 frames: (Rt): 5 dof + 3n point locations 4n point measurements n 5 k frames: 6(k 1)-1 + 3n 2kn alwas want to use man more From Szeliski Computer Vision: Algorithms and Applications METR 4202: Robotics 10 April

96 Measurement equations Measurement equations u fp = i T f s p i f : rotation s p : position v fp = j T f s p Stack them up W = R S R = (i 1 i F j 1 j F ) T S = (s 1 s P ) From Szeliski Computer Vision: Algorithms and Applications

97 Factorization W = R 2F 3 S 3 P SVD W = U Λ V Λ must be rank 3 W = (U Λ 1/2 )(Λ 1/2 V) = U V Make R orthogonal R = QU S = Q -1 V i ft Q T Qi f = 1 From Szeliski Computer Vision: Algorithms and Applications

98 Results Look at paper figures From Szeliski Computer Vision: Algorithms and Applications

99 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 Questions? 106

100 METR4810 Mechatronics Team Project 2 Paul Pounds 8 April 2014 Tune-in net time for <Class voted topic here>! or When we switch to Q&A we can get coffee. Fun fact: Mathematical models predict the Blorch will overwhelm all of humanit some time in

Robot Sensing & Perception. METR 4202: Advanced Control & Robotics. Date Lecture (W: 11:10-12:40, ) 30-Jul Introduction 6-Aug

Robot Sensing & Perception. METR 4202: Advanced Control & Robotics. Date Lecture (W: 11:10-12:40, ) 30-Jul Introduction 6-Aug Robot Sensing & Perception Seeing is forgetting the name of what one sees L. Weschler METR 4202: Advanced Control & Robotics Dr Sura Singh -- Lecture # 6 September 3 2014 metr4202@itee.uq.edu.au http://robotics.itee.uq.edu.au/~metr4202/

More information

CS4670: Computer Vision

CS4670: Computer Vision CS4670: Computer Vision Noah Snavely Lecture 6: Feature matching and alignment Szeliski: Chapter 6.1 Reading Last time: Corners and blobs Scale-space blob detector: Example Feature descriptors We know

More information

Midterm Wed. Local features: detection and description. Today. Last time. Local features: main components. Goal: interest operator repeatability

Midterm Wed. Local features: detection and description. Today. Last time. Local features: main components. Goal: interest operator repeatability Midterm Wed. Local features: detection and description Monday March 7 Prof. UT Austin Covers material up until 3/1 Solutions to practice eam handed out today Bring a 8.5 11 sheet of notes if you want Review

More information

Harder case. Image matching. Even harder case. Harder still? by Diva Sian. by swashford

Harder case. Image matching. Even harder case. Harder still? by Diva Sian. by swashford Image matching Harder case by Diva Sian by Diva Sian by scgbt by swashford Even harder case Harder still? How the Afghan Girl was Identified by Her Iris Patterns Read the story NASA Mars Rover images Answer

More information

Harder case. Image matching. Even harder case. Harder still? by Diva Sian. by swashford

Harder case. Image matching. Even harder case. Harder still? by Diva Sian. by swashford Image matching Harder case by Diva Sian by Diva Sian by scgbt by swashford Even harder case Harder still? How the Afghan Girl was Identified by Her Iris Patterns Read the story NASA Mars Rover images Answer

More information

Image matching. Announcements. Harder case. Even harder case. Project 1 Out today Help session at the end of class. by Diva Sian.

Image matching. Announcements. Harder case. Even harder case. Project 1 Out today Help session at the end of class. by Diva Sian. Announcements Project 1 Out today Help session at the end of class Image matching by Diva Sian by swashford Harder case Even harder case How the Afghan Girl was Identified by Her Iris Patterns Read the

More information

Computer Vision Lecture 20

Computer Vision Lecture 20 Computer Vision Lecture 2 Motion and Optical Flow Bastian Leibe RWTH Aachen http://www.vision.rwth-aachen.de leibe@vision.rwth-aachen.de 28.1.216 Man slides adapted from K. Grauman, S. Seitz, R. Szeliski,

More information

Final Exam Study Guide

Final Exam Study Guide Final Exam Study Guide Exam Window: 28th April, 12:00am EST to 30th April, 11:59pm EST Description As indicated in class the goal of the exam is to encourage you to review the material from the course.

More information

EE795: Computer Vision and Intelligent Systems

EE795: Computer Vision and Intelligent Systems EE795: Computer Vision and Intelligent Systems Spring 2012 TTh 17:30-18:45 FDH 204 Lecture 12 130228 http://www.ee.unlv.edu/~b1morris/ecg795/ 2 Outline Review Panoramas, Mosaics, Stitching Two View Geometry

More information

EECS 556 Image Processing W 09

EECS 556 Image Processing W 09 EECS 556 Image Processing W 09 Motion estimation Global vs. Local Motion Block Motion Estimation Optical Flow Estimation (normal equation) Man slides of this lecture are courtes of prof Milanfar (UCSC)

More information

Wikipedia - Mysid

Wikipedia - Mysid Wikipedia - Mysid Erik Brynjolfsson, MIT Filtering Edges Corners Feature points Also called interest points, key points, etc. Often described as local features. Szeliski 4.1 Slides from Rick Szeliski,

More information

CS 2770: Intro to Computer Vision. Multiple Views. Prof. Adriana Kovashka University of Pittsburgh March 14, 2017

CS 2770: Intro to Computer Vision. Multiple Views. Prof. Adriana Kovashka University of Pittsburgh March 14, 2017 CS 277: Intro to Computer Vision Multiple Views Prof. Adriana Kovashka Universit of Pittsburgh March 4, 27 Plan for toda Affine and projective image transformations Homographies and image mosaics Stereo

More information

EE795: Computer Vision and Intelligent Systems

EE795: Computer Vision and Intelligent Systems EE795: Computer Vision and Intelligent Systems Spring 2012 TTh 17:30-18:45 FDH 204 Lecture 14 130307 http://www.ee.unlv.edu/~b1morris/ecg795/ 2 Outline Review Stereo Dense Motion Estimation Translational

More information

Automatic Image Alignment (feature-based)

Automatic Image Alignment (feature-based) Automatic Image Alignment (feature-based) Mike Nese with a lot of slides stolen from Steve Seitz and Rick Szeliski 15-463: Computational Photography Alexei Efros, CMU, Fall 2006 Today s lecture Feature

More information

Image Features: Local Descriptors. Sanja Fidler CSC420: Intro to Image Understanding 1/ 58

Image Features: Local Descriptors. Sanja Fidler CSC420: Intro to Image Understanding 1/ 58 Image Features: Local Descriptors Sanja Fidler CSC420: Intro to Image Understanding 1/ 58 [Source: K. Grauman] Sanja Fidler CSC420: Intro to Image Understanding 2/ 58 Local Features Detection: Identify

More information

Feature descriptors and matching

Feature descriptors and matching Feature descriptors and matching Detections at multiple scales Invariance of MOPS Intensity Scale Rotation Color and Lighting Out-of-plane rotation Out-of-plane rotation Better representation than color:

More information

Epipolar Constraint. Epipolar Lines. Epipolar Geometry. Another look (with math).

Epipolar Constraint. Epipolar Lines. Epipolar Geometry. Another look (with math). Epipolar Constraint Epipolar Lines Potential 3d points Red point - fied => Blue point lies on a line There are 3 degrees of freedom in the position of a point in space; there are four DOF for image points

More information

Fitting a transformation: Feature-based alignment April 30 th, Yong Jae Lee UC Davis

Fitting a transformation: Feature-based alignment April 30 th, Yong Jae Lee UC Davis Fitting a transformation: Feature-based alignment April 3 th, 25 Yong Jae Lee UC Davis Announcements PS2 out toda; due 5/5 Frida at :59 pm Color quantization with k-means Circle detection with the Hough

More information

Local features: detection and description May 12 th, 2015

Local features: detection and description May 12 th, 2015 Local features: detection and description May 12 th, 2015 Yong Jae Lee UC Davis Announcements PS1 grades up on SmartSite PS1 stats: Mean: 83.26 Standard Dev: 28.51 PS2 deadline extended to Saturday, 11:59

More information

Local features: detection and description. Local invariant features

Local features: detection and description. Local invariant features Local features: detection and description Local invariant features Detection of interest points Harris corner detection Scale invariant blob detection: LoG Description of local patches SIFT : Histograms

More information

Scale Invariant Feature Transform (SIFT) CS 763 Ajit Rajwade

Scale Invariant Feature Transform (SIFT) CS 763 Ajit Rajwade Scale Invariant Feature Transform (SIFT) CS 763 Ajit Rajwade What is SIFT? It is a technique for detecting salient stable feature points in an image. For ever such point it also provides a set of features

More information

Local Patch Descriptors

Local Patch Descriptors Local Patch Descriptors Slides courtesy of Steve Seitz and Larry Zitnick CSE 803 1 How do we describe an image patch? How do we describe an image patch? Patches with similar content should have similar

More information

Image Features. Work on project 1. All is Vanity, by C. Allan Gilbert,

Image Features. Work on project 1. All is Vanity, by C. Allan Gilbert, Image Features Work on project 1 All is Vanity, by C. Allan Gilbert, 1873-1929 Feature extrac*on: Corners and blobs c Mo*va*on: Automa*c panoramas Credit: Ma9 Brown Why extract features? Mo*va*on: panorama

More information

Feature extraction: Corners Harris Corners Pkwy, Charlotte, NC

Feature extraction: Corners Harris Corners Pkwy, Charlotte, NC Featre etraction: Corners 9300 Harris Corners Pkw Charlotte NC Wh etract featres? Motiation: panorama stitching We hae two images how do we combine them? Wh etract featres? Motiation: panorama stitching

More information

Local features and image matching. Prof. Xin Yang HUST

Local features and image matching. Prof. Xin Yang HUST Local features and image matching Prof. Xin Yang HUST Last time RANSAC for robust geometric transformation estimation Translation, Affine, Homography Image warping Given a 2D transformation T and a source

More information

Computer Vision Lecture 17

Computer Vision Lecture 17 Computer Vision Lecture 17 Epipolar Geometry & Stereo Basics 13.01.2015 Bastian Leibe RWTH Aachen http://www.vision.rwth-aachen.de leibe@vision.rwth-aachen.de Announcements Seminar in the summer semester

More information

CS5670: Computer Vision

CS5670: Computer Vision CS5670: Computer Vision Noah Snavely Lecture 4: Harris corner detection Szeliski: 4.1 Reading Announcements Project 1 (Hybrid Images) code due next Wednesday, Feb 14, by 11:59pm Artifacts due Friday, Feb

More information

Computer Vision Lecture 17

Computer Vision Lecture 17 Announcements Computer Vision Lecture 17 Epipolar Geometry & Stereo Basics Seminar in the summer semester Current Topics in Computer Vision and Machine Learning Block seminar, presentations in 1 st week

More information

Local Features: Detection, Description & Matching

Local Features: Detection, Description & Matching Local Features: Detection, Description & Matching Lecture 08 Computer Vision Material Citations Dr George Stockman Professor Emeritus, Michigan State University Dr David Lowe Professor, University of British

More information

Transformations Between Two Images. Translation Rotation Rigid Similarity (scaled rotation) Affine Projective Pseudo Perspective Bi linear

Transformations Between Two Images. Translation Rotation Rigid Similarity (scaled rotation) Affine Projective Pseudo Perspective Bi linear Transformations etween Two Images Translation Rotation Rigid Similarit (scaled rotation) ffine Projective Pseudo Perspective i linear Fundamental Matri Lecture 13 pplications Stereo Structure from Motion

More information

Fundamental Matrix. Lecture 13

Fundamental Matrix. Lecture 13 Fundamental Matri Lecture 13 Transformations etween Two Images Translation Rotation Rigid Similarit (scaled rotation) ffine Projective Pseudo Perspective i linear pplications Stereo Structure from Motion

More information

Object Recognition with Invariant Features

Object Recognition with Invariant Features Object Recognition with Invariant Features Definition: Identify objects or scenes and determine their pose and model parameters Applications Industrial automation and inspection Mobile robots, toys, user

More information

Computational Optical Imaging - Optique Numerique. -- Multiple View Geometry and Stereo --

Computational Optical Imaging - Optique Numerique. -- Multiple View Geometry and Stereo -- Computational Optical Imaging - Optique Numerique -- Multiple View Geometry and Stereo -- Winter 2013 Ivo Ihrke with slides by Thorsten Thormaehlen Feature Detection and Matching Wide-Baseline-Matching

More information

An edge is not a line... Edge Detection. Finding lines in an image. Finding lines in an image. How can we detect lines?

An edge is not a line... Edge Detection. Finding lines in an image. Finding lines in an image. How can we detect lines? Edge Detection An edge is not a line... original image Cann edge detector Compute image derivatives if gradient magnitude > τ and the value is a local maimum along gradient direction piel is an edge candidate

More information

Local invariant features

Local invariant features Local invariant features Tuesday, Oct 28 Kristen Grauman UT-Austin Today Some more Pset 2 results Pset 2 returned, pick up solutions Pset 3 is posted, due 11/11 Local invariant features Detection of interest

More information

EE795: Computer Vision and Intelligent Systems

EE795: Computer Vision and Intelligent Systems EE795: Computer Vision and Intelligent Systems Spring 2012 TTh 17:30-18:45 FDH 204 Lecture 10 130221 http://www.ee.unlv.edu/~b1morris/ecg795/ 2 Outline Review Canny Edge Detector Hough Transform Feature-Based

More information

CS 558: Computer Vision 3 rd Set of Notes

CS 558: Computer Vision 3 rd Set of Notes 1 CS 558: Computer Vision 3 rd Set of Notes Instructor: Philippos Mordohai Webpage: www.cs.stevens.edu/~mordohai E-mail: Philippos.Mordohai@stevens.edu Office: Lieb 215 Overview Denoising Based on slides

More information

CS231A Midterm Review. Friday 5/6/2016

CS231A Midterm Review. Friday 5/6/2016 CS231A Midterm Review Friday 5/6/2016 Outline General Logistics Camera Models Non-perspective cameras Calibration Single View Metrology Epipolar Geometry Structure from Motion Active Stereo and Volumetric

More information

Automatic Image Alignment

Automatic Image Alignment Automatic Image Alignment with a lot of slides stolen from Steve Seitz and Rick Szeliski Mike Nese CS194: Image Manipulation & Computational Photography Alexei Efros, UC Berkeley, Fall 2018 Live Homography

More information

CS664 Lecture #19: Layers, RANSAC, panoramas, epipolar geometry

CS664 Lecture #19: Layers, RANSAC, panoramas, epipolar geometry CS664 Lecture #19: Layers, RANSAC, panoramas, epipolar geometry Some material taken from: David Lowe, UBC Jiri Matas, CMP Prague http://cmp.felk.cvut.cz/~matas/papers/presentations/matas_beyondransac_cvprac05.ppt

More information

Photo by Carl Warner

Photo by Carl Warner Photo b Carl Warner Photo b Carl Warner Photo b Carl Warner Fitting and Alignment Szeliski 6. Computer Vision CS 43, Brown James Has Acknowledgment: Man slides from Derek Hoiem and Grauman&Leibe 2008 AAAI

More information

Stereo and Epipolar geometry

Stereo and Epipolar geometry Previously Image Primitives (feature points, lines, contours) Today: Stereo and Epipolar geometry How to match primitives between two (multiple) views) Goals: 3D reconstruction, recognition Jana Kosecka

More information

Multi-stable Perception. Necker Cube

Multi-stable Perception. Necker Cube Multi-stable Perception Necker Cube Spinning dancer illusion, Nobuyuki Kayahara Multiple view geometry Stereo vision Epipolar geometry Lowe Hartley and Zisserman Depth map extraction Essential matrix

More information

Mosaics. Today s Readings

Mosaics. Today s Readings Mosaics VR Seattle: http://www.vrseattle.com/ Full screen panoramas (cubic): http://www.panoramas.dk/ Mars: http://www.panoramas.dk/fullscreen3/f2_mars97.html Today s Readings Szeliski and Shum paper (sections

More information

3D Photography: Epipolar geometry

3D Photography: Epipolar geometry 3D Photograph: Epipolar geometr Kalin Kolev, Marc Pollefes Spring 203 http://cvg.ethz.ch/teaching/203spring/3dphoto/ Schedule (tentative) Feb 8 Feb 25 Mar 4 Mar Mar 8 Mar 25 Apr Apr 8 Apr 5 Apr 22 Apr

More information

CSE 252B: Computer Vision II

CSE 252B: Computer Vision II CSE 252B: Computer Vision II Lecturer: Serge Belongie Scribes: Jeremy Pollock and Neil Alldrin LECTURE 14 Robust Feature Matching 14.1. Introduction Last lecture we learned how to find interest points

More information

Feature Detectors and Descriptors: Corners, Lines, etc.

Feature Detectors and Descriptors: Corners, Lines, etc. Feature Detectors and Descriptors: Corners, Lines, etc. Edges vs. Corners Edges = maxima in intensity gradient Edges vs. Corners Corners = lots of variation in direction of gradient in a small neighborhood

More information

Edge and corner detection

Edge and corner detection Edge and corner detection Prof. Stricker Doz. G. Bleser Computer Vision: Object and People Tracking Goals Where is the information in an image? How is an object characterized? How can I find measurements

More information

BSB663 Image Processing Pinar Duygulu. Slides are adapted from Selim Aksoy

BSB663 Image Processing Pinar Duygulu. Slides are adapted from Selim Aksoy BSB663 Image Processing Pinar Duygulu Slides are adapted from Selim Aksoy Image matching Image matching is a fundamental aspect of many problems in computer vision. Object or scene recognition Solving

More information

Visual motion. Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys

Visual motion. Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys Visual motion Man slides adapted from S. Seitz, R. Szeliski, M. Pollefes Motion and perceptual organization Sometimes, motion is the onl cue Motion and perceptual organization Sometimes, motion is the

More information

Automatic Image Alignment

Automatic Image Alignment Automatic Image Alignment Mike Nese with a lot of slides stolen from Steve Seitz and Rick Szeliski 15-463: Computational Photography Alexei Efros, CMU, Fall 2010 Live Homography DEMO Check out panoramio.com

More information

Epipolar Geometry and Stereo Vision

Epipolar Geometry and Stereo Vision Epipolar Geometry and Stereo Vision Computer Vision Jia-Bin Huang, Virginia Tech Many slides from S. Seitz and D. Hoiem Last class: Image Stitching Two images with rotation/zoom but no translation. X x

More information

Feature Based Registration - Image Alignment

Feature Based Registration - Image Alignment Feature Based Registration - Image Alignment Image Registration Image registration is the process of estimating an optimal transformation between two or more images. Many slides from Alexei Efros http://graphics.cs.cmu.edu/courses/15-463/2007_fall/463.html

More information

MAN-522: COMPUTER VISION SET-2 Projections and Camera Calibration

MAN-522: COMPUTER VISION SET-2 Projections and Camera Calibration MAN-522: COMPUTER VISION SET-2 Projections and Camera Calibration Image formation How are objects in the world captured in an image? Phsical parameters of image formation Geometric Tpe of projection Camera

More information

Local Feature Detectors

Local Feature Detectors Local Feature Detectors Selim Aksoy Department of Computer Engineering Bilkent University saksoy@cs.bilkent.edu.tr Slides adapted from Cordelia Schmid and David Lowe, CVPR 2003 Tutorial, Matthew Brown,

More information

Application questions. Theoretical questions

Application questions. Theoretical questions The oral exam will last 30 minutes and will consist of one application question followed by two theoretical questions. Please find below a non exhaustive list of possible application questions. The list

More information

Determining the 2d transformation that brings one image into alignment (registers it) with another. And

Determining the 2d transformation that brings one image into alignment (registers it) with another. And Last two lectures: Representing an image as a weighted combination of other images. Toda: A different kind of coordinate sstem change. Solving the biggest problem in using eigenfaces? Toda Recognition

More information

Image correspondences and structure from motion

Image correspondences and structure from motion Image correspondences and structure from motion http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2017, Lecture 20 Course announcements Homework 5 posted.

More information

Camera Geometry II. COS 429 Princeton University

Camera Geometry II. COS 429 Princeton University Camera Geometry II COS 429 Princeton University Outline Projective geometry Vanishing points Application: camera calibration Application: single-view metrology Epipolar geometry Application: stereo correspondence

More information

Computing F class 13. Multiple View Geometry. Comp Marc Pollefeys

Computing F class 13. Multiple View Geometry. Comp Marc Pollefeys Computing F class 3 Multiple View Geometr Comp 90-089 Marc Pollefes Multiple View Geometr course schedule (subject to change) Jan. 7, 9 Intro & motivation Projective D Geometr Jan. 4, 6 (no class) Projective

More information

Instance-level recognition

Instance-level recognition Instance-level recognition 1) Local invariant features 2) Matching and recognition with local features 3) Efficient visual search 4) Very large scale indexing Matching of descriptors Matching and 3D reconstruction

More information

Feature descriptors. Alain Pagani Prof. Didier Stricker. Computer Vision: Object and People Tracking

Feature descriptors. Alain Pagani Prof. Didier Stricker. Computer Vision: Object and People Tracking Feature descriptors Alain Pagani Prof. Didier Stricker Computer Vision: Object and People Tracking 1 Overview Previous lectures: Feature extraction Today: Gradiant/edge Points (Kanade-Tomasi + Harris)

More information

Homographies and RANSAC

Homographies and RANSAC Homographies and RANSAC Computer vision 6.869 Bill Freeman and Antonio Torralba March 30, 2011 Homographies and RANSAC Homographies RANSAC Building panoramas Phototourism 2 Depth-based ambiguity of position

More information

calibrated coordinates Linear transformation pixel coordinates

calibrated coordinates Linear transformation pixel coordinates 1 calibrated coordinates Linear transformation pixel coordinates 2 Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration with partial

More information

Image stitching. Digital Visual Effects Yung-Yu Chuang. with slides by Richard Szeliski, Steve Seitz, Matthew Brown and Vaclav Hlavac

Image stitching. Digital Visual Effects Yung-Yu Chuang. with slides by Richard Szeliski, Steve Seitz, Matthew Brown and Vaclav Hlavac Image stitching Digital Visual Effects Yung-Yu Chuang with slides by Richard Szeliski, Steve Seitz, Matthew Brown and Vaclav Hlavac Image stitching Stitching = alignment + blending geometrical registration

More information

Instance-level recognition part 2

Instance-level recognition part 2 Visual Recognition and Machine Learning Summer School Paris 2011 Instance-level recognition part 2 Josef Sivic http://www.di.ens.fr/~josef INRIA, WILLOW, ENS/INRIA/CNRS UMR 8548 Laboratoire d Informatique,

More information

CS223b Midterm Exam, Computer Vision. Monday February 25th, Winter 2008, Prof. Jana Kosecka

CS223b Midterm Exam, Computer Vision. Monday February 25th, Winter 2008, Prof. Jana Kosecka CS223b Midterm Exam, Computer Vision Monday February 25th, Winter 2008, Prof. Jana Kosecka Your name email This exam is 8 pages long including cover page. Make sure your exam is not missing any pages.

More information

Instance-level recognition

Instance-level recognition Instance-level recognition 1) Local invariant features 2) Matching and recognition with local features 3) Efficient visual search 4) Very large scale indexing Matching of descriptors Matching and 3D reconstruction

More information

CSE 527: Introduction to Computer Vision

CSE 527: Introduction to Computer Vision CSE 527: Introduction to Computer Vision Week 5 - Class 1: Matching, Stitching, Registration September 26th, 2017 ??? Recap Today Feature Matching Image Alignment Panoramas HW2! Feature Matches Feature

More information

Motion Estimation and Optical Flow Tracking

Motion Estimation and Optical Flow Tracking Image Matching Image Retrieval Object Recognition Motion Estimation and Optical Flow Tracking Example: Mosiacing (Panorama) M. Brown and D. G. Lowe. Recognising Panoramas. ICCV 2003 Example 3D Reconstruction

More information

Computational Optical Imaging - Optique Numerique. -- Single and Multiple View Geometry, Stereo matching --

Computational Optical Imaging - Optique Numerique. -- Single and Multiple View Geometry, Stereo matching -- Computational Optical Imaging - Optique Numerique -- Single and Multiple View Geometry, Stereo matching -- Autumn 2015 Ivo Ihrke with slides by Thorsten Thormaehlen Reminder: Feature Detection and Matching

More information

Today s lecture. Image Alignment and Stitching. Readings. Motion models

Today s lecture. Image Alignment and Stitching. Readings. Motion models Today s lecture Image Alignment and Stitching Computer Vision CSE576, Spring 2005 Richard Szeliski Image alignment and stitching motion models cylindrical and spherical warping point-based alignment global

More information

D-Calib: Calibration Software for Multiple Cameras System

D-Calib: Calibration Software for Multiple Cameras System D-Calib: Calibration Software for Multiple Cameras Sstem uko Uematsu Tomoaki Teshima Hideo Saito Keio Universit okohama Japan {u-ko tomoaki saito}@ozawa.ics.keio.ac.jp Cao Honghua Librar Inc. Japan cao@librar-inc.co.jp

More information

Structure from Motion. Introduction to Computer Vision CSE 152 Lecture 10

Structure from Motion. Introduction to Computer Vision CSE 152 Lecture 10 Structure from Motion CSE 152 Lecture 10 Announcements Homework 3 is due May 9, 11:59 PM Reading: Chapter 8: Structure from Motion Optional: Multiple View Geometry in Computer Vision, 2nd edition, Hartley

More information

Image formation - About the course. Grading & Project. Tentative Schedule. Course Content. Students introduction

Image formation - About the course. Grading & Project. Tentative Schedule. Course Content. Students introduction About the course Instructors: Haibin Ling (hbling@temple, Wachman 305) Hours Lecture: Tuesda 5:30-8:00pm, TTLMAN 403B Office hour: Tuesda 3:00-5:00pm, or b appointment Tetbook Computer Vision: Models,

More information

Geometric camera models and calibration

Geometric camera models and calibration Geometric camera models and calibration http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2018, Lecture 13 Course announcements Homework 3 is out. - Due October

More information

Peripheral drift illusion

Peripheral drift illusion Peripheral drift illusion Does it work on other animals? Computer Vision Motion and Optical Flow Many slides adapted from J. Hays, S. Seitz, R. Szeliski, M. Pollefeys, K. Grauman and others Video A video

More information

Patch Descriptors. CSE 455 Linda Shapiro

Patch Descriptors. CSE 455 Linda Shapiro Patch Descriptors CSE 455 Linda Shapiro How can we find corresponding points? How can we find correspondences? How do we describe an image patch? How do we describe an image patch? Patches with similar

More information

Computer Vision I. Announcements. Random Dot Stereograms. Stereo III. CSE252A Lecture 16

Computer Vision I. Announcements. Random Dot Stereograms. Stereo III. CSE252A Lecture 16 Announcements Stereo III CSE252A Lecture 16 HW1 being returned HW3 assigned and due date extended until 11/27/12 No office hours today No class on Thursday 12/6 Extra class on Tuesday 12/4 at 6:30PM in

More information

CS 4495 Computer Vision A. Bobick. Motion and Optic Flow. Stereo Matching

CS 4495 Computer Vision A. Bobick. Motion and Optic Flow. Stereo Matching Stereo Matching Fundamental matrix Let p be a point in left image, p in right image l l Epipolar relation p maps to epipolar line l p maps to epipolar line l p p Epipolar mapping described by a 3x3 matrix

More information

Fundamental matrix. Let p be a point in left image, p in right image. Epipolar relation. Epipolar mapping described by a 3x3 matrix F

Fundamental matrix. Let p be a point in left image, p in right image. Epipolar relation. Epipolar mapping described by a 3x3 matrix F Fundamental matrix Let p be a point in left image, p in right image l l Epipolar relation p maps to epipolar line l p maps to epipolar line l p p Epipolar mapping described by a 3x3 matrix F Fundamental

More information

Augmented Reality VU. Computer Vision 3D Registration (2) Prof. Vincent Lepetit

Augmented Reality VU. Computer Vision 3D Registration (2) Prof. Vincent Lepetit Augmented Reality VU Computer Vision 3D Registration (2) Prof. Vincent Lepetit Feature Point-Based 3D Tracking Feature Points for 3D Tracking Much less ambiguous than edges; Point-to-point reprojection

More information

Lecture 9: Epipolar Geometry

Lecture 9: Epipolar Geometry Lecture 9: Epipolar Geometry Professor Fei Fei Li Stanford Vision Lab 1 What we will learn today? Why is stereo useful? Epipolar constraints Essential and fundamental matrix Estimating F (Problem Set 2

More information

Epipolar Geometry and Stereo Vision

Epipolar Geometry and Stereo Vision Epipolar Geometry and Stereo Vision Computer Vision Shiv Ram Dubey, IIIT Sri City Many slides from S. Seitz and D. Hoiem Last class: Image Stitching Two images with rotation/zoom but no translation. X

More information

CS231M Mobile Computer Vision Structure from motion

CS231M Mobile Computer Vision Structure from motion CS231M Mobile Computer Vision Structure from motion - Cameras - Epipolar geometry - Structure from motion Pinhole camera Pinhole perspective projection f o f = focal length o = center of the camera z y

More information

2D Image Processing Feature Descriptors

2D Image Processing Feature Descriptors 2D Image Processing Feature Descriptors Prof. Didier Stricker Kaiserlautern University http://ags.cs.uni-kl.de/ DFKI Deutsches Forschungszentrum für Künstliche Intelligenz http://av.dfki.de 1 Overview

More information

Multi-stable Perception. Necker Cube

Multi-stable Perception. Necker Cube Multi-stable Perception Necker Cube Spinning dancer illusion, Nobuuki Kaahara Fitting and Alignment Computer Vision Szeliski 6.1 James Has Acknowledgment: Man slides from Derek Hoiem, Lana Lazebnik, and

More information

Computer Vision Lecture 20

Computer Vision Lecture 20 Computer Perceptual Vision and Sensory WS 16/17 Augmented Computing Computer Perceptual Vision and Sensory WS 16/17 Augmented Computing Computer Perceptual Vision and Sensory WS 16/17 Augmented Computing

More information

Feature Tracking and Optical Flow

Feature Tracking and Optical Flow Feature Tracking and Optical Flow Prof. D. Stricker Doz. G. Bleser Many slides adapted from James Hays, Derek Hoeim, Lana Lazebnik, Silvio Saverse, who 1 in turn adapted slides from Steve Seitz, Rick Szeliski,

More information

COMPARATIVE STUDY OF DIFFERENT APPROACHES FOR EFFICIENT RECTIFICATION UNDER GENERAL MOTION

COMPARATIVE STUDY OF DIFFERENT APPROACHES FOR EFFICIENT RECTIFICATION UNDER GENERAL MOTION COMPARATIVE STUDY OF DIFFERENT APPROACHES FOR EFFICIENT RECTIFICATION UNDER GENERAL MOTION Mr.V.SRINIVASA RAO 1 Prof.A.SATYA KALYAN 2 DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING PRASAD V POTLURI SIDDHARTHA

More information

Geometric Model of Camera

Geometric Model of Camera Geometric Model of Camera Dr. Gerhard Roth COMP 42A Winter 25 Version 2 Similar Triangles 2 Geometric Model of Camera Perspective projection P(X,Y,Z) p(,) f X Z f Y Z 3 Parallel lines aren t 4 Figure b

More information

Chaplin, Modern Times, 1936

Chaplin, Modern Times, 1936 Chaplin, Modern Times, 1936 [A Bucket of Water and a Glass Matte: Special Effects in Modern Times; bonus feature on The Criterion Collection set] Multi-view geometry problems Structure: Given projections

More information

Image Rectification (Stereo) (New book: 7.2.1, old book: 11.1)

Image Rectification (Stereo) (New book: 7.2.1, old book: 11.1) Image Rectification (Stereo) (New book: 7.2.1, old book: 11.1) Guido Gerig CS 6320 Spring 2013 Credits: Prof. Mubarak Shah, Course notes modified from: http://www.cs.ucf.edu/courses/cap6411/cap5415/, Lecture

More information

Announcements, schedule. Lecture 8: Fitting. Weighted graph representation. Outline. Segmentation by Graph Cuts. Images as graphs

Announcements, schedule. Lecture 8: Fitting. Weighted graph representation. Outline. Segmentation by Graph Cuts. Images as graphs Announcements, schedule Lecture 8: Fitting Tuesday, Sept 25 Grad student etensions Due of term Data sets, suggestions Reminder: Midterm Tuesday 10/9 Problem set 2 out Thursday, due 10/11 Outline Review

More information

BIL Computer Vision Apr 16, 2014

BIL Computer Vision Apr 16, 2014 BIL 719 - Computer Vision Apr 16, 2014 Binocular Stereo (cont d.), Structure from Motion Aykut Erdem Dept. of Computer Engineering Hacettepe University Slide credit: S. Lazebnik Basic stereo matching algorithm

More information

Computer Vision Lecture 20

Computer Vision Lecture 20 Computer Perceptual Vision and Sensory WS 16/76 Augmented Computing Many slides adapted from K. Grauman, S. Seitz, R. Szeliski, M. Pollefeys, S. Lazebnik Computer Vision Lecture 20 Motion and Optical Flow

More information

Camera Calibration. Schedule. Jesus J Caban. Note: You have until next Monday to let me know. ! Today:! Camera calibration

Camera Calibration. Schedule. Jesus J Caban. Note: You have until next Monday to let me know. ! Today:! Camera calibration Camera Calibration Jesus J Caban Schedule! Today:! Camera calibration! Wednesday:! Lecture: Motion & Optical Flow! Monday:! Lecture: Medical Imaging! Final presentations:! Nov 29 th : W. Griffin! Dec 1

More information

Stereo Matching. Stereo Matching. Face modeling. Z-keying: mix live and synthetic

Stereo Matching. Stereo Matching. Face modeling. Z-keying: mix live and synthetic Stereo Matching Stereo Matching Given two or more images of the same scene or object, compute a representation of its shape? Computer Vision CSE576, Spring 2005 Richard Szeliski What are some possible

More information

Image processing and features

Image processing and features Image processing and features Gabriele Bleser gabriele.bleser@dfki.de Thanks to Harald Wuest, Folker Wientapper and Marc Pollefeys Introduction Previous lectures: geometry Pose estimation Epipolar geometry

More information

Structure from motion

Structure from motion Structure from motion Structure from motion Given a set of corresponding points in two or more images, compute the camera parameters and the 3D point coordinates?? R 1,t 1 R 2,t R 2 3,t 3 Camera 1 Camera

More information