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 Ansicht (letzte 30 Tage)
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 Kommentar
Geoff Hayes
Geoff Hayes am 4 Mai 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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by