Image Formation
Pinhole Camera
Components

Mathematical Perspective

Perspective Projection

Effect of it
- Assume there are 2 line segments defined by and
- ranges from to (distance from aperture to the real-world object)
# predefined params
X1 = -5
X2 = 5
Z = np.linspace(10, 1000, 990)
f = 1
# two lines
x1 = -(f * X1) / Z
x2 = -(f * X2) / Z
# plot the distance between two lines as Z increases
plt.plot(Z, np.abs(x1 - x2))
plt.show()

Important
2 lines get closer to each other when the distance between the aperture and the real-world coordinate increases
