입체사진
Perspective Projection


?: y_i, 빗변: x_i

• In general, the camera and image have different coordinate systems
• In particular, the camera origin and image origin may be different:
camera coordinates 정의

Camera Matrix Decomposition
focal length: 초점 거리
단위 초점거리, 원점 이동 고려 안 함, z = 1, 원점 같다고 가정
P = K[I|0]
World-to-Camera Coordinate Transformation


General Camera Matrix


Given a single image, determine the camera’s parameters (camera matrix)




예전에 나옴: Constrained Least Squares
eigenvalue

Given a single image, estimate the exact position of the photographer (camera)
decouple: 분리하다
노란 박스가 아래로 바뀜

노란 박스를 Kt로 바꿀 수 있음 t: photographer의 위치

multi-view geometry 필요, visual cues for 3D- shape from X
Binocular Stereo

Take two pictures of the same subject from two slightly different viewpoints and display so that each eye sees only one of the images
Epipolar line
Epipole: projection of o' on the image plane


essential matrix, epipolar line
Ex = l'


Essential Matrix
x' = R(x-t): rigid motion 강체 운동
x, t, x' 한 plane위에 있음 ->
: coplanarity

Linear Algebra Review: Cross Product
Cross product takes two vectors and returns a vector perpendicular to both

Essential Matrix
skew-symmetric matrix to represent cross product
R[t] = E

Fundamental Matrix
generalization: Identity matrices is removed

Estimating Fundamental Matrix

one correspondence gives one equation- 9 equations, we need at least 8 points
x: Ax = 0 such that = 1
Define least squares problem: such that
Constrained linear least squares problem 앞이랑 똑같이 풀기, eigenvalue

Extracting Rotation and Translation
Compute essential matrix E from known left and right intrinsic camera matrices and fundamental matrix F

l' = Fx

X: 3D point
image plane 주황색선
O, O': camera center
How is X related to x?
X/Z = x/f 왼쪽 초록색 직각삼각형
(X-b)/Z = x'/f 오른쪽 빨간색 직각삼각형
Disparity d = x - x' (wrt to camera origin of image plane)
= bf/Z (inversely propotional to depth)

맞지 않는 조건을 simple stereo가 되도록 조정
• Reproject image planes onto a common plane parallel to the line between camera centers
• Need two homographies (3×3 transform), one for each input image reprojection

순서 한번 더
1. Rotate the right camera by R (aligns camera coordinate system orientation only)
2. Rotate (rectify) the left camera so that the epipole is at infinity
3. Rotate (rectify) the right camera so that the epipole is at infinity
4. Adjust the scale
How do we detect the template in the following image?


+Normalized Correlation (Review)


Effect of Window Size
smaller window: more detail/ more noise
larger window: smoother disparity maps/ less detail, fails near boundaries

Improving Stereo Matching

vertical line 보내서

+3D Reconstruction with Internet Images