Re: [Freesurfer] how to get the displacement from template to the linearly registered image

2019-08-29 Thread Bruce Fischl
Hi Ping we don't apply the linear registration to any image - we use it to initialize the nonlinear warp. And yes, the nonlinear warp is stored as a 128^3 array with 2 voxel spacing and interpolation between them. You can visualize the .m3z directly in freeview as a 3-frame displacement volume

Re: [Freesurfer] how to get the displacement from template to the linearly registered image

2019-08-29 Thread ping cao
External Email - Use Caution Dear Tim, Thank you for your reply! 1) I want the the deformation field is the displacement from the template image to the linearly-aligned image defined. 2) I just use the recon-all to generate the file. 3) What I want is to first linearly register t

Re: [Freesurfer] how to get the displacement from template to the linearly registered image

2019-08-28 Thread Bruce Fischl
Hi Ping the displacement fields are stored in m3z format in the file talairach.m3z. They are a vector field over the atlas that maps points in the atlas to points in the original (not linearly aligned) space. cheers Bruce On Wed, 28 Aug 2019, ping cao wrote: External Email - Us

Re: [Freesurfer] how to get the displacement from template to the linearly registered image

2019-08-28 Thread Tim Schäfer
External Email - Use Caution Could you explain what you are trying to achieve and which transformation you are referring to? I don't get: 1) what are the input and output files of the registration for which you want the deformation field? 2) What command did you use to perform th

[Freesurfer] how to get the displacement from template to the linearly registered image

2019-08-28 Thread ping cao
External Email - Use Caution Dear expert, I saw a paper mentioned this : By using the *deformation field* from nonlinear registration, we can > build the correspondence between voxels in the template and each > linearly-aligned image. For instance, for each voxel (x, y, z) in t