after first imshow function, image is not shown

Hi everybody, I have a problem with showing image. After first image other figures are not shown. Thanks
I= imread('pout.tif');
mask = roipoly(I);
figure
imshow(mask);
J = regionfill(I,mask);
figure
imshow(J);

Answers (1)

When you double click inside the polygon, it will show the other figures.

This question is closed.

Asked:

on 23 Jun 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!