ImageFiltering.jl icon indicating copy to clipboard operation
ImageFiltering.jl copied to clipboard

`findlocalmaxima` fail to handle repeated peaks

Open JiangXL opened this issue 2 years ago • 0 comments

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

JiangXL avatar Jun 15 '22 07:06 JiangXL