Hello,
> thank you so much for your helping.
I tend to think that this is what the list is for :)
> I use spm5. There is no any options for my segmentation needs in the
> spm_segment function. But your first approach works fine.
Yes, spm_segment is the "old" segmentation that came with spm2. The
"new", unified segmentation is realized by the cascade of functions I
mentioned.
> I want to ask one more question. how does spm_preproc() determine the
> template file for MR Images. I mean T1.nii, T1.mnc or T2nii etc...
It does not use a T1 or T2 image anymore. The priors that are used are
determined by opts_seg.tpm and they default to gray/white/csf.nii in the
tpm directory in spm (type 'help spm_preproc'). If the question was how
spm determines the modality of the input image, I never checked that.
Hope this helps,
Marko
--
=====================================================================
Marko Wilke (Dr.med./M.D.)
[log in to unmask]
Universitäts-Kinderklinik University Children's Hospital
Abt. III (Neuropädiatrie) Dept. III (Pediatric neurology)
Hoppe-Seyler-Str. 1, D - 72076 Tübingen
Tel.: (+49) 07071 29-83416 Fax: (+49) 07071 29-5473
=====================================================================
|