betcrop_synthbet
Perform brain extraction using synthstrip on image
Keywords : anatomical image, BET, synthetic, neural network, Artificial intelligence, machine learning
Inputs
Section titled “Inputs”Input 1
Section titled “Input 1”Format : tuple val(meta), path(image), path(weights)
| Type | Description | Mandatory | Pattern | |
|---|---|---|---|---|
| meta | map | Groovy Map containing sample information e.g. [ id:'test', single_end:false ] | True | |
| image | file | Nifti image volume to perform BET. | True | *.{nii,nii.gz} | 
| weights | file | Alternative model weights | False | *.pt | 
Outputs
Section titled “Outputs”bet_image
Section titled “bet_image”Format : tuple val(meta), path(*__bet_image.nii.gz)
| Type | Description | Mandatory | Pattern | |
|---|---|---|---|---|
| meta | map | Groovy Map containing sample information e.g. [ id:'test', single_end:false ] | True | |
| *__bet_image.nii.gz | file | Nifti brain-extracted volume. | True | *__bet_image.{nii,nii.gz} | 
brain_mask
Section titled “brain_mask”Format : tuple val(meta), path(*__brain_mask.nii.gz)
| Type | Description | Mandatory | Pattern | |
|---|---|---|---|---|
| meta | map | Groovy Map containing sample information e.g. [ id:'test', single_end:false ] | True | |
| *__brain_mask.nii.gz | file | Brain-extracted image mask . | True | *__brain_mask.{nii,nii.gz} | 
versions
Section titled “versions”Format : path(versions.yml)
| Type | Description | Mandatory | Pattern | |
|---|---|---|---|---|
| versions.yml | file | File containing software versions | True | versions.yml | 
Arguments (see process.ext)
Section titled “Arguments (see process.ext)”| Type | Description | Default | Choices | |
|---|---|---|---|---|
| gpu | boolean | Use GPU for synthstrip | False | |
| border | int | Mask border threshold in mm. | 1 | |
| nocsf | boolean | Exclude CSF from brain border | False | |
| model | string | Alternative model weights (see https://surfer.nmr.mgh.harvard.edu/docs/synthstrip/ for a list of available models. | None | 
| Description | DOI | |
|---|---|---|
| Freesurfer | Open source neuroimaging toolkit for processing, analyzing, and visualizing human brain MR images. | 10.1016/j.neuroimage.2012.01.021 | 
Authors
Section titled “Authors”Last updated : 2025-10-30