Skip to main content

Posts

Showing posts with the label drawcontours

Blobs with opencv (internal function)

There are many open source opencv BLOB libraries that you can use. i have tried several of these, however because of the 64 bit machine that im using recompiling these are very troublesome. If you have heard of these libraries: "cvBlobsLib": http://opencv.willowgarage.com/wiki/cvBlobsLib   "cvBlob": http://code.google.com/p/cvblob/   "Bloblib" by Dave Grossman (also referred to as "Blob Analysis Package"): Go to http://tech.groups.yahoo.com/group/OpenCV/files/  You will know that opencv also has a built in function that can help you find blobs using cv::findContour and see some statistics using the cv::moments. eventually make these functions similar to regionprops Matlab function The BLOB FINDER CLASS: class atsBlobFinder { public:     atsBlobFinder(cv::Mat src)     {         numBlobs = 0;         cv::Mat img; //must create a temporary Matrix to hold...