Skip to content

Anatomical Segmentation

AnatSegPipeline

Generating anatomical segmentation atlas from sMRI

__init__

Generating anatomical segmentation atlas from sMRI

Parameters:

Name Type Description Default
subject object

Subject object

required
session object

Session object

required
output_path str

Output directory

required
use_which_t1w str

specific string to select T1w image, e.g. 'acq-highres'. If None, T1w image is not used

'T1w'
methods list

List of methods to use. Options include 'synthseg' and 'chpseg'.

['synthseg', 'chpseg']
cpu_first bool

Whether to use CPU first for SynthSeg (if available).

False
extract_from str

Path to extract results from

None
**kwargs

Additional arguments

{}

A more detailed description:

In this pipeline, we collect several anatomical segmentation methods for structural MRI (sMRI).

  • SynthSeg: --keepgeom is set to preserve the original voxel dimension of the input images.
  • chpseg: Using T1w image to segment the choroid plexus (CP) in lateral ventricles.