WARPTIMESERI...ULTITRANSFORM(1)

πŸ“¦
version 2.6.4 Β· 2 versions
, in ubuntu resolute

πŸ’– NAME πŸ’–

Okay so this page is for WARPTIMESERI...ULTITRANSFORM(1) (User Commands, bestie πŸŽ€). The actual command is WarpTimeSeriesImageMultiTransform, and it's part of the ANTS registration suite 🧚


πŸŽ€ DESCRIPTION πŸŽ€

Here's how you call it. There are two ways, and they're both giving main character energy ✨

Usage 1 (Forward warp): the forward move πŸ¦‹

WarpTimeSeriesImageMultiTransform ImageDimension <moving_image.ext> <output_image.ext> -R <fixed_image.ext> <MyWarp.ext> <MyAffine.txt> [interpolation]

Usage 2 (Inverse warp): the backwards glow-up πŸ”„

WarpTimeSeriesImageMultiTransform ImageDimension <fixed_image.ext> <output_image.ext> -R <moving_image.ext> -i <MyAffine.txt> <MyInverseWarp.ext> [interpolation]

πŸ’… Usage Information

Let's do a vibe check on each argument, bestie:

  • ImageDimension β€” This one is required, no skipping! It has to be 3 or 4 πŸ”₯
  • <moving_image.ext> β€” The image you want to apply the transformation to. It's either a 3-D image with vector voxels, or a 4D image with scalar voxels 🌸
  • <output_image.ext> β€” The result! It comes out the same type as your input, but it gets resampled to the domain size set by the -R image ✨
  • <MyWarp.ext> <MyAffine.txt> β€” You can stack mappings together, and it's lowkey so satisfying. For example: MyAffine.txt MySecondAffine.txt MyWarp.nii.gz MySecondWarp.nii.gz -i MyInverseAffine.txt πŸ¦‹

✨ OPTIONS ✨

Here are the flags, and yes, they all slay πŸ’–

  • -i β€” Uses the inverse of the affine transform that comes right after it πŸ”„
  • -R β€” The reference image space you want to warp into 🎯
  • --reslice-by-header β€” This is the same as -i -mh, or -fh -i -mh if you pair it with -R. It goes off the orientation matrix and origin stored in the image file header πŸ“œ
  • --tightest-bounding-box β€” Computes the tightest bounding box using all the affine transformations. If you pass -R <reference_image.ext>, that overrides it 🫢
    • These options can be used together with -R, and they're typically not used together with any other transforms πŸ™ˆ

🌈 Interpolation:

Pick your blending style πŸ“

  • --use-NN β€” Nearest Neighbor Interpolator 🧚
  • --use-BSpline β€” 3rd order B-Spline Interpolation πŸ‘‘

Okay bestie, that's the whole tea 🫢 This page's source/version is WarpTimeSeriesImageMultiTrans..., dated December 2025. Stay iconic, periodt πŸ’…πŸ’–

πŸ“¦ where this page comes from