Thanks for the bug report. If you find one, then please report it to us
so we can have a go at fixing it.
If you are shy, then you can email them directly to us at:
[log in to unmask]
> SPM 99b
> -------
> The write normalised images appears to fail when the target pixel sizes
> are not integers, i.e. it works for 3mm cubic voxels, but not 3.38mm
> cubic voxels:
>
> SPM99b: spm_sn3d (v2.18) 09:36:01 - 18/05/1999
> ========================================================================
> Subject 1: ??? Error using ==> ./lay..
> Matrix dimensions must agree.
>
> Error in ==> /home2/keith/spm99b/spm_write_sn.m
> On line 88 ==> origin = round(-bb(1,:)./Vox + 1);
>
This bit never got tested at the fil, since we always use voxel sizes
of either 1, 2 or 3 mm. It has been fixed with a transpose of the
answer returned by spm_input. The fixed code is available from:
ftp://ftp.fil.ion.ucl.ac.uk/spm/spm99b_updates
Other fixes in this directory (so far) are for compiling on other platforms,
so you need not have them unless you intend to re-compile the mex routines.
Regards,
-John
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|