Processing images in a directory

3 ビュー (過去 30 日間)
bob
bob 2012 年 4 月 3 日
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 日
  2 件のコメント
bob
bob 2012 年 4 月 3 日
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
Image Analyst
Image Analyst 2012 年 4 月 3 日
Use imwrite().

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by