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

Don't accept NaN as a threshold for unseeded_region_growing #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

camilodlt
Copy link

Since < and > always return False with a NaN value, if a NaN is passed as a threshold, it'll result in a segmentation where each pixel is its own instance.

I don't think that feature can be useful to someone, moreover, the algorithm can take ages with a medium size image when we have that increasing number of segments to check for.

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