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

조회 수: 2 (최근 30일)
Yash Mayuresh Kavi
Yash Mayuresh Kavi 2019년 5월 1일
답변: Michael Hawks 2019년 5월 2일
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