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.
1 | initial version |
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.