Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
vini
vini 2011 年 4 月 17 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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)?

回答 (1 件)

Jiro Doke
Jiro Doke 2011 年 4 月 17 日
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.

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by