Back to the main page.

Bug 524 - check transformation matrices before and after writing and reading freesurfer MRIs

Status CLOSED FIXED
Reported 2011-03-07 10:03:00 +0100
Modified 2011-03-16 17:12:10 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 normal
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Jan-Mathijs Schoffelen - 2011-03-07 10:03:51 +0100

particularly with respect to 0-based or 1-based voxel counting


Jan-Mathijs Schoffelen - 2011-03-15 10:36:50 +0100

I checked. No big problems encountered here. mri = ft_read_mri(filename); cfg = []; cfg.datatype = 'mgz'; cfg.filename = 'test'; cfg.parameter = 'anatomy'; ft_volumewrite(cfg, mri); mri2 = ft_read_mri('test.mgz'); compare mri.transform with mri2.transform, this shows some numerical inaccuracies, but no clear offset issues