フィルターのクリア

I want to display the image in query axes but it shows up on result axes

1 回表示 (過去 30 日間)
keshav satpute
keshav satpute 2018 年 3 月 20 日
function Browse_pushbutton_Callback(hObject, eventdata, handles)
% hObject handle to Browse_pushbutton (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA) set(handles.Select_Product_pushbutton,'enable','off');
%set(handles.classify_pushbutton,'enable','off');
set(handles.Submit_Image_pushbutton,'enable','off');
set(handles.Select_Product_pushbutton,'string','Select Product');
global image_path;
[FileName,PathName] = uigetfile({'*.jpg;*.jpeg;*.jpe;*.jfif','JPEG (.jpg;.jpeg;.jpe;.jfif)';'*.png','PNG (.png)';'*.tif;*.tiff','TIF (.tif;.tiff)';'*.jpg;*.jpeg;*.jpe;*.jfif;*.png;*.tif;*.tiff','All Picture Files' '*.*','All Files' },'Select Image To Search'); s1 = FileName;
s2 = PathName;
image_path = strcat(s2,s1);
set(handles.query_image_axes);
imshow(imread(image_path));
set(handles.Select_Product_pushbutton,'enable','on');
set(handles.Browse_pushbutton,'string','Browse Other Image');
% --- Executes on button press in Submit_Image_pushbutton.
if true
% code
end

回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by