diff options
author | lluís gómez i bigordà <lluisbigorda@users.sourceforge.net> | 2009-09-18 10:24:25 +0000 |
---|---|---|
committer | lluís gómez i bigordà <lluisbigorda@users.sourceforge.net> | 2009-09-18 10:24:25 +0000 |
commit | 569480bd0671e258614bc2af5d3b9decb83e7fb9 (patch) | |
tree | 3ec3e9f38a335494fcffa8ed389689e929363480 | |
parent | e047e8c34d5eceda971be0729d7dee72062f1a26 (diff) |
added -1 message for lost objects
svn path=/trunk/externals/pdp_opencv/; revision=12389
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | pdp_opencv_contours_boundingrect.c | 6 |
2 files changed, 9 insertions, 3 deletions
@@ -1,5 +1,5 @@ -PD_DIR = /usr/local/pd -PDP_DIR = /usr/local/pd/pdp +PD_DIR = /usr/src/pd-svn/trunk/pd +PDP_DIR = /usr/src/pd-svn/trunk/externals/pdp GEM_OPENCV_VERSION = 0.2 @@ -27,7 +27,7 @@ endif .SUFFIXES = $(EXTENSION) SOURCES = pdp_opencv_threshold.c pdp_opencv_edge.c pdp_opencv_distrans.c pdp_opencv_laplace.c pdp_opencv_motempl.c pdp_opencv_morphology.c pdp_opencv_haarcascade.c pdp_opencv_contours_convexity.c pdp_opencv_contours_boundingrect.c pdp_opencv_bgsubstract.c pdp_opencv_lk.c pdp_opencv_floodfill.c pdp_opencv_hist_compare.c pdp_opencv_dft.c pdp_opencv_knear.cc pdp_opencv_hu_moments.c pdp_opencv_hu_compare.cc pdp_opencv_pgh_compare.cc pdp_opencv_bgstats.cc pdp_opencv_athreshold.c pdp_opencv_hough_lines.cc pdp_opencv_channels.cc pdp_opencv_hough_circles.cc pdp_opencv_camshift.cc pdp_opencv_colorfilt.c -SOURCES_OPT = pdp_opencv_surf.cc +SOURCES_OPT = all: $(SOURCES:.c=.$(EXTENSION)) $(SOURCES:.cc=.$(EXTENSION)) $(SOURCES_OPT:.c=.$(EXTENSION)) $(SOURCES_OPT:.cc=.$(EXTENSION)) diff --git a/pdp_opencv_contours_boundingrect.c b/pdp_opencv_contours_boundingrect.c index db40fff..549fb6d 100644 --- a/pdp_opencv_contours_boundingrect.c +++ b/pdp_opencv_contours_boundingrect.c @@ -245,6 +245,12 @@ static void pdp_opencv_contours_boundingrect_process_rgb(t_pdp_opencv_contours_b x->x_xmark[im] = -1.0; x->x_ymark[im] = -1,0; x->x_found[im] = x->x_ftolerance; + SETFLOAT(&x->rlist[0], im); + SETFLOAT(&x->rlist[1], -1.0); + SETFLOAT(&x->rlist[2], -1.0); + SETFLOAT(&x->rlist[3], 0.0); + SETFLOAT(&x->rlist[4], 0.0); + outlet_list( x->x_dataout, 0, 5, x->rlist ); } } |