mia-meshdi...o-stackmask(1)
π mia-meshdistance-to-stackmask β the manual, but make it cute β¨
okay bestie, so this is the manual page for mia-meshdistance-to-stackmask(1), a lil General Commands Manual situation, and honestly? it's giving "measure the vibes between a blob and a triangle soup." let's get into it π«Ά
πΈ NAME πΈ
mia-meshdistance-to-stackmask β Evaluate the distance between a binary shape given as reference and a mesh.
like. it takes your shape. it takes your mesh. it tells you how far apart they are. iconic behavior fr fr π
β¨ SYNOPSIS β¨
mia-meshdistance-to-stackmask -i <in-mesh> -r <ref-mask> -o <out-mesh>
[options]
π¦ DESCRIPTION π¦
mia-meshdistance-to-stackmask... wait no, mia-meshdistance-to-stackmask β okay so this program takes a binary mask and a triangular mesh as input, and then it evaluates the distance of the mesh vertices to the binary mask, and then it stores the result in a new mesh. that's it. that's the whole vibe. no cap. π«
π OPTIONS π
-i,--in-mesh=(input, required); ioβ your input mesh, babes. required, so don't skip it. for supported file types seePLUGINS:mesh/ioβ-r,--ref-mask=(input, required); ioβ the reference binary mask. also required, also not optional, also the moment. for supported file types seePLUGINS:2dimage/ioπΈ-o,--out-mesh=(required, output); ioβ the output mesh, where the β¨resultβ¨ goes. required. for supported file types seePLUGINS:mesh/ioπ
π Help & Info π
-V,--verbose=warningβ verbosity of output, print messages of given level and higher priorities. the default iswarning, if you were wondering. supported priorities starting at lowest level are:traceβ Function call tracedebugβ Debug outputinfoβ Low level messagesmessageβ Normal messageswarningβ Warningsfailβ Report test failureserrorβ Report errorsfatalβ Report only fatal errors
bestie the ordering matters, lowkey. lowest β highest. fatal is the "I only want to hear about total catastrophe" setting π
--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). π₯
so-1is the default, and-1also means "figure it out yourself, queen." if you go over your logical core count you're just doing cardio for no reason ngl.
π PLUGINS: 2dimage/io π
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. π- Recognized file extensions:
.BMP,.bmp - Supported element types:
- binary data, unsigned 8 bit
- Recognized file extensions:
datapoolβ Virtual IO to and from the internal data pool π- Recognized file extensions:
.@
- Recognized file extensions:
dicomβ 2D image io for DICOM π©Ί- Recognized file extensions:
.DCM,.dcm - Supported element types:
- signed 16 bit, unsigned 16 bit
- Recognized file extensions:
exrβ a 2dimage io plugin for OpenEXR images β¨- Recognized file extensions:
.EXR,.exr - Supported element types:
- unsigned 32 bit, floating point 32 bit
- Recognized file extensions:
jpgβ a 2dimage io plugin for jpeg gray scale images πΈ- Recognized file extensions:
.JPEG,.JPG,.jpeg,.jpg - Supported element types:
- unsigned 8 bit
- Recognized file extensions:
pngβ a 2dimage io plugin for png images πΈ- Recognized file extensions:
.PNG,.png - Supported element types:
- binary data, unsigned 8 bit, unsigned 16 bit
- Recognized file extensions:
rawβ RAW 2D-image output support π§±- Recognized file extensions:
.RAW,.raw - Supported element types:
- 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
- Recognized file extensions:
tifβ TIFF 2D-image input/output support πΌοΈ- Recognized file extensions:
.TIF,.TIFF,.tif,.tiff - Supported element types:
- binary data, unsigned 8 bit, unsigned 16 bit, unsigned 32 bit
- Recognized file extensions:
vistaβ a 2dimage io plugin for vista images π- Recognized file extensions:
.-,.V,.VISTA,.v,.vista - Supported element types:
- 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
- Recognized file extensions:
π§ PLUGINS: mesh/io π§
datapoolβ Virtual IO to and from the internal data pool π- Recognized file extensions:
.@
- Recognized file extensions:
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. πΊ- Recognized file extensions:
.OFF,.off
- Recognized file extensions:
yes it says "normales" and no we are not fixing it, we are respecting the heritage π
plyβ Ply triangle mesh input/output support π§΅- Recognized file extensions:
.PLY,.ply
- Recognized file extensions:
stlβ STL mesh io plugin ποΈ- Recognized file extensions:
.STL,.stl
- Recognized file extensions:
vistaβ Vista/Simbio triangle mesh input/output support π- Recognized file extensions:
.-,.V,.VMESH,.v,.vmesh
- Recognized file extensions:
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 thevtkPolyDataWriterin binary format. π- Recognized file extensions:
.VTK,.VTKMESH,.vtk,.vtkmesh
- Recognized file extensions:
π₯ 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
mia-meshdistance-to-stackmask -i mesh.v -r maskXXXX.png -o mesh-dist.v
look at her go. main character energy, honestly. π
π AUTHOR(s) π
Gert Wollny
π COPYRIGHT π
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'.
ok bestie, real talk for one sec: ABSOLUTELY NO WARRANTY is not a joke and not a vibe, it's literally in there. and the GPLv3-or-later thing means you can pass it around, but read the license, fr fr. π
and that's the whole page, bestie!! this was USER COMMANDS, version v2.4.7, manual page for mia-meshdistance-to-stackmask(1) π¦ β thanks for reading the whole thing, you ate that. go measure some distances. periodt. π
β¨π
π¦ where this page comes from
- debian bookworm: mia-tools 2.4.7-11+b1 Β· GPL-3.0-or-later
- ubuntu jammy: mia-tools 2.4.7-8ubuntu1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms