InsightSoftwareConsortium / InsightSoftwareConsortium/itk-napari-conversion

Coordinates of points `point_set_from_points_layer` appear reverted

Open
#14 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

It appears that the coordinates of the points of an `itk::PointSet` returned by `point_set_from_points_layer` are in reverse order.

More specifically, when retrieving the points returned by `point_set_from_points_layer`, their coordinates still need to be reverted before passing them as "fixed_points" or "moving_points" to `itk.elastix_registration_method`.

- Observed when implementing pull request https://github.com/SuperElastix/elastix-napari/pull/65

@thewtex Can you please have a look?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.