mk_nifti_hdr(1)
π mk_nifti_hdr(1) β the CMTK girlie's guide π
okay so bestie, we're in the Computational Morphology Toolkit (CMTK for the girlies who abbreviate) and this one? this one is mk_nifti_hdr. no cap. it makes a NIFTI header file and honestly it eats. π
β¨ NAME β¨
mk_nifti_hdr β Make NIFTI header file. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
mk_nifti_hdr [options] [output.nii]
see how clean that is? options, then the output file, slay. β¨
π¦ DESCRIPTION π¦
so here's the tea: this little icon makes a header file according to the NIFTI file format, and it builds it out of whatever parameters you hand it β geometry, data type, orientation, all of it. you tell it, it writes it. main character energy fr fr. π
π OPTIONS π
π Global Toolkit Options (these are shared by all CMTK tools)
not to be dramatic but these are the communal girlies β every CMTK tool has them. it's giving "group chat rules". π«Ά
--helpβ dumps the list of basic command line options to standard output. your starter pack, bestie.--help-allβ dumps the complete list, basic AND advanced, to standard output. the full lore. π--wikiβ writes the list of command line options to standard output in MediaWiki markup. for the wiki girlies.--manβ writes man page source innroffmarkup to standard output. meta? a little. iconic? absolutely.--versionβ writes the toolkit version to standard output. know your era.--echoβ writes the current command line to standard output. receipts. π--verbose-level <integer>β set the verbosity level. how much do you want it to talk.--verbose,-vβ increments verbosity level by 1. β οΈ lowkey deprecated but still supported for backward compatibility, so don't come for it.--threads <integer>β set the maximum number of parallel threads (for POSIX threads and OpenMP). multitasking queen. π
π Main Options
this is where the actual β¨contentβ¨ lives. buckle up.
--dims <string>,-D <string>β set the dimensions in voxels. you give it like'DimsX,DimsY,DimsZ'and you're done. π--voxel <string>,-V <string>β set the voxel size. give it'PixX,PixY,PixZ'β and that's [in mm] btw. measurements matter.--offset <float>,-O <float>β binary data file offset. [Default: disabled] β so it's just vibing, off, until you say otherwise.--byte,-bβ 8 bits, unsigned. and psst β this is the default. the moment. β--char,-cβ 8 bits, signed.--short,-sβ 16 bits, signed.--ushort,-uβ 16 bits, unsigned.--int,-iβ 32 bits signed.--float,-fβ 32 bits floating point.--double,-dβ 64 bits floating point. go big or go home. π₯--reset-coordinatesβ in an imported header, reset the image-to-physical coordinate mapping to an identity matrix. factory reset but make it geometry.--attachedβ create an attached header for use in single-file images. π¨ heads up: the image data must be concatenated directly onto the created header file. no skipping that step, bestie.--import <string>,-I <string>β import data from the given header file. [Default: NONE] β starts off with nothing, as she should.--description <string>β set the description string. [max. 80 characters] [Default: NONE] β so keep it cute but keep it under 80. π
π AUTHORS π
Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. the whole squad cooked. π«Ά
π LICENSE π
http://www.fsf.org/licensing/licenses/gpl.html β yeah it's the GPL, go read it, it's important. π
π BUGS π
found a bug? report it at http://nitrc.org/projects/cmtk/. don't suffer in silence bestie, that's not the vibe. π
π 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. and from April 2009 through September 2011, CMTK development and maintenance was supported by the NIBIB under Grant EB008381. funding girls stay winning. π
okay bestie that's the whole page!! this was CMTK 3.3.1p2, dated Jun 24 2026 β yes that date is real, no I will not be elaborating. go make some headers, you're gonna ate. π β¨π¦ππ
π¦ 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