Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

brainprep.interfaces.freesurfer.mri_convert

brainprep.interfaces.freesurfer.mri_convert(src_file, trg_file, reference_file)[source]

Convert a source image and resample it to match the resolution, orientation, and voxel grid of a reference image using FreeSurfer’s mri_convert.

Parameters:
src_fileFile

Source image.

trg_fileFile

Target image.

reference_fileFile

Reference image.

Returns:
commandlist[str]

Conversion command-line.

outputstuple[File]
  • trg_file : File - Target image.