fsl.scripts.resample_image

This module defines the resample_image script, for resampling a NIfTI image.

fsl.scripts.resample_image.parseArgs(argv)

Parses command-line arguments.

Parameters

argv – Sequence of command-line arguments

Returns

An argparse.Namespace object containing parsed arguments.

fsl.scripts.resample_image.main(argv=None)

Entry point for resample_image. Parses arguments, resamples the input image, and saves it to the specified output file.

Parameters

argv – Sequence of command-line arguments. If not provided, taken from sys.argv.