Reading image files-batch
Afficher commentaires plus anciens
Hi,
I am trying to read image files from a folder (not Matlab working folder) but it does not work
Code: files = dir('C:\Users\ell\Desktop\segon\seg_array\Tv*.png') rgbl = imread('C:\Users\ell\Desktop\segn\seg_array\', files(1).name);
Can someone please tell me what is the problem.
Thanks
Réponse acceptée
Plus de réponses (1)
Rodrigo
le 23 Sep 2012
0 votes
second line should read: imread(strcat('C:\Users\ell\Desktop\segn\seg_array\', files(1).name));
Catégories
En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!