How to apply a function to a large number of images

2 views (last 30 days)
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

Answers (1)

Kwasi
Kwasi on 30 Mar 2021
@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.

Categories

Find more on Images in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!