Back to the main page.

Bug 861 - ft_volumesegment with cfg.write = 'yes' writes the wrong transformation matrix to the files

Status CLOSED FIXED
Reported 2011-08-06 21:09:00 +0200
Modified 2011-08-17 15:13:21 +0200
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-08-06 21:09:40 +0200

in the code the transformation matrix is taken from the original, but it should be taken from the mri after the initial realignment (so: mri.transform, rather than original.transform), this should be changed for both spm2 and spm8. This bug was identified by Don