From e8268332983d8c7c28f868467c0e82f5b35e8511 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Mon, 12 Oct 2009 22:56:45 +0000 Subject: passed everything to c++ for opencv 2.0 svn path=/trunk/externals/pdp_opencv/; revision=12584 --- pdp_opencv.c | 107 ----------------------------------------------------------- 1 file changed, 107 deletions(-) delete mode 100644 pdp_opencv.c (limited to 'pdp_opencv.c') diff --git a/pdp_opencv.c b/pdp_opencv.c deleted file mode 100644 index 59a2ea9..0000000 --- a/pdp_opencv.c +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Pure Data Packet system implementation: setup code - * Copyright (c) by Tom Schouten - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - */ - -#include -#include - -static int pdp_opencv_initialized = 0; - -/* all symbols are C style */ -#ifdef __cplusplus -extern "C" -{ -#endif - -void pdp_opencv_edge_setup(void); -void pdp_opencv_threshold_setup(void); -void pdp_opencv_bgsubstract_setup(void); -void pdp_opencv_distrans_setup(void); -void pdp_opencv_laplace_setup(void); -void pdp_opencv_motempl_setup(void); -void pdp_opencv_morphology_setup(void); -void pdp_opencv_haarcascade_setup(void); -void pdp_opencv_floodfill_setup(void); -void pdp_opencv_contours_convexity_setup(void); -void pdp_opencv_contours_boundingrect_setup(void); -void pdp_opencv_lk_setup(void); -void pdp_opencv_dft_setup(void); -void pdp_opencv_knear_setup(void); -void pdp_opencv_hu_moments_setup(void); -void pdp_opencv_hu_compare_setup(void); -void pdp_opencv_pgh_compare_setup(void); -void pdp_opencv_bgstats_setup(void); -void pdp_opencv_surf_setup(void); -void pdp_opencv_lk_setup(void); -void pdp_opencv_athreshold_setup(void); -void pdp_opencv_channels_setup(void); -void pdp_opencv_hough_lines_setup(void); -void pdp_opencv_hough_circles_setup(void); -void pdp_opencv_camshift_setup(void); - - - -/* library setup routine */ -void pdp_opencv_setup(void){ - - if (pdp_opencv_initialized) return; - - /* babble */ -#ifdef PDP_CV_VERSION - post("PDP_opencv: pure data packet openCV wrapper version " PDP_CV_VERSION ); -#else - post ("PDP_opencv: pure data packet openCV wrapper"); -#endif - - - /* setup pdp_opencv system */ - pdp_opencv_edge_setup(); - pdp_opencv_threshold_setup(); - pdp_opencv_bgsubstract_setup(); - pdp_opencv_distrans_setup(); - pdp_opencv_laplace_setup(); - pdp_opencv_motempl_setup(); - pdp_opencv_morphology_setup(); - pdp_opencv_haarcascade_setup(); - pdp_opencv_floodfill_setup(); - pdp_opencv_contours_convexity_setup(); - pdp_opencv_contours_boundingrect_setup(); - pdp_opencv_lk_setup(); - pdp_opencv_dft_setup(); - pdp_opencv_knear_setup(); - pdp_opencv_hu_moments_setup(); - pdp_opencv_hu_compare_setup(); - pdp_opencv_pgh_compare_setup(); - pdp_opencv_bgstats_setup(); - pdp_opencv_surf_setup(); - pdp_opencv_lk_setup(); - pdp_opencv_athreshold_setup(); - pdp_opencv_channels_setup(); - pdp_opencv_hough_lines_setup(); - pdp_opencv_hough_circles_setup(); - pdp_opencv_camshift_setup(); - - pdp_opencv_initialized++; - - -} - -#ifdef __cplusplus -} -#endif -- cgit v1.2.1