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.reorient2std(imfile, stdfile, check_pkg_version=False)[source]ΒΆ

Reorient the MRI image to match the approximate orientation of the standard template images (MNI152).

Note

This function is based on FSL.

Parameters:

imfile : str

the input image.

stdfile : str

the reoriented image file.

check_pkg_version : bool, default False

optionally check the package version using dpkg.

Returns:

stdfile : str

the generated file.

Follow us

© 2025, brainprep developers