mirror of
https://github.com/bspeice/libcvautomation
synced 2025-01-09 23:40:03 -05:00
40 lines
1.1 KiB
C
40 lines
1.1 KiB
C
|
/*
|
||
|
* =====================================================================================
|
||
|
*
|
||
|
* 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>
|
||
|
|
||
|
/* 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
|
||
|
*/
|
||
|
|
||
|
cvPoint matchSubImage_X11(IplImage); /* Match a sub image using the X11 root window as root */
|
||
|
cvPoint matchSubImage_X11(char *, int=CV_TM_SQDIFF ); /* Match a sub image using X11 as root, from filename */
|
||
|
|
||
|
#endif /* LIBCVAUTOMATION_X11_H */
|