|
|
|
@ -666,7 +666,7 @@ CVAPI(int) cvSolveCubic( const CvMat* coeffs, CvMat* roots ); |
|
|
|
|
|
|
|
|
|
/* Finds all real and complex roots of a polynomial equation */ |
|
|
|
|
CVAPI(void) cvSolvePoly(const CvMat* coeffs, CvMat *roots2, |
|
|
|
|
int maxiter CV_DEFAULT(20), int fig CV_DEFAULT(100)); |
|
|
|
|
int maxiter CV_DEFAULT(20), int fig CV_DEFAULT(100)); |
|
|
|
|
|
|
|
|
|
/****************************************************************************************\
|
|
|
|
|
* Matrix operations * |
|
|
|
@ -1127,9 +1127,9 @@ CVAPI(void) cvSetRemove( CvSet* set_header, int index ); |
|
|
|
|
|
|
|
|
|
/* Returns a set element by index. If the element doesn't belong to the set,
|
|
|
|
|
NULL is returned */ |
|
|
|
|
CV_INLINE CvSetElem* cvGetSetElem( const CvSet* set_header, int index ) |
|
|
|
|
CV_INLINE CvSetElem* cvGetSetElem( const CvSet* set_header, int idx ) |
|
|
|
|
{ |
|
|
|
|
CvSetElem* elem = (CvSetElem*)cvGetSeqElem( (CvSeq*)set_header, index ); |
|
|
|
|
CvSetElem* elem = (CvSetElem*)cvGetSeqElem( (CvSeq*)set_header, idx ); |
|
|
|
|
return elem && CV_IS_SET_ELEM( elem ) ? elem : 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1374,17 +1374,17 @@ CVAPI(int) cvInitLineIterator( const CvArr* image, CvPoint pt1, CvPoint pt2, |
|
|
|
|
/* Font structure */ |
|
|
|
|
typedef struct CvFont |
|
|
|
|
{ |
|
|
|
|
const char* nameFont; //Qt:nameFont
|
|
|
|
|
CvScalar color; //Qt:ColorFont -> cvScalar(blue_component, green_component, red\_component[, alpha_component])
|
|
|
|
|
int font_face; //Qt: bool italic /* =CV_FONT_* */
|
|
|
|
|
const int* ascii; /* font data and metrics */ |
|
|
|
|
const char* nameFont; //Qt:nameFont
|
|
|
|
|
CvScalar color; //Qt:ColorFont -> cvScalar(blue_component, green_component, red\_component[, alpha_component])
|
|
|
|
|
int font_face; //Qt: bool italic /* =CV_FONT_* */
|
|
|
|
|
const int* ascii; /* font data and metrics */ |
|
|
|
|
const int* greek; |
|
|
|
|
const int* cyrillic; |
|
|
|
|
float hscale, vscale; |
|
|
|
|
float shear; /* slope coefficient: 0 - normal, >0 - italic */ |
|
|
|
|
int thickness; //Qt: weight /* letters thickness */
|
|
|
|
|
float dx; /* horizontal interval between letters */ |
|
|
|
|
int line_type; //Qt: PointSize
|
|
|
|
|
float shear; /* slope coefficient: 0 - normal, >0 - italic */ |
|
|
|
|
int thickness; //Qt: weight /* letters thickness */
|
|
|
|
|
float dx; /* horizontal interval between letters */ |
|
|
|
|
int line_type; //Qt: PointSize
|
|
|
|
|
} |
|
|
|
|
CvFont; |
|
|
|
|
|
|
|
|
|