Group: http://groups.google.com/group/ctypes-opencv/topics
- Help on blob detection [2 Updates]
Topic: Help on blob detection"André Caron" <andre....@gmail.com> May 11 09:43AM -0700 ^
Hi,
I've just found out about PyOpenCV and I think it looks promising!
I'm porting some MATLAB code to OpenCV and I'm quite fond of Python.
This project requires blob detection using connected components
analysis, amongst other things. I found a tutorial for blob detection
in OpenCV (http://opencv.willowgarage.com/wiki/cvBlobsLib) but I can't
find the corresponding classes/functions in PyOpenCV.
So far, I've located the "pyopencv.creatgeBlobDetectorCC()" and its
"DetecNewBlob" method, but I'm at a loss as to how I need to call it.
Has anyone tried to implement blob detection using PyOpenCV? Are
there any test cases or something that I can look at?
Thanks,
André
<jc.b...@alliancevision.com> May 12 09:08AM +0200 ^
--
Hi André,
You can also use the "Contours" fonctions of OpenCV ("findContours", then
"arcLength", "contourArea", "boundingRect", "minAreaRect",
"minEnclosingCircle", "fitEllipse"...). Contours will also allow you to
measure blob holes.
There are also some interesting functions in the
"scipy.ndimage.measurements" and "scipy.ndimage.morphology" modules.
As sometimes OpenCV returns strange measurements with very small blobs (null
perimeters and aeras),
i have developped my own functions, which are a "mix" of "pyopencv" and
"scipy.ndimage"
Best Regards.
JC BENOIT
----- Original Message -----
From: "André Caron" <andre....@gmail.com>
To: "ctypes-opencv" <ctypes...@googlegroups.com>
Sent: Wednesday, May 11, 2011 6:43 PM
Subject: Help on blob detection
Hi,
I've just found out about PyOpenCV and I think it looks promising!
I'm porting some MATLAB code to OpenCV and I'm quite fond of Python.
This project requires blob detection using connected components
analysis, amongst other things. I found a tutorial for blob detection
in OpenCV (http://opencv.willowgarage.com/wiki/cvBlobsLib) but I can't
find the corresponding classes/functions in PyOpenCV.
So far, I've located the "pyopencv.creatgeBlobDetectorCC()" and its
"DetecNewBlob" method, but I'm at a loss as to how I need to call it.
Has anyone tried to implement blob detection using PyOpenCV? Are
there any test cases or something that I can look at?
Thanks,
André
--
You received this message because you are subscribed to the Google Groups
"ctypes-opencv" group.
To post to this group, send email to ctypes...@googlegroups.com.
To unsubscribe from this group, send email to
ctypes-openc...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/ctypes-opencv?hl=en.
You received this message because you are subscribed to the Google Groups "ctypes-opencv" group.
To post to this group, send email to ctypes...@googlegroups.com.
To unsubscribe from this group, send email to ctypes-openc...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ctypes-opencv?hl=en.