How do I find the area of the image in meters using MATLAB?
4 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I am trying to estimate the area of a rooftop of a building for some data analysis. I have obtained the image of the rooftop of the building using google maps and doing some image analysis, at the same time I need to evaluate the area of the building's rooftop as well. How can I do this using Matlab?
Thanks
2 件のコメント
gonzalo Mier
2019 年 5 月 1 日
This is not a Matlab problem, it's a mathematic one. You need to know some reference to measure the dimensions of the rooftop. Then you can just do height*weigth to find the area.
採用された回答
Michael Hawks
2019 年 5 月 2 日
I agree with gonzalo -- it's not really a Matlab question. But if you know anything about your camera you could also solve it that way without needing to find a reference object in the image.
Each pixel will see are area on the ground that is x = ( pixel size * range / focal length ) across. If you're looking straight down (as for Google Earth), the horizontal and vertical distance will be the same. For oblique views, the vertical dimension will increase by (1/cos theta).
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!