how to load images from 2 folders

2 次查看(过去 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');

Community Treasure Hunt

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

Start Hunting!

Translated by