How to rotate an 3D-image / 3D-Matrix

Hello,
my problem is this:
I have an 3D-Image (an 200x200x50 matrix)
this matrix has to be rotatet around the x-axis by an ~175° angle. The exact angle I will have to decide later on. The only code I found was "Imrotate", but that only works for 2D-Images.
Thank you very much Florian

답변 (2개)

Matt J
Matt J 2015년 7월 14일
편집: Matt J 2015년 7월 14일

0 개 추천

IMROTATE will work on 3D images. It will operate on every 2D slice A(:,:,i), rotating it about the z-axis. You can use permute() to align the x-axis with the z-axis and ipermute() to revert back again.
Alex Taylor
Alex Taylor 2015년 7월 15일

0 개 추천

Look at the second example of the documentation for IMWARP:
You can phrase a rotation using a 3-d affine transformation, and apply this transformation with imwarp.

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품

질문:

2015년 7월 14일

답변:

2015년 7월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by