Reply To: Command Line: Cerebrum Labeling

Forums Forums Cortical Surface Extraction Command Line: Cerebrum Labeling Reply To: Command Line: Cerebrum Labeling

#365
wwu94
Participant

Hi,

Thanks for replying!

Here is the code I used:
## DIR is where I put all the skull-stripped volume (output from skull-stripping function).
## of and of2 are just formatted output file names.
for f in “$DIR”/*_mri.nii.gz
do
/home/share/BrainSuite16a/bin/cerebro -i “$f” –atlas “/home/share/BrainSuite16a/atlas/brainsuite.icbm452.lpi.v08a.img” –atlaslabels “/home/share/BrainSuite16a/atlas/brainsuite.icbm452.v15a.label.img” -l “$DIR/$of” -o “$DIR/$of2”

For cortical_extraction.cmd: can that be executed in Linux environment? I thought it’s for windows platform. If it can, can you be a little more specific on that?

Thanks a lot for helping!