How to calculate area of an irregular shape region in a binary image?

4 次查看(过去 30 天)
Is there any way to calculate the area of the irregular regions in a binary image? I am attaching the image here.Kindly help me.

采纳的回答

Image Analyst
Image Analyst 2019-3-14
Try this:
props = regionprops(binaryImage, 'Area');
allAreas = [props.Area]

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by