Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
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);

Respuestas (1)

Rasmita
Rasmita el 14 de Feb. de 2023
Editada: Rasmita el 15 de Feb. de 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!

Categorías

Más información sobre Biomedical Imaging en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by