> I am thinking about using the co-reg function to measure geometric
> distortions in volumetric data. Essentially I would like to image a
> phantom regularly and measure distortions that may be caused by
> equipment variation over time.
>
> Is it possible to get roll, pitch, yaw, shear and scale or something
> similar from the spm_coreg function that I can use?
You can derive the information you need from the .mat files.
P=spm_vol(spm_get(Inf,'IMAGE'));
Params = zeros(numel(P),12);
for i=1:numel(P),
Params(i,:) = spm_imatrix(P(i).mat/P(1).mat);
end
Best regards,
-John
|