Processing images in a directory

3 vues (au cours des 30 derniers jours)
bob
bob le 3 Avr 2012
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

Réponse acceptée

Walter Roberson
Walter Roberson le 3 Avr 2012
  2 commentaires
bob
bob le 3 Avr 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 le 3 Avr 2012
Use imwrite().

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by