Auxiliary functions for the main cdltm. More...
#include "cdltm.h"
Functions | |
double | distance_point_to_line (double slope, double bm, double pt_x, double pt_y) |
Gets the distance from a point to a known line. | |
double | normal_distance (double pt_x0, double pt_y0, double pt_x1, double pt_y1) |
Gets the normal distance from two points. | |
void | add_second_pt (int pt_x0, int pt_y0, double angle, double dist, int *pt_x1, int *pt_y1) |
Set a new point based on the angle and a distance from the previous. | |
void | drawarrow (int x0, int y0, double o, double lenght, IplImage *dst, CvScalar color, int thickness, int line_type, int shift) |
void | drawcross (IplImage *src, int line, int column, int lenght, int *color) |
Set a new point based on the angle and a distance from the previous. | |
int | WarpImage (const IplImage *src, IplImage *dst, const int centerx, const int centery, const float angle, const float scale) |
Set a new point based on the angle and a distance from the previous. | |
void | templatesearch (IplImage *srcI, IplImage *srcT, double *maxval, double *minval, CvPoint *maxloc, CvPoint *minloc) |
Set a new point based on the angle and a distance from the previous. | |
void | templatesearch_gray (IplImage *srcI, IplImage *srcT, double *maxval, double *minval, CvPoint *maxloc, CvPoint *minloc) |
Auxiliary functions for the main cdltm.