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

 Respuesta aceptada

Walter Roberson
Walter Roberson el 3 de Abr. de 2012

0 votos

2 comentarios

bob
bob el 3 de Abr. de 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 el 3 de Abr. de 2012
Use imwrite().

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Centro de ayuda y File Exchange.

Preguntada:

bob
el 3 de Abr. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by