diff options
author | Antoine Villeret <avilleret@users.sourceforge.net> | 2012-12-20 00:22:35 +0000 |
---|---|---|
committer | Antoine Villeret <avilleret@users.sourceforge.net> | 2012-12-20 00:22:35 +0000 |
commit | ad4e1e117491f61dafc998c47fb7ca3997990436 (patch) | |
tree | 92fdecc1a71da0dc3e39642764f8fdd04b1ecbff | |
parent | e76d5ceef63e462c1f5d715a9e807a6b8f8547a6 (diff) |
fix bug in semgent number on info outlet
svn path=/trunk/externals/pix_opencv/; revision=16711
-rw-r--r-- | pix_opencv_contours.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pix_opencv_contours.cc b/pix_opencv_contours.cc index 438d947..2697fcb 100644 --- a/pix_opencv_contours.cc +++ b/pix_opencv_contours.cc @@ -116,7 +116,7 @@ void pix_opencv_contours :: processGrayImage(imageStruct &image) SETFLOAT(info+info_offset+11, rot_rect.size.width/image.xsize); SETFLOAT(info+info_offset+12, rot_rect.size.height/image.xsize); SETFLOAT(info+info_offset+13, rot_rect.angle); - SETFLOAT(info+info_offset+14, it->size()/2); // number of points in segment + SETFLOAT(info+info_offset+14, it->size()); // number of points in segment SETFLOAT(info+info_offset+15, 0); SETFLOAT(info+info_offset+16, 0); SETFLOAT(info+info_offset+17, 0); |