bazar
1.3.1
|
#include <affinity.h>
Public Member Functions | |
affinity (void) | |
affinity (float u1, float v1, float up1, float vp1, float u2, float v2, float up2, float vp2, float u3, float v3, float up3, float vp3) | |
~affinity () | |
bool | estimate (float u1, float v1, float up1, float vp1, float u2, float v2, float up2, float vp2, float u3, float v3, float up3, float vp3) |
void | transform_point (float u, float v, float *up, float *vp) |
void | transform_point (double u, double v, double *up, double *vp) |
void | compute_cvGetQuandrangleSubPix_transform (CvMat *A_quadrangle, int width, int height) |
float | cvmGet (const int i, const int j) |
void | cvmSet (const int i, const int j, const float val) |
void | cvmSet (const int i, const int j, const double val) |
Friends | |
ostream & | operator<< (ostream &o, const affinity &A) |
float | cvmGet (const affinity *A, const int i, const int j) |
void | cvmSet (const affinity *A, const int i, const int j, const float val) |
void | cvmSet (const affinity *A, const int i, const int j, const double val) |
void | mcvGetQuadrangleSubPix (IplImage *src, IplImage *dest, affinity *A, int fill_outliers=0, CvScalar fill_value=cvScalarAll(0)) |
Affine transformation.
Definition at line 33 of file affinity.h.
affinity::affinity | ( | void | ) |
Definition at line 24 of file affinity.cpp.
affinity::affinity | ( | float | u1, |
float | v1, | ||
float | up1, | ||
float | vp1, | ||
float | u2, | ||
float | v2, | ||
float | up2, | ||
float | vp2, | ||
float | u3, | ||
float | v3, | ||
float | up3, | ||
float | vp3 | ||
) |
Definition at line 29 of file affinity.cpp.
References estimate().
affinity::~affinity | ( | ) |
Definition at line 59 of file affinity.cpp.
void affinity::compute_cvGetQuandrangleSubPix_transform | ( | CvMat * | A_quadrangle, |
int | width, | ||
int | height | ||
) |
Definition at line 128 of file affinity.cpp.
|
inline |
Definition at line 71 of file affinity.h.
Referenced by compute_cvGetQuandrangleSubPix_transform(), estimate(), and transform_point().
|
inline |
Definition at line 76 of file affinity.h.
Referenced by compute_cvGetQuandrangleSubPix_transform(), and estimate().
|
inline |
Definition at line 81 of file affinity.h.
bool affinity::estimate | ( | float | u1, |
float | v1, | ||
float | up1, | ||
float | vp1, | ||
float | u2, | ||
float | v2, | ||
float | up2, | ||
float | vp2, | ||
float | u3, | ||
float | v3, | ||
float | up3, | ||
float | vp3 | ||
) |
Definition at line 75 of file affinity.cpp.
References cvmGet(), and cvmSet().
Referenced by affinity(), and planar_object_recognizer::estimate_affine_transformation().
void affinity::transform_point | ( | float | u, |
float | v, | ||
float * | up, | ||
float * | vp | ||
) |
Definition at line 116 of file affinity.cpp.
References cvmGet().
Referenced by planar_object_recognizer::compute_support_for_affine_transformation().
void affinity::transform_point | ( | double | u, |
double | v, | ||
double * | up, | ||
double * | vp | ||
) |
Definition at line 122 of file affinity.cpp.
References cvmGet().
|
friend |
Definition at line 86 of file affinity.h.
|
friend |
Definition at line 93 of file affinity.h.
|
friend |
Definition at line 100 of file affinity.h.
|
friend |
Definition at line 141 of file affinity.cpp.
|
friend |
Definition at line 67 of file affinity.cpp.