How to arrange stacked Images into a 2 dimension array?
古いコメントを表示
I have a stack of 40 Images with dimension of 1000*1000 as:
Images<1000*1000*40 double>
I want to arrange the Images as shown below in a single array of size 8000*5000:

Can anyone help?
1 件のコメント
David Young
2015 年 6 月 7 日
It is very helpful that the question has been asked so clearly.
採用された回答
その他の回答 (1 件)
Walter Roberson
2015 年 6 月 7 日
0 投票
You can mat2cell splitting along the 3rd dimension, reshape the cell array 8x5 and then cell2mat back
1 件のコメント
Walter Roberson
2015 年 6 月 7 日
Sz = size(Image4D);
T = mat2cell(Image4D, Sz(1), Sz(2), Sz(3), ones(1,Sz(4));
Image3D = cell2mat(reshape(T, 8, 5));
カテゴリ
ヘルプ センター および File Exchange で Image Arithmetic についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!