Image display in GUI
이전 댓글 표시
I am 1st time making GUI in matlab... I need to display images. For this I have been using axes.. But image shown in axes is very small and it cannot reveal minor details... I want to display this image in a separate window, so that image can bee seen on full screen, (Like image shown by command figure,imshow(image))... And every time I press button, new image should replace the previous image, rather than opening in new window... Please show me ways of doing this..
채택된 답변
추가 답변 (1개)
Walter Roberson
2012년 5월 26일
newfig = figure();
newaxes = axes('Parent', newfig);
And to display or update the image,
image(YourArray, 'Parent', newaxes);
댓글 수: 3
Khawaja Asim
2012년 5월 26일
Walter Roberson
2012년 5월 26일
I didn't say handles.axes2(), I said axes() . axes() creates a new axes. You need a new axes to go in the new figure.
Image Analyst
2012년 5월 26일
"axes()" is the name of a special built-in function. It did not mean for you to substitute the actual name of your axes for it.
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!