how to display the images from m-file into GUI axes
1 view (last 30 days)
Show older comments
Hi, i had a GUI with few buttons. I wish to display the sequences of images that i processed in my m-file function(myfunct.m) and show in one axes in gui.
For now, i able to process my images under a pushbutton by calling myfunct.m .. so i wish the images can display on gui's axes...thanks ..
% code
end% --- Executes on button press in START.
function START_Callback(hObject, eventdata, handles)
% hObject handle to START (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
myfunct();
imshow(img,'Parent',handles.axes1)------what should i do for this line???
0 Comments
Answers (1)
Image Analyst
on 17 Mar 2013
That should work as long as you have some image stored in your "img" variable, like you got it from imread() or somewhere.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!