mia-3dimagecreator(1)

๐Ÿ“ฆ
version 2.4.7 ยท 2 versions
, in debian bookworm, ubuntu resolute, ubuntu stonking

๐Ÿ’– mia-3dimagecreator โ€” the manual, but make it make sense ๐Ÿ’–

okay bestie, so this is the mia-3dimagecreator page from section 1 of the General Commands Manual (USER COMMANDS girlies, we see you ๐Ÿ‘‘). It's a lil program that makes 3D images outta thin air. Sit down, grab a strawberry ๐Ÿ“, and let's get into it.


โœจ NAME โœจ

mia-3dimagecreator โ€” literally just. create a synthetic 3D image. that's the whole job. that's the assignment and she ate ๐Ÿ’…


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

mia-3dimagecreator -o <out-file> [options]

that's it. give her somewhere to put the image, and optionally tell her a lil more ๐ŸŒธ


๐ŸŒˆ DESCRIPTION ๐ŸŒˆ

so mia-3dimagecreator creates a 3D image that contains an object. And where does the object come from? From one of the object creator plug-ins (that's the creator/3dimage fam). So like, you pick a creator, it fills your image with a whole object. no cap, that's the vibe ๐Ÿงš


๐Ÿ’… OPTIONS ๐Ÿ’…

here's where it gets juicy. every flag, every default, all of it, no skipping, periodt.

  • -o, --out-file=(output, required); io โ€” the output file for the object you're creating. โš ๏ธ it's required, so no output file = no image, sad girl hours. For which file types she actually supports, go peek at PLUGINS:3dimage/io ๐Ÿ‘‡
  • -s, --size=[128,128,128] โ€” the size of the object. default is [128,128,128], cute and cubic โœจ
  • -r, --repn=ubyte โ€” the input pixel type. default ubyte. your options, in her exact words:
    • bit โ€” binary data
    • sbyte โ€” signed 8 bit
    • ubyte โ€” unsigned 8 bit
    • sshort โ€” signed 16 bit
    • ushort โ€” unsigned 16 bit
    • sint โ€” signed 32 bit
    • uint โ€” unsigned 32 bit
    • slong โ€” signed 64 bit
    • ulong โ€” unsigned 64 bit
    • float โ€” floating point 32 bit
    • double โ€” floating point 64 bit
    • none โ€” no pixel type defined
  • -j, --object=sphere โ€” which object should be created. default is sphere ๐Ÿ”ฎ. For which plugins are supported, check PLUGINS:3dimage/creator below!

๐ŸŽ€ Help & Info ๐ŸŽ€

the "wait, how do I use this" corner. very girl-helping-girl of her ๐Ÿซถ

  • -V, --verbose=warning โ€” verbosity of output: she 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 (yes bestie that typo is canon, we don't touch it ๐Ÿ’€). This number should be lower or equal to the number of logical processor cores in the machine. And -1 means automatic estimation, aka she figures it out herself, main character energy ๐Ÿ‘‘

๐Ÿ’œ PLUGINS: 3dimage/creator ๐Ÿ’œ

these are the object creators!! the ones that actually sculpt your image.

  • lattic โ€” 3D lattic creation program. supported parameters are:
    • fx = 16; float in [1, 64] โ€” frequency in x-dir.
    • fy = 16; float in [1, 64] โ€” frequency in y-dir.
    • fz = 16; float in [1, 64] โ€” frequency in z-dir.
  • sphere โ€” 3D sphere creation program. supported parameters are:
    • f = 2; float in [0, 10] โ€” spherical change frequency.
    • p = 2; float in [0.1, 100] โ€” spherical shape parameter (2.0 = sphere).
ngl the lattic frequency defaults are all 16 and the ranges are [1, 64] โ€” respect the bounds or she will not be having it ๐Ÿ™ˆ

๐ŸŒธ PLUGINS: 3dimage/io ๐ŸŒธ

the โœจfile formatโœจ roster. here's who can read/write what, extensions and element types included, verbatim, because details are the whole point bestie.

  • 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

๐ŸŒŸ EXAMPLE ๐ŸŒŸ

okay so the task: create an image output.v of size <64,128,256> that contains a lattic with frequencys 8, 16, and 4 in x, y and, z-direction respectively. iconic brief, honestly.

mia-3dimagecreator -o lattic.v -j lattic:fx=8,fy=16,fz=4 -s
       "<64,128,256>"

see how the -j takes the plugin plus its params after a colon? that's the whole trick, iykyk ๐Ÿ˜Œ


๐Ÿ‘‘ AUTHOR(s) ๐Ÿ‘‘

Gert Wollny โ€” shoutout to the author, we love a legend fr fr ๐Ÿซถ


This software is Copyright (c) 1999โ€2015 Leipzig, Germany and Madrid, Spain. It comes with ABSOLUTELY NO WARRANTY (read it again bestie, no safety net, none ๐Ÿ˜ญ) 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'.


aaaand that's the whole page!! this was the mia-3dimagecreator(1) manpage from the USER COMMANDS manual section, at version v2.4.7 โ€” go make something sparkly, you've got this ๐Ÿฆ‹โœจ๐Ÿ’–

๐Ÿ“ฆ where this page comes from