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.-dimlengthdimension β prints the length of the specified dimension.-vartypevariable β prints the type of the variable.-vardimsvariable β prints a space-separated list of the dimensions that subscript the variable (in C order).-varattsvariable β prints a space-separated list of the attribute names for the specified variable.-varvaluesvariable β prints a newline-separated list of the values of the specified variable.-atttypevariable:attribute β prints out the type of the specified attribute.-attvaluevariable:attribute β prints out a space-separated list of the values of the specified attribute.-error_stringstring β 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-erroras 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
- debian bookworm: minc-tools 2.3.00+dfsg-10 Β· as_is
- debian trixie: minc-tools 2.3.00+dfsg-12 Β· as_is
- nixpkgs unstable: minc-tools 2.3.06-unstable-2024-11-28
- 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
- Copyright 1993 Peter Neelin, McConnell Brain Imaging Centre
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms