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.spatial.apply_mask(imfile, maskfile, genfile)[source]ΒΆ

Apply brain mask.

Parameters:

imfile : str

the input image.

maskfile : str

the mask image.

genfile : str

the input masked file.

Returns:

genfile : str

the generated file.

Follow us

© 2025, brainprep developers