SimpleBlobDetector response

asked 2015-07-07 01:59:23 -0600

Nbb gravatar image

updated 2015-07-07 10:54:45 -0600

Hello Forum,

I am trying this tutorial out http://www.learnopencv.com/blob-detec... and I have a question. How do i keep the best detected blob in an image based on its "response". The parameters for KeyPoint http://docs.opencv.org/master/d2/d29/... has a response.

I have been trying and i keep getting a 0 (because the default argument is 0).

Thanks!

EDIT :

This is what I have been trying to do. Detect the blobs in the image below and find out how good the fit is. Input is Figure 1.

In Figure 2, the output of the blob detector is shown. What is missing is that there is no parameter telling me how good the fit is. In Figure 3, I went to find the contours and then computed the circularity. It is still not too bad.

The problem would be in Figure 4 (paint drawing). Finding contours and computing the circularity would give me very bad results. I would like to be able to detect a blob which will encompass ONLY the semicircle. Of course there may be other blobs within the white regions but I don't care.

Basically I would like to find possible locations in an image to fit a circle/blob.

Possible solutions

I have been reading and I found out about the star feature detector in opencv. Would it work and will I get the "strength" of the match ? I also read about haar pointed features. http://athenanichol.com/blog/?p=522 Would those work ? Please help, thanks.

Figure 1

image description

Figure 2

image description

Figure 3

image description

Figure 4

image description

edit retag flag offensive close merge delete

Comments

1

some Keypoint detectors, like gftt and the simple one do not have response values (or an angle)

berak gravatar imageberak ( 2015-07-07 04:47:02 -0600 )edit