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

Improve annotation positioning for zoomed in images #305

Merged
merged 1 commit into from
May 26, 2024

Conversation

jwahlstrand
Copy link
Collaborator

When drawing anchored annotations, widen the user bounding box by half a pixel on all sides. The pixels are centered on the integers of the user coordinates.

Fixes #223.

@jwahlstrand jwahlstrand merged commit 91c93d6 into master May 26, 2024
10 checks passed
@jwahlstrand jwahlstrand deleted the jw/annot_coords branch May 26, 2024 15:11
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.

Annotation positions not accurate in sub-pixel level
1 participant