Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.42 KB

anat_upsidedownplotting.md

File metadata and controls

19 lines (13 loc) · 1.42 KB
title category tags redirect_from
Why does my anatomical MRI show upside-down when plotting it with ft_sourceplot?
faq
anatomical
mri
/faq/why_does_my_anatomical_mri_show_upside-down_when_plotting_it_with_ft_sourceplot/

Why does my anatomical MRI show upside-down when plotting it with ft_sourceplot?

When visualizing anatomical MRIs and source reconstructed data with ft_sourceplot, it may happen that the image is plotted upside-down. This has to do with the way in which anatomical volumes are plotted in FieldTrip. For more information, see the frequently asked question What is the plotting convention for anatomical MRIs?.

{% include image src="/assets/img/faq/anat_upsidedownplotting/upside_down_sourceplot.png" width="400" %}

In itself this is not a problem, as explained here.

If for aesthetic reasons you do want the figure to be plotted upside-up, you can use the ft_volumereslice function to reslice the MRI, i.e. to interpolate the anatomy onto a new 3D grid that is aligned with the axes of the coordinate system. If you use the resliced MRI as input to ft_sourceinterpolate, the source reconstructed result will also show up as expected.

{% include image src="/assets/img/faq/anat_upsidedownplotting/correct_sourceplot.png" width="400" %}