How to call the axes into push button in GUI?
2 次查看(过去 30 天)
显示 更早的评论
Hi, I have an input image and i have loaded into GUI using axes. my code
handles.input_image = double(rgb2gray(imread('Trial_image.jpg')));
axes(handles.in_image);
image(handles.input_image);
The variable name is handles.input_image and the tag name is handles.in_image.
when i call the tag name of the axes to get the image into the push button. it doesnt have the image. The variable has the image but how can i use it in the push button. any ideas? Thanks in advance
0 个评论
采纳的回答
Azzi Abdelmalek
2013-4-21
编辑:Azzi Abdelmalek
2013-4-21
To display your image use
imshow(handles.input_image);
5 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!