필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can I load multiple photos and display them with the slider in guide?

조회 수: 1 (최근 30일)
Magdalena Gierczynska
Magdalena Gierczynska 2020년 10월 19일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi, I'm writing my bachelor thesis and I want to create aplication that:
  • upload multiple images and display them like this:
This is begining of my code:
function upload_image_Callback(hObject, eventdata, handles)
[filename pathname] = uigetfile('*.png', '*.dcm', 'Multiselect', 'on')
File = fullfile(filename, pathname)
setappdata(handles.upload_image,'File',File);
if(filename ~= 0)
img = strcat(pathname, filename);
axes(handles.axes1)
img_p = imread(img);
imshow(img_p)
setappdata(handles.upload_image,'img_p', img_p);
else
return;
end
Can u help me? I will be greatfull!
  댓글 수: 1
Bjorn Gustavsson
Bjorn Gustavsson 2020년 10월 19일
A while ago I wrote a small toolbox that does something like this - except I used two windows, one for a thumb-nail gallery, and one for the full-image display. I think that file-exchange submission (Imthumb) should have a number of code-pieces that you might benefit from.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by