macapype.pipelines.segment.create_old_segment_pipe

macapype.pipelines.segment.create_old_segment_pipe(params_template, params={}, name='old_segment_pipe')[source]

Description: Extract brain using tissues masks output by SPM’s old_segment

Function:

  • Segment the T1 using given priors;

  • Threshold GM, WM and CSF maps;

Params:

Inputs:

inputnode:

T1: T1 file name

arguments:

priors: list of file names

params: dictionary of node sub-parameters (from a json file)

name: pipeline name (default = “old_segment_pipe”)

Outputs:

fill_holes.out_file:

filled mask after erode

fill_holes_dil.out_file

filled mask after dilate

threshold_gm, threshold_wm, threshold_csf.out_file:

resp grey matter, white matter, and csf after thresholding