フィルターのクリア

Rotation of a Volume

5 ビュー (過去 30 日間)
carlos Uribe
carlos Uribe 2013 年 11 月 19 日
回答済み: Matt J 2013 年 11 月 19 日
Sorry about this simple question but didn't find a way of doing it.
Is there a way I can do the following
for i=1:nslices
A(:,:,i)=rot90(A(:,:,i),3);
end
without having the loop? The loop takes a while.
In general what I'm doing is rotating a volume about the third dimension

採用された回答

Matt J
Matt J 2013 年 11 月 19 日
編集済み: Matt J 2013 年 11 月 19 日
imrotate(A,90*3) will do it if you have the appropriate toolbox.

その他の回答 (1 件)

Matt J
Matt J 2013 年 11 月 19 日
You can also do things like this
A = flipdim(permute(A,[2,1,3]),2);

カテゴリ

Help Center および File Exchange3-D Volumetric Image Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by