how to update GUI functions
이전 댓글 표시
Hi I am making a GUI tolkit for my image segmentation. each time I get an image from the dataset and I show a selected segmentation process ( which will be selected from pop up menu) on the axes. But the problem is that each time I change the settings, my GUI input is not updated and I have to close the GUI window and run from the beginning. How can I solve this problem? Thanks
답변 (1개)
Image Analyst
2016년 1월 15일
0 개 추천
Are you sure you're calling imshow() to display the image? If it's in an intensive loop, you might have to call drawnow after you call imshow() to force it to update the display.
댓글 수: 2
Sherif Uni
2016년 1월 15일
Image Analyst
2016년 1월 15일
You can call axes() to switch the current axes:
axes(handles.axes1);
imshow(firstImage);
axes(handles.axes2);
imshow(secondImage);
% Now back to the first one
axes(handles.axes1);
imshow(thirdImage);
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!