.TH mia\-meshdistance\-to\-stackmask 1 "v2.4.7" "USER COMMANDS" .SH NAME mia\-meshdistance\-to\-stackmask \- Evaluate the distance between a binary shape given as reference and a mesh. .SH SYNOPSIS .B mia\-meshdistance\-to\-stackmask \-i \-r \-o [options] .SH DESCRIPTION .B mia\-meshdistance\-to\-stackmask 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. .SH OPTIONS .RS .IP "\-i \-\-in-mesh=(required, input); io" input mesh For supported file types see PLUGINS:mesh/io .IP "\-r \-\-ref-mask=(required, input); io" reference binary mask For supported file types see PLUGINS:2dimage/io .IP "\-o \-\-out-mesh=(output, required); io" output mesh For supported file types see PLUGINS:mesh/io .RE .SS Help & Info .RS .IP "\-V \-\-verbose=warning" verbosity of output, print messages of given level and higher priorities. Supported priorities starting at lowest level are: .RS 10 .I trace \(hy Function call trace .RE .RS 10 .I debug \(hy Debug output .RE .RS 10 .I info \(hy Low level messages .RE .RS 10 .I message \(hy Normal messages .RE .RS 10 .I warning \(hy Warnings .RE .RS 10 .I fail \(hy Report test failures .RE .RS 10 .I error \(hy Report errors .RE .RS 10 .I fatal \(hy Report only fatal errors .RE .IP " \-\-copyright" print copyright information .IP "\-h \-\-help" print this help .IP "\-? \-\-usage" print a short help .IP " \-\-version" print the version number and exit .RE .SS Processing .RS .IP " \-\-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). .RE .SH PLUGINS: 2dimage/io .TP 10 .B bmp BMP 2D-image input/output support. The plug-in supports reading and writing of binary images and 8-bit gray scale images. read-only support is provided for 4-bit gray scale images. The color table is ignored and the pixel values are taken as literal gray scale values. .P .RS 14 Recognized file extensions: .BMP, .bmp .RE .RS 14 Supported element types: .RS 2 binary data, unsigned 8 bit .RE .RE .TP 10 .B datapool Virtual IO to and from the internal data pool .P .RS 14 Recognized file extensions: .@ .RE .TP 10 .B dicom 2D image io for DICOM .P .RS 14 Recognized file extensions: .DCM, .dcm .RE .RS 14 Supported element types: .RS 2 signed 16 bit, unsigned 16 bit .RE .RE .TP 10 .B exr a 2dimage io plugin for OpenEXR images .P .RS 14 Recognized file extensions: .EXR, .exr .RE .RS 14 Supported element types: .RS 2 unsigned 32 bit, floating point 32 bit .RE .RE .TP 10 .B jpg a 2dimage io plugin for jpeg gray scale images .P .RS 14 Recognized file extensions: .JPEG, .JPG, .jpeg, .jpg .RE .RS 14 Supported element types: .RS 2 unsigned 8 bit .RE .RE .TP 10 .B png a 2dimage io plugin for png images .P .RS 14 Recognized file extensions: .PNG, .png .RE .RS 14 Supported element types: .RS 2 binary data, unsigned 8 bit, unsigned 16 bit .RE .RE .TP 10 .B raw RAW 2D-image output support .P .RS 14 Recognized file extensions: .RAW, .raw .RE .RS 14 Supported element types: .RS 2 binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B tif TIFF 2D-image input/output support .P .RS 14 Recognized file extensions: .TIF, .TIFF, .tif, .tiff .RE .RS 14 Supported element types: .RS 2 binary data, unsigned 8 bit, unsigned 16 bit, unsigned 32 bit .RE .RE .TP 10 .B vista a 2dimage io plugin for vista images .P .RS 14 Recognized file extensions: .-, .V, .VISTA, .v, .vista .RE .RS 14 Supported element types: .RS 2 binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .SH PLUGINS: mesh/io .TP 10 .B datapool Virtual IO to and from the internal data pool .P .RS 14 Recognized file extensions: .@ .RE .TP 10 .B off plugin to load/store some Geomview OFF files. Supported is only the ASCII format 3D meshes with normales and per-vertex RGB colors. Alpha values and texture coordinates, as well as per face properties are ignored. Polygons are read and triangulated. .P .RS 14 Recognized file extensions: .OFF, .off .RE .TP 10 .B ply Ply triangle mesh input/output support .P .RS 14 Recognized file extensions: .PLY, .ply .RE .TP 10 .B stl STL mesh io plugin .P .RS 14 Recognized file extensions: .STL, .stl .RE .TP 10 .B vista Vista/Simbio triangle mesh input/output support .P .RS 14 Recognized file extensions: .-, .V, .VMESH, .v, .vmesh .RE .TP 10 .B vtk A subset of VTK mesh in-and output: Triangle meshes are written, and triangle meshes and triangle strips are read. Additional per-vertex attributes are supported: 'normals', 'colors' for three component colors, and 'scale' for a scalar value attached to each vertex. The data is written by the vtkPolyDataWriter in binary format. .P .RS 14 Recognized file extensions: .VTK, .VTKMESH, .vtk, .vtkmesh .RE .SH EXAMPLE 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 .HP mia\-meshdistance\-to\-stackmask \-i mesh.v \-r maskXXXX.png \-o mesh\-dist.v .SH AUTHOR(s) Gert Wollny .SH COPYRIGHT This software is Copyright (c) 1999\(hy2015 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'.