mia-3disos...-from-stack(1)

πŸ“¦
version 2.4.7 Β· 2 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 trace
    • debug β€” Debug output
    • info β€” Low level messages
    • message β€” Normal messages
    • warning β€” Warnings
    • fail β€” Report test failures
    • error β€” Report errors
    • 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 ✌️

πŸ–ΌοΈ Image options

  • -s --iso-value=128 β€” iso-value of the iso surface to be extracted. Defaults to 128. 🌈

πŸ•ΈοΈ 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. Default 0.1.
  • -r --ratio=4 β€” ratio of faces(edges) to target number, at which the optimization changes from edge-length to volume-optimized. Default 4.
  • -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 🫑


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