Skip to content

fslbetcrop

Module: betcrop/fslbetcrop

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

Keywords : DWI, T1, BET, Crop, scilpy


Inputs

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.*.bval
bvecfileB-vectors in FSL format.true*.bvec

Outputs

TypeDescriptionPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]
imagefileNifti volume brain-extracted and cropped.*_bet.{nii,nii.gz}
maskfilemask brain-extracted and cropped.*_bet_mask.{nii,nii.gz}
bboxfileBoundingBox used for cropping.*_boundingBox.pkl
versionsfileFile containing software versionsversions.yml

Arguments (see process.ext)

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

Tools

DescriptionDOI
FSLFSL Toolbox
scilpyThe Sherbrooke Connectivity Imaging Lab (SCIL) Python dMRI processing toolbox.
MRtrix3Toolbox for image processing, analysis and visualisation of dMRI.

Authors

gagnonanthony


Last updated : 2025-07-15