MINCINFO(1)

πŸ’– MINCINFO(1) πŸ’–

ok so this is mincinfo, part of the MINC User's Guide, and bestie it is SO useful β€” it prints out specified information about a minc file. yes, exactly what it says on the tin. no cap. πŸŽ€


✨ SYNOPSIS ✨

mincinfo [<options>] <file> [<file> ...]

🌸 DESCRIPTION 🌸

okay so mincinfo will print out either a general description of a minc file β€” that's the type, sign and range of the data, plus a brief lil description of dimensions and their order β€” or it'll give you specific info about dimensions, variables or attributes in the file. and honestly? this program can be very useful for building shell scripts that access minc files. it's giving tool, it's giving utility, it's giving script-bestie. πŸ’…

here's the tea though: all information given by mincinfo is presented as read from the file with no transformation. none. zero. it's the raw file, unfiltered, main character energy. so that means start and step values, for example, are not in the world coordinate system. if you want to display the start values for a file in world coordinates, use voxeltoworld. periodt. πŸ¦‹


πŸŽ€ OPTIONS πŸŽ€

quick vibe check before we get into the list: options can be specified in abbreviated form (as long as they are unique) and can be given anywhere on the command line. slay, flexible. dimensions, variables and attributes are all specified by name. attributes are specified by variable:attribute where variable can be omitted to specify global attributes. and if you give more than one option, the return value from each option is printed on a separate line (-image_info prints on many lines) in the order of the options on the command line. iykyk. ⭐

  • -image_info β€” prints out the default general information about the file. this includes the type, sign and range of the pixel data, the order of the dimensions, and a list of dimensions giving name, length, start and step for each one. the classic. the go-to. the moment. πŸ‘‘
  • -dimnames β€” prints out a space-separated list of the dimensions in the file.
  • -varnames β€” prints out a space-separated list of the variables in the file.
  • -dimlength dimension β€” prints the length of the specified dimension.
  • -vartype variable β€” prints the type of the variable.
  • -vardims variable β€” prints a space-separated list of the dimensions that subscript the variable (in C order).
  • -varatts variable β€” prints a space-separated list of the attribute names for the specified variable.
  • -varvalues variable β€” prints a newline-separated list of the values of the specified variable.
  • -atttype variable:attribute β€” prints out the type of the specified attribute.
  • -attvalue variable:attribute β€” prints out a space-separated list of the values of the specified attribute.
  • -error_string string β€” specifies a string to print out if an error occurs. this will cause the program to exit with normal status. the default is to print an appropriate error message and exit with an error status. 🫢 (yes bestie, this is your "pretend nothing went wrong" button, and it's also the reason the examples below can write -error as a lil abbreviation.)
  • -help β€” print summary of command-line options and abort.
  • -version β€” print the program's version number and exit.

🌈 EXAMPLES 🌈

print out standard information about a minc file. the og move. πŸ’–

mincinfo file.mnc

print out contents of global history attribute.

mincinfo file.mnc -attvalue :history

print out step value for x dimension, setting the default value to 1.

mincinfo file.mnc -attvalue xspace:step -error 1

print out the step values for x, y and z, setting the default value to 1.

mincinfo file.mnc -error 1 \
     -attvalue xspace:step \
     -attvalue yspace:step \
     -attvalue zspace:step

print out the names of the dimensions subscripting the image variable.

mincinfo file.mnc -vardims image

πŸ’œ AUTHOR πŸ’œ

Peter Neelin. iconic behavior honestly. πŸ™ˆ


πŸ“ COPYRIGHTS πŸ“

Copyright Β© 1993 by Peter Neelin


πŸ”₯ SEE ALSO πŸ”₯

voxeltoworld(1) β€” go say hi, they're literally besties.


and that's the whole page, bestie!! 🧚 this was MINCINFO(1) from the MINC User's Guide, dated $Date: 2004-05-20 21:52:08 $ β€” yes it's an old date but she's still serving, and no we are not changing her. πŸ’€βœ¨ bye ily, go read your minc files πŸŽ€πŸ’…

πŸ“¦ where this page comes from