48
E-mail: [email protected] http://web.yonsei.ac.kr/hgjung Stereo Matching Stereo Matching

Stereo Matching - Yonsei

  • Upload
    others

  • View
    13

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Stereo MatchingStereo Matching

Page 2: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Stereo Vision [1]Stereo Vision [1]

Page 3: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Reduction of Searching by Epipolar Constraint [1]Reduction of Searching by Epipolar Constraint [1]

Page 4: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Photometric Constraint [1]Photometric Constraint [1]

Same world point has same intensity in both images.Same world point has same intensity in both images.– True for Lambertian surfaces

• A Lambertian surface has a brightness that is independent of viewing angle

– Violations:• Noise• Specularity• Non-Lambertian materials• Pixels that contain multiple surfaces

Page 5: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Photometric Constraint [1]Photometric Constraint [1]

For each epipolar line

For each pixel in the left image

• compare with every pixel on same epipolar line in right image

• pick pixel with minimum match costThis leaves too much ambiguity, so:

Improvement: match windowswindows

Page 6: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Correspondence Using Correlation [1]Correspondence Using Correlation [1]

Page 7: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Sum of Squared Difference (SSD) [1]Sum of Squared Difference (SSD) [1]

Page 8: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Image Normalization [1]Image Normalization [1]

Page 9: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Images as Vectors [1]Images as Vectors [1]

Page 10: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Image Metrics [1]Image Metrics [1]

Page 11: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Stereo Result [1]Stereo Result [1]

Left Disparity Map

Images courtesy of Point Grey Research

Page 12: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Window Size [1]Window Size [1]

Better results with adaptive window• T. Kanade and M. Okutomi, A Stereo Matching Algorithm with an Adaptive Window:

Theory and Experiment,, Proc. International Conference on Robotics and Automation, 1991.

• D. Scharstein and R. Szeliski. Stereo matching with nonlinear diffusion. International Journal of Computer Vision, 28(2):155-174, July 1998.

Page 13: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Ordering Constraint [3]Ordering Constraint [3]

Page 14: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Smooth Surface Problem [3]Smooth Surface Problem [3]

Page 15: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Occlusion [1]Occlusion [1]

Left Occlusion Right Occlusion

Page 16: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Search over Correspondence [1]Search over Correspondence [1]

Page 17: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Stereo Matching with Dynamic Programming [1]Stereo Matching with Dynamic Programming [1]

Page 18: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Dynamic Programming [1]Dynamic Programming [1]

Page 19: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Dynamic Programming [1]Dynamic Programming [1]

Page 20: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Dynamic Programming [1]Dynamic Programming [1]

Page 21: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Dynamic Programming [1]Dynamic Programming [1]

Page 22: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Dynamic Programming [3]Dynamic Programming [3]

Page 23: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Dynamic Programming [3]Dynamic Programming [3]

Page 24: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Dynamic Programming [3]Dynamic Programming [3]

Page 25: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Dynamic Programming [3]Dynamic Programming [3]

Page 26: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Dynamic Programming [3]Dynamic Programming [3]

Page 27: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Dynamic Programming [3]Dynamic Programming [3]

Pseudo-code describing how to calculate the optimal match

Page 28: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Dynamic Programming [3]Dynamic Programming [3]

Pseudo-code describing how to reconstruct the optimal path

Page 29: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Dynamic Programming [3]Dynamic Programming [3]

Local errors may be propagated along a scan-line and no inter scan-line consistency is enforced.

Page 30: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Correspondence by Feature [3]Correspondence by Feature [3]

Page 31: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

SegmentSegment--Based Stereo Matching [3]Based Stereo Matching [3]

AssumptionAssumption• Depth discontinuity tend to correlate well with color edges

• Disparity variation within a segment is small

• Approximating the scene with piece-wise planar surfaces

Page 32: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

SegmentSegment--Based Stereo Matching [3]Based Stereo Matching [3]

• Plane equation is fitted in each segment based on initial disparity estimation obtained SSD or Correlation

• Global matching criteria: if a depth map is good, warping the reference image to the other view according to this depth will render an image that matches the real view

• Optimization by iterative neighborhood depth hypothesizing

Page 33: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

SegmentSegment--Based Stereo Matching [3]Based Stereo Matching [3]

Hai Tao and Harpreet W. Sawhney

Page 34: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

SegmentSegment--Based Stereo Matching [3]Based Stereo Matching [3]

Page 35: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Network of Constraints [2]Network of Constraints [2]

Vertex Node

Edge Node

Face Node

Vertex Node

Edge Node

Face Node

Vertex Node

Edge Node

Face Node

DirectionsDirectionsDirections

Page 36: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Network of Constraints [2]Network of Constraints [2]

Page 37: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Smoothing by MRF [2]Smoothing by MRF [2]

Page 38: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Smoothing by MRF [4]Smoothing by MRF [4]

Page 39: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Smoothing by MRF [4]Smoothing by MRF [4]

Page 40: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Smoothing by MRF [4]Smoothing by MRF [4]

Page 41: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Stereo Testing and Comparison [1]Stereo Testing and Comparison [1]

Page 42: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Stereo Testing and Comparison [1]Stereo Testing and Comparison [1]

Page 43: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Stereo Testing and Comparison [1]Stereo Testing and Comparison [1]

Window-based matching(best window size)

Ground truth

Page 44: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Stereo Testing and Comparison [1]Stereo Testing and Comparison [1]

State of the art method Ground truthBoykov

et al., Fast Approximate Energy Minimization via Graph Cuts, International Conference on Computer Vision, September 1999.

Page 45: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Intermediate View Reconstruction [1]Intermediate View Reconstruction [1]

Right ImageLeft ImageDisparity

Page 46: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Intermediate View Reconstruction [1]Intermediate View Reconstruction [1]

Page 47: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

Summary of Different Stereo MethodsSummary of Different Stereo Methods

Page 48: Stereo Matching - Yonsei

E-mail: [email protected]://web.yonsei.ac.kr/hgjung

ReferencesReferences

1. David Lowe, “Stereo,” UBC(Univ. of British Columbia) Lecture Material of Computer Vision (CPSC 425), Spring 2007.

2. Sebastian Thrun, Rick Szeliski, Hendrik Dahlkamp and Dan Morris, “Stereo 2,” Stanford Lecture Material of Computer Vision (CS 223B), Winter 2005.

3. Chandra Kambhamettu, “Multiple Views1” and “Multiple View2,” Univ. of Delawave Lecture Material of Computer Vision (CISC 4/689), Spring 2007.

4. J. Diebel and S. Thrun, “An Application of Markov Random Fields to Range Sensing,” Proc. Neural Information Processing Systems (NIPS), Cmbridge, MA, 2005. MIT Press.