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 visualizaciones (últimos 30 días)
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 comentarios
승곤 유
승곤 유 el 6 de Mayo de 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)

Iniciar sesión para comentar.

Respuestas (1)

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

Categorías

Más información sobre Images en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by