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

Allow polygons with holes to be specified. #844

Merged
merged 2 commits into from
Apr 29, 2022
Merged

Conversation

manthey
Copy link
Member

@manthey manthey commented Apr 29, 2022

This will render polygons with holes, but doesn't yet support editing them.

Some scalability tests are needed.

This will *render* polygons with holes, but doesn't yet support editing
them.
Note that for optimal efficiency, all polygons in a single annotation
should either have holes or not have holes.  If they have holes, it can
be a zero-length list.
@manthey
Copy link
Member Author

manthey commented Apr 29, 2022

I'll note that in HistomicsUI where this can be displayed, we already correctly handle computing area and perimeter for polygons with holes.

@manthey manthey merged commit c67dccf into master Apr 29, 2022
@manthey manthey deleted the annotation-holes branch April 29, 2022 21:18
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.

1 participant