Dear Gabriel,
If you just want to apply a scale factor to an image, you can change its
header information:
V = spm_vol('PET.nii');
V.pinfo(1:2,:) = V.pinfo(1:2,:) * 42;
spm_create_vol(V);
In the context of a GLM, you can use the proportional scaling option in
second level models.
Best regards,
Guillaume.
On 11/04/18 10:17, gabriel robert wrote:
> Dear SPM experts,
>
> We are looking for a code to scale PET images to the global value (whole
> brain glucose metabolism) that could run on Matlab.
>
> We could not find it in the archives,
>
> If any one could help us....
>
> Best wishes,
>
> Gabriel
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|