stream_pixels(1)
π stream_pixels β the vibe β¨
okay bestie so this is a page from the CMTK manual β The Computational Morphometry Toolkit β and the tool we're hyping up today is stream_pixels. it's a command-line moment, section 1 of the manual, and honestly it's giving "pipe my pixels straight into your pipeline" energy. let's get into it π
π NAME
stream_pixels β stream pixel data from one or more images straight to Standard Output. no cap, that's the whole job π«Ά
π SYNOPSIS
stream_pixels ImagePaths
π¦ DESCRIPTION
so here's the tea: this tool reads one or more images and writes all their pixels out to standard output in binary form. πΈ
optionally (optional!! it's optional) each image can be:
- reoriented to a specified anatomical orientation, and/or
- converted to a different data type.
why would you even want this? because it's literally perfect for piping image data through a pipeline β e.g., the Camino DTI toolkit. it's basically the bestie that hands your pixels to the next bestie in line π
β¨ OPTIONS β¨
π Global Toolkit Options (these are shared by all CMTK tools, so they're the communal closet of flags)
--helpβ writes the list of basic command line options to standard output. your starter pack π--help-allβ writes the complete list of basic and advanced command line options to standard output. the deluxe version.--wikiβ writes the list of command line options to standard output in MediaWiki markup.--manβ writes man page source in'nroff'markup to standard output. meta moment much?--versionβ writes toolkit version to standard output.--echoβ writes the current command line to standard output. it's repeating you back, iconic.--verbose-level <integer>β set verbosity level.--verbose,-vβ increment verbosity level by 1 (deprecated; supported for backward compatibility). > it's deprecated bestie, we keep it around for the old heads but don't make it your whole personality π--threads <integer>β set maximum number of parallel threads (for POSIX threads and OpenMP). more threads more slay π₯
π Main Options
--reorient <string>β reorient all images to anatomy-based standard orientation, e.g.,RASorLPSfor axial. default: no reorientation. [Default:NONE]--change-endianβ change endianness. default: native endianness.--convertβ convert data to new scalar type. default: no conversion. supported values:"char","byte","short","ushort","int","uint","float","double", or use one of the following:--charβ 8 bits, signed integer--byteβ 8 bits, unsigned integer--shortβ 16 bits, signed integer--ushortβ 16 bits, unsigned integer--intβ 32 bits, signed integer--uintβ 32 bits, unsigned integer--floatβ 32-bits, single-precision floating point--doubleβ 64 bits, double-precision floating point
π«Ά AUTHORS
Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. a whole squad, we love a collab π
π LICENSE
http://www.fsf.org/licensing/licenses/gpl.html
π BUGS
report bugs at http://nitrc.org/projects/cmtk/ β tell them everything, we're not gatekeeping π
πΈ 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. give them their flowers π
and that's the whole page bestie π this was CMTK 3.3.1p2, dated Jun 24 2026 β stream_pixels(1), out. go pipe some pixels, you absolute main character π β¨
π¦ 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