save the slices of a deformes volume
1 回表示 (過去 30 日間)
古いコメントを表示
hi. i have a volume called a with 430 slices and all of them are stored in a folder and are accesible. i have made some changes like rotation to volume a, so the deformed volume is called b.
now i want to save all slices of b in a folder instead of using b_slices = b(:,:,s) (s variates from 1 to 430) manually 430 times.
could anyone help me please?
0 件のコメント
回答 (1 件)
KALYAN ACHARJYA
2019 年 6 月 19 日
編集済み: KALYAN ACHARJYA
2019 年 6 月 19 日
for slice_number=1:430
b_slices=b(:,:,slice_number);
% Save Individually
end
Or
b_slices={};
for slice_number=1:430
b_slices{slice_number}=b(:,:,slice_number);
end
Acess from structure array
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で 3-D Volumetric Image Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!