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

4 vues (au cours des 30 derniers jours)
Gulfam Saju
Gulfam Saju le 30 Jan 2023
Modifié(e) : Rasmita le 15 Fév 2023
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);

Réponses (1)

Rasmita
Rasmita le 14 Fév 2023
Modifié(e) : Rasmita le 15 Fév 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!

Catégories

En savoir plus sur MRI dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by