watershed.py
description
Image segmented by watershed algorithm
preparation
Download sample photo.
Execute following command:
$ wget https://docs.opencv.org/3.1.0/water_coins.jpg
usage
$ python watershed.py water_coins.jpg
original image

processed image
segmented image

mask image

References
- https://qiita.com/ysdyt/items/5972c9520acf6a094d90