How to apply a function to a large number of images

1 次查看(过去 30 天)
I have written an image processing function
When there is only one image, for load image using imread and save the result with the imsave command.
But I want to apply this function to 20,000 photos
How do I apply a function to this number of images and save the result?
Thank you for your help

回答(1 个)

Kwasi
Kwasi 2021-3-30
@lech king, You can run the same code in a "for loop" such that each run will take one image and save the result in a folder.

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by