Camera calibration add radial distortion

Hi

1 commentaire

Stephen23
Stephen23 le 23 Déc 2020
Modifié(e) : Stephen23 le 23 Déc 2020
Original question by NASIR FARMANI on 20th December 2020 and many of their (since deleted) comments (not shown here) retrieved from Google Cache:
Camera calibration add radial distortion.
Hi, i have 20 checkerboard images, and i have to add radial distortion without using MATLAB camera calibration libraries.
I have already estimated the projection matrix P for all images, and i have add radial distortion.
I understood i have first estimated P, after i have to estimate k1,k2 from this equations:
where u,v are the idea projections, uhat, vhat are the actual projection and rd.^2 is:
i actual find k1,k2 from this equation = inv(A' * A)* A' * b
after i have to iterate the all process with the new u,v using newton method for find the new u,v.
someone can help me to write this iterative process for find the ideal undistorted image?

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 20 Déc 2020

0 votes

Do you have the Computer Vision Toolbox? There is an undistortImage() function and undistortpoints() function in it.

3 commentaires

Image Analyst
Image Analyst le 20 Déc 2020
Can you turn in my code for your assignment?
Image Analyst
Image Analyst le 20 Déc 2020
What are the alphas? Angles? And the K's?
Actually I don't think that is distortion. Distortion is where the distance the point moved from the ideal location is a function of radius (distance from optical axis) cubed. So
Rdistorted = Rideal + (someFactor * RIdeal ^3)
Which is essentially what your equations show. Actually they're adding in the higher order term - the 5th order polynomial. There are several optical aberrations that have explicit formulas that can be found in the links below:
The most common monochromatic aberrations are:
There is also longitudinal chromatic aberration, lateral chromatic aberration, etc.
Stephen23
Stephen23 le 23 Déc 2020

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Support Package for USB Webcams dans Centre d'aide et File Exchange

Produits

Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by