calculation of an area in irregular shape within an image
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Image Analyst
on 27 Jul 2016
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 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!