2

I'm using Emgu CV 2.1 and want to have a simple blob detection. I search for white blobs in a black image. Unfortunalty I can not find out how to do this! Do I need an additional library? Or how is this function called in emgu cv? Or is there really no blob detection in emgu cv?

Thanks for any help Benks

Benks
  • 21
  • 1
  • 1
  • 3

2 Answers2

2

You have SimpleBlobDetector class just for that , Just call Detect() on your image.

Another way is to use cannyEdgeDetection() followed with FindContours method, both in Image class .

Dr.Haimovitz
  • 1,568
  • 12
  • 16
2

For starters the basic Hough blob tracking method EMGU forums have an example here : (2nd Comment)

http://www.emgu.com/forum/viewtopic.php?f=7&t=225

Here is the declaration sytax

http://www.emgu.com/wiki/files/1.5.0.0/Help/html/04e0b6a7-3d11-eec8-6c22-44e5bf3023b2.htm

An alternative which is a c# only contribution from AlbertG can be found here

http://emgu.com/forum/viewtopic.php?f=3&t=205

Shiva
  • 6,677
  • 4
  • 36
  • 61
Chris
  • 3,462
  • 20
  • 32