Skip to content

Documentation regarding transform naming #1

Description

@tsalo

From the README:

Image warping with antsApplyTransforms is pull-based: the chain inside from-X_to-Y_xfm.h5 (the file that warps an X-image onto a Y-grid, per BIDS) internally maps target Y voxels back to source X coordinates. Applied to a point, that same chain sends a Y-point to an X-point. So to warp a vertex FROM space A TO space B, you need a chain that maps A → B — which lives in the opposite-named file from-B_to-A_xfm.h5.

Isn't the appropriate transform (A to B vs. B to A) dependent on whether the transform is mode-image or mode-points?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions