how to read images from a folder one after the other from a folder and convert them into its greylevel image using a for loop?

1 次查看(过去 30 天)
Suppose i hav around 30 images in a folder named 'images'.Now what i need to do is to read the images one after the other and convert them into their greylevel image.how to do this process using a for loop or any other technique for reading the images one after the other instead of writing 'imread' for all the 30 images 30 times .How can u do this...plz help sir...

回答(1 个)

Walter Roberson
Walter Roberson 2012-2-8

类别

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