Load a scene from .mnc file

Hello,
In the module i develop in python, i need to load a scene. This scene i need to load is a .mnc file.

Does someone know how to load this type of file with python or if i have to convert it and if so the tools i have to use ?

Thank you!
Eloi

Slicer doesn’t support .mnc files.

You have to convert them to a different format first, e.g. .nii.

To do that, you can install the MINC Toolkit or Freesurfer and then use the command line tool mnc2nii to convert the file. For example:
mnc2nii Desktop/01_preop_mri.mnc -nii