2012-06-21 12:19:55 -04:00
/*
* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
*
* Filename : libcvautomation - x11 . h
*
* Description : Function definitions for X11 operations
*
* Version : 1.0
* Created : 06 / 21 / 2012 08 : 34 : 21 AM
* Revision : none
* Compiler : gcc
*
* Author : Bradlee Speice , bspeice @ uncc . edu
* Organization : MOSAIC at University of North Carolina at Charlotte
*
* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
*/
# ifndef LIBCVAUTOMATION_X11_H
# define LIBCVAUTOMATION_X11_H
# include <opencv/cv.h>
# include <opencv/highgui.h>
# include <X11/Xlib.h>
2012-06-21 14:50:24 -04:00
# include <X11/Xutil.h>
# include "libcvautomation.h"
2012-06-21 12:19:55 -04:00
/* It should be noted that the following are the macros for template matching:
* CV_TM_SQDIFF ( default )
* CV_TM_SQDIFF_NORMED
* CV_TM_CCORR
* CV_TM_CCORR_NORMED
* CV_TM_CCOEFF
* CV_TM_CCOEFF_NORMED
*/
2012-06-21 14:50:24 -04:00
CvPoint matchSubImage_X11 ( char * displayLocation , IplImage * subImage , int searchMethod , int threshold ) ; /* Match a sub image using the X11 root window as root */
CvPoint matchSubImage_X11_location ( char * displayLocation , char * rootImage_location , int search_method , int threshold ) ; /* Match a sub image using X11 as root, from filename */
2012-06-21 12:19:55 -04:00
# endif /* LIBCVAUTOMATION_X11_H */