Clear Filters
Clear Filters

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

2 views (last 30 days)
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);

Answers (1)

Rasmita
Rasmita on 14 Feb 2023
Edited: Rasmita on 15 Feb 2023
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!

Categories

Find more on Biomedical Imaging in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!