Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
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);

Antworten (1)

Rasmita
Rasmita am 14 Feb. 2023
Bearbeitet: Rasmita am 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!

Kategorien

Mehr zu Biomedical Imaging finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by