How to look for deep valleys in a histogram ?

asked 2018-05-21 14:21:30 -0600

Nbb gravatar image

I am trying to implement the algorithm below on a simple image but am unsure of how I can look for deep valleys in a histogram (numpy array). Using a gradient operator does not seem to help.

image description

edit retag flag offensive close merge delete