Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
vini
vini am 17 Apr. 2011
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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)?

Antworten (1)

Jiro Doke
Jiro Doke am 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.

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by