mk_analyze_hdr(1)
β¨ mk_analyze_hdr β make Analyze header file β¨
okay bestie, you know the drill: this is a mk_analyze_hdr(1) situation from the Computational Morphometry Toolkit, and I'm gonna walk you through it like we're texting at 2am π«Ά
π NAME π
mk_analyze_hdr β literally just: make an Analyze header file. that's the gig. that's the whole vibe. π
πΈ SYNOPSIS πΈ
mk_analyze_hdr [options] [output.nii]
π¦ DESCRIPTION π¦
So here's the tea: this bad boy builds you a header file that follows the Analyze 7.5 format. You feed it the deets β geometry, data type, orientation, all that β and it writes the header accordingly. no cap, it's giving "fill in the blanks but make it neuroimaging" β¨
π OPTIONS π
π Global Toolkit Options (these are shared by all CMTK tools)
bestie, these ones are universal β every CMTK tool gets them, so you already know her π
--helpβ dumps the list of basic command line options to standard output.--help-allβ dumps the complete list, basic and advanced, to standard output. the deluxe version, periodt.--wikiβ writes the command line options out in MediaWiki markup. for your wiki girlies.--manβ writes the man page source in'nroff'markup to standard output. manpage-ception π--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 lol.--verbose-level <integer>β sets the verbosity level.--verbose,-vβ bumps the verbosity level up by 1. β οΈ deprecated β it's only still here for backward compatibility, so don't come for me.--threads <integer>β sets the max number of parallel threads (for POSIX threads and OpenMP). go off, multicore queen π₯
π Main Options π
this is where the actual β¨contentβ¨ lives:
--dims <string>,-D <string>β set the dimensions in voxels.--voxel <string>,-V <string>β set the voxel size in[mm].--offset <float>,-O <float>β binary data file offset.[Default: disabled]--byte,-bβ 8 bits, unsigned. (this one's the default, iykyk)--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.--big-endian,-Bβ big endian data.[This is the default]--little-endian,-Lβ little endian data.--axialβ set slice orientation to axial (this is the default, she's the main character π ).--axial-flipβ set slice orientation to reverse axial.--sagittalβ set slice orientation to sagittal.--sagittal-flipβ set slice orientation to reverse sagittal.--coronalβ set slice orientation to coronal π (the manpage's own label says "corona;" and honestly? we respect the typo.)--coronal-flipβ set slice orientation to reverse coronal.--legacyβ legacy mode; it does not write the'SRI1'tag into the header. retro era π°οΈ--SRI1β force the'SRI1'tag even if it wasn't present in the imported header. manifesting it β¨--import <string>,-I <string>β import data from the given header file.[Default: NONE]--description <string>β set the description string,[max. 80 characters].[Default: NONE]
π«Ά AUTHORS π«Ά
Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. legends only, no cap π
π LICENSE π
http://www.fsf.org/licensing/licenses/gpl.html
(go read it, bestie, it's giving GPL π)
π BUGS π
found a bug? report it at http://nitrc.org/projects/cmtk/ β they wanna hear it fr fr π
β 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, bestie β CMTK 3.3.1p2, dated Jun 24 2026, filed under mk_analyze_hdr(1). slay, go make those headers πβ¨π
π¦ 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