Clear Filters
Clear Filters

how to load images from 2 folders

2 views (last 30 days)
apostolos alexandris
apostolos alexandris on 19 Apr 2018
Edited: Stephen23 on 19 Apr 2018
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 Comments
apostolos alexandris
apostolos alexandris on 19 Apr 2018
After finish loading the first folder, i want to continue with the second
Stephen23
Stephen23 on 19 Apr 2018
See the MATLAB documentation:
Process one folder, then the next. What have you tried so far?

Sign in to comment.

Answers (1)

bidyut mandi
bidyut mandi on 19 Apr 2018
Edited: Stephen23 on 19 Apr 2018

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!