How to look for deep valleys in a histogram ?
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.
add a comment