Skip to content

betcrop_fslbetcrop

Perform Brain extraction using FSL BET followed by cropping empty planes around the data.

Keywords : DWI, T1, BET, Crop


Format : tuple val(meta), path(image), path(bval), path(bvec)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
imagefileNifti image volume to perform BET + crop.True*.{nii,nii.gz}
bvalfileB-values in FSL format.True*.bval
bvecfileB-vectors in FSL format.True*.bvec

Format : tuple val(meta), path(*_bet.nii.gz)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*_bet.nii.gzfileNifti volume brain-extracted and cropped.True*_bet.{nii,nii.gz}

Format : tuple val(meta), path(*_bet_mask.nii.gz)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*_bet_mask.nii.gzfilemask brain-extracted and cropped.True*_bet_mask.{nii,nii.gz}

Format : tuple val(meta), path(*_boundingBox.pkl)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*_boundingBox.pklfileBoundingBox used for cropping.True*_boundingBox.pkl

Format : path(versions.yml)

TypeDescriptionMandatoryPattern
versions.ymlfileFile containing software versionsTrueversions.yml

TypeDescriptionDefaultChoices
b0_thrfloatThreshold under which b-values are considered to be b0s.20
bet_ffloatFractional intensity threshold (0->1). Smaller values give larger brain outline estimates”0.5
size_dilintSize of dilation for the mask (in voxels).None
cropbooleanCrop the output images.True
dilatebooleanDilate the mask.True

DescriptionDOI
FSLFSL Toolbox10.1016/j.neuroimage.2011.09.015
scilpyThe Sherbrooke Connectivity Imaging Lab (SCIL) Python dMRI processing toolbox.
MRtrix3MRtrix3 is a software package for various types of diffusion imaging data, including diffusion-weighted, diffusion-tensor, and q-ball imaging.10.1016/j.neuroimage.2019.116137


Last updated : 2025-10-30