Skip to content

fslbetcrop

Module: betcrop/fslbetcrop

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

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

Arguments

TypeDescriptionChoicesDefault
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

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

Tools

DescriptionHomepageDOI
FSLFSL Toolboxhttps://fsl.fmrib.ox.ac.uk/fsl/fslwiki
scilpyThe Sherbrooke Connectivity Imaging Lab (SCIL) Python dMRI processing toolbox.https://github.com/scilus/scilpy.git
MRtrix3Toolbox for image processing, analysis and visualisation of dMRI.https://mrtrix.readthedocs.io/en/latest/

Authors

@gagnonanthony