We want run the segmentation from the command line and we intending to do
multispectral segmentation.
1. How do I specify the input images to the algorithm(spm_segment.m)? I've
three images(T1,T2 and PD) for each subject.
2. Do I need to use the spm_vol.m function before I use the spm_segment.m
function?
3. When I see using breakpoints how the inputs from the GUI are taken,the
input to the segmentation algorithm seems to be a structure with several
fields. Do I need to specify all the fields?
I tried most of the ways possible but I just can't understand how to do it.
Can someone please help!The reason I want to do it command line is I'm
writing a script for batch processing of several subjects with our own
templates and own priors.
Thanks,
Hima
|