carta
mia-3ddistance(1)

mia-3ddistance1

Evaluate the distance between two binary shapes.

Usage

mia-3ddistance -i <in-file> -r <ref-file> -o <out-file> [options]

Overview

mia-3ddistance This program takes two binary masks as input and evaluates the distance of one mask with respect to the other in voxel space. The output is given as text file with the coordinates of the source voxels and their distance to the reference mask. Correction for voxel size must be done after processing.

Options

File IO

-i --in-file=(required, input); string

input image(s) that contain the source pixel mask

-r --ref-file=(required, input); string

reference mask to evaluate the distance from

-o --out-file=(required, output); string

output file name

Help & Info

-V --verbose=warning

verbosity of output, print messages of given level and higher priorities. Supported priorities starting at lowest level are:

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

-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).

Test

--self-test

run a self test

Examples

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 Wollny

History

  • Debian 12 (Bookworm): the text shown here
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)
  • Debian 8 (Jessie)

From mia-tools 2.4.7-11+b1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.