-
Notifications
You must be signed in to change notification settings - Fork 441
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
ENH: Add commentary on median otsu tutorial/change default parameters #3124
Comments
If holes are the main problem, we could move the |
Thanks @pjsjongsung, we might need to rename this function |
It only corrects for the two mentioned errors: holes and non connected masks. We could change it to something like correct_mask? |
|
But it does also remove non connected masks. |
You could also split it into fill_holes and remove_islands or some such since those don't necessarily need to be paired. |
That does sound reasonable. I'll go ahead and do that. |
Just realized the current implementation is not separable. Will go with remove_holes_and_islands. I guess the name can be long since it will mostly be an internal function. |
Using
dipy_median_otsu
CLI without flags tends to give holes in the mask for multiple people. Per @skoudoro a discussion of this in the tutorial would help (to usemedian_radius=4
andnumpass=4
).The text was updated successfully, but these errors were encountered: