
Hi Jeff On 2014-11-26 16:28:24, jeff witz <witzjean@gmail.com> wrote:
Please note that the values computed for visualization are for illustration only and doesn't represent a real experiment.
Thank you very much for the script--it will come in handy. When I run it on my system, I see the following lovely error message: Traceback (most recent call last): File "/tmp/UnitTestExtenso.py", line 192, in <module> barycenter_opencv(image,int(minx[0]),int(miny[0]),int(maxx[0]),int(maxy[0]),thresh,border,True) File "/tmp/UnitTestExtenso.py", line 110, in barycenter_opencv miny_, minx_, h, w= cv2.boundingRect(bw) cv2.error: /build/buildd/opencv-2.4.9+dfsg/modules/imgproc/src/contours.cpp:1895: error: (-215) points.checkVector(2) >= 0 && (points.depth() == CV_32F || points.depth() == CV_32S) in function boundingRect Stéfan