nii2mnc(1)

πŸ“¦
version 2.3.00 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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:

  1. a "header plus raw image" 2-file format, and
  2. 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-1 qform and sform coordinate 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