Clear Filters
Clear Filters

How to Get Area value in the Message box or Helpdlg box

2 views (last 30 days)
I am segmenting some images and calculating the area of the segmented region. Area=7337 (for example).
Now the question is How to display this area value in a Message box or helpdlg box. The thing what i tried was
z=seg;
imshow(z);
area = regionprops(z , 'Area')
h=msgbox('Area Calculated',area);
where seg is my segmented region.

Answers (0)

Community Treasure Hunt

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

Start Hunting!