How to calculate the area of ​​a lake using binary image?

3 ビュー (過去 30 日間)
Jessé
Jessé 2014 年 4 月 5 日
回答済み: Image Analyst 2014 年 4 月 5 日
At I'm trying to use is the following:
  1. Load image, transform to binary ; Using BWboundaries.
  2. Find edge/perimeter ;
  3. Attempt to join edges ;
  4. Fill perimeter with red ;
  5. Measure Area and Perimeter using regionprops
  6. Plot line horizontal or vertical ;
  7. Stipulate value of axis of that coordinates on the edges, and distance in pixels (after converting for meters).
  2 件のコメント
Jessé
Jessé 2014 年 4 月 5 日
Sorry, wanted to see if it was possible.

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2014 年 4 月 5 日
Sure, it's possible. See my image segmentation tutorial: http://www.mathworks.com/matlabcentral/fileexchange/25157-image-segmentation-tutorial-blobsdemo Feel free to adapt it to use your image. If you have questions, attach your m-file and image (original image, not the annotated version). It's not too hard. I could do the whole exercise in about 4 minutes. Explain what you want me to do for you. I assume you don't want me to just do the whole exercise for you so that you can turn in my code to your professor, so say what you want. You haven't really asked a question except "How to calculate the area of a lake using binary image?" but the answer to that is in the problem statement (use regionprops).

カテゴリ

Help Center および File ExchangeImage Segmentation and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by