# libcvautomation: libcvautomation.h Source File

libcvautomation 1.5

- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

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.5"
    00021 #define LIBCVAUTOMATION_BUGREPORT "bspeice@uncc.edu"
    00022
    00023 /* C includes */
    00024 #include <stdio.h>
    00025 #include <string.h>
    00026 #include <unistd.h>
    00027 #include <limits.h>
    00028
    00029 /* Autoconf logic to select the correct OpenCV version */
    00030 /* OpenCV2 includes - some filenames are different
    00031  * from the OpenCV1 counterparts */
    00032 #include <opencv2/core/core_c.h>
    00033 #include <opencv2/highgui/highgui_c.h>
    00034 #include <opencv2/imgproc/imgproc_c.h>
    00035
    00036 /* X11 includes */
    00037 #include <X11/Xlib.h>
    00038 #include <X11/Xutil.h>
    00039 #include <X11/extensions/XTest.h>
    00040
    00041 /* Define another basic structure for points */
    00042 typedef struct {
    00043     int x, y;
    00044 } cvaPoint;
    00045
    00046 /* Define a basic structure to help us with using multiple-picture arguments
    00047  * Yes, it's a hackish implementation, nobody said you had to use this one. */
    00048 typedef struct {
    00049     /* Use one or the other of fileName or cvaImage - cvaImage takes priority */
    00050     IplImage *cvaImage;
    00051     char *fileName;
    00052
    00053     cvaPoint resultPoint;
    00054     int searchMethod;
    00055     int tolerance;
    00056
    00057 } cvautomationList;
    00058
    00059 /* Project component includes */
    00060 /* The includes come here to make sure all function prototypes have access
    00061  * to the cvautomationList struct */
    00062 #include <libcvautomation/libcvautomation-opencv.h>
    00063 #include <libcvautomation/libcvautomation-xlib.h>
    00064 #include <libcvautomation/libcvautomation-xtest.h>
    00065
    00066 #endif /* LIBCVAUTOMATION_H */
    00067 /* Doxygen information */

All Classes Files Functions Defines