Computational Photography
Si Lu
Spring 2018
http://web.cecs.pdx.edu/~lusi/CS510/CS510_Computati
- nal_Photography.htm
04/26/2018
Computational Photography Si Lu Spring 2018 - - PowerPoint PPT Presentation
Computational Photography Si Lu Spring 2018 http://web.cecs.pdx.edu/~lusi/CS510/CS510_Computati onal_Photography.htm 04/26/2018 Last Time o Panorama n Overview n Feature detection n Feature matching With slides by Prof. C. Dyer and K. Grauman
http://web.cecs.pdx.edu/~lusi/CS510/CS510_Computati
04/26/2018
2
With slides by Prof. C. Dyer and K. Grauman
3
n Feature Detection n Feature Matching n Homography Estimation
4
Credit: Y.Y. Chuang
real camera synthetic camera Can generate any synthetic camera view as long as it has the same center of projection!
Credit: Y.Y. Chuang
mosaic projection plane
Credit: Y.Y. Chuang
PP1 PP2
Credit: Y.Y. Chuang
are OK!
PP1 PP3 PP2
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Translation 2 unknowns Affine 6 unknowns Perspective 8 unknowns 3D rotation 3 unknowns
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
n i
1 2
22 21 12 11
Credit: Y.Y. Chuang
22 21 12 11
' 1 22 1 21 1 ' 1 12 1 11 1
' ' ' 2 ' 1 ' 1 22 21 12 11 2 2 1 1 1 1 n n n n n n
Over-determined system
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
T T T T T T T T T T T T T T T T
T T T
2
T T
Credit: Y.Y. Chuang
n i i i i i
1 2 ' 2 2 ' 1 1
Credit: Y.Y. Chuang
Applications to Image Analysis and Automated Cartography". Comm. of the ACM 24 (6): 381–395 Credit: Y.Y. Chuang
How many times? How big? Smaller is better How to define? Depends on the problem.
Credit: Y.Y. Chuang
n samples are all inliers a failure failure after k trials
n
for P=0.99
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
mosaic projection cylinder
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
It is required to do radial distortion correction for better stitching results!
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
real camera synthetic camera
Credit: Y.Y. Chuang
Adopted from http://www.cambridgeincolour.com/tutorials/image-projections.htm
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Adopted from http://www.cambridgeincolour.com/tutorials/image-projections.htm
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
y x y y x x y x y y x y x y x y x y x x
, , , 2 , , , 2
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
48
Image from http://www.cs.ubc.ca/~lowe/425/slides/11-PanoramasAR.pdf
49
Linear blending Multi-band blending
A multi-resolution spline with application to image mosaics. Peter J. Burt and Edward Adelson. ACM Transactions on Graphics, 1983.
50
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
n best solution, but more complicated n known as “bundle adjustment”
(x1,y1)
image (xn,yn)
Credit: Y.Y. Chuang
Credit: Y.Y. Chuang
example:
http://www.cs.washington.edu/education/courses/cse590ss/01wi/projects/project1/students/dougz/index.html
Credit: Y.Y. Chuang
http://graphics.stanford.edu/courses/cs178/applets/projection.html
59
60
Reprint from Seitz and Kim 03
61
scenes with multi-viewpoint panoramas. SIGGRAPH 2006
62
63
A plan view (xz slice) of a scene. The extracted camera locations are shown in red, and the recovered 3D scene points in black. The blue polyline of the picture surface is drawn by the user to follow the building facades. The y-axis of the scene extends out of the page; the polyline is swept up and down the y-axis to form the picture surface. z x
Reprint from Agarwala et al. 2006
64
Reprint from Agarwala et al. 2006
65
Reprint from Agarwala et al. 2006
66
http://grail.cs.washington.edu/projects/multipano/
67