xform2scalar(1)

πŸ’– xform2scalar πŸ’–

ok so bestie, this is a page from The Computational Morphometry Toolkit β€” yes it's xform2scalar(1), and yes it's giving main character energy πŸ”₯


✨ NAME ✨

xform2scalar β€” pull scalar measures out of transformations and deformation fields. that's the whole job. she's a specialist πŸ’…


🌸 SYNOPSIS 🌸

xform2scalar InputImage XformList

πŸ¦‹ DESCRIPTION πŸ¦‹

so what she does: this tool extracts scalar measures from transformations and deformation fields, samples them at grid locations, and writes the results into an image. periodt.

and the scalar measures she supports are, like: the x, y, z component of the transformation, the magnitude of the transformation, and Jacobian determinants. a whole lil range, we love versatility πŸŽ€


πŸ‘‘ OPTIONS πŸ‘‘

🌈 Global Toolkit Options (these are shared by all CMTK tools)

like, every CMTK tool has these. it's a group thing 🫢

  • --help β€” writes the list of basic command line options to standard output.
  • --help-all β€” writes the complete list of basic AND advanced command line options to standard output. the full lore.
  • --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.
  • --xml β€” writes command line syntax specification in XML markup (for Slicer integration).
  • --version β€” writes the toolkit version to standard output.
  • --echo β€” writes the current command line to standard output.
  • --verbose-level <integer> β€” sets the verbosity level.
  • --verbose, -v β€” increments the verbosity level by 1. ⚠️ deprecated; supported for backward compatibility only.
  • --threads <integer> β€” sets the maximum number of parallel threads (for POSIX threads and OpenMP). multitasking queen πŸ’…

πŸ“ Operating Options

  • --mode β€” the mode of operation: which type of scalar measure gets extracted. Supported values: "x-component", "y-component", "z-component", "magnitude", where the default is "magnitude", or use one of the following:
    • --x-component β€” X component of transformation vector.
    • --y-component β€” Y component of transformation vector.
    • --z-component β€” Z component of transformation vector.
    • --magnitude β€” Magnitude of the transformation vector. [This is the default] ⭐
  • --warp-only, -w β€” output the warp component only (excluding affine). so she leaves the affine at home πŸ™ˆ

πŸ’œ Output Options

  • --type β€” the scalar data type of the output image. Supported values: "float", "double", where the default is "double", or use one of the following:
    • --float β€” single-precision float.
    • --double β€” double-precision float. [This is the default] ⭐
  • --output <image-path>, -o <image-path> β€” output path for the image with the extracted scalar data. [Default: NONE] 😭 like, you gotta set this one bestie, no cap.

πŸ’– AUTHORS πŸ’–

Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. a whole squad, obsessed 🫢✨


πŸ“œ LICENSE πŸ“œ

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


πŸ’€ BUGS πŸ’€

Report bugs at http://nitrc.org/projects/cmtk/ β€” pls do, they wanna know πŸ™ˆ


🌟 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. iconic funding history fr fr πŸ’œ


k byeee, this was CMTK 3.3.1p2, dated Jun 24 2026, and it's literally the xform2scalar(1) era. slay πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from