mia-meshdistance-to-stackmask {-i io} {-r io} {-o io} [ options ...]


This program takes a binary masks and a triangular mesh as input and evaluates the distance of the mesh vertices to the binary maskand stores the result in a new mesh.


-i, --in-mesh=(input, required); io

input mesh. For supported file types see Plugin type: mesh/io

-r, --ref-mask=(input, required); io

reference binary mask. For supported file types see Plugin type: 2dimage/io

-o, --out-mesh=(required, output); io

output mesh. For supported file types see Plugin type: mesh/io

Help & Info

-V, --verbose=warning; dict

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

debug:Debug output
message:Normal messages
info:Low level messages
error:Report errors
fatal:Report only fatal errors
trace:Function call trace
fail:Report test failures
--copyright=(); bool

print copyright information

-h, --help=(); bool

print this help

-?, --usage=(); bool

print a short help

--version=(); bool

print the version number and exit


--threads=-1; int

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


Evaluate the distance of the mask given in the images maskXXXX.png to the mesh given in mesh.v and save the result to mesh-dist.v

mia-meshdistance-to-stackmask -i mesh.v -r maskXXXX.png -o mesh-dist.v


Gert Wollny