50 #ifndef __OPENCV_COMPAT_HPP__
51 #define __OPENCV_COMPAT_HPP__
106 #define cvCreateImageData cvCreateData
107 #define cvReleaseImageData cvReleaseData
108 #define cvSetImageData cvSetData
109 #define cvGetImageRawData cvGetRawData
111 #define cvmAlloc cvCreateData
112 #define cvmFree cvReleaseData
113 #define cvmAllocArray cvCreateData
114 #define cvmFreeArray cvReleaseData
116 #define cvIntegralImage cvIntegral
117 #define cvMatchContours cvMatchShapes
122 #define cvUpdateMHIByTime cvUpdateMotionHistory
124 #define cvAccMask cvAcc
125 #define cvSquareAccMask cvSquareAcc
126 #define cvMultiplyAccMask cvMultiplyAcc
127 #define cvRunningAvgMask(imgY, imgU, mask, alpha) cvRunningAvg(imgY, imgU, alpha, mask)
129 #define cvSetHistThresh cvSetHistBinRanges
130 #define cvCalcHistMask(img, mask, hist, doNotClear) cvCalcHist(img, hist, doNotClear, mask)
140 #define cvCvtPixToPlane cvSplit
141 #define cvCvtPlaneToPix cvMerge
155 double param2,
int seed,
161 #define cvRandNext( _state ) cvRandInt( &(_state)->state )
168 CV_EXPORTS
void cvbSqrt(
const float*
x,
float*
y,
int len );
177 #define cvPseudoInv cvPseudoInverse
179 #define cvContourMoments( contour, moments ) cvMoments( contour, moments, 0 )
181 #define cvGetPtrAt cvPtr2D
182 #define cvGetAt cvGet2D
183 #define cvSetAt(arr,val,y,x) cvSet2D((arr),(y),(x),(val))
185 #define cvMeanMask cvMean
186 #define cvMean_StdDevMask(img,mask,mean,sdv) cvMean_StdDev(img,mean,sdv,mask)
188 #define cvNormMask(imgA,imgB,mask,normType) cvNorm(imgA,imgB,normType,mask)
190 #define cvMinMaxLocMask(img, mask, min_val, max_val, min_loc, max_loc) \
191 cvMinMaxLoc(img, min_val, max_val, min_loc, max_loc, mask)
193 #define cvRemoveMemoryManager cvSetMemoryManager
195 #define cvmSetZero( mat ) cvSetZero( mat )
196 #define cvmSetIdentity( mat ) cvSetIdentity( mat )
197 #define cvmAdd( src1, src2, dst ) cvAdd( src1, src2, dst, 0 )
198 #define cvmSub( src1, src2, dst ) cvSub( src1, src2, dst, 0 )
199 #define cvmCopy( src, dst ) cvCopy( src, dst, 0 )
200 #define cvmMul( src1, src2, dst ) cvMatMulAdd( src1, src2, 0, dst )
201 #define cvmTranspose( src, dst ) cvT( src, dst )
202 #define cvmInvert( src, dst ) cvInv( src, dst )
203 #define cvmMahalanobis(vec1, vec2, mat) cvMahalanobis( vec1, vec2, mat )
204 #define cvmDotProduct( vec1, vec2 ) cvDotProduct( vec1, vec2 )
205 #define cvmCrossProduct(vec1, vec2,dst) cvCrossProduct( vec1, vec2, dst )
206 #define cvmTrace( mat ) (cvTrace( mat )).val[0]
207 #define cvmMulTransposed( src, dst, order ) cvMulTransposed( src, dst, order )
208 #define cvmEigenVV( mat, evec, eval, eps) cvEigenVV( mat, evec, eval, eps )
209 #define cvmDet( mat ) cvDet( mat )
210 #define cvmScale( src, dst, scale ) cvScale( src, dst, scale )
212 #define cvCopyImage( src, dst ) cvCopy( src, dst, 0 )
213 #define cvReleaseMatHeader cvReleaseMat
250 #define cvQueryHistValue_1D( hist, idx0 ) \
251 ((float)cvGetReal1D( (hist)->bins, (idx0)))
252 #define cvQueryHistValue_2D( hist, idx0, idx1 ) \
253 ((float)cvGetReal2D( (hist)->bins, (idx0), (idx1)))
254 #define cvQueryHistValue_3D( hist, idx0, idx1, idx2 ) \
255 ((float)cvGetReal3D( (hist)->bins, (idx0), (idx1), (idx2)))
256 #define cvQueryHistValue_nD( hist, idx ) \
257 ((float)cvGetRealND( (hist)->bins, (idx)))
261 #define cvGetHistValue_1D( hist, idx0 ) \
262 ((float*)cvPtr1D( (hist)->bins, (idx0), 0))
263 #define cvGetHistValue_2D( hist, idx0, idx1 ) \
264 ((float*)cvPtr2D( (hist)->bins, (idx0), (idx1), 0))
265 #define cvGetHistValue_3D( hist, idx0, idx1, idx2 ) \
266 ((float*)cvPtr3D( (hist)->bins, (idx0), (idx1), (idx2), 0))
267 #define cvGetHistValue_nD( hist, idx ) \
268 ((float*)cvPtrND( (hist)->bins, (idx), 0))
271 #define CV_IS_SET_ELEM_EXISTS CV_IS_SET_ELEM
276 float* lines,
int linesNumber );
280 int lineLength,
int lineGap,
281 int* lines,
int linesNumber );
286 float* lines,
int linesNumber );
288 CV_EXPORTS
float cvCalcEMD(
const float* signature1,
int size1,
373 #define CV_INIT_PIXEL_POS(pos, origin, _step, roi, _x, _y, orientation) \
375 (pos).step = (_step)/sizeof((pos).currline[0]) * (orientation ? -1 : 1), \
376 (pos).width = (roi).width, \
377 (pos).height = (roi).height, \
378 (pos).bottomline = (origin) + (pos).step*(pos).height, \
379 (pos).topline = (origin) - (pos).step, \
380 (pos).step_arr[0] = 0, \
381 (pos).step_arr[1] = -(pos).step, \
382 (pos).step_arr[2] = (pos).step, \
384 (pos).currline = (origin) + (pos).step*(_y) )
391 #define CV_MOVE_TO( pos, _x, _y, cs ) \
392 ((pos).currline = (_y) >= 0 && (_y) < (pos).height ? (pos).topline + ((_y)+1)*(pos).step : 0, \
393 (pos).x = (_x) >= 0 && (_x) < (pos).width ? (_x) : 0, (pos).currline + (_x) * (cs) )
399 #define CV_GET_CURRENT( pos, cs ) ((pos).currline + (pos).x * (cs))
406 #define CV_MOVE_LEFT( pos, cs ) \
407 ( --(pos).x >= 0 ? (pos).currline + (pos).x*(cs) : 0 )
410 #define CV_MOVE_RIGHT( pos, cs ) \
411 ( ++(pos).x < (pos).width ? (pos).currline + (pos).x*(cs) : 0 )
414 #define CV_MOVE_UP( pos, cs ) \
415 (((pos).currline -= (pos).step) != (pos).topline ? (pos).currline + (pos).x*(cs) : 0 )
418 #define CV_MOVE_DOWN( pos, cs ) \
419 (((pos).currline += (pos).step) != (pos).bottomline ? (pos).currline + (pos).x*(cs) : 0 )
422 #define CV_MOVE_LU( pos, cs ) ( CV_MOVE_LEFT(pos, cs), CV_MOVE_UP(pos, cs))
425 #define CV_MOVE_RU( pos, cs ) ( CV_MOVE_RIGHT(pos, cs), CV_MOVE_UP(pos, cs))
428 #define CV_MOVE_LD( pos, cs ) ( CV_MOVE_LEFT(pos, cs), CV_MOVE_DOWN(pos, cs))
431 #define CV_MOVE_RD( pos, cs ) ( CV_MOVE_RIGHT(pos, cs), CV_MOVE_DOWN(pos, cs))
441 #define CV_MOVE_LEFT_WRAP( pos, cs ) \
442 ((pos).currline + ( --(pos).x >= 0 ? (pos).x : ((pos).x = (pos).width-1))*(cs))
445 #define CV_MOVE_RIGHT_WRAP( pos, cs ) \
446 ((pos).currline + ( ++(pos).x < (pos).width ? (pos).x : ((pos).x = 0))*(cs) )
449 #define CV_MOVE_UP_WRAP( pos, cs ) \
450 ((((pos).currline -= (pos).step) != (pos).topline ? \
451 (pos).currline : ((pos).currline = (pos).bottomline - (pos).step)) + (pos).x*(cs) )
454 #define CV_MOVE_DOWN_WRAP( pos, cs ) \
455 ((((pos).currline += (pos).step) != (pos).bottomline ? \
456 (pos).currline : ((pos).currline = (pos).topline + (pos).step)) + (pos).x*(cs) )
459 #define CV_MOVE_LU_WRAP( pos, cs ) ( CV_MOVE_LEFT_WRAP(pos, cs), CV_MOVE_UP_WRAP(pos, cs))
461 #define CV_MOVE_RU_WRAP( pos, cs ) ( CV_MOVE_RIGHT_WRAP(pos, cs), CV_MOVE_UP_WRAP(pos, cs))
463 #define CV_MOVE_LD_WRAP( pos, cs ) ( CV_MOVE_LEFT_WRAP(pos, cs), CV_MOVE_DOWN_WRAP(pos, cs))
465 #define CV_MOVE_RD_WRAP( pos, cs ) ( CV_MOVE_RIGHT_WRAP(pos, cs), CV_MOVE_DOWN_WRAP(pos, cs))
485 #define CV_MOVE_PARAM( pos, shift, cs ) \
486 ( (pos).currline += (pos).step_arr[(shift)>>2], (pos).x += ((shift)&3)-2, \
487 ((pos).currline != (pos).topline && (pos).currline != (pos).bottomline && \
488 (pos).x >= 0 && (pos).x < (pos).width) ? (pos).currline + (pos).x*(cs) : 0 )
495 #define CV_MOVE_PARAM_WRAP( pos, shift, cs ) \
496 ( (pos).currline += (pos).step_arr[(shift)>>2], \
497 (pos).currline = ((pos).currline == (pos).topline ? \
498 (pos).bottomline - (pos).step : \
499 (pos).currline == (pos).bottomline ? \
500 (pos).topline + (pos).step : (pos).currline), \
502 (pos).x += ((shift)&3)-2, \
503 (pos).x = ((pos).x < 0 ? (pos).width-1 : (pos).x >= (pos).width ? 0 : (pos).x), \
505 (pos).currline + (pos).x*(cs) )
514 const float* intrinsic_matrix,
521 CvArr* undistortion_map,
522 const float* A,
const float*
k,
526 const CvArr* undistortion_map,
542 float* _distortion_coeffs,
float* _camera_matrix,
float* _translation_vectors,
543 float* _rotation_matrices,
int flags );
548 double* _distortion_coeffs,
double* _camera_matrix,
double* _translation_vectors,
549 double* _rotation_matrices,
int flags );
557 CvPoint2D32f principal_point,
float* _distortion_coeffs,
558 float* _rotation_vector,
float* _translation_vector );
564 CvPoint2D64f principal_point,
double* _distortion_coeffs,
565 double* _rotation_vector,
double* _translation_vector );
576 CvMat* jacobian,
int conv_type );
580 double* _rotation_vector,
double* _translation_vector,
583 double* _deriv_points_rotation_matrix,
584 double* _deriv_points_translation_vect,
585 double* _deriv_points_focal,
586 double* _deriv_points_principal_point,
587 double* _deriv_points_distortion_coeffs );
592 double* _rotation_matrix,
double* _translation_vector,
593 double* _camera_matrix,
double* _distortion,
CvPoint2D64f* _image_points );
596 #define cvMake2DPoints cvConvertPointsHomogeneous
597 #define cvMake3DPoints cvConvertPointsHomogeneous
599 #define cvWarpPerspectiveQMatrix cvGetPerspectiveTransform
601 #define cvConvertPointsHomogenious cvConvertPointsHomogeneous
650 int useProvidedKeyPts CV_DEFAULT(0) );
681 int max_area CV_DEFAULT(14400),
float max_variation CV_DEFAULT(.25
f),
682 float min_diversity CV_DEFAULT(.2f),
int max_evolution CV_DEFAULT(200),
683 double area_threshold CV_DEFAULT(1.01),
684 double min_margin CV_DEFAULT(.003),
685 int edge_blur_size CV_DEFAULT(5) );
int dims
Definition: core_c.h:218
int width
Definition: compat.hpp:332
int height
Definition: compat.hpp:348
const CvArr CvSeq CvSeq CvMemStorage CvSURFParams params
Definition: compat.hpp:647
CvPoint2D32f pt[4]
Definition: imgproc_c.h:410
int height
Definition: compat.hpp:361
GLenum GLint GLint y
Definition: core_c.h:613
Definition: compat.hpp:143
CvArr int dist_type
Definition: core_c.h:649
CV_EXPORTS void cvbFastLog(const double *x, float *y, int len)
float minDiversity
trace back to cut off mser with diversity < min_diversity
Definition: compat.hpp:666
CV_EXPORTS void cvFitLine2D(CvPoint2D32f *points, int count, int dist, void *param, float reps, float aeps, float *line)
signed char schar
Definition: types_c.h:174
Definition: types_c.h:1021
GLdouble GLdouble GLdouble GLdouble top
int suppressNonmaxSize
Definition: compat.hpp:713
uint64 CvRNG
Definition: types_c.h:399
struct CvMSERParams CvMSERParams
Maximal Stable Regions Parameters.
CV_EXPORTS void cvbReciprocal(const float *x, float *y, int len)
double * CvMatr64d
Definition: compat.hpp:511
CV_EXPORTS void cvFitEllipse(const CvPoint2D32f *points, int count, CvBox2D *box)
CV_EXPORTS int cvFindChessBoardCornerGuesses(const void *arr, void *thresharr, CvMemStorage *storage, CvSize pattern_size, CvPoint2D32f *corners, int *corner_count)
CvPoint CvPoint pt2
Definition: core_c.h:1270
CV_EXPORTS void cvEndScanGraph(CvGraphScanner *scanner)
CvArr CvArr * orientation
Definition: tracking.hpp:125
Definition: compat.hpp:470
int CvCoeffType
Definition: compat.hpp:74
struct CvSURFParams CvSURFParams
float * CvVect32f
Definition: compat.hpp:508
Definition: types_c.h:578
int step_arr[3]
Definition: compat.hpp:350
CV_EXPORTS void cvProjectPoints(int point_count, CvPoint3D64f *_object_points, double *_rotation_vector, double *_translation_vector, double *focal_length, CvPoint2D64f principal_point, double *_distortion, CvPoint2D64f *_image_points, double *_deriv_points_rotation_matrix, double *_deriv_points_translation_vect, double *_deriv_points_focal, double *_deriv_points_principal_point, double *_deriv_points_distortion_coeffs)
float * CvMatr32f
Definition: compat.hpp:509
int CvCompareMethod
Definition: compat.hpp:69
CvPoint2D64f CvPoint2D64d
Definition: compat.hpp:80
CV_EXPORTS void cvbFastArctan(const float *y, const float *x, float *angle, int len)
int edgeBlurSize
the aperture size for edge blur
Definition: compat.hpp:677
int maxSize
Definition: compat.hpp:709
Definition: types_c.h:951
Definition: types_c.h:1138
int x
Definition: compat.hpp:346
const CvArr CvArr * magnitude
Definition: core_c.h:606
CV_EXPORTS void cvbInvSqrt(const float *x, float *y, int len)
CvSize size
Definition: calib3d.hpp:212
float hessian
Definition: compat.hpp:613
int upright
Definition: compat.hpp:635
int step
Definition: compat.hpp:349
int size
Definition: compat.hpp:694
const CvArr * signature2
Definition: imgproc_c.h:287
GLuint src
Definition: core_c.h:1650
void int double rho
Definition: imgproc_c.h:603
int int int flags
Definition: highgui_c.h:186
int CvContoursMatchMethod
Definition: compat.hpp:72
int width
Definition: compat.hpp:360
GLuint index
Definition: core_c.h:986
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: core_c.h:403
CV_EXPORTS void cvFillImage(CvArr *mat, double color)
int double double reps
Definition: imgproc_c.h:616
GLfloat angle
Definition: core_c.h:1297
CvPoint center
Definition: core_c.h:1290
Definition: compat.hpp:86
Definition: compat.hpp:632
CV_EXPORTS void cvProjectPointsSimple(int point_count, CvPoint3D64f *_object_points, double *_rotation_matrix, double *_translation_vector, double *_camera_matrix, double *_distortion, CvPoint2D64f *_image_points)
int CvFontFace
Definition: compat.hpp:70
Definition: compat.hpp:94
struct CvSURFPoint CvSURFPoint
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: highgui_c.h:230
int CvTemplMatchMethod
Definition: compat.hpp:78
const CvArr CvArr int method
Definition: imgproc_c.h:281
CV_INLINE CvStarDetectorParams cvStarDetectorParams(int maxSize CV_DEFAULT(45), int responseThreshold CV_DEFAULT(30), int lineThresholdProjected CV_DEFAULT(10), int lineThresholdBinarized CV_DEFAULT(8), int suppressNonmaxSize CV_DEFAULT(5))
Definition: compat.hpp:716
CV_EXPORTS void cvConvexHull(CvPoint *points, int num_points, CvRect *bound_rect, int orientation, int *hull, int *hullsize)
CV_EXPORTS CvRect cvContourBoundingRect(void *point_set, int update CV_DEFAULT(0))
Definition: compat.hpp:88
int step_arr[3]
Definition: compat.hpp:336
Definition: compat.hpp:473
CV_EXPORTS void cvFitLine3D(CvPoint3D32f *points, int count, int dist, void *param, float reps, float aeps, float *line)
uchar * bottomline
Definition: compat.hpp:329
int double double double aeps
Definition: imgproc_c.h:616
int size
Definition: compat.hpp:611
Definition: compat.hpp:89
CV_EXPORTS int cvHoughLines(CvArr *image, double rho, double theta, int threshold, float *lines, int linesNumber)
CV_EXPORTS void cvbSqrt(const float *x, float *y, int len)
Definition: compat.hpp:606
Definition: compat.hpp:325
GLint GLvoid * img
Definition: legacy.hpp:1150
const CvMat * points2
Definition: calib3d.hpp:97
CV_EXPORTS void cvCircleAA(CvArr *img, CvPoint center, int radius, double color, int scale CV_DEFAULT(0))
CvPoint CvSize double double start_angle
Definition: core_c.h:1297
CV_EXPORTS void cvStartScanGraph(CvGraph *graph, CvGraphScanner *scanner, CvGraphVtx *vtx CV_DEFAULT(NULL), int mask CV_DEFAULT(CV_GRAPH_ALL_ITEMS))
const CvArr CvSeq CvSeq CvMemStorage * storage
Definition: compat.hpp:647
Definition: types_c.h:1415
CV_EXPORTS void cvMean_StdDev(const CvArr *image, double *mean, double *sdv, const CvArr *mask CV_DEFAULT(0))
Definition: compat.hpp:472
CV_EXPORTS void cvUnDistortInit(const CvArr *src, CvArr *undistortion_map, const float *A, const float *k, int interpolate)
float * currline
Definition: compat.hpp:356
Definition: compat.hpp:93
Definition: compat.hpp:471
CV_EXPORTS void cvmPerspectiveProject(const CvMat *mat, const CvArr *src, CvArr *dst)
Definition: compat.hpp:691
uchar * currline
Definition: compat.hpp:327
int maxArea
prune the area which bigger than maxArea
Definition: compat.hpp:660
const CvArr CvSeq ** keypoints
Definition: compat.hpp:647
CvArr const CvMat * mat
Definition: core_c.h:700
CvPoint3D64f CvPoint3D64d
Definition: compat.hpp:81
const CvMat * rotation_vector
Definition: calib3d.hpp:175
const CvPoint * pts
Definition: core_c.h:1315
struct CvStarKeypoint CvStarKeypoint
CvMat CvMatArray
Definition: compat.hpp:65
Definition: types_c.h:1272
Definition: compat.hpp:92
schar * currline
Definition: compat.hpp:343
CvBox2D CvBox2D32f
Definition: compat.hpp:103
CV_EXPORTS void cvCalibrateCamera_64d(int image_count, int *_point_counts, CvSize image_size, CvPoint2D64f *_image_points, CvPoint3D64f *_object_points, double *_distortion_coeffs, double *_camera_matrix, double *_translation_vectors, double *_rotation_matrices, int flags)
CvSize int int int CvPoint int delta
Definition: core_c.h:1427
CV_EXPORTS void cvUnDistort(const CvArr *src, CvArr *dst, const CvArr *undistortion_map, int interpolate)
int delta
delta, in the code, it compares (size_{i}-size_{i-delta})/size_{i-delta}
Definition: compat.hpp:658
Definition: types_c.h:1436
int CvElementShape
Definition: compat.hpp:76
int CvContourRetrievalMode
Definition: compat.hpp:230
CV_EXPORTS void cvFindExtrinsicCameraParams(int point_count, CvSize image_size, CvPoint2D32f *_image_points, CvPoint3D32f *_object_points, float *focal_length, CvPoint2D32f principal_point, float *_distortion_coeffs, float *_rotation_vector, float *_translation_vector)
CvArr int CvScalar param1
Definition: core_c.h:649
CVAPI(CvSURFParams) cvSURFParams(double hessianThreshold
CvPoint CvSize axes
Definition: core_c.h:1297
const CvMat CvMat CvMat int k
Definition: legacy.hpp:3052
GLenum GLint x
Definition: core_c.h:632
CV_EXPORTS void cvRandSetRange(CvRandState *state, double param1, double param2, int index CV_DEFAULT(-1))
uchar * topline
Definition: compat.hpp:328
void CvArr
Definition: types_c.h:196
GLuint GLuint GLsizei count
Definition: core_c.h:973
int CvRodriguesType
Definition: compat.hpp:75
CV_EXPORTS void cvUnDistortOnce(const CvArr *src, CvArr *dst, const float *intrinsic_matrix, const float *distortion_coeffs, int interpolate)
int CvDisMaskType
Definition: compat.hpp:64
CV_EXPORTS void cvbCartToPolar(const float *y, const float *x, float *magnitude, float *angle, int len)
CV_EXPORTS void cvCalibrateCamera(int image_count, int *_point_counts, CvSize image_size, CvPoint2D32f *_image_points, CvPoint3D32f *_object_points, float *_distortion_coeffs, float *_camera_matrix, float *_translation_vectors, float *_rotation_matrices, int flags)
CvRNG state
Definition: compat.hpp:145
int CvMatType
Definition: compat.hpp:63
CV_EXPORTS int cvHoughLinesP(CvArr *image, double rho, double theta, int threshold, int lineLength, int lineGap, int *lines, int linesNumber)
float dir
Definition: compat.hpp:612
schar * topline
Definition: compat.hpp:344
float response
Definition: compat.hpp:695
const CvMat const CvMat const CvMat const CvMat * distortion_coeffs
Definition: calib3d.hpp:175
struct _CvPixelPosition32f CvPixelPosition32f
CV_INLINE CvStarKeypoint cvStarKeypoint(CvPoint pt, int size, float response)
Definition: compat.hpp:698
Definition: compat.hpp:476
void int double double theta
Definition: imgproc_c.h:603
int step_arr[3]
Definition: compat.hpp:363
Definition: compat.hpp:95
Definition: types_c.h:645
CV_EXPORTS void cvMinAreaRect(CvPoint *points, int n, int left, int bottom, int right, int top, CvPoint2D32f *anchor, CvPoint2D32f *vect1, CvPoint2D32f *vect2)
CvPoint2D32f pt
Definition: compat.hpp:608
CV_EXPORTS void cvEllipseAA(CvArr *img, CvPoint center, CvSize axes, double angle, double start_angle, double end_angle, double color, int scale CV_DEFAULT(0))
int CvContourTreesMatchMethod
Definition: compat.hpp:73
Definition: compat.hpp:87
int rows
Definition: core_c.h:114
CV_EXPORTS int cvHoughLinesSDiv(CvArr *image, double rho, int srn, double theta, int stn, int threshold, float *lines, int linesNumber)
CvPoint const int int int is_closed
Definition: core_c.h:1324
CvPoint pt
Definition: compat.hpp:693
Definition: types_c.h:997
int disttype
Definition: compat.hpp:146
CV_EXPORTS void cvPolyLineAA(CvArr *img, CvPoint **pts, int *npts, int contours, int is_closed, double color, int scale CV_DEFAULT(0))
CV_EXPORTS float cvCalcEMD(const float *signature1, int size1, const float *signature2, int size2, int dims, int dist_type CV_DEFAULT(CV_DIST_L2), CvDistanceFunction dist_func CV_DEFAULT(0), float *lower_bound CV_DEFAULT(0), void *user_param CV_DEFAULT(0))
const CvArr CvSeq CvSeq ** descriptors
Definition: compat.hpp:647
CvArr * mean
Definition: core_c.h:802
CvSize CvPoint2D32f * corners
Definition: calib3d.hpp:215
CvPoint CvSize double double double end_angle
Definition: core_c.h:1297
int point_count
Definition: calib3d.hpp:60
int cols
Definition: core_c.h:109
const char const char const char int line
Definition: core_c.h:1743
double areaThreshold
the area threshold to cause re-initialize
Definition: compat.hpp:673
GLuint GLuint GLsizei GLenum type
Definition: core_c.h:114
CvSize pattern_size
Definition: calib3d.hpp:215
GLenum const GLfloat * params
Definition: compat.hpp:688
int maxEvolution
for color image, the evolution steps
Definition: compat.hpp:671
CvPoint pt1
Definition: core_c.h:1270
CV_EXPORTS void cvLineAA(CvArr *img, CvPoint pt1, CvPoint pt2, double color, int scale CV_DEFAULT(0))
Definition: compat.hpp:707
CV_EXPORTS void cvFindFundamentalMatrix(int *points1, int *points2, int numpoints, int method, float *matrix)
Definition: types_c.h:1173
int CvArr CvTermCriteria termcrit
Definition: core_c.h:1472
int lineThresholdProjected
Definition: compat.hpp:711
CV_EXPORTS void cvbFastExp(const float *x, double *y, int len)
int responseThreshold
Definition: compat.hpp:710
float(CV_CDECL * CvDistanceFunction)(const float *a, const float *b, void *user_param)
Definition: types_c.h:396
struct CvStarDetectorParams CvStarDetectorParams
int CvPolyApproxMethod
Definition: compat.hpp:71
int step
Definition: compat.hpp:362
double threshold
Definition: imgproc_c.h:463
CV_INLINE CvSURFPoint cvSURFPoint(CvPoint2D32f pt, int laplacian, int size, float dir CV_DEFAULT(0), float hessian CV_DEFAULT(0))
Definition: compat.hpp:617
Definition: compat.hpp:91
Definition: compat.hpp:85
CvPoint2D32f double focal_length
Definition: calib3d.hpp:65
Definition: types_c.h:1223
CV_EXPORTS double cvSumPixels(const CvArr *image)
CV_EXPORTS void cvbRand(CvRandState *state, float *dst, int len)
int x
Definition: compat.hpp:331
Definition: compat.hpp:571
struct CvRandState CvRandState
int CvDisType
Definition: compat.hpp:228
struct _CvPixelPosition8s CvPixelPosition8s
CV_EXPORTS void cvRandInit(CvRandState *state, double param1, double param2, int seed, int disttype CV_DEFAULT(CV_RAND_UNI))
Definition: compat.hpp:570
double hessianThreshold
Definition: compat.hpp:636
CvArr int CvScalar CvScalar param2
Definition: core_c.h:649
const CvMat CvSize image_size
Definition: calib3d.hpp:126
CV_EXPORTS void cvProject3D(CvPoint3D32f *points3D, int count, CvPoint2D32f *points2D, int xIndx CV_DEFAULT(0), int yIndx CV_DEFAULT(1))
const CvPoint int npts
Definition: core_c.h:1315
CvArr * arr
Definition: core_c.h:649
int CvMorphOp
Definition: compat.hpp:77
unsigned char uchar
Definition: types_c.h:170
Definition: types_c.h:1333
int CvChainApproxMethod
Definition: compat.hpp:229
GLuint dst
Definition: calib3d.hpp:134
int step
Definition: compat.hpp:334
Maximal Stable Regions Parameters.
Definition: compat.hpp:655
int CvThreshType
Definition: compat.hpp:67
CvPoint2D32f double CvTermCriteria float * rotation_matrix
Definition: calib3d.hpp:65
CV_EXPORTS void cvFindExtrinsicCameraParams_64d(int point_count, CvSize image_size, CvPoint2D64f *_image_points, CvPoint3D64f *_object_points, double *focal_length, CvPoint2D64f principal_point, double *_distortion_coeffs, double *_rotation_vector, double *_translation_vector)
int nOctaves
Definition: compat.hpp:638
GLsizei const GLfloat * points
double * CvVect64d
Definition: compat.hpp:510
int laplacian
Definition: compat.hpp:610
Definition: types_c.h:1075
CvArr * _mask
Definition: compat.hpp:688
GLdouble GLdouble GLdouble bottom
const CvArr CvArr CvStereoBMState * state
Definition: calib3d.hpp:353
float * bottomline
Definition: compat.hpp:358
Definition: compat.hpp:100
int extended
Definition: compat.hpp:634
CvMat * lower_bound
Definition: legacy.hpp:1187
Definition: compat.hpp:478
CvMat * points1
Definition: calib3d.hpp:117
CvGraphVtx * vtx
Definition: core_c.h:1151
schar * bottomline
Definition: compat.hpp:345
CvMat int num_samples
Definition: ml.hpp:1999
Definition: types_c.h:1040
GLenum GLenum GLenum GLenum GLenum scale
int CvAdaptiveThreshMethod
Definition: compat.hpp:68
int width
Definition: compat.hpp:347
Definition: compat.hpp:475
Definition: compat.hpp:354
GLenum GLint GLuint mask
Definition: tracking.hpp:132
int minArea
prune the area which smaller than minArea
Definition: compat.hpp:662
double minMargin
ignore too small margin
Definition: compat.hpp:675
int lineThresholdBinarized
Definition: compat.hpp:712
float * topline
Definition: compat.hpp:357
CvPoint int radius
Definition: core_c.h:1290
Definition: compat.hpp:474
int extended CV_DEFAULT(0))
int nOctaveLayers
Definition: compat.hpp:639
CV_EXPORTS double cvMean(const CvArr *image, const CvArr *mask CV_DEFAULT(0))
Definition: compat.hpp:341
GLsizeiptr size
Definition: core_c.h:939
CV_EXPORTS void cvRand(CvRandState *state, CvArr *arr)
CvArr CvSeq ** contours
Definition: compat.hpp:688
CvPoint3D64f double * dist
Definition: legacy.hpp:556
Definition: types_c.h:1115
CV_EXPORTS double cvPseudoInverse(const CvArr *src, CvArr *dst)
int x
Definition: compat.hpp:359
CV_EXPORTS void cvKMeans(int num_clusters, float **samples, int num_samples, int vec_size, CvTermCriteria termcrit, int *cluster_idx)
float maxVariation
prune the area have simliar size to its children
Definition: compat.hpp:664
int height
Definition: compat.hpp:333
CV_EXPORTS CvMat cvMatArray(int rows, int cols, int type, int count, void *data CV_DEFAULT(0))
Definition: core_c.h:1223
CV_EXPORTS void cvRodrigues(CvMat *rotation_matrix, CvMat *rotation_vector, CvMat *jacobian, int conv_type)
struct _CvPixelPosition8u CvPixelPosition8u
Definition: types_c.h:1096
CvArr CvArr CvPoint2D32f int * corner_count
Definition: imgproc_c.h:587
Definition: compat.hpp:477
GLuint color
Definition: core_c.h:1276