Print

Print


You can figure out the transform by looking at the two matrices in the
NIfTI headers of the rc*.nii files.

Nii=nifti('rc1blah.nii');
Nii.mat
Nii.mat0

Mapping from a voxel i,j,k in the rc* to the corresponding location in
the original scan can be done by:

Niir=nifti('rc1blah.nii');
Nii=nifti('blah.nii');

Nii.mat\Niir.mat0*[i; j; k; 1]

Best regards,
-John

On 10 November 2011 18:36, Goldman, Aaron (NIH/NIMH) [C]
<[log in to unmask]> wrote:
> Hi, I had a question about the “New Segment” application in SPM8,
> specifically the “Native + DARTEL Imported” output option. When I run this,
> I get “c” images, “rc” images, and something called seg8.mat for each
> subject. However, is there a way to see the actual transform matrices SPM
> used to create the “rc” images for each subject?
>
>
>
> Thanks,
>
>
>
> Aaron