Processing images in a directory

Hey guys,
I have a folder of around 200 images (*.jpg). I'd like to load all the files and run a same process on each file. How can I do that? Imagine I simply want to convert the images to black and white. What's the approach? Thanks

 采纳的回答

Walter Roberson
Walter Roberson 2012-4-3

0 个投票

2 个评论

Thanks it works well.
I used it to convert the images to bw. But I need another line to overwrite the images. I need to save them

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by