How to create a loop that runs a function on subfolders in a directory.

2 次查看(过去 30 天)
I have 153 folders each containing 16 .bmp images. I need to run through each folder, and apply a particular function that segments the image. Then I would like to save the corresponding segmented image in each corresponding folder. I'm new at Matlab and I'm finding this very difficult. Any help would be appreciated!

回答(1 个)

Sean de Wolski
Sean de Wolski 2018-5-16

类别

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

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by