How do I use SimpleBlobDetection with Color?

asked 2015-07-23 16:43:07 -0500

Banquin gravatar image

Hi, Im trying to use the simpleBlobDetector for object tracking, but in all the information that I have looked for doesnt appear the parameters for Filtering by color. What parameters do i have to use for this kind of filtering?

Thanks

edit retag flag offensive close merge delete

Comments

I didn't use it too much, but I think that it is using just grayscale, so you can apply it on 3 channels, (r, g, b; or maybe it will work also or on 2: Cr and Cb). Or you can also threshold the Hue channel so, you'll have all the colors, if the first case does not resolve the problem... For tracking you can also use KalmanFilter, then add some property to your tracking object, that will tell you the color, so no need to check every color each tracker update.

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-07-24 04:16:14 -0500 )edit