MATLAB: How to find the area of the object in the center

edge detection

I have this image, and I am trying to find the area of the object in the center. I tried finding the area using imageJ but I wasn't very accurate. Any help or guidance would be appreciated. Thanks in advance.

Best Answer

impoly worked pretty well for me. The area in pixels was 1358238
h=impoly();
area=numel(h.createMask) % 1358238
untitled.png