How I can read '2.tif' before '19.tif'?(my tif files are named as: 1.tif, 2.tif, 3.tiff, ..., 10.tif, 11.tif, ..., 19.tif, 20.tif)

Hello, Everyone. I have a folder with 100 tif format images, their names are 1.tif, 2.tif, ..., 100.tif. I wnant read these files from 1 to 100 one after another. I firstly use dir to list all tif image names. But in the listed names, the 2.tif was arranged after 19.tif, the 3.tif was arranged after 29.tif. How can I read 2.tif after 1.tif(before 19.tif)?

1 Comment

Download my FEX submission and unzip it into your current directory:
Read the examples (online or in the Mfile) to see how to use it.

Sign in to comment.

More Answers (0)

Categories

Find more on 图像 in Help Center and File Exchange

Asked:

on 27 Jul 2017

Edited:

on 27 Jul 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!