distance measurements from image to world

1 view (last 30 days)
eliana bshouty
eliana bshouty on 10 Jan 2017
Answered: halleyhit on 11 Jan 2017
please look at the attached image... If i have the 2 red distances in meters( real distances- height of the building) and have also the 2 distances in the image [pixels](with the 3 vanishing points' coordinates - one of them is the intersection point of the 2 blue lines ) is there any way to measure the distance of the blue line (building width in meters)? i also have the coordnates of the vie point( gps coordinates from where the image was taken) thanks in advance

Answers (1)

halleyhit
halleyhit on 11 Jan 2017
I don't think there is a specialized function or toolbox in Matlab to solve your question. However you can have the distance of the blue line in world by solving a geometric problem, which is shown in the image.

Community Treasure Hunt

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

Start Hunting!