Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
Raj k
Raj k el 29 de Feb. de 2016
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.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by