how to load images from 2 folders

1 次查看(过去 30 天)
i want to load images from 2 diffrent folders and it has to be 2 folders.i dont want to make a new one with all images in the same folder.
  4 个评论
apostolos alexandris
After finish loading the first folder, i want to continue with the second
Stephen23
Stephen23 2018-4-19
See the MATLAB documentation:
Process one folder, then the next. What have you tried so far?

请先登录,再进行评论。

回答(1 个)

bidyut mandi
bidyut mandi 2018-4-19
编辑:Stephen23 2018-4-19

you may do this:-

I1 = imread('folder1\images1.jpg');
I2 = imread('folder2\images2.jpg');

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by