i want to create a GUI in MATLAB that show images in an axes one by one on one time button click with a time span suppose there is an image and i am using some functions that are to convert that image to grayscale,binary,rgb.
1 次查看(过去 30 天)
显示 更早的评论
I want that all those image after conversion will be displayed on that axes that i created on gui with a single click.
MyImage=imread('C:\Users\Omm\Desktop\ZjSqKcW.jpg','Parent',handles.axes1); handles.output = hObject; guidata(hObject, handles); hold on; %Read Image
% Show image
% Objects extraction
%figure(1)
imshow(MyImage);
title('INPUT IMAGE WITH NOISE')
% Convert to gray scale
% RGB image
image=rgb2gray(MyImage);
hold off;
%figure(2)
imshow(image);
like this and want that after each conversion image will be shown on that axes itself without clicking on button please help me to do this functioning i don't know how to do this
1 个评论
Geoff Hayes
2016-5-4
ayushi - please clarify your question. Have you created a GUI using GUIDE? Or are you creating one programmatically? In either case, what is preventing you from moving forward?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!