calculation of an area in irregular shape within an image
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi Everyone,
I need some help with a problem I am dealing with now. The problem can be summarized as follows:
· I have images that I have divided into pixels with known dimensions (width x height) . An image is about (1024X943) "965632 pixels" in total. · The problem is that I need to calculate the area of a part of the image (irregular shape). So how can I draw an irregular shape (maybe using imfreehand tool) and determine the number of pixels inside it?
Thanks a lot in advance, Mariam
댓글 수: 0
답변 (1개)
Image Analyst
2016년 7월 27일
See my image segmentation tutorial: http://www.mathworks.com/matlabcentral/fileexchange/25157-image-segmentation-tutorial
Also, I've attached some demos using imfreehand() if you want to trace your object.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!