필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
Raj k
Raj k 2016년 2월 29일
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.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by