omni.pipelines.func.segmentation#

Functions

brain_extraction(output_path, ref_func_debias)

Brain extraction

omni.pipelines.func.segmentation.brain_extraction(output_path: str, ref_func_debias: str, fractional_intensity_threshold: float = 0.5, initial_warp_field: str = None)[source]#

Brain extraction

Parameters:
output_pathstr

Output path to write out files to.

ref_func_debiasstr

Reference functional.

fractional_intensity_thresholdfloat

Fractional intensity threshold for bet.

initial_warp_fieldstr

An initial distortion correction that should be applied before brain extraction

Returns:
str

Functional mask.

str

Brain extracted functional.