Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix transform bug #28

Merged
merged 1 commit into from
Aug 16, 2024
Merged

Fix transform bug #28

merged 1 commit into from
Aug 16, 2024

Conversation

alessandrofelder
Copy link
Member

@alessandrofelder alessandrofelder commented Aug 16, 2024

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?

There were some problems with the transformation in napari.

What does this PR do?

We pass the whole 4x4 matrix to scipy affine_transform, instead of splitting it into inv(3x3) and -translation.

References

Closes #24

How has this PR been tested?

Manually on tadpole data, have opened #29 for improving test coverage.

Is this a breaking change?

No

Does this PR require an update to the documentation?

No

Checklist:

  • The code has been tested locally (manually)
  • [ \ ] Tests have been added to cover all new functionality (unit & integration)
  • [ \ ] The documentation has been updated to reflect any changes
  • The code has been formatted with pre-commit

Copy link
Member

@IgorTatarnikov IgorTatarnikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@IgorTatarnikov IgorTatarnikov merged commit 4fcffbc into main Aug 16, 2024
23 checks passed
@IgorTatarnikov IgorTatarnikov deleted the fix-transform-bug branch August 16, 2024 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] napari widget align transform need some kind of centering?
2 participants