Reading image files-batch
显示 更早的评论
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
采纳的回答
更多回答(1 个)
Rodrigo
2012-9-23
0 个投票
second line should read: imread(strcat('C:\Users\ell\Desktop\segn\seg_array\', files(1).name));
类别
在 帮助中心 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!