|
double ALVAR_EXPORT | alvar::angle (CvPoint *A, CvPoint *B, CvPoint *C, CvPoint *D, int isDirectionDependent) |
| Computes the angle between lines AB and CD. More...
|
|
int ALVAR_EXPORT | alvar::cross (CvPoint *A, CvPoint *B, CvPoint *C) |
| Computes the cross product AB x AC. More...
|
|
template<class C > |
double ALVAR_EXPORT | alvar::Deg2Rad (const C &v) |
| Converts an angle from degrees to radians. More...
|
|
template<class C > |
int ALVAR_EXPORT | alvar::diff (const std::vector< C > &v, std::vector< C > &ret) |
| Calculates the difference between the consecutive vector elements. More...
|
|
double ALVAR_EXPORT | alvar::distance (CvPoint *A, CvPoint *B) |
| Compute the distance from A to B. More...
|
|
int ALVAR_EXPORT | alvar::dot (CvPoint *A, CvPoint *B, CvPoint *C) |
| Computes dot product AB.BC. More...
|
|
int ALVAR_EXPORT | alvar::exp_filt2 (std::vector< double > &v, std::vector< double > &ret, bool clamp) |
|
int ALVAR_EXPORT | alvar::find_zero_crossings (const std::vector< double > &v, std::vector< int > &corners, int offs=20) |
| Finds zero crossings of given vector elements (sequence). More...
|
|
void ALVAR_EXPORT | alvar::FitCVEllipse (const std::vector< PointDouble > &points, CvBox2D &ellipse_box) |
| Uses OpenCV routine to fit ellipse to a vector of points. More...
|
|
double ALVAR_EXPORT | alvar::Limit (double val, double min_val, double max_val) |
| Limits a number to between two values. More...
|
|
double ALVAR_EXPORT | alvar::linePointDist (CvPoint *A, CvPoint *B, CvPoint *C, bool isSegment) |
| Computes the distance from point C to line (segment) AB. More...
|
|
void ALVAR_EXPORT | alvar::out_matrix (const CvMat *m, const char *name) |
| Output OpenCV matrix for debug purposes. More...
|
|
template<class PointType > |
double | alvar::PointSquaredDistance (PointType p1, PointType p2) |
| Returns the squared distance of two points. More...
|
|
double ALVAR_EXPORT | alvar::polyLinePointDist (CvPoint *PointList, int nPnts, CvPoint *C, int *index, int isClosedPolygon) |
| Calculates minimum distance from Point C to Polygon whose points are in list PointList. More...
|
|
template<class C > |
double ALVAR_EXPORT | alvar::Rad2Deg (const C &v) |
| Converts an angle from radians to degrees. More...
|
|
template<class C > |
int ALVAR_EXPORT | alvar::Sign (const C &v) |
| Returns the sign of a number. More...
|
|
void | alvar::STRCPY (char *to, size_t size, const char *src) |
|
This file implements generic utility functions and a serialization interface.
Definition in file Util.h.