> I'm modifying a user's SPM99 script to work with
> SPM2, and I need to duplicate the spm_xbrain
> functionality. I found some messages which
> indicated that the functionality was moved
> into the segment routine, but that doesn't seem
> to be the case. Specifically, I need to create
> a mask by combining xxx_seg1 and xxx_seg2
> images, which spm_xbrain.m did. Is that
> functionality elsewhere, or do I just need to
> duplicate the code which combined them?
All the erosions and dilations have been subsumed
into the segmentation routine. If you want the
brain_*.img files, then simply add the seg1 and
seg2 images together (spm_imcalc). If you want
surfaces, or pictures for volume rendering, then
try spm_surf.m
Best regards,
-John
--
Dr John Ashburner.
Functional Imaging Lab., 12 Queen Square, London WC1N 3BG, UK.
tel: +44 (0)20 78337491 or +44 (0)20 78373611 x4381
fax: +44 (0)20 78131420 http://www.fil.ion.ucl.ac.uk/~john
|