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.
I find
offsetstrelin 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:
non-flat dilation:
here$\Omega$ is the offset displacement of the SE, and
bis the value of the non-flat SE.