mia-3ddistance(1)
π mia-3ddistance(1) π
okay bestie, so this is a page from the General Commands Manual β it's mia-3ddistance, and it lives in the USER COMMANDS section. hi, hello, welcome, let's get into it β¨
πΈ NAME πΈ
mia-3ddistance β Evaluate the distance between two binary shapes.
like, two masks, how far apart are they, that's the whole vibe π¦
β¨ SYNOPSIS β¨
mia-3ddistance -i <in-file> -r <ref-file> -o <out-file> [options]
π DESCRIPTION π
So mia-3ddistance takes two binary masks as input and evaluates the distance of one mask with respect to the other in voxel space. No cap.
The output? It's a text file with the coordinates of the source voxels and their distance to the reference mask. That's it, that's the tea. π
okay quick heads-up bestie β correction for voxel size must be done after processing. The program is not gonna do it for you. that part is on you. π
π OPTIONS π
π File IO
-i,--in-file=(input, required); string β the input image(s) that contain the source pixel mask-r,--ref-file=(input, required); string β the reference mask to evaluate the distance from-o,--out-file=(output, required); string β the output file name
π«Ά Help & Info
-V,--verbose=warningβ verbosity of output; it prints messages of the given level and higher priorities. here are the supported priorities, starting at the lowest level:traceβ Function call tracedebugβ Debug outputinfoβ Low level messagesmessageβ Normal messageswarningβ Warningsfailβ Report test failureserrorβ Report errorsfatalβ Report only fatal errors
--copyrightβ print copyright information-h,--helpβ print this help-?,--usageβ print a short help--versionβ print the version number and exit
π§ Processing
--threads=-1β Maxiumum number of threads to use for processing. This number should be lower or equal to the number of logical processor cores in the machine. (-1: automatic estimation.)
(yes it really says "Maxiumum", no I will not be fixing it, that's the canon π)
β Test
--self-testβ run a self test
π EXAMPLE π
Evaluate the distance of the mask given in the images srcXXXX.png to the mask given in refXXXX.png and save the result to distances.txt
mia-3ddistance -i srcXXXX.png -r refXXXX.png -o distances.txt
π¦ AUTHOR(s) π¦
Gert Wollner
π₯ COPYRIGHT π₯
This software is Copyright (c) 1999β2015 Leipzig, Germany and Madrid, Spain. It comes with ABSOLUTELY NO WARRANTY and you may redistribute it under the terms of the GNU GENERAL PUBLIC LICENSE Version 3 (or later). For more information run the program with the option '--copyright'.
and that's the whole page, bestie!! this was written for v2.4.7 and the footer dates it at the bottom of the user commands section β slay, go evaluate some distances, periodt πβ¨
π¦ where this page comes from
- ubuntu noble: mia-tools 2.4.7-13build4 Β· GPL-3.0-or-later
- ubuntu resolute: mia-tools 2.4.7-18 Β· GPL-3.0-or-later
- ubuntu stonking: mia-tools 2.4.7-19build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms