mia-3ddistance(1)

πŸ“¦
version 2.4.7 Β· 2 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 trace
    • debug β€” Debug output
    • info β€” Low level messages
    • message β€” Normal messages
    • warning β€” Warnings
    • fail β€” Report test failures
    • error β€” Report errors
    • fatal β€” 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


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