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!