Read images from a folder in a particular order
조회 수: 1 (최근 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개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!