mnc2mnc(1)

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

πŸ’– mnc2mnc(1) πŸ’–

okay bestie, welcome to the mnc2mnc(1) page β€” yes the title says mnc2mnc and the program inside calls itself mnc2nii, that's just how it is, we don't ask questions, we just vibe 🫢


✨ NAME ✨

mnc2nii β€” convert a MINC format file to a NIfTI-1 or Analyze format file.

it's giving glow-up for your neuroimaging files πŸ’…


🌸 SYNOPSIS 🌸

mnc2nii [<options>] <infile.mnc> <outfile.mnc>
mnc2nii -help

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, the mnc2nii command converts MINC format files into either NIfTI-1 or Analyze format. and like, the NIfTI-1 format? it was developed by the members of the Neuroinformatics Technology Initiative's Data Format Working Group (DFWG). NIfTI-1 is based upon the Mayo Clinic's Analyze 7.5 format. iconic lineage fr fr πŸ‘‘

the name of the program comes from the common filename suffixes used for NIfTI-1 and MINC files. NIfTI-1 defines two possible formats: 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. the way that they just merge like that? obsessed ✨

and not me forgetting to mention β€” in addition to the NIfTI-1 formats, mnc2nii can convert MINC files to the Analyze 7.5 format too. versatile queen πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

okay so real talk: options can be specified in abbreviated form (as long as they are unique) and can be given anywhere on the command line. no cap. πŸŽ€

πŸ’Ύ Output file format

  • -dual β€” save the file in NIfTI-1 two-file format (.hdr and .img)
  • -ASCII β€” save the file in non-standard NIfTI-1 ASCII file format
  • -nii β€” save the file in NIfTI-1 single-file format (.nii)
  • -analyze β€” save the file in Analyze 7.5 compatible format

πŸ“ 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

🌈 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 πŸ’€

the 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. lowkey a work in progress, we're all just waiting on the NIfTI group to post the clarification 😭


πŸ’œ SEE ALSO πŸ’œ

  • nii2mnc

(that's the other direction bestie, go check it out 🫢)


🌟 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.


aaaand that's the whole page!! πŸ’– this was Revision 1.3, dated Apr 22 2005, and honestly? still serving. slay, bye bestie πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from