libcvautomation
2.0
|
00001 /* 00002 * ===================================================================================== 00003 * 00004 * Filename: libcvautomation-xlib.h 00005 * 00006 * Description: Function definitions for X11 operations 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 00018 #ifndef LIBCVAUTOMATION_XLIB_H 00019 #define LIBCVAUTOMATION_XLIB_H 00020 00021 #include <libcvautomation/libcvautomation.h> 00022 00023 /* Custom wrapper for XOpenDisplay function */ 00024 Display* cvaOpenDisplay ( char *displayName ); 00025 00026 /* Custom wrapper for XCloseDisplay funtion */ 00027 void cvaCloseDisplay ( Display *displayLocation ); 00028 00029 /* Match a sub image using the X11 root window as root */ 00030 cvaPoint matchSubImage_X11( Display *displayLocation, IplImage *subImage, int searchMethod, int tolerance ); 00031 00032 /* Match a sub image using the X11 root window as root, return the center */ 00033 cvaPoint matchSubImage_X11_center( Display *displayLocation, IplImage *subImage, int searchMethod, int tolerance ); 00034 00035 /* Match a sub image using X11 as root, from filename */ 00036 cvaPoint matchSubImage_X11_location( Display *displayLocation, const char *subImage_location, int search_method, int tolerance ); 00037 00038 /* Match a sub image using X11 as root, from filename, return the center */ 00039 cvaPoint matchSubImage_X11_location_center( Display *displayLocation, const char *subImage_location, int search_method, int tolerance ); 00040 00041 #endif /* LIBCVAUTOMATION_XLIB_H */ 00042 00043 /* Doxygen information */