Menu

Package that provides tools for brain MRI Deep Learning pre-processing.

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.

brainprep.tbss.tbss_2_reg(tbss_dir, fa_file, use_fmrib58_fa_1mm=True, target_img=None)[source]ΒΆ

Use FSL tbss_2_reg to non-linearly register the FA images to a 1x1x1mm standard space or a template image or the best target from all FA images.

For more information, refer to: https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/TBSS/UserGuide

Parameters:

tbss_dir : str

path to TBSS root directory.

fa_file : str

path to the FA file to be registered.

use_fmrib58_fa_1mm : bool, default True

use the FMRIB58_FA_1mm as the target during the non-linear registrations (recommended).

target_img : str, default None

optionally define a target image to use during the non-linear registration.

Returns:

norm_fa_file : str

the to the registered FA image.

Follow us

© 2025, brainprep developers