How can I only rotate the field of view of a complex valued MRI brain image?

4 次查看(过去 30 天)
I am trying to rotate only the field of view of a complex valued MR image? I tried the following code, but it rotates the whole image. I am just trying to rotate the field of view:
new_data = imrotate(raw_data, 4);

回答(1 个)

Rasmita
Rasmita 2023-2-14
编辑:Rasmita 2023-2-15
According to my understanding, there is no such function to change the field of view of an image.
However, you can use the parameter 'bbox' to fit the output image in 2 different ways('loose' and 'crop').
new_data = imrotate(raw_data,angle,method,bbox)
For more information please refer to this documentation page: imrotate().
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 MRI 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by