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

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 3 Apr. 2012

0 Stimmen

2 Kommentare

bob
bob am 3 Apr. 2012
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 am 3 Apr. 2012
Use imwrite().

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by