MINCCONVERT(1)

πŸ’– MINCCONVERT(1) β€” the MINC User's Guide glow-up πŸ’–

okay bestie, so this is mincconvert, from the MINC User's Guide, manual section 1. it's the little converter that could, and she's about to change your whole file-format situation. πŸ¦‹


✨ NAME ✨

mincconvert β€” convert between MINC 1 to MINC 2 format. glow-up arc, format edition πŸ’…


🌸 SYNOPSIS 🌸

mincconvert [-clobber] [-2] infile outfile

mincconvert -help

πŸŽ€ DESCRIPTION πŸŽ€

mincconvert copies the input file to the output file, possibly converting the file from MINC 1 to MINC 2 format, or vice versa. that's it, that's the whole job, and she does it flawlessly fr fr πŸ’–

With the -template flag, mincconvert creates a "template" volume from the input MINC volume. The template volume preserves all of the structure (dimensions, variables, and attributes) of the input MINC volume but omits all data. Any attempt to read data will return zeroes.

not me making a whole volume with zero actual data in it 😭 it's giving "structure only, no thoughts, head empty." and yes, every read comes back as zeroes, that's the whole bit.

The resulting file is typically much shorter than a normal MINC volume, and may be useful for scripts which want to carry such structural information forward into their output files. As a hint to future programmers and users, this program places a special global attribute in the file, with the name class and the value template.

like, she literally leaves a sticky note for the next coder: class = template. iconic behavior, no cap. πŸ‘‘


πŸ‘‘ OPTIONS πŸ‘‘

  • -2 β€” Create a MINC 2 format file ✨
  • -clobber β€” Overwrite a pre-existing output file. no hesitation, no asking, she simply replaces it πŸ’€
  • -help β€” Print a summary of command line options and exit
  • -template β€” Create a template file.
  • -compress N β€” Compress file with compression level N. Valid compression levels are 0 for no compression to 9 for maximum compression. The option has no effect if the output file is a MINC 1 file.
  • -chunk M β€” Store file in a block-structured arrangement, using hypercubes of edge length M. The option has no effect if the output file is a MINC 1 file.
  • -help β€” Print summary of command-line options and exit. (yes bestie, she's listed twice in the original too, she contains multitudes 🫢)
  • -version β€” Print the program's version number and exit.
heads up: -compress N and -chunk M are MINC 2-only girlies. if you're writing out a MINC 1 file, they just do nothing. no effect, no drama, no error. πŸ’…

🧚 AUTHOR 🧚

Bert Vincent β€” bert@bic.mni.mcgill.ca πŸ“§


🌈 COPYRIGHTS 🌈

Copyright Β© 2003 by Robert Vincent and the Montreal Neurological Institute.


and that's the whole page, bestie!! $Date: 2004-05-20 21:52:08 $, MINCCONVERT(1) β€” yeah she's been slaying since 2004 and she has not missed once. go convert something. πŸŽ€πŸ’–πŸ¦‹