The bb used was just the default bounding box (from spm_defaults.m).
If your images were normalised using a different one, then simply
change the values.
All the best,
-John
| Thanks for that, it worked perfectly. Just one quick further query:
|
| How did you calculate those bounding box values? Are they the same for all
| the template images?
| >You need to pass the name of the *_sn3d.mat file as an argument to the
| function:
| >
| > matname = 'the_sn3d.mat'; % Name of the sn3d.mat file
| > vox = [2 2 2]; % Voxel sizes of normalised
image
| > bb = [[-78 -112 -50];[78 76 85]]; % Bounding box of normalised
image
| > dets_from(matname, vox,bb);
|