If your scans are all aligned (according to Check Reg), then you could
just use the Coreg button to reslice all your subjects' data so that
it matches the data from one of your subjects. Of course, this may
not be totally ideal because one subject will turn out to be a bit
different because the data has not been resliced (ie has no
interpolation effects). I don't know if this is likely to matter much
for your analysis, but it turns out to have been the cause of
artifactual results for certain types of work.
Best regards,
-John
On 24 April 2012 11:55, Yolanda Vives <[log in to unmask]> wrote:
> Thank you Gemma, I have now the same voxel size as the original image
> but the dimensions of the image have changed. Any idea how to preserve
> both voxel size and dimensions?
>
> Regards,
> yolanda
>
> 2012/4/20 Gemma Monté <[log in to unmask]>:
>>
>> In the reorient.m file I found
>> (http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/nichols/scripts/spm/johnsgems5/reorient.m),
>> the lines are
>>
>> 14 - vx=1;
>> 43 - mat = spm_matrix(mn)*diag([vx vx vx 1])*spm_matrix(-[1 1 1]);
>>
>> I don't know the reorient.m file you are working with. It's the last version
>> I'm aware that reslices the input images to a resolution of 1mm.
>>
>> Best Regards,
>> Gemma
>>
>>
>>
>>
>> On 20 April 2012 14:36, Yolanda Vives <[log in to unmask]> wrote:
>>>
>>> Thank you Gemma. In which function should I replace these lines? I
>>> haven't seen them in reorient.m.
>>>
>>> Regards,
>>> yolanda
>>>
>>> 2012/4/19 Gemma Monté <[log in to unmask]>:
>>> >
>>> > Maybe this could work:
>>> >
>>> > comment the next lines:
>>> > % vx=1;
>>> > % mat = spm_matrix(mn)*diag([vx vx vx 1])*spm_matrix(-[1 1 1]);
>>> >
>>> > and write:
>>> > vx=abs(V.mat(1,1)); vy=abs(V.mat(2,2)); vz=abs(V.mat(3,3));
>>> > mat = spm_matrix(mn)*diag([vx vy vz 1])*spm_matrix(-[1 1 1]);
>>> >
>>> > Best Regards,
>>> > Gemma
>>> >
>>> >
>>> >
>>> > On 19 April 2012 16:42, Yolanda Vives <[log in to unmask]> wrote:
>>> >>
>>> >> Dear SPMers,
>>> >>
>>> >> I would like to reorient a dataset of T1 MRIs according to the AC-PC
>>> >> axis with SPM8 in order to use them with other software tools. I have
>>> >> reoriented the images and applied the reorient.m script in matlab and
>>> >> I have a voxel size of 1x1x1mm but the MRIs have now different
>>> >> dimensions. Is this procedure ok? How could I reslice the images in
>>> >> order to have MRIs with the same dimensions and the same voxel sizes?
>>> >>
>>> >> Thank you for your help,
>>> >> yolanda
>>> >
>>> >
>>>
>>>
>>>
|