hI want to know that I load multiple images into a single UIAxes of the app designer and click the previous and next buttons to check the image

5 views (last 30 days)
I want to know that I load multiple images into a single UIAxes of the app designer and click the previous and next buttons to check the image
  3 Comments
승곤 유
승곤 유 on 6 May 2022
direcName=app.filepathEditField.Value;
direc = direcName;
filename = dir(fullfile(direc,'*.jpg'));
temp=(imread(fullfile(direc,filename(1).name)));
[m n c]= size(temp);
A = zeros(m,n,length(filename),c);
A = uint8(A);
for i=1:length(filename)
A(:,:,i,:) = (imread(fullfile(direc,filename(i).name)));
i/length(filename)
end
imshow3D(A)

Sign in to comment.

Answers (1)

Shanmukha Voggu
Shanmukha Voggu on 12 May 2022
Hi,
Please refer to the following MATLAB Answer:
This might be able to resolve your issue!

Community Treasure Hunt

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

Start Hunting!