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

Support for non-rectangular custom masks (polygons from shapely). #392

Open
PinkEyeSurvivor opened this issue Apr 14, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@PinkEyeSurvivor
Copy link

Thanks to the team for authoring this package!

I am requesting a feature that I believe will serve many people. I have WSI annotations in the form of shapely polygons which is likely to be a common end result of an annotation workflow. Would it be possible to make a custom mask function that can interact with Shapely Polygons directly?

In an ideal world I could supply a list of polygon vertices (at native resolution) and end up with a mask similar to the rectangular mask that you have already implemented.

Again many thanks!

@PinkEyeSurvivor PinkEyeSurvivor added the enhancement New feature or request label Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant