reading image, without nowing the name of the file.
3 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm trying to read an image into a matrix, which i'm not suppose to now the file name in advance. usually i type for example: s= imread('mypic.jpg');
now i don't now the file name i just have its address, how should i do that?
thanks,
3 个评论
采纳的回答
Azzi Abdelmalek
2014-7-27
2 个评论
Image Analyst
2014-7-27
See my attached demo for how to recurse a folder and find all files inside all folders within it.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!