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
Hi,
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.