Hi Kalani,
> Does anyone here do segmentation (and other preprocessing steps) on T1
> images in SPM5, through MATLAB scripts instead of the GUI? I have
> inherited a few scripts from a former employee who is unreachable at this
> time. He has done segmentation two ways, with spm_segment, and with
> spm_jobman functions. Does anyone know which function is called through
> the GUI?
The SPM5 GUI calls spm_preproc, which is the SPM5 unified segmentation
code. The SPM5 directory also contains the old SPM2-style code in
spm_segment. Your inherited scripts could be using either.
For the jobman stuff, something like
jobs{1}.spatial{1}.preproc
or basically any use of the word preproc, I believe, would indicate
the new unified segmentation in spm_preproc was used.
It appears from spm5/spm_config_segment_old.m that a batch job can use
the old segmentation code, and that this would replace "preproc" with
something like "oldsegment".
I hope that helps,
Ged
|