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

"Fill Label Holes" plugin results in full-white image when applied to binary image #80

Open
dlegland opened this issue Jan 9, 2024 · 0 comments
Assignees

Comments

@dlegland
Copy link
Contributor

dlegland commented Jan 9, 2024

When the "Fill Label Holes" plugin is applied to a binary image (or to an image with only one label except the background), the result is an image totally filled with the label value.

Possible solution: after CC-labeling of BG regions is computed, discard the BG regions that touch the border of the image.

Should also return the result in a new image.

@dlegland dlegland self-assigned this Jan 9, 2024
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

No branches or pull requests

1 participant