Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2017-01-26 22:06:01 -0500

Nbb gravatar image

How to find local minima for watershed in OpenCV ?

Watershed has 3 steps

  • find gradient map
  • locate local minima
  • grow seed from minima

Matlab does all this automatically. Not so sure which part OpenCV does. But how do I find local minima from a gradient map for watershed ? minMaxLoc finds the global.