synthseg — standalone SynthSeg execution#
Schema: SynthSegConfig in src/thesis/core/config/validators.py. Optional top-level block (defaults to None). Configures the synthseg workflow and the embedded SynthSeg stage of tract_synthseg.
Field |
Type |
Default |
Constraints |
Description |
|---|---|---|---|---|
|
|
|
— |
Explicit T1 input path. When unset, the workflow falls back to |
|
|
|
— |
Request cortical parcellation output ( |
|
|
|
— |
Enable robust mode ( |
|
|
|
— |
Enable fast mode ( |
|
|
|
— |
Write volumes CSV ( |
|
|
|
— |
Write QC CSV ( |
|
|
|
|
Optional crop size ( |
|
|
|
— |
Force CPU execution ( |
|
|
|
|
CPU thread count when |
Example#
synthseg:
t1_image: data/raw/114823/T1w/T1w_acpc_dc_restore_1.25.nii.gz
parc: true
robust: false
fast: false
vol: true
qc: true
cpu: false
threads: 1
Notes#
mri_synthsegmust be onPATH(install separately from FreeSurfer/SynthSeg distributions — seedocs/guides/installation.md).The QC output is consumed downstream by
qc.synthseg_qc_thresholdto flag low-quality segmentations in batch summaries.Inside the
preprocessworkflow, SynthSeg has its own config block underpreprocess.synthseg— that’s a separatePreprocessSynthSegConfigmodel.