How to rotate an 3D-image / 3D-Matrix
98 views (last 30 days)
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
Alex Taylor on 15 Jul 2015
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.