Read images from a folder in a particular order
조회 수: 8 (최근 30일)
표시 이전 댓글
I have a folder, and subfolder of images in it. When i read images it comes in the order 1, 10, 11, 12...etc, instead of 1, 2, 3, 4....
What should i do to read the images from a folder of subfolders in 1, 2, 3, 4,.... order from each subfolder, instead of 1, 10, 11, 12.... order
댓글 수: 0
채택된 답변
DGM
2021년 4월 7일
This is pretty much what natsortfiles is for
See the example by the author here:
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!