Open cpaniaguam opened 1 year ago
Currently, only se generated from strel_diamond
and strel_box
have optimized implementation.
To address this, we'll need to:
strel_ball
function that generates SEBall
(CRef: https://github.com/JuliaImages/ImageMorphology.jl/issues/75)extreme_filter
implementation for SEBall
Unfortunately, I don't have the time to work on this, but if there's a PR for this, I'd be happy to review and merge.
I exported a strel from matlab using
strel
I import this strel (kind of tricky to build from scratch) into Julia and do the recommended conversions
Then I do the benchmarking with a very simple image
In my use case with a much larger and much more complex image Matlab does this work in about 0.11 seconds, while Julia takes close to 300 seconds 😕.