How do I find the area of the image in meters using MATLAB?

3 次查看(过去 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
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
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 个)

产品


版本

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by