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

Does 2D fill has the concept of scipy's 'structure' ? #9

Open
ogencoglu opened this issue Oct 5, 2024 · 1 comment
Open

Does 2D fill has the concept of scipy's 'structure' ? #9

ogencoglu opened this issue Oct 5, 2024 · 1 comment

Comments

@ogencoglu
Copy link

In scipy binary_fill_holes, one can control the definition of "hole" with e.g. structure=ndimage.generate_binary_structure(2, 2).

This specific example will produce

image

vs fill_voids fill:

image

The reason is the diagonal pixel on top right.

Does this library has such control?

@william-silversmith
Copy link
Contributor

william-silversmith commented Oct 5, 2024 via email

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

2 participants