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.
1 | initial version |
Watershed has 3 steps
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.