mk_phantom_3d(1)

πŸ’– mk_phantom_3d β€” the mk_phantom_3d(1) page, but make it cute πŸ’–

okay bestie, so this is a tool from The Computational Morphology Toolkit (CMTK, iconic), and it's literally just here to make phantom images for you. 3D digital phantom images. We're drawing shapes into a volume like it's arts and crafts hour. 🎨✨


✨ NAME ✨

mk_phantom_3d β€” Generate phantom image 🫢


🌸 SYNOPSIS 🌸

mk_phantom_3d [options] command0 [command1 ...]        sphere x,y,z
radius value       box x0,y0,z0 x1,y1,z1 value

πŸ¦‹ DESCRIPTION πŸ¦‹

Generate 3D digital phantom images using a selection of drawing commands. that's it, that's the whole vibe β€” you feed it commands, it gives you a phantom. no cap. πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

🌈 Global Toolkit Options (these are shared by all CMTK tools)

like, every CMTK tool has these. they're the communal snacks of the toolkit. πŸ“

  • --help β€” Write list of basic command line options to standard output. the lil starter menu.
  • --help-all β€” Write complete list of basic and advanced command line options to standard output. the full menu, no secrets kept.
  • --wiki β€” Write list of command line options to standard output in MediaWiki markup. for when you're being wiki-famous.
  • --man β€” Write man page source in 'nroff' markup to standard output. yes, the exact markup this page was born from. meta af.
  • --version β€” Write toolkit version to standard output.
  • --echo β€” Write the current command line to standard output. it's giving "receipts".
  • --verbose-level <integer> β€” Set verbosity level.
  • --verbose, -v β€” Increment verbosity level by 1 (deprecated; supported for backward compatibility). she's retired but still showing up to the function πŸ’€
  • --threads <integer> β€” Set maximum number of parallel threads (for POSIX threads and OpenMP). more threads = more girlies working in parallel.

πŸŽ€ Main Options

  • --dims <string>, -D <string> β€” Set dimensions in voxels.
  • --voxel <string>, -V <string> β€” Set voxel size in [mm].
  • --coordinates β€” Coordinate specification mode. Supported values: "indexed", "absolute", "relative", where the default is "indexed", or use one of the following:
    • --indexed β€” Use grid indexes to specify coordinates. For each dimension, the valid value range is [0,Dims-1]. [This is the default]
    • --absolute β€” Use absolute volume coordinates. For each dimension, the valid range is [0,FOV].
    • --relative β€” Use relative volume coordinates. For each dimension, the valid range is [0,1].
  • --char, -c β€” 8 bits, signed.
  • --byte, -b β€” 8 bits, unsigned.
  • --short, -s β€” 16 bits, signed.
  • --ushort, -u β€” 16 bits, unsigned. [This is the default]
  • --int, -i β€” 32 bits signed.
  • --float, -f β€” 32 bits floating point.
  • --double, -d β€” 64 bits floating point.
  • --bg <double>, -B <double> β€” Set the image background value (use to initialize newly created image). [Default: 0]
  • --import <string>, -I <string> β€” Import image. [Default: NONE]
  • --import-grid <string> β€” Import image grid only, ignore data. [Default: disabled]
  • --outfile <string>, -o <string> β€” File name for output image. [Default: phantom.nii ]

πŸ’œ AUTHORS πŸ’œ

Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. a whole squad, fr fr 🫢✨


🌟 LICENSE 🌟

http://www.fsf.org/licensing/licenses/gpl.html


πŸ’€ BUGS πŸ’€

Report bugs at http://nitrc.org/projects/cmtk/ β€” pls don't suffer in silence, bestie 😭


🧚 ACKNOWLEDGMENTS 🧚

CMTK is developed with support from the NIAAA under Grant AA021697, National Consortium on Alcohol and Neurodevelopment in Adolescence (N-CANDA): Data Integration Component. From April 2009 through September 2011, CMTK development and maintenance was supported by the NIBIB under Grant EB008381.


and that's the whole page, no gatekeeping πŸ’…

okay so final thing: this was CMTK 3.3.1p2, dated Jun 24 2026, and honestly? she ate. <rainbow>go make some phantoms, main character</rainbow> πŸ‘‘πŸŽ€πŸŒ·

πŸ“¦ where this page comes from