How to call the axes into push button in GUI?

조회 수: 4 (최근 30일)
Mohan Prasath Thirumalaisamy
Mohan Prasath Thirumalaisamy 2013년 4월 21일
댓글: muhammad zulhelmy 2017년 3월 5일
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

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 4월 21일
편집: Azzi Abdelmalek 2013년 4월 21일
To display your image use
imshow(handles.input_image);
  댓글 수: 5
oi oi
oi oi 2016년 12월 11일
so, how it be solved?
muhammad zulhelmy
muhammad zulhelmy 2017년 3월 5일
how can i copy data from axes2, then display to axes3 ??

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by