mia-2ddistance

Sysnopis:

mia-2ddistance {-i io} {-d io} [ options ...]

Description:

This program evaluate the average or maximum distance of a mask given by a binary image to an image representing a distance map and prints the result to stdout. The distance map can be obtained by running the filter 'diatance' on a binary image.

Options:

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

input image. For supported file types see Plugin type: 2dimage/io

-d, --distance-file=(output,required)

distance field image (floating point). For supported file types see Plugin type: 2dimage/io

-s, --scale=1

distance scaling factor

-m, --method=avg

distance measuring method

max:use maximum
avg:use average

Help & Info

-V, --verbose=warning

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

info:Low level messages
trace:Function call trace
fail:Report test failures
warning:Warnings
error:Report errors
debug:Debug output
message:Normal messages
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).

Example:

Evaluate the maximum distance of mask m.v by using the distance field distance.v and scale by factor 2.0. The result is written to stdout

mia-2ddistance -i m.v -d distance.v -s 2.0 -m max

Author(s):

Gert Wollny