Read images from a folder in a particular order
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Elysi Cochin
am 7 Apr. 2021
Bearbeitet: Elysi Cochin
am 7 Apr. 2021
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 Kommentare
Akzeptierte Antwort
DGM
am 7 Apr. 2021
This is pretty much what natsortfiles is for
See the example by the author here:
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!