Just wondering if someone has written a quick batch routine for cleaning
segmented images. I've been trying to put togeather a script that (1) uses
spm_get to select the image files to work on, (2) calls spm_xbrain to
create the brain_xxx.img, and (3) calls spm_imcalc_ui to perform the
nessesary operations on the images. I can imagine the routine inputing the
three segmented files (i.e. xxx.seg1.img, xxx.seg2.img, and xxx.seg3.img)
and outputing cleaned gray, white, and csf images.
Any suggestions on how to do this?
Thanks a bunch...
Nathan White
|