mia-2dimagecreator(1)

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

πŸ’– mia-2dimagecreator β€” the manual, but make it cute πŸ’–

okay bestie, so mia-2dimagecreator is a little command from the mia toolset and it's literally here to make you synthetic 2D test images. no cap. you say what shape, what size, what pixel type, and it just makes it. iconic behavior honestly πŸ¦‹


✨ SYNOPSIS ✨

mia-2dimagecreator -o <out-file> -j <object> [options]

🌸 DESCRIPTION 🌸

so like, mia-2dimagecreator β€” this program is used to create test images. that's the whole vibe. you need a fake image to test your pipeline with? boom, here you go. main character energy πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • -o, --out-file=(output, required); io β€” the output file for create object. yes it's required, don't skip it. For supported file types see PLUGINS:2dimage/io (scroll down, we got you πŸ‘‡)
  • -s, --size=[128,128] β€” size of the object. default is [128,128] if you just vibe and don't say anything.
  • -r, --repn=ubyte β€” input pixel type. here's the whole menu of pixel types, pick your fighter:
    • 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=(required); factory β€” object to be created. also required, we don't make nothing out of nothing here. For supported plugins see PLUGINS:2dimage/creator πŸ‘‘

🫢 Help & Info 🫢

  • -V, --verbose=warning β€” verbosity of output, print messages of given level and higher priorities. Supported priorities starting at 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). fr fr keep it at or below your core count, your poor CPU will thank you 😭

🌈 PLUGINS: 2dimage/creator 🌈

this is where the actual object magic happens. right now we got:

  • circle β€” 2D circle creation program, supported parameters are:
    • f = 1; float in [0, 10] β€” spherical change frequency.
    • p = 2; float in [0.1, 100] β€” spherical shape parameter (2.0 = circle).

πŸ’œ PLUGINS: 2dimage/io πŸ’œ

the whole roster of file formats that can go in and out. read carefully bestie, some of these are read-only in places πŸ‘€

  • 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
  • datapool β€” Virtual IO to and from the internal data pool
    • Recognized file extensions: .@
  • dicom β€” 2D image io for DICOM
    • Recognized file extensions: .DCM, .dcm
    • Supported element types:
      • signed 16 bit, unsigned 16 bit
  • exr β€” a 2dimage io plugin for OpenEXR images
    • Recognized file extensions: .EXR, .exr
    • Supported element types:
      • unsigned 32 bit, floating point 32 bit
  • jpg β€” a 2dimage io plugin for jpeg gray scale images
    • Recognized file extensions: .JPEG, .JPG, .jpeg, .jpg
    • Supported element types:
      • unsigned 8 bit
  • png β€” a 2dimage io plugin for png images
    • Recognized file extensions: .PNG, .png
    • Supported element types:
      • binary data, unsigned 8 bit, unsigned 16 bit
  • 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
  • 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
  • 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

⭐ EXAMPLE ⭐

Create a 2D image containing a lattic with standard parameters of size <64,128> and pixel type 'float' and save the result to lattic.v

mia-2dimagecreator -o lattic.v -s '<64,128>' -r float -j lattic

see? effortless. slay. πŸ’…


πŸ‘‘ 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'.

no cap on that "ABSOLUTELY NO WARRANTY" β€” it's real, it's in there, respect it πŸ™ˆ

and that's the whole page bestie!! this was the General Commands Manual entry for mia-2dimagecreator(1), version v2.4.7, living under the USER COMMANDS section β€” go make some fake images, you got this πŸ¦‹βœ¨πŸ’–

πŸ“¦ where this page comes from