How to calculate the area of a lake using binary image?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
At I'm trying to use is the following:
- Load image, transform to binary ; Using BWboundaries.
- Find edge/perimeter ;
- Attempt to join edges ;
- Fill perimeter with red ;
- Measure Area and Perimeter using regionprops
- Plot line horizontal or vertical ;
- Stipulate value of axis of that coordinates on the edges, and distance in pixels (after converting for meters).
2 Kommentare
Antworten (1)
Image Analyst
am 5 Apr. 2014
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).
0 Kommentare
Siehe auch
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!