libcvautomation.h

Go to the documentation of this file.
00001 /*
00002  * =====================================================================================
00003  *
00004  *       Filename:  libcvautomation.h
00005  *
00006  *    Description:  Include wrapper for libcvautomation subsections
00007  *
00008  *        Created:  06/21/2012 12:20:43 PM
00009  *       Revision:  none
00010  *       Compiler:  gcc
00011  *
00012  *         Author:  Bradlee Speice (), bspeice.nc@gmail.com
00013  *   Organization:  
00014  *
00015  * =====================================================================================
00016  */
00017 #ifndef LIBCVAUTOMATION_H
00018 #define LIBCVAUTOMATION_H
00019 
00020 #define LIBCVAUTOMATION_VERSION "1.2"
00021 #define LIBCVAUTOMATION_BUGREPORT "bspeice@uncc.edu"
00022 
00023 /* C includes */
00024 #include <stdio.h>
00025 #include <string.h>
00026 
00027 /* OpenCV includes */
00028 #include <opencv/cv.h>
00029 #include <opencv/highgui.h>
00030 
00031 /* X11 includes */
00032 #include <X11/Xlib.h>
00033 #include <X11/Xutil.h>
00034 #include <X11/extensions/XTest.h>
00035 
00036 /* Define a basic structure to help us with using multiple-picture arguments
00037  * Yes, it's a hackish implementation, nobody said you had to use this one. */
00038 typedef struct {
00039     /* Use one or the other of fileName or cvaImage - cvaImage takes priority */
00040     IplImage *cvaImage;
00041     char *fileName;
00042 
00043     CvPoint resultPoint;
00044     int searchMethod;
00045     int tolerance;
00046 
00047 } cvautomationList;
00048 
00049 /* Define another basic structure for points */
00050 typedef struct {
00051     int x, y;
00052 } cvaPoint;
00053 
00054 /* Project component includes */
00055 /* The includes come here to make sure all function prototypes have access
00056  * to the cvautomationList struct */
00057 #include <libcvautomation/libcvautomation-opencv.h>
00058 #include <libcvautomation/libcvautomation-xlib.h>
00059 #include <libcvautomation/libcvautomation-xtest.h>
00060 
00061 #endif /* LIBCVAUTOMATION_H */
00062 /* Doxygen information */

Generated on Tue Jul 17 12:19:00 2012 for libcvautomation by  doxygen 1.4.7