warp2ps(1)

✨ warp2ps β€” Deformation to PostScript ✨

okay bestie, this is a page from The Computational Morphometry Toolkit (that's the CMTK vibe, section 1 of the manual, iykyk) πŸ’–


🌸 NAME 🌸

warp2ps β€” Deformation to PostScript

like... it takes a deformation and turns it into PostScript. that's the whole name. slay.

πŸŽ€ SYNOPSIS πŸŽ€

warp2ps [options] referenceImage xform

πŸ¦‹ DESCRIPTION πŸ¦‹

So the way this works is: you hand it a deformation field, and it writes it out as a deformed grid in PostScript format β€” for visualization and illustration. that's it. that's the whole job. it's giving "I make pretty pictures of warped grids and I'm not sorry" πŸ’…

πŸ‘‘ OPTIONS πŸ‘‘

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

these ones are the group-chat regulars β€” every CMTK tool has them, they show up to every party 🫢

  • --help β€” writes the list of basic command line options to standard output. basic. not the whole lore.
  • --help-all β€” writes the complete list of basic and advanced command line options to standard output. yes bestie, the full lore, the extended universe, everything πŸ”₯
  • --wiki β€” writes the list of command line options to standard output in MediaWiki markup. for when you're feeling wiki-ish ✨
  • --man β€” writes man page source in 'nroff' markup to standard output. the meta option. the option that generates the very thing you're reading rn πŸ’€
  • --version β€” writes the toolkit version to standard output.
  • --echo β€” writes the current command line to standard output. it just... repeats you back. main character energy honestly.
  • --verbose-level <integer> β€” sets the verbosity level. <integer>, babes. a number.
  • --verbose, -v β€” increments the verbosity level by 1. ⚠️ it's deprecated β€” supported only for backward compatibility. still works, just old. respect your elders πŸ™ˆ
  • --threads <integer> β€” sets the maximum number of parallel threads (for POSIX threads and OpenMP). multitasking queen πŸ‘‘

πŸ’œ Main Options πŸ’œ

this is the actual good stuff, the real content, the reason we're all here ⭐

  • --invert-xform β€” inverts the main transformation. flip it, reverse it, turn it inside out πŸŒ€
  • --minus-xform <string>, -m <string> β€” subtracts this transformation (e.g., to exclude initial affine component). [Default: NONE]
  • --invert-minus-xform β€” inverts the minus transformation. yes, you can invert the thing you subtracted. iconic.
  • --axis-z, -Z β€” slice orthogonal to the z-axis (axial, default). [This is the default]
  • --axis-y, -Y β€” slice orthogonal to the y-axis (sagittal).
  • --axis-x, -X β€” slice orthogonal to the x-axis (coronal).
  • --slice <integer> β€” index of the z-slice (default: center). [Default: -1]
  • --line-width <float> β€” line width [default: 0]. [Default: 0]
  • --sampling <integer> β€” sampling factor (default: 1). [Default: 1]
  • --scale <float> β€” coordinage scale factor (default: 1.0). [Default: 1] (yes it says "coordinage", we are not fixing the typo, we are honoring it 🫑)
  • --box, -b β€” draws the reference bounding box. put it in a box. box it up. πŸ“¦
  • --crop <string>, -C <string> β€” sets the in-plane crop region as 'x0,y0:x1,y1'. exact format, bestie, don't freestyle it.

🌟 AUTHORS 🌟

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

πŸ“œ LICENSE πŸ“œ

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

πŸ’€ BUGS πŸ’€

Report bugs at http://nitrc.org/projects/cmtk/

(not me asking you to Snitch On The Code but like... do it, they want to 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.

look at that funding history. the lore. the receipts. we love a documented grant timeline ✨


ok and that's the whole page bestie, every flag accounted for, no cap, nothing skipped, periodt πŸ’…

and before you go β€” this gorgeous lil page is from CMTK 3.3.1p2, dated Jun 24 2026, and honestly? a moment. a serve. take care of her πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from