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

Mask to boundary API #7537

Open
bhack opened this issue Apr 25, 2023 · 3 comments · May be fixed by #7704
Open

Mask to boundary API #7537

bhack opened this issue Apr 25, 2023 · 3 comments · May be fixed by #7704

Comments

@bhack
Copy link

bhack commented Apr 25, 2023

🚀 The feature

Expose a mask to boundary API

Motivation, pitch

A mask to boundary API is useful for implementing many segmentation metrics used in many dataset and challenges (Davis F score, BoundaryIOU, etc..).
It could be also used more generally for visualization tasks.
See a gist at:
Lightning-AI/torchmetrics#1500 (comment)

Alternatives

No response

Additional context

No response

@bhack bhack changed the title Mask to boundaries API Mask to boundary API Apr 25, 2023
@NicolasHug
Copy link
Member

Thanks for the proposal @bhack . The implementation looks simple enough and we already have some utils like masks_to_box, so as long as we can properly test it against the opencv reference implementation, it sounds like something we could support. Feel free to submit a PR.

@bhack
Copy link
Author

bhack commented May 3, 2023

On what file do you want to put it?

@oke-aditya
Copy link
Contributor

@bhack bhack linked a pull request Jun 27, 2023 that will close this issue
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 a pull request may close this issue.

3 participants