巨坑的simpleBlobDetector
- 入门 强大的simpleBlobDetector
- 进阶 minrepeatability stackOverFlow
- 准备看源码 threshold documence, 看下面的源码要用
- 看源码 blobdetector.cpp 源码
对于 mask, fg=255 而不是fg=0
- param.blobColor=255, 将fg设置为255
- param.minRepeatability=0, 取消这个过滤功能
- 由于mask中bg=0,因此随意设置minThreshold=100,maxThreshold=200
minThreshold, maxThreshold
分析 blobdetector.cpp 的关键源码