MINCCMP(1)
β¨ MINCCMP(1) β¨
okay bestie, welcome to the MINC User's Guide section of the manual, and specifically to minccmp β the little icon that compares your minc files for you π
πΈ NAME πΈ
minccmp β compare one or more minc file using comparator operators
π¦ SYNOPSIS π¦
minccmp [<options>] <in1.mnc> <in2.mnc> [<inn.mnc> ...]
π DESCRIPTION π
okay so here's the tea β β minccmp calculates simple statistical measures between two minc files or more, by comparing all subsequent files to the first one. The results for each subsequent file come back in order, one after another. By default, all the statistics get calculated. But if you ask for specific statistics with a command-line option, then only the ones you asked for get printed. no extras, no surprises π
A very useful feature of this program is the ability to restrict the set of voxels that get included in the statistic calculation, either by:
- restricting the range of included values (
-floor,-ceilor-range), or - using a mask file (
-mask) with a restricted range.
The comparison statistics available in minccmp are given below π Note that two of these (-xcorr and -zscore) are a very close approximation to what is used in minctracc.
β¨ OPTIONS β¨
ngl bestie, options can be specified in abbreviated form (as long as they're unique) and can be given anywhere on the command line. iconic behaviour honestly π
π General options
-clobberβ Overwrite an existing file. just gonna do it, no questions π€-noclobberβ Don't overwrite an existing file (default). respectful king behaviour, leaves your files alone π«Ά-debugβ Dump a lot of extra information (for when things go haywire). this is your "why is it doing that" button π-verboseβ Print out extra information (more than the default). she's chatty πΈ-quietβ Print out only the requested numbers. no small talk, just the digits β¨-max_buffer_size_in_kbsize β Specify the maximum size of the internal buffers (in kbytes). Default is 4 MB.-check_dimensionsβ Check that all input files have matching sampling in world dimensions (default).-nocheck_dimensionsβ Ignore any differences in world dimensions sampling for input files. letting them be different, live your truth π¦
π Volume range options
-floormin β A lower bound for ranges of data to include in statistic calculations.-ceilmax β An upper bound for ranges of data to include in statistic calculations.-rangemin,max β A lower and upper bound for the ranges of data to include in statistics.-maskfilename.mnc β Name of file to be used for masking data included in statistic calculations.
π Basic statistics
-allβ Compute all statistical measures. This is the default. the whole menu, chef's choice π-ssqβ Print the Sum Squared Difference between two input files
SSQ = Sum( (A-B)^2 )
-rmseβ Print the Root Mean Squared Error between two input files
RMSE = sqrt( 1/n * Sum((A-B)^2))
-xcorrβ Print the Cross Correlation between two input files
XCORR = Sum((A*B)^2) / (sqrt(Sum(A^2)) * sqrt(Sum(B^2))
-zscoreβ Print the z-score difference between two input files
ZSCORE = Sum( |((A - mean(A)) / stdev(A)) -
((B - mean(B)) / stdev(B))| ) / n
-similarityβ Calculate the confusion matrix, assuming that the volume values represent a discrete class of possible values. The maximum label value is currently limited to ten (10). Prints the Dice similarity statistic as well as specificity, sensitivity, accuracy, and kappa for each class and for the overall volumes. she does it all π
π Generic options for all commands:
-helpβ Print summary of command-line options and exit.-versionβ Print the program's version number and exit.
π AUTHOR π
Andrew Janke
π COPYRIGHTS π
Copyright Β© 2010 by Andrew Janke
okay that's the whole thing, bestie, you're officially certified in minccmp π«Ά this page was brought to you by the MINC User's Guide (that's MINCCMP(1), mwah), and it's stamped $Date: 2010-03-02 12:12:20 $ β yes that's old, yes she still slays, 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
- 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 2010 Andrew Janke
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms