MINCAVERAGE(1)
π MINCAVERAGE(1) π
okay bestie, so this is the page for mincaverage from the MINC User's Guide, and it's literally the girlboss of averaging your minc files together. let's get into it π«Ά
β¨ NAME β¨
mincaverage β average minc files
πΈ SYNOPSIS πΈ
mincaverage [<options>] <in1>.mnc [<in2>.mnc...] <out>.mnc
π¦ DESCRIPTION π¦
mincaverage averages minc files together. that's the whole vibe. π
but wait, there's more, because she's flexible like that β a whole range of optional behaviour is permitted as well: pre-normalizing volumes, creating a standard deviation volume, and averaging over a specified dimension of the input files. no cap. β¨
π OPTIONS π
quick heads-up bestie: options can be specified in abbreviated form (as long as they are unique) and can be given anywhere on the command line. she's chill like that. π
π General options π
-2β Create a MINC 2.0 format output file.-clobberβ Overwrite an existing file.-noclobberβ Don't overwrite an existing file (default).-verboseβ Print out progress information for each chunk of data copied (default).-quietβ Do not print out progress information.-debugβ Print extra information (e.g. normalization factors).-filelistfilename β Specify a file containing a list of input file names. If-is given, then file names are read from stdin. If this option is given, then there should be no input file names specified on the command line. Empty lines in the input file are ignored.-max_buffer_size_in_kbbuffer-size β Specify the maximum size of the internal buffers (in kbytes). Default is 4096 kbytes.
π₯ Output type options π₯
these options control the storage precision and size of individual voxel values in the output file. so like, how chunky is each lil voxel gonna be. π
-filetypeβ Don't do any type conversion (default).-byteβ Write out 8-bit integer values.-shortβ Write out 16-bit integer values.-intβ Write out 32-bit integer values.-longβ Superseded by-int.-floatβ Write out single-precision floating point values.-doubleβ Write out double-precision floating point values.-signedβ Write out values as signed integers (default for short and long). Ignored for floating point types.-unsignedβ Write out values as unsigned integers (default for byte). Ignored for floating point types.-rangemin max β specifies the valid range of output voxel values in their integer representation. Default is the full range for the type and sign. This option is ignored for floating point values. For it to have any effect, you must specify a type.
π Averaging options π
-normalizeβ Normalize volumes to their global average before averaging them (based on the mean of voxels with value greater than 2 percent of full range above the minimum).-nonormalizeβ Do not normalize volumes (default).-sdfilesdfile.mnc β Specify the name of an output standard deviation file, to be calculated in addition the mean that is normally calculated.-weightfileweightfile.mnc β Specify an output cumulative voxel weight file (default=none).-copy_headerβ Copy all of the additional header information from the first input file (default for one input file).-nocopy_headerβ Do not copy additional header information (default for many input files).-avgdimdimname β Specify the name of a dimension over which we should be averaging (or calculating standard deviation). If normalization is done, it still only applies to separate files only - no normalization is done within a file.-binarizeβ Binarize the input volumes before calculating the average. The binarization is done by specifying a range of values that contribute 1 to the average. Normalization of the input is not permitted when performing binarization.-binrangemin max β Specify the range of values for binarization.-binvaluevalue β Specify a single legal value (integer) for binarization. The range is set to be +/- 0.5 around this value to achieve an effective rounding of input values.-ignore_belowvalue β Do not include voxels below this value in the average and sd-ignore_abovevalue β Do not include voxels above this value in the average and sd-floorvalue β Synonym for-ignore_below-ignore_abovevalue β Synonym for-ignore_above-weights<w1,w2,...>β Specify a series of weights for averaging. The number of weighting values must match the number of input files and the values must be provided as a single argument with commas or spaces as separators. The sum of the weights must be non-zero. If weights are used with an averaging dimension, then only one input file can be specified.-width_weightedβ This option can only be used when averaging across a dimension (-avgdimoption). It specifies that weighting should be done using the width variable that corresponds to the averaging dimension. For example, using-width_weightedwith-avgdim timewill use the time-width variable to weight the values.-min_weightvalue β This specifies the minimum weight (number of volumes if no weights are specified) needed for calculating a valid average. If the cumulative weight for a voxel is below this threshold, the average and sd reported will be 0. This would typically be useful if values are excluded using any of the-ignoreoptions, or by NaN values in the input volume(s).-min_weight_fractionvalue β Same as-min_weight, but specified as a fraction of the sum of the input weights (or the number of input volumes, if no weight is specified).
β Generic options for all commands: β
-helpβ Print summary of command-line options and exit.-versionβ Print the program's version number and exit.
π AUTHOR π
Peter Neelin
π COPYRIGHTS π
Copyright Β© 1995 by Peter Neelin
okay that's the whole page bestie, you're so welcome π
β¨ and just so you know, this little icon of a manpage is dated $Date: 2004-05-20 21:52:07 $, it's from MINCAVERAGE(1) in the MINC User's Guide, and honestly? it ate. periodt. ππ¦π
π¦ 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 1995 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