how to load images from 2 folders

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

Load one folder images, then go to next folder?
can you explain in detail
After finish loading the first folder, i want to continue with the second
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');

Categories

Asked:

on 19 Apr 2018

Edited:

on 19 Apr 2018

Community Treasure Hunt

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

Start Hunting!