how can do a process on some images in a loop process while these images are not like a sequence?
Afficher commentaires plus anciens
hi I have some folders that in each folder we have some images.for example in folderA we have images like these: 18.tiff , 32.tiff, 38.tiff, 48.tiff,54.tiff, 211.tiff the name of images are ascending. we should do some procesec on these images and then replace these new images insted of initial ones. for example the name of 18.tiff after process should be 18.tiff. Can I do this process in a sequence for example in a for loop or while loop? thanks
Réponses (3)
Ashish Uthama
le 10 Juin 2015
1 vote
2 commentaires
jack nn
le 10 Juin 2015
Walter Roberson
le 10 Juin 2015
It appears to be new in R2015a.
Walter Roberson
le 9 Juin 2015
0 votes
3 commentaires
jack nn
le 10 Juin 2015
Walter Roberson
le 10 Juin 2015
It doesn't matter. You can dir() to get the order out of the directory and use that order. Or you can get the order out of the directory, sort however you like, and use that order.
You imply that the file names are numeric but not sequential, and you imply that there might be differences in the number of digits. You might want this File Exchange Contribution
Dima Lisin
le 12 Juin 2015
0 votes
Catégories
En savoir plus sur Image Arithmetic dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!