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 view (last 30 days)
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 Comment
Geoff Hayes
Geoff Hayes on 4 May 2016
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?

Sign in to comment.

Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!