#include <libcvautomation/libcvautomation.h>
Go to the source code of this file.
Functions | |
| Display * | cvaOpenDisplay (char *displayName) |
| Simple wrapper for XOpenDisplay. | |
| void | cvaCloseDisplay (Display *displayLocation) |
| Simple wrapper for XCloseDisplay. | |
| CvPoint | matchSubImage_X11 (Display *displayLocation, IplImage *subImage, int searchMethod, int tolerance) |
| Return the location of a sub image in the X11 root window. | |
| CvPoint | matchSubImage_X11_center (Display *displayLocation, IplImage *subImage, int searchMethod, int tolerance) |
| Return the center of a sub image in root X11 window, rather than the top-left corner. | |
| CvPoint | matchSubImage_X11_location (Display *displayLocation, const char *subImage_location, int search_method, int tolerance) |
| Return the location of a sub image in the X11 root window. | |
| CvPoint | matchSubImage_X11_location_center (Display *displayLocation, const char *subImage_location, int search_method, int tolerance) |
| Return the center of a sub image in the root X11 window, rather than the top-left corner. | |
This source file builds in the necessary functionality to use libcv functions inside libcvautomation.
Definition in file libcvautomation-xlib.h.
| Display * cvaOpenDisplay | ( | char * | displayName | ) |
Simple wrapper for XOpenDisplay.
Currently this function literally just passes off to XOpenDisplay, but is designed to be used in the future if extra functionality is needed.
| displayName | The name of the display to open - '' is a valid name |
| void cvaCloseDisplay | ( | Display * | displayLocation | ) |
Simple wrapper for XCloseDisplay.
Currently this function literally just passes off to XCloseDisplay, but is designed to be used in the future if extra functionality is needed.
| displayLocation | Pointer to the display to close |
| CvPoint matchSubImage_X11 | ( | Display * | displayLocation, | |
| IplImage * | subImage, | |||
| int | searchMethod, | |||
| int | tolerance | |||
| ) |
Return the location of a sub image in the X11 root window.
This function wraps grabbing the X11 root window, converting it to IplImage format, and then giving this to matchSubImage()
| displayLocation | Pointer to the currently open X11 Display | |
| subImage | The sub image (in IplImage format) to search for in the root X11 window | |
| searchMethod | The search method to use when searching for subImage in the root X11 window | |
| tolerance | The tolerance to use when searching for subImage in the root X11 window |
| CvPoint matchSubImage_X11_center | ( | Display * | displayLocation, | |
| IplImage * | subImage, | |||
| int | searchMethod, | |||
| int | tolerance | |||
| ) |
Return the center of a sub image in root X11 window, rather than the top-left corner.
This function wraps grabbing the X11 root window, converting it to IplImage format, and then giving this to matchSubImage_center()
| displayLocation | Pointer to the currently open X11 Display | |
| subImage | The sub image (in IplImage format) to search for in the root X11 window | |
| searchMethod | The search method to use when searching for subImage in the root X11 window | |
| tolerance | The tolerance to use when searching for subImage in the root X11 window |
| CvPoint matchSubImage_X11_location | ( | Display * | displayLocation, | |
| const char * | subImage_location, | |||
| int | searchMethod, | |||
| int | tolerance | |||
| ) |
Return the location of a sub image in the X11 root window.
This function wraps grabbing the X11 root window, converting it to IplImage format, and then giving this to matchSubImage_location()
| displayLocation | Pointer to the currently open X11 Display | |
| subImage_location | The location of the sub image to search for in the root X11 window | |
| searchMethod | The search method to use when searching for subImage in the root X11 window | |
| tolerance | The tolerance to use when searching for subImage in the root X11 window |
Referenced by main().
| CvPoint matchSubImage_X11_location_center | ( | Display * | displayLocation, | |
| const char * | subImage_location, | |||
| int | searchMethod, | |||
| int | tolerance | |||
| ) |
Return the center of a sub image in the root X11 window, rather than the top-left corner.
This function wraps grabbing the X11 root window, converting it to IplImage format, and then giving this to matchSubImage_location_center()
| displayLocation | Pointer to the currently open X11 Display | |
| subImage_location | The location of the sub image to search for in the root X11 window | |
| searchMethod | The search method to use when searching for subImage in the root X11 window | |
| tolerance | The tolerance to use when searching for subImage in the root X11 window |
Referenced by main().
1.4.7