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.scale(imfile, scaledfile, scale, check_pkg_version=False)[source]ΒΆ
Scale the MRI image.
Note
This function is based on FSL.
- Parameters:
imfile : str
the input image.
scaledfile : str
the path to the scaled input image.
scale : int
the scale factor in all directions.
check_pkg_version : bool, default False
optionally check the package version using dpkg.
- Returns:
scaledfile, trffile : str
the generated files.
Follow us