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 CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by