LENS DISTORTION
In real case scenarios there is the need to model the effect of lens distortion on the image
there are 2 principle types of distortion:
flowchart TD A[Distortions types] B[radial] C[distortions due to lens curvature] D[tangential] E[due to misalignment \n with the optical sensors] A --> B & D B --> C D --> E
In order to account this types of distortion the model is adjusted accordingly:
Where the non-distorted coordinates () are mapped to distorted coordinates () through a non linear function of the distance from the distortion center
The function is defined for positive values of only and for . This non linear function is approximated by it’s Taylor series:
The tangential distortion is approximated as follows
The radial coefficients the optical center and the tangential distortion coefficients are the set of lens distortion parameters that need to be accounted for a realistic modeling of the camera. (for the sake of simplicity the distortion center is taken to coincide with the optical center)