mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 23:15:46 -05:00
vault backup: 2023-03-30 13:34:09
This commit is contained in:
parent
6f0d795431
commit
1a639253c0
@ -37,4 +37,37 @@ PERSPECTIVE PROJECTION
|
|||||||
- The pinhole camera
|
- The pinhole camera
|
||||||
- A simple, but useful, model
|
- A simple, but useful, model
|
||||||
- There is a central point of projection (the pinhole, often a lens in reality)
|
- There is a central point of projection (the pinhole, often a lens in reality)
|
||||||
- Light travels from the world, through the pinhole, to the image plane
|
- Light travels from the world, through the pinhole, to the image plane
|
||||||
|
> [!INFO] need a hole that is big enough to get enough light
|
||||||
|
> but small enough to create a sharp image
|
||||||
|
> light goes through the hole to the image plane
|
||||||
|
> pin hole is also the "lens"
|
||||||
|
|
||||||
|
THE PINHOLE CAMERA MODEL
|
||||||
|

|
||||||
|

|
||||||
|
> [!INFO] use negative of f as it is behind the pinhole
|
||||||
|
> find U using similar triangles rule
|
||||||
|
|
||||||
|

|
||||||
|
> [!INFO] now we can project a point from 3d to 2d
|
||||||
|
> z is multiplies by 1 in the matrix so that the 3rd point of the homogenous coord becomes the z value
|
||||||
|
|
||||||
|
- We can put the image plane in front of the pinhole
|
||||||
|
- Removes the sign change
|
||||||
|
- Not practical for real cameras
|
||||||
|
- The maths works out just fine
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
> [!INFO] cant really convert from 2d back to 3d without knowing focal length and z coord of every point
|
||||||
|
|
||||||
|
TRANSFORMING CAMERAS
|
||||||
|
|
||||||
|
INTRINSICS AND EXTRINSICS
|
||||||
|
- Often break this down into
|
||||||
|

|
||||||
|
|
||||||
|
- Most simple case:
|
||||||
|
- : camera calibration or intrinsics
|
||||||
|
- : camera pose or extrinsics
|
||||||
Loading…
Reference in New Issue
Block a user