xform2dfield(1)
β¨ xform2dfield β¨
ok so bestie, welcome to the xform2dfield page from the Computational Morphometry Toolkit manual (section 1, iykyk π
). it's giving "transformation to deformation field" and honestly? it ate. let's get into it π«Ά
π NAME π
xform2dfield β Transformation to Deformation Field. that's it, that's the vibe β¨
πΈ SYNOPSIS πΈ
xform2dfield OutputPath ReferenceImage XformList
three args, no notes, iconic π
π¦ DESCRIPTION π¦
okay so here's the tea: this tool converts a parametric rigid or nonrigid transformation into a deformation field, and it samples that field at the pixel locations of a reference image you hand it. that's the whole plot. simple, slay, efficient π
π OPTIONS π
π Global Toolkit Options (these are shared by all CMTK tools)
like literally every CMTK tool gets these, they're the group chat everyone's in π
--helpβ writes the list of basic command line options to standard output. baby's first help, we love her π--help-allβ writes the complete list, basic and advanced command line options, to standard output. the full lore drop π--wikiβ writes the list of command line options to standard output in MediaWiki markup. for when you're being a wiki main character β¨--manβ writes the man page source in'nroff'markup to standard output. meta? we're doing meta π--versionβ writes the toolkit version to standard output. π¦--echoβ writes the current command line to standard output. so you can see what you just did, no cap π--verbose-level <integer>β sets the verbosity level. more number = more talking π£οΈ--verbose,-vβ increments the verbosity level by 1. deprecated, bestie, but supported for backward compatibility π«Ά (yes we're still keeping it around, don't come for her)--threads <integer>β sets the maximum number of parallel threads (this is for POSIX threads and OpenMP, she's versatile πͺ)
π Main Options π
--mask,-mβ use reference image pixels as a binary mask. masking era π--target-image-fsl <string>β path to an optional target image to be used in FSL. this is the image that the transformation β and therefore the deformation field it creates β maps to. so here's the thing: when you're making a deformation field for FSL's"applywarp"tool, it may be necessary to determine whether the x coordinate of the resulting deformation vectors has to be flipped. [Default:disabled] π--inversion-tolerance-factor <double>β factor for the numerical tolerance of B-spline inversion [multiples of minimum grid pixel size;default=0.1] [Default:0.1]. precision queen π--downsample <string>β downsample the grid by factors'x,y,z'or by a single factor'xyz'[Default:NONE]. choose your reduction, it's giving options β¨--output-absoluteβ make the output deformation field with absolute target location vectors, rather than relative offset vectors. absolute vs relative, the eternal question π
π«Ά AUTHORS π«Ά
Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. a whole squad, we stan a collaborative effort π
π LICENSE π
http://www.fsf.org/licensing/licenses/gpl.html β GPL, obviously π
π BUGS π
report bugs at http://nitrc.org/projects/cmtk/. not me manifesting zero bugs but okay π
β 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. and from April 2009 through September 2011, CMTK development and maintenance was supported by the NIBIB under Grant EB008381. funding slay πΈβ¨
and that's the whole page bestie!! this manual is from CMTK 3.3.1p2, dated Jun 24 2026 β genuinely iconic of them to future-date it, we love a time traveler ππ go forth and convert those transformations fr fr π¦
π¦ 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