libcvautomation
2.0
|
00001 /* 00002 * ===================================================================================== 00003 * 00004 * Filename: libcvautomation-opencv.h 00005 * 00006 * Description: Function definitions for opencv functionality 00007 * 00008 * Created: 06/21/2012 08:34:21 AM 00009 * Revision: none 00010 * Compiler: gcc 00011 * 00012 * Author: Bradlee Speice, bspeice@uncc.edu 00013 * Organization: MOSAIC at University of North Carolina at Charlotte 00014 * 00015 * ===================================================================================== 00016 */ 00017 #ifndef LIBCVAUTOMATION_OPENCV_H 00018 #define LIBCVAUTOMATION_OPENCV_H 00019 00020 #include <libcvautomation/libcvautomation.h> 00021 00022 /* It should be noted that the following are the macros for template matching: 00023 * CV_TM_SQDIFF (default) 00024 * CV_TM_SQDIFF_NORMED 00025 * CV_TM_CCORR 00026 * CV_TM_CCORR_NORMED 00027 * CV_TM_CCOEFF 00028 * CV_TM_CCOEFF_NORMED 00029 */ 00030 00031 /* Match a root image and sub image */ 00032 cvaPoint matchSubImage ( IplImage *rootImage, IplImage *subImage, int searchMethod, double tolerance ); 00033 00034 /* Match a root image and sub image, return the center */ 00035 cvaPoint matchSubImage_center ( IplImage *rootImage, IplImage *subImage, int searchMethod, double tolerance ); 00036 00037 /* Match a root image and sub image from filename */ 00038 cvaPoint matchSubImage_location ( const char *rootImage_location, const char *subImage_location, int searchMethod, double tolerance ); 00039 00040 /* Match a root image and sub image from filename, return the center */ 00041 cvaPoint matchSubImage_location_center ( const char *rootImage_location, const char *subImage_location, int searchMethod, double tolerance ); 00042 00043 /* Match a root image and sub images from an array of images */ 00044 void matchSubImage_a ( IplImage *rootImage, cvautomationList *subImageArray, int listSize ); 00045 00046 /* Match a root image and sub images from an array of images, return the center */ 00047 void matchSubImage_a_center ( IplImage *rootImage, cvautomationList *subImageArray, int listSize ); 00048 00049 /* Match a root image and sub images from an array of images */ 00050 void matchSubImage_a_location ( const char *rootImageFileName, cvautomationList *subImageArray, int listSize ); 00051 00052 /* Match a root image and sub images from an array of images, return the center */ 00053 void matchSubImage_a_location_center ( const char *rootImageFileName, cvautomationList *subImageArray, int listSize ); 00054 00055 #endif /* LIBCVAUTOMATION_OPENCV_H */ 00056 00057 /* Doxygen information */