How to apply a function to a large number of images

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 日

0 投票

@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.

カテゴリ

ヘルプ センター および File ExchangeImages についてさらに検索

製品

リリース

R2020b

質問済み:

2021 年 3 月 30 日

回答済み:

2021 年 3 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by