Dear Alain,
Have a look at the instructions here:
https://en.wikibooks.org/wiki/SPM/Batch#Batch_Script_for_SPM12
Fill in the entries for the Deformations module then click on View >
Show .m code to display the structure of the matlabbatch variable.
Note that, if you only want to apply a deformation field to a set of
images, you can use the Spatial>Normalise:Write module instead; both are
wrappers around the spm_deformations function.
Best regards,
Guillaume.
On 12/04/17 08:42, Alain Imaging wrote:
> Hi,
>
> quick follow up: how can I apply the deformation field from the command line rather than using batch -> utils -> deformations ?
>
> Alain
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|