reorient(1)

✨ NAME ✨

reorient β€” bestie it literally just reorients your images, that's the whole vibe πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

reorient [options] new-orientation infile outfile

🌸 DESCRIPTION 🌸

Okay so picture this: your image is stored in one orientation and you need it in another. That's it, that's the job. reorient converts between image orientations β€” meaning it physically re-orders the pixel array β€” and it also adapts the stored anatomical orientation information so everything stays honest about which way is up. no cap, that's the whole thing. 🧚


πŸ’– OPTIONS πŸ’–

πŸ‘‘ Global Toolkit Options (these are shared by all CMTK tools)

  • --help β€” dumps the list of basic command line options to standard output. short, sweet, helpful.
  • --help-all β€” dumps the COMPLETE list, basic and advanced, to standard output. for when you want the whole lore. πŸ”₯
  • --wiki β€” writes the list of command line options to standard output in MediaWiki markup. yes bestie, wiki-formatted. πŸ’…
  • --man β€” writes man page source in 'nroff' markup to standard output. it's giving meta.
  • --version β€” writes the toolkit version to standard output. ✨
  • --echo β€” writes the current command line to standard output. so you can see exactly what you did.
  • --verbose-level <integer> β€” sets the verbosity level. dial it up, dial it down, you're in control πŸŽ€
  • --verbose, -v β€” increments the verbosity level by 1. ⚠️ heads up: this one is deprecated, it's only still here for backward compatibility. it still works, but she's retired, respect her legacy πŸ™ˆ
  • --threads <integer> β€” sets the maximum number of parallel threads (for POSIX threads and OpenMP). go fast, but not too fast πŸƒβ™€οΈ

🌈 Main Options 🌈

  • --input-orientation <string>, -i <string> β€” overrides the input orientation. it's a three-letter code, like 'RAS', 'LPI', etc. [Default: NONE]
  • --output-orientation <string>, -o <string> β€” overrides the output orientation. the default is 'RAS', or the closest match supported by the output image file format. [Default: NONE]
  • --output-space <string> β€” overrides the output coordinate space (like 'RAS', 'LAS', 'LPS'). 🚨 important: this does not affect the array order. the default is to write the image in the input image space. [Default: NONE]

🫢 AUTHORS 🫢

Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. absolute legends, every single one πŸ‘‘


πŸ“œ LICENSE πŸ“œ

http://www.fsf.org/licensing/licenses/gpl.html


πŸ’€ BUGS πŸ’€

Report bugs at http://nitrc.org/projects/cmtk/ β€” they want to hear from you, 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! this one's from CMTK 3.3.1p2, dated Jun 24 2026, page reorient(1) β€” slay, go reorient something πŸ’…βœ¨

πŸ“¦ where this page comes from