How can I display stereo image processing output on the GUI
Show older comments
I have two stereo images (left and right). There is a function 'ABC' that takes input of (these) two images, does certain processing and gives disparity map as output. I am trying to develop a GUI for this. So far I can select two input images on click of two buttons (using uigetfile) and display them on screen . On click of third button, I call my function 'ABC'. I want to display the output of ABC function on the GUI
Any idea how should I write my 'pushbutton3_Callback' ?
function pushbutton3_Callback (hObject, eventdata, handles)
% hObject handle to pushbutton3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global I1
global I2
axes(handles.axes3);
disparity_map = ABC (I1,I2, 40,100);
% Not sure what should I write here to display the output of 'ABC'
Note: I am using axes to display my input images on the GUI and want to display the output in a third axes.
2 Comments
Walter Roberson
on 21 May 2013
Maybe
imagesc(disparity_map, 'Parent', handles.axes3);
Manini
on 22 May 2013
Accepted Answer
More Answers (0)
Categories
Find more on Process Point Clouds in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!