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.
Kshitij Singh answered .
2025-11-20
props = regionprops(binaryImage, 'Area'); allAreas = [props.Area]