mia-mesh-to-maskimage(1)

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

✨ mia-mesh-to-maskimage ✨

okay bestie, welcome to the mia-mesh-to-maskimage(1) page πŸ’– this is one of those General Commands Manual girlies, and she's here to turn your 3D mesh into a mask. no cap.


πŸŽ€ NAME πŸŽ€

mia-mesh-to-maskimage β€” makes a binary mask out of the mesh surface. that's it, that's the gig πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

mia-mesh-to-maskimage -i <in-file> -o <out-file> [options]

🌸 DESCRIPTION 🌸

so like, this program takes a 3D mesh and converts it into a binary mask that is made up of the mesh surface. literally that simple 🫢

the output image size? you either hand it over on the command line, or it gets deducted from the mesh dimensions all on its own. main character energy honestly ✨


πŸ’– OPTIONS πŸ’–

πŸ“ File I/O

  • -i, --in-file=(input, required); io β€” the input mesh that's gonna get adapted. for the file types it can vibe with, go check PLUGINS:mesh/io πŸ“
  • -o, --out-file=(output, required); io β€” the output image holding your binary mask. for supported file types, see PLUGINS:3dimage/io 🌈

πŸ†˜ Help & Info

  • -V, --verbose=warning β€” how chatty the output is. 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

βš™οΈ 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). πŸ”₯

🧚 Properties

  • --origin=[0,0,0] β€” coordinate of pixel at index 0,0,0
  • --spacing=[1,1,1] β€” voxel spacing in the output image, all values must be positive.
  • --size=[0,0,0] β€” size of the output image (0,0,0 = deduct)

πŸ–ΌοΈ PLUGINS: 3dimage/io πŸ–ΌοΈ

analyze β€” Analyze 7.5 image

  • Recognized file extensions: .HDR, .hdr
  • Supported element types: unsigned 8 bit, signed 16 bit, signed 32 bit, floating point 32 bit, floating point 64 bit

datapool β€” Virtual IO to and from the internal data pool

  • Recognized file extensions: .@

dicom β€” Dicom image series as 3D

  • Recognized file extensions: .DCM, .dcm
  • Supported element types: signed 16 bit, unsigned 16 bit

hdf5 β€” HDF5 3D image IO

  • Recognized file extensions: .H5, .h5
  • Supported element types: binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, signed 64 bit, unsigned 64 bit, floating point 32 bit, floating point 64 bit

inria β€” INRIA image

  • Recognized file extensions: .INR, .inr
  • Supported element types: 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

mhd β€” MetaIO 3D image IO using the VTK implementation (experimental).

  • Recognized file extensions: .MHA, .MHD, .mha, .mhd
  • Supported element types: 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

nifti β€” NIFTI-1 3D image IO. The orientation is transformed in the same way like it is done with 'dicomtonifti --no-reorder' from the vtk-dicom package.

  • Recognized file extensions: .NII, .nii
  • Supported element types: signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, signed 64 bit, unsigned 64 bit, floating point 32 bit, floating point 64 bit

vff β€” VFF Sun raster format

  • Recognized file extensions: .VFF, .vff
  • Supported element types: unsigned 8 bit, signed 16 bit

vista β€” Vista 3D

  • 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

vti β€” 3D image VTK-XML in- and output (experimental).

  • Recognized file extensions: .VTI, .vti
  • Supported element types: 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

vtk β€” 3D VTK image legacy in- and output (experimental).

  • Recognized file extensions: .VTK, .VTKIMAGE, .vtk, .vtkimage
  • Supported element types: 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

🧡 PLUGINS: mesh/io 🧡

datapool β€” Virtual IO to and from the internal data pool

  • 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

ply β€” Ply triangle mesh input/output support

  • Recognized file extensions: .PLY, .ply

stl β€” STL mesh io plugin

  • Recognized file extensions: .STL, .stl

vista β€” Vista/Simbio triangle mesh input/output support

  • Recognized file extensions: .-, .V, .VMESH, .v, .vmesh

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.

  • Recognized file extensions: .VTK, .VTKMESH, .vtk, .vtkmesh

🌟 EXAMPLE 🌟

so the input mesh input.vmesh gets converted into the binary mask mask.v. the image size is set to 50,50,50 and the size is obtained automatically to include the whole mesh πŸ’«

mia-mesh-to-maskimage -i input.vmesh -o mask.v --origin 0,0,0

πŸ‘‘ AUTHOR(s) πŸ‘‘

Gert Wollny


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 that last part is the serious bit bestie, no skipping it πŸ™ˆ

and that's the whole page, you ate that πŸ’… this was USER COMMANDS v2.4.7 of mia-mesh-to-maskimage(1), mwah, go mask some meshes πŸ¦‹βœ¨

πŸ“¦ where this page comes from