Camera Lens Distortion
Notes from Cyrill Stachniss camera lecture.
A deviation from the ideal mapping with a thin lens is called aberration. Main types of aberrations:
- Spherical aberrations
- Chromatic aberrations
- Comatic aberrations
- Also see Plumb Bob Model
- Ohh my actual eyes have the same problem
Distortion (notes from Visual SLAM book)
There are some mathematical models to describe the distortion caused by the shape of the lens.
There are 2 types of distortion that I was introduced to (the Rad-tan model):
- radial distortion is introduced by the shape of the lens
- tangential distortion is introduced during assembly of the camera because the lens and the imaging surface cannot be strictly parallel
In order to get a larger FoV (Field-of-View), we usually add a lens in front of the camera.
- oohhh is that the point of lenses? I didn’t think about ti that way before
A byproduct of this is that in photos, the straight lines become more curved the closer these are to the edge of the image. You know this learning the types of Camera Shots.
Radial distortion is radially symmetrical.
2 categories of distortion:
- barrel-like distortion
- cushion-like distortion (where do you ever get this??)
Tangential distortion is introduced during assembly of the camera because the lens and the imaging surface cannot be strictly parallel.
Consider any point on the normalized plane, , whose coordinates are , or in the form of polar coordinates, where represents the distance between the point and the origin of the coordinate system, and represents the angle to the horizontal axis.
Radial distortion can be seen as a change in the coordinate point along the length, that is, its radius from the origin.
Tangential distortion can be seen as a change in the coordinate point along the tangential direction, which means that the horizontal angle has changed. It is generally assumed that these distortions are polynomial, namely:
- is the normalized coordinates of the point after distortion.
For tangential distortion, we can use the other two parameters to describe it: