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

support grayscale morphology operators #576

Closed
Morgane55440 opened this issue Apr 28, 2024 · 2 comments
Closed

support grayscale morphology operators #576

Morgane55440 opened this issue Apr 28, 2024 · 2 comments

Comments

@Morgane55440
Copy link
Contributor

Morgane55440 commented Apr 28, 2024

currently the operators in the morphology module only do binary operations (background = 0, foreground = 255).

but when doing morphological operations on actual operations, it is often necessary to do greyscale operations, using the whole range of values available.

i would like to propose to add greyscale variants of all the currently existing functions, as well as a Mask Struct to replace the Norm arguments, allowing for user defined masks.

if that is something that seems appropriate to add, i would love to work on the implementation myself.

see the wikipedia article on grayscale morphology

@Morgane55440 Morgane55440 changed the title support non-binary morphology operators support greyscale morphology operators Apr 28, 2024
@theotherphil
Copy link
Contributor

That would be a welcome addition - thanks!

@theotherphil
Copy link
Contributor

Implemented in #581

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