![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/176503/image.jpeg)
distance measurements from image to world
1 view (last 30 days)
Show older comments
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
0 Comments
Answers (1)
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/176503/image.jpeg)
0 Comments
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!