Visualize distortion on the frame after a calibration camera procedure
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Alessandro Antonini
am 13 Apr. 2015
Beantwortet: Dima Lisin
am 14 Apr. 2015
Dear all, I am wondering how I can display the distortion map on the image that I am going to use.
More in detail, by means of camera calibration toolbox provided by Caltech University there is a function to display the distortion map as in the attached figure, I would like to do the same by means of the new, built in, toolbox for the calibration of the camera provided in Matlab 2014b.
Can you suggest me the right way?
I would be grateful.
0 Kommentare
Akzeptierte Antwort
Dima Lisin
am 14 Apr. 2015
Hi Alessandro,
There is no built-in function to do this. However, you should be able to write one yourself, using the undistortPoints function. Define a grid of points on your original image, and then call undistortPoints to get their locations in the undistorted image. Subtracting the original locations from the undistorted locations will give you the displacement vectors, which you can display using quiver.
0 Kommentare
Weitere Antworten (1)
Image Analyst
am 14 Apr. 2015
I think you're looking for the quiver() function.
2 Kommentare
Image Analyst
am 14 Apr. 2015
I have not actually used quiver yet myself. I though you already had "the distortion map" (a list of vectors) and merely needed a way to display them as a field of arrows.
Siehe auch
Kategorien
Mehr zu MATLAB Support Package for USB Webcams finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!