How to select images from nested folder?
显示 更早的评论
I have a folder named AAA. Inside folder AAA there is another folder name A, inside A there is another folder B. folder B consist of 300 images. I want to get every 10th number image from folder B ( It will be 30 images) and place these images in another folder C. I need a Matlab code for this Scenario. Any help?
采纳的回答
更多回答(1 个)
Image Analyst
2019-7-18
0 个投票
Have you looked at imageDatastore()? Or dir() using two asterisks as the file pattern?
类别
在 帮助中心 和 File Exchange 中查找有关 Image Preview and Device Configuration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!