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 次查看(过去 30 天)
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 个评论
승곤 유
승곤 유 2022-5-6
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)

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by