Perspective Projection

Pasted image 20251121180231.png
Pasted image 20251121180243.png
Pasted image 20251121180255.png

Q) Determine K for a digital camera with Image Size 640 x 480 and horizontal field of view equal to 90 , assume principal point in the center of image and squared pixels. What if fov?

The Proof: Why Parallel Lines Meet

To Prove: Show that two parallel lines in the 3D world project to lines in the image that intersect at a single specific pixel (the Vanishing Point

  1. Define Parallel Lines in 3D
    Two lines are parallel if they have the same direction vector but different starting points.
    Let's define the direction vector as V=[l,m,n].

Here, s is the distance parameter. As s, we move infinitely far away along the line.

  1. Apply the Camera Projection

Recall the basic pinhole projection equations (assuming standard camera frame where focal length is f):

u=fXZ,v=fYZ

Let's substitute our line equations into this projection.

For Line A:

uA(s)=fXa+slZa+snvA(s)=fYa+smZa+sn

For Line B:

uB(s)=fXb+slZb+snvB(s)=fYb+smZb+sn
  1. Take the Limit (The "Vanishing" part)

For uA:

limsuA(s)=limsfXa/s+lZa/s+n=f0+l0+n=fln

For vA:

limsvA(s)=limsfYa/s+mZa/s+n=f0+m0+n=fmn

same for Line B:

limsuB(s)=flnlimsvB(s)=fmn

Both lines converge to the exact same pixel coordinate:

p=(fln,fmn)

This point p depends only on the direction vector (l,m,n) and the focal length f. It does not depend on the starting points A0 or B0.

Therefore, all lines with direction (l,m,n) will intersect at this specific point on the image plane. This point is Vanishing Point.

THE Projection Equation

Pasted image 20251121184552.png

λ[uv1]=K[R|t][XwYwZw1]

or in Camera Coordinates:

λ[uv1]=K[XcYcZc]

Henceforth [R|t] are the Extrinsic Parameters and K is the Intrinsic Matrix.

Radial Distortion

For most lens it would just be quadratic but higher order terms can be introduced:

[udvd]=(1+k1r2+k2r4+k3r6)[uu0vv0]+[u0v0]

Camera Caliberation

Camera Caliberation

Camera Resection

Pose Problem -- Camera Resection

Epipolar Geometry

Epipolar-Geometry