Emgu CV Blob Detection

瘦欲@ 提交于 2019-12-01 07:59:14

问题


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


回答1:


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




回答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 .



来源:https://stackoverflow.com/questions/6174527/emgu-cv-blob-detection

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!