[FieldTrip] Volume Reslice Question

Schoffelen, J.M. (Jan Mathijs) janmathijs.schoffelen at donders.ru.nl
Wed Mar 30 09:12:29 CEST 2022


Hi JT,

You’d first need to ensure that ‘mri_realigned’ is correctly realigned. Since the resliced MRI image is upside down, this suggests that the coordinate system information that is used by FieldTrip (i.e. the mri_realigned.coordsys -> it looks like ‘ctf’ ) is not compatible with what’s in the data.

If you search the documentation for coordinate systems I think there should be plenty of information that will get you on the road.

Best wishes,
JM


On 30 Mar 2022, at 05:45, JT Galla via fieldtrip <fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>> wrote:

Hello!

I am trying to reslice my MRI image for the purposes of EEG Source Reconstruction using the following code:


cfg          = [];
mri_resliced = ft_volumereslice(cfg, mri_realigned);

However, when I go to view the output of this command I see that the reslice method has completely removed axial slices and has inverted coronal and sagittal slices. This is, of course, ruining subsequent head model generations so any guidance that could be provided on why this might be happening and how to fix it would be greatly appreciated. Attached is a screenshot of what my replaced image looks like.

<Screen Shot 2022-03-29 at 11.38.25 PM.png>


Thank you for your time!

JT Galla
Duke University c/o ’23
Neuroscience Major, Chemistry & Computational Biology Minor
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!6VeM6ulnnoPWj9YzzXC2iwz3vUayVv0lqRR_Y5ejucd-ilqk-ByihIVsmRT3y87wRsROZSh9D0p8TICvD4tfGgsU622H5RT-oRNQRA$

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20220330/160927db/attachment.htm>


More information about the fieldtrip mailing list