Is there a routine in MATLAB which could help morph images in a specific manner?

5 次查看(过去 30 天)
Hi there,
My brother has some old photos taken from a plane on which he wants to put coordinates. The eventual goal is to be able to compare them to modern photos. Problem is: the old photos are deformed due to the lens' shape and the angle under which the photos were taken (camera was not pointed towards the ground). He asked me if I could write a code in MATLAB which could morph his old photos so that they will have the same dimensions as the modern ones. Is there a routine in MATLAB which could help solve this problem? Any help is welcome.
Kind regards, Rudy

回答(1 个)

Charles Dunn
Charles Dunn 2016-3-24
If you have access to the lens that took the images, you could use MATLABs camera calibration tool
You need to take photos of a checkerboard. If you don't have access to the camera/lens setup still, the problem is a bit harder. You could start by looking into common lens distortion equations though. See the Mapping Functions section of this page for some possibilities:
https://en.wikipedia.org/wiki/Fisheye_lens

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by