先找一些资料,然后再分析和实现 参考资料: http://cmm.ensmp.fr/~beucher/wtshed.html https://cn.mathworks.com/company/newsletters/articles/the-watershed-transform-strategies-for-image-segmentation.html