Re: [Freesurfer] apply an existing linear transform to a GRE phase map

2023-05-04 Thread Douglas N. Greve
External Email - Use Caution what do you mean that you won't want to do any resampling? How else would you apply a transform? Or do you mean that you want to use nearest neighbor resampling (so no interpolation)? If so, you can use mri_vol2vol with the --interp nearest option

Re: [Freesurfer] apply an existing linear transform to a GRE phase map

2023-05-03 Thread Wighton, Paul
External Email - Use Caution Hi Daniel, It's been a while since I looked into this, but I think you'll need to use `lta_convert` to convert your lta to xfm format, then use `mri_add_xform_to_header` to overwrite the header of your phase map. You might have to extract the