volume_injection(1)
π volume_injection(1) π
okay bestie, this is volume_injection from The Computational Morphology Toolkit β yeah that CMTK, the one that lives in your terminal and eats your afternoon. grab a strawberry drink and let's go π
β¨ NAME β¨
volume_injection β Volume injection. that's it, that's the name, short and iconic π
π SYNOPSIS π
volume_injection [options] refImage xform0 inImage0 [xform1 inImage1 ...]
so you give it a reference image, then keep handing it little pairs of xform + inImage like you're feeding a very hungry goldfish. the more pairs, the more data it gets to play with π«Ά
π¦ DESCRIPTION π¦
okay so the whole point: you have a bunch of co-registered images that are kind of low-res, and this tool reconstructs a high-resolution volume out of them. the technique is forward volume injection. that's the vibe, that's the whole thing, no cap β¨
π OPTIONS π
πΈ Global Toolkit Options πΈ (these are shared by all CMTK tools β yes, all of them, they're family)
--helpβ writes the list of basic command line options to standard output. baby version π--help-allβ writes the complete list of basic and advanced command line options to standard output. the full lore π₯--wikiβ writes the command line options to standard output in MediaWiki markup. for when you're documenting, bestie π--manβ writes man page source in'nroff'markup to standard output. yes, the very thing you're reading, but boring-er π--versionβ writes the toolkit version to standard output.--echoβ writes the current command line to standard output. so you can see what you actually typed π--verbose-level <integer>β sets the verbosity level. tell it how chatty to be.--verbose,-vβ increments the verbosity level by 1. > heads up: this one is deprecated; it's supported for backward compatibility only. still works, still slays, but iykyk β--threads <integer>β sets the maximum number of parallel threads (for POSIX threads and OpenMP). go off, multicore π
π Input Options π
--exclude-first-image,-xβ excludes the first image from the reconstruction, treating it as a separate registration target image. lowkey the main character gets benched π--pass-weight <string>,-W <string>β sets the contribution weight for a pass, in the form'pass:weight'. give each pass its own glow-up β¨
π Reconstruction Grid Options π
--recon-grid <string>β defines the reconstruction grid asNx,Ny,Nz:dX,dY,dZ[:Ox,Oy,Oz]β that's dims:pixel:offset, keep that order fr fr π--recon-grid-path <string>,-R <string>β gives the path to a grid that defines the reconstructed image grid, including offset. [Default:NONE] π§--crop <string>β crops the reference to pixel regionx0,y0,z1:x1,y1,z1. yes bestie, that's exactly how it's written. copy it character for character, i am not being weird about it, the manpage is βοΈ
π₯ Volume Injection Options π₯
--isotropic-injectionβ uses isotropic volume injection. [default: scaled with pass image pixel size per dimension] π--injection-kernel-sigma <double>,-S <double>β Gauss contribution. [Default:1] π―--injection-kernel-radius <integer>,-r <integer>βVolumeInjectionRadiusof affected pixel. [Default:0] π«
πΈ Output Options πΈ
--output <string>,-o <string>β output image path. [Default:volume_injection.nii] πΎ--write-images-as-float,-Fβ writes output images as floating point. [default: same as input] π«Ά
π AUTHORS π
Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. legends, all of them π
π LICENSE π
http://www.fsf.org/licensing/licenses/gpl.html β go read it, it's good for you, like vegetables but legally binding π
π BUGS π
Report bugs at http://nitrc.org/projects/cmtk/. not me manifesting a bug, but if it happens, that's the address π
π¦ 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. funding era, iconic behavior π«Ά
and that's the whole page bestie!! this one's from CMTK 3.3.1p2, dated Jun 24 2026 β go reconstruct something gorgeous πβ¨ππ¦πΈ
π¦ where this page comes from
- ubuntu stonking: cmtk 3.3.1p2+dfsg-4build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms