#include "tlVision.h"
Go to the source code of this file.
Defines | |
#define | TL_DEFAULT_INCREMENT 1 |
Functions | |
int | tl_find_shape (tlPixelArray *pixelArray, tlMask *shape, int confidence, tlRect *rect, int increment) |
int | tl_find_best_shape (tlPixelArray *pixelArray, tlMask *shape, tlRect *rect, int increment) |
int | tl_find_object (tlPixelArray *pixelArray, tlObject *object, int confidence, tlRect *rect, int increment) |
int | tl_find_best_object (tlPixelArray *pixelArray, tlObject *object, tlRect *rect, int increment) |
#define TL_DEFAULT_INCREMENT 1 |
Default increment in [pix] used for correlation routines. The correlation routines will compare one pixel in every TL_DEFAULT_INCREMENT.
int tl_find_best_object | ( | tlPixelArray * | image, | |
tlObject * | object, | |||
tlRect * | rect, | |||
int | increment | |||
) |
Find the best match for a particular object in a given image; object and image have to be of the same format.
image | the image to search | |
object | the object to find | |
rect | image portion to process | |
increment | correlation increment [pix] | |
object | [out] object location is updated |
int tl_find_best_shape | ( | tlPixelArray * | image, | |
tlMask * | shape, | |||
tlRect * | rect, | |||
int | increment | |||
) |
Find the best match for a particular shape in a given image.
image | the BIN image to search | |
shape | the shape mask | |
rect | image portion to process | |
increment | correlation increment [pix] | |
shape | [out] shape location is updated |
int tl_find_object | ( | tlPixelArray * | image, | |
tlObject * | object, | |||
int | confidence, | |||
tlRect * | rect, | |||
int | increment | |||
) |
Find a match for a particular object in an image, given a minimum confidence threshold; object and image have to be of the same format.
image | the image to search | |
object | the object to find | |
confidence | min match threshold [%] | |
rect | image portion to process | |
increment | correlation increment [pix] | |
object | [out] object location is updated |
int tl_find_shape | ( | tlPixelArray * | image, | |
tlMask * | shape, | |||
int | confidence, | |||
tlRect * | rect, | |||
int | increment | |||
) |
Find a match for a particular shape in an image, given a minimum confidence threshold.
image | the BIN image to search | |
shape | the shape mask | |
confidence | min match threshold [%] | |
rect | image portion to process | |
increment | correlation increment [pix] | |
shape | shape location is updated |