[FieldTrip] problems with mri interpolation
Olga Sysoeva
olga.v.sysoeva at gmail.com
Wed Jan 20 11:36:16 CET 2016
Dear Fieldtrippers,
I'm encounter the problem with MRI interpolation and reslicing using
FT_VOLUMERESLICE.
I have read my MRI from fif.file and this mri variable contains
mri_K0012.unit, 'm'
mri_K0012.dim, [432, 512, 180]
mri_K0012.anatomy, <432, 512, 180 int16>
mri_K0012.hdr, (1*1 structure)
mri_K0012.transform, (4*4 double)
mri_K0012.coordsys 'neuromag'.
Than I used
mri = ft_volumereslice([], mri);
the output is
“the input is volume data with dimensions [432
512 180]
reslicing from [432 512 180] to [256 256 256]
the input is volume data with dimensions [256
256 256]
the input is volume data with dimensions [432
512 180]
selecting subvolume of 0.0%
reslicing and interpolating anatomy
interpolating
??? Attempted to access sel(1); index out of
bounds because numel(sel)=0.
Error in ==> ft_sourceinterpolate>my_interpn
at 663
ft_progress(sel(1)/num, 'interpolating
%.1f%%\n', 100*sel(1)/num);
Error in ==> ft_sourceinterpolate at 583
av( sel) = my_interpn(fv, ax(sel),
ay(sel), az(sel), cfg.interpmethod,
cfg.feedback);
Error in ==> ft_volumereslice at 176
resliced = ft_sourceinterpolate(tmpcfg, mri,
resliced);”
I'm using matlab 7.6.0 (R2008a) and recently
downloaded fieltrip (also in my previous version of 2013 the error
was the same).
I'd be thankful for the comments.
Best Regards,
Olga.
P.S.Actually, I can project my sources
meaningfully into not interpolated MRI, altoough the images are
plotted upside down.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160120/653068d3/attachment-0001.html>
More information about the fieldtrip
mailing list