mia-3disos...-from-stack(1)
π mia-3disosurface-from-stack(1) π
okay bestie, sit DOWN, because we're about to pull a whole iso-surface out of your 3D image and it's gonna be gorgeous π¦
This page lives in the General Commands Manual, section 1 β so it's a user command, the kind you just type, no shame, no sudo drama (well, depending on where you're writing that mesh, but that's a you problem π ).
β¨ NAME β¨
mia-3disosurface-from-stack β extract an ist-surface from a 3D image. (yes, that's "ist-surface", that's what it says, I'm not fixing it, I'm just reporting it fr fr π)
πΈ SYNOPSIS πΈ
mia-3disosurface-from-stack -i <in-image> -o <out-mesh> [options]
like, the two required things go up front, and then [options] is your little playground π
π DESCRIPTION π
So mia-3disosurface-from-stack is the program you use to extract an iso-surface from the input gray scale image β and the tea is, that image is given as slices. Slices in, surface out. That's the whole vibe. β¨
π OPTIONS π
π File-IO
-i --in-image=(input, required); stringβ the input image filename pattern. It's required, bestie, no skipping it π-o --out-mesh=(output, required); stringβ the output mesh. Also required. You literally cannot do this without it π
π«Ά Help & Info
-V --verbose=warningβ verbosity of output: it prints messages of the given level and higher priorities. The supported priorities, starting at the lowest level, are:traceβ Function call tracedebugβ Debug outputinfoβ Low level messagesmessageβ Normal messageswarningβ Warningsfailβ Report test failureserrorβ Report errorsfatalβ 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 βοΈ
πΌοΈ Image options
-s --iso-value=128β iso-value of the iso surface to be extracted. Defaults to128. π
πΈοΈ Mesh options
-f --max-faces=-1β maximum number of Faces, (default-1, which is the "no cap" setting π§’)-e --max-edges=-1β maximum number of Edges. Also defaults to-1.-c --max-cost=0.1β maximum cost for edge collaps. Default0.1.-r --ratio=4β ratio of faces(edges) to target number, at which the optimization changes from edge-length to volume-optimized. Default4.-w --reverse-windingβ reverse the winding of the triangles in order to make normals point away from the high intensity area π
βοΈ 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 if you leave it at-1, it just guesses, and honestly, same π₯
π EXAMPLE π
Extract the surface from an image set with numbers imageXXXX.png that corresponds to the value 30 and stop optimizing when the mesh consists of less than 100000 triangles.
mia-3disosurface-from-stack -i image0000.png -o mesh.vmesh -s 30 -f 100000
see how it all clicks together?? iconic π
π AUTHOR(s) π
Gert Wollny β the main character who wrote this π«‘
π COPYRIGHT π
This software is Copyright (c) 1999β2015 Leipzig, Germany and Madrid, Spain. It comes with ABSOLUTELY NO WARRANTY (emphasis theirs, and honestly, valid π) 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.
no cap on that no-warranty thing, bestie β it's in all caps for a reason. read your licenses, they're giving main character energy too.
and that's the whole page!! π this was mia-3disos...-from-stack(1), page 1 of the USER COMMANDS manual, at version v2.4.7. go forth and mesh, you absolute legend ππΈ
π¦ where this page comes from
- ubuntu noble: mia-tools 2.4.7-13build4 Β· GPL-3.0-or-later
- ubuntu resolute: mia-tools 2.4.7-18 Β· GPL-3.0-or-later
- ubuntu stonking: mia-tools 2.4.7-19build1 Β· 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