Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

in wat order multiple images will be read and store in workspce?

1 visualizzazione (ultimi 30 giorni)
Suppose I have a 10 images in a folder and I read those images using imread() and in the workspace i get a matrix of size 30x30x10. where 30x30 in size of each image and 10 is the total number of images. Now my question is, in what order imread reads images. i mean to say is it the same order the second image in folder will be (:,:,2) in workspace and last image in (:,:,10)?

Risposte (1)

Jiro Doke
Jiro Doke il 17 Apr 2011
That depends on how you read it in. You can't read all 10 images with a single imread command. You would have to use 10 imread commands or do them in a loop, so in that case you should know which order you're reading them in.

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by