ImageFiltering.jl
ImageFiltering.jl copied to clipboard
`findlocalmaxima` fail to handle repeated peaks
julia> findlocalmaxima([1 2 3 2 1])
1-element Vector{CartesianIndex{2}}:
CartesianIndex(1, 3)
julia> findlocalmaxima([1 2 3 3 1])
CartesianIndex{2}[]
I'm not sure whether it is a bug or I need to handle this case outside findlocalmaxia