ANTSUSELANDMA...LACEMENTFIELD(1)

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

Okay bestie, welcome to ANTSUSELANDMA...LACEMENTFIELD(1) πŸŽ€, which lives in the User Commands section πŸ’… Let's get into it ✨

✨ NAME ✨

ANTSUseLandmarkImagesToGetBSplineDisplacementField πŸ¦‹ is part of the ANTS registration suite πŸ’œ

✨ SYNOPSIS ✨

ANTSUseLandmarkImagesToGetBSplineDisplacementField
fixedImageWithLabeledLandmarks  movingImageWithLabeledLandmarks
outputDisplacementField meshSize[0]xmeshSize[1]x... numberOfLevels
[order=3] [enforceStationaryBoundaries=1] [landmarkWeights]

✨ DESCRIPTION ✨

Okay so before you run anything, your input images have to pass a vibe check πŸ”₯ They need to be:

  1. N-ary label images 🏷️
  2. in the same physical space as the images you want to register 🌸
  3. have the same landmark points defined within them 🫢

Landmarks are defined from the center of mass of the labels in the input images 🎯 Lowkey the cutest part. You can use ITK-snap to generate the label images, no cap 🧚

The optional landmark weights get read from a text file πŸ“ where each row is either:

  • "label,labelWeight"
  • "labelWeight"

If you go with the latter format, the label weights are assumed to be arranged in ascending order by label 🌈 Make sure your rows are in order, bestie, or it's gonna be a whole mess πŸ’€


Byeee bestie πŸ’– That's the tea from ANTSUseLandmarkImagesToGetBSp..., dated December 2025 🫢✨

πŸ“¦ where this page comes from