Reply-To: | | [log in to unmask][log in to unmask]> wrote: > You could try the Deformations utility. This will write out a y_* > image (containing three volumes, [:,:,1,1], [:,:,1,2] and [:,:,1,3]) > that encodes the mapping. You'll need to account for voxel-to-world > transforms in image headers to make use of it though, as the mapping > is saved in mm coordinates. The code is in spm_defs.m. > > Best regards, > -John > > On 5 June 2011 05:49, Yonatan Dinai <[log in to unmask]> wrote: >> Hello all, >> >> I've used the "normalize" function of SPM, and was able to warp two >> volumes succesfully. >> >> I would now like to use the output parameters of the normalization >> process - the 4x4 matrix of the affine transformation & the 4D matrix >> of the DCT coefficients to transform an input point (X,Y,Z in the >> source volume) into it's mapped point in the reference coordinates? >> >> Does anybody has a code the computes that transformation? Is there >> such a function on SPM? If not, I would be happy to hear of any fast >> way to compute such a transformation. >> >> Thanks a lot, >> >> Yonatan >> >[log in to unmask] |