How to find the physical distance in real word between two places or points in an image?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Respected Sir/Madam,
Please send me the related code or work for the below problem statement.
Problem:By clicking on any two points on image (Image should be a map of a city), it should give me the physical distance(in terms of meters or kilo meters) between the two points.
1.Here points corresponds to coordinates of any two places of the city or a map
2.Once we run the program using Matlab, it should show me the image of suitable resolution.
3.How to select two points on image by just clicking on that image?
4.We need to get the coordinates of pixels and find the distance between them, and then convert the distance between pixel to the physical distance like kilo meters or meters.
Finally it should help us to know the distance between two places by just clicking on any two places.
Please help me. I'm in very need of it. Please send as early as possible.
Thank you.
Réponses (1)
Image Analyst
le 23 Nov 2014
That's exactly what my spatial calibration demo (attached) does.
2 commentaires
Image Analyst
le 26 Nov 2014
You have to have something to measure first that is of known dimensions (lengths, distances). For example if I had an image of the moon, how do I know it's the real moon from through a telescope instead of a poster on the wall? Well you have to measure some known distance, for example a ruler on the wall next to your poster, or the diameter of the moon if you know it's the real one. Once you enter that known distance then you can go on to measure any arbitrary distances or areas in the image.
Voir également
Catégories
En savoir plus sur Get Started with Image Processing Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!