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., RAS or LPS for 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