From 9014d3e6d0cb5aa86a84a6eed60f583ff68b310d Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sat, 29 Aug 2009 22:02:24 +0000 Subject: bug in tracking svn path=/trunk/externals/pdp_opencv/; revision=12140 --- pdp_opencv_floodfill.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pdp_opencv_floodfill.c b/pdp_opencv_floodfill.c index 0c287a5..060630c 100644 --- a/pdp_opencv_floodfill.c +++ b/pdp_opencv_floodfill.c @@ -140,10 +140,6 @@ static void pdp_opencv_floodfill_process_rgb(t_pdp_opencv_floodfill *x) SETFLOAT(&x->x_list[3], comp.rect.width); SETFLOAT(&x->x_list[4], comp.rect.height); outlet_list( x->x_outlet1, 0, 5, x->x_list ); - - // follow the blob - x->x_xcomp[i] = comp.rect.x + ( comp.rect.width / 2 ); - x->x_ycomp[i] = comp.rect.y + ( comp.rect.height / 2 ); } } @@ -285,7 +281,7 @@ static void pdp_opencv_floodfill_mark(t_pdp_opencv_floodfill *x, t_floatarg fper { x->x_xcomp[i] = (int)(fperx*x->x_width); x->x_ycomp[i] = (int)(fpery*x->x_height); - post( "pdp_opencv_floodfill : inserted point (%d,%d)", x->x_xcomp[i], x->x_ycomp[i] ); + // post( "pdp_opencv_floodfill : inserted point (%d,%d)", x->x_xcomp[i], x->x_ycomp[i] ); inserted = 1; break; } -- cgit v1.2.1