Circle detection without overlapping

前端 未结 3 704
慢半拍i
慢半拍i 2021-01-23 17:08

I want to do circle detection under the condition that: overlap circles will be count as 1 circle.

Particularly, when I do circle detection and put the letter \"P\" to e

3条回答
  •  误落风尘
    2021-01-23 18:06

    If I was doing this I wouldn't use HoughCircles but instead try:

    1) Smooth, to get rid of some noise
    2) Threshold, to produce a binary mask
    3) Contour, where each contour is a detected pollen.

    Simple but I think it should work.

提交回复
热议问题