How to call the axes into push button in GUI?

1 visualización (últimos 30 días)
Mohan Prasath Thirumalaisamy
Mohan Prasath Thirumalaisamy el 21 de Abr. de 2013
Comentada: muhammad zulhelmy el 5 de Mzo. de 2017
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

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 21 de Abr. de 2013
Editada: Azzi Abdelmalek el 21 de Abr. de 2013
To display your image use
imshow(handles.input_image);
  5 comentarios
oi oi
oi oi el 11 de Dic. de 2016
so, how it be solved?
muhammad zulhelmy
muhammad zulhelmy el 5 de Mzo. de 2017
how can i copy data from axes2, then display to axes3 ??

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Display Image en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by