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

non-flat structuring element #111

Open
johnnychen94 opened this issue Jul 21, 2022 · 1 comment
Open

non-flat structuring element #111

johnnychen94 opened this issue Jul 21, 2022 · 1 comment
Labels

Comments

@johnnychen94
Copy link
Member

johnnychen94 commented Jul 21, 2022

I find offsetstrel in MATLAB but doesn't see its support in either OpenCV or scikit-images. Thus I'm wondering if we want to bring this in. @ThomasRetornaz do you know if this is used widely?

non-flat erosion:

$$ \epsilon_b(x,y) = \min_{o\in\Omega}(f(x+o) - b(o)) $$

non-flat dilation:

$$ \delta_b(x,y) = \max_{o\in\Omega}(f(x-o) + b(o)) $$

here $\Omega$ is the offset displacement of the SE, and b is the value of the non-flat SE.

@ThomasRetornaz
Copy link
Collaborator

Hi o/, no it is not used widely. I just use it during my mm courses at school and never after
Furthermore if i remember properly [timholy] said that we could avoid to generalize op to non flat SE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants