XFM2DEF(1)

πŸ“¦
version 2.3.00 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ XFM2DEF(1) ✨

okay bestie, welcome to the MINC User's Guide glow-up, and this is the manual for xfm2def πŸ’…


🌸 NAME 🌸

xfm2def β€” convert a MNI transform file to a deformation volume πŸ¦‹


🌈 SYNOPSIS 🌈

xfm2def [options] input.xfm def_vol.mnc

πŸ’– DESCRIPTION πŸ’–

so like, xfm2def takes an input transform input.xfm β€” and bestie, that file can literally be a whole stack of concatenated transforms all chillin' in one single xfm file β€” and converts the whole thing into one single deformation volume that gets output as def_vol.mnc. no cap. 🫢

⚠️ but heads up: the output is not a transform file itself. nope. it's giving raw volume energy. so if you actually wanna use it in a MINC transform, you gotta go make yourself an .xfm file like this:

MNI Transform File

Transform_Type = Grid_Transform;
Displacement_Volume = def_vol.mnc;

and the resolution + sampling of the deformation grid? you have to specify that. if you don't, it'll just fall back to a default size, which is 100x100x100 with 1mm steps, centred around the origin. slay, but also specify it yourself if you care, iykyk πŸ’€


πŸŽ€ OPTIONS πŸŽ€

  • -help β€” prints a lil summary of the command-line options and dips out. πŸ‘‹
  • -version β€” prints the program's version number and exits. iconic.
  • -verbose β€” prints out extra progress info while it's running, so you can watch it cook. πŸ”₯
  • -clobber β€” overwrites any existing output file. it's giving destructive main character energy, be careful bestie πŸ’…
  • -xnelements nx β€” number of elements along the xspace dimension.
  • -ynelements ny β€” number of elements along the yspace dimension.
  • -znelements nz β€” number of elements along the zspace dimension.
  • -xstep xstep β€” step between voxels along the xspace dimension.
  • -ystep ystep β€” step between voxels along the yspace dimension.
  • -zstep zstep β€” step between voxels along the zspace dimension.
  • -xstart xstart β€” position of centre of first voxel along the xspace dimension.
  • -ystart ystart β€” position of centre of first voxel along the yspace dimension.
  • -zstart zstart β€” position of centre of first voxel along the zspace dimension.
  • -xdircos x1 x2 x3 β€” direction cosines for the xspace dimension.
  • -ydircos y1 y2 y3 β€” direction cosines for the yspace dimension.
  • -zdircos z1 z2 z3 β€” direction cosines for the zspace dimension.

πŸ‘‘ AUTHOR πŸ‘‘

Andrew Janke 🌟


🧚 COPYRIGHTS 🧚

Copyright Β© 2010 Andrew Janke - a.janke@gmail.com


and that's the whole page, bestie 🫢 this lil beauty comes to you from the MINC User's Guide, dated $Date: 2010-08-11 04:06:42 $, and it goes by XFM2DEF(1). periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from