Skip to content

Are aligners correct for non-cube shapes when align_in_real_world_coords = False ? #25

Description

@etienne87

I have a doubt that it makes sense to compute the closed-form affine/rigid/tps in align_in_real_world_coords=False.

EDIT:

in fact the transform you compute is correct for non-cube shapes if align_in_real_world_coords=True, because before fitting you:

  • denormalize coordinates
  • then apply affine
    in here:

So if one wants KM to work fine with non-cube shapes but does not have affine matrices, he can just set align_in_real_world_coords=True, and then feed identity affines.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions