nii2mnc(1)
π nii2mnc π
okay bestie, welcome to the nii2mnc page from section 1 of the manual β she converts a NIfTI-1 or Analyze 7.5 format file into a MINC format file, and honestly? she's kind of iconic for it. π
β¨ NAME β¨
nii2mnc β convert a NIfTI-1 or Analyze 7.5 format file to a MINC format file.
π¦ SYNOPSIS π¦
nii2mnc [<options>] <infile> <outfile.mnc>
nii2mnc -help
πΈ DESCRIPTION πΈ
so the nii2mnc command is literally here to convert "NIfTI-1" format files into MINC format. no cap. and the NIfTI-1 format? it was developed by the members of the Neuroinformatics Technology Initiative's Data Format Working Group (DFWG). and NIfTI-1 itself is based upon the Mayo Clinic's Analyze 7.5 format β it's giving legacy but make it fashion. π
the name of the program comes from the common filename suffixes used for NIfTI-1 and MINC files, iykyk. β¨
now, NIfTI-1 defines two possible formats, and this is the part where you gotta pay attention:
- a "header plus raw image" 2-file format, and
- a single-file format that includes both header information and the image data.
as with Analyze 7.5, the 2-file format consists of one file with the suffix .hdr and another file with the extension .img. π«Ά and in NIfTI-1 single-file format, those two files may be combined into a single file with a .nii filename suffix. slay.
π OPTIONS π
quick heads up before we dive in: options can be specified in abbreviated form (as long as they are unique) and can be given anywhere on the command line. periodt. π
π₯ Output voxel format π₯
-floatβ save voxels in 32-bit floating point format π-doubleβ save voxels in 64-bit floating point format π-byteβ save voxels in 8-bit integer format-shortβ save voxels in 16-bit integer format-intβ save voxels in 32-bit integer format-signedβ save voxels in signed (2's complement) integer format-unsignedβ save voxels in unsigned integer format
π§ Analyze 7.5 specific options π§
-transverseβ assume data is in ZYX dimension order.-sagittalβ assume data is in XZY dimension order.-coronalβ assume data is in YZX dimension order.-xyzβ assume data is in XYZ dimension order.-zxyβ assume data is in ZXY dimension order.-yxzβ assume data is in YXZ dimension order.-flipx,-flipy,-flipzβ invert the samples along the given axis. π
π Other options π
-noscanrangeβ don't scan data to determine valid range.-quietβ quiet operation: do not print progress or debugging information. π€«
π Generic options for all commands π
-helpβ print summary of command-line options and abort.-versionβ print the program and library versions and abort.
π KNOWN BUGS π
current handling of NIfTI-1qformandsformcoordinate transforms should probably be revised as the NIfTI group clarifies the correct usage of these fields. π so like, be aware, bestie.
π SEE ALSO π
mnc2niiβ the reverse-direction bestie π«Ά
β AUTHOR β
Robert Vincent (bert@bic.mni.mcgill.ca) with assistance from the NIfTI-1 library authored by Robert Cox et al. π
πΈ COPYRIGHTS πΈ
Copyrights 2005 by Robert Vincent for the Montreal Neurological Institute.
and that's the whole page, bestie π this one's from $Revision: 1.4 $, dated Apr 22 2005 β shoutout to the nii2mnc(1) era, we love a classic. go convert something cute. π¦β¨
π¦ where this page comes from
- debian bookworm: minc-tools 2.3.00+dfsg-10 Β· as_is
- debian trixie: minc-tools 2.3.00+dfsg-12 Β· as_is
- ubuntu jammy: minc-tools 2.3.00+dfsg-8 Β· as_is
- ubuntu noble: minc-tools 2.3.00+dfsg-10build2 Β· as_is
- ubuntu questing: minc-tools 2.3.00+dfsg-12
- ubuntu resolute: minc-tools 2.3.00+dfsg-15 Β· NTP
- ubuntu stonking: minc-tools 2.3.00+dfsg-17 Β· NTP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms