OpenCV  2.4.13
Open Source Computer Vision
core_c.h File Reference

Classes

struct  CvNArrayIterator
 
struct  CvGraphScanner
 
struct  CvFont
 
struct  CvTreeNodeIterator
 
struct  CvModule
 
struct  CvType
 

Macros

#define cvFree(ptr)   (cvFree_(*(ptr)), *(ptr)=0)
 
#define CV_AUTOSTEP   0x7fffffff
 
#define cvGetSubArr   cvGetSubRect
 
#define CV_MAX_ARR   10
 
#define CV_NO_DEPTH_CHECK   1
 
#define CV_NO_CN_CHECK   2
 
#define CV_NO_SIZE_CHECK   4
 
#define cvReshapeND(arr, header, new_cn, new_dims, new_sizes)
 
#define cvZero   cvSetZero
 
#define cvCvtScale   cvConvertScale
 
#define cvScale   cvConvertScale
 
#define cvConvert(src, dst)   cvConvertScale( (src), (dst), 1, 0 )
 
#define cvCvtScaleAbs   cvConvertScaleAbs
 
#define cvAXPY(A, real_scalar, B, C)   cvScaleAdd(A, cvRealScalar(real_scalar), B, C)
 
#define CV_CMP_EQ   0
 
#define CV_CMP_GT   1
 
#define CV_CMP_GE   2
 
#define CV_CMP_LT   3
 
#define CV_CMP_LE   4
 
#define CV_CMP_NE   5
 
#define cvAbs(src, dst)   cvAbsDiffS( (src), (dst), cvScalarAll(0))
 
#define CV_CHECK_RANGE   1
 
#define CV_CHECK_QUIET   2
 
#define cvCheckArray   cvCheckArr
 
#define CV_RAND_UNI   0
 
#define CV_RAND_NORMAL   1
 
#define CV_SORT_EVERY_ROW   0
 
#define CV_SORT_EVERY_COLUMN   1
 
#define CV_SORT_ASCENDING   0
 
#define CV_SORT_DESCENDING   16
 
#define cvMatMulAdd(src1, src2, src3, dst)   cvGEMM( (src1), (src2), 1., (src3), 1., (dst), 0 )
 
#define cvMatMul(src1, src2, dst)   cvMatMulAdd( (src1), (src2), NULL, (dst))
 
#define CV_GEMM_A_T   1
 
#define CV_GEMM_B_T   2
 
#define CV_GEMM_C_T   4
 
#define cvMatMulAddEx   cvGEMM
 
#define cvMatMulAddS   cvTransform
 
#define cvT   cvTranspose
 
#define cvMirror   cvFlip
 
#define CV_SVD_MODIFY_A   1
 
#define CV_SVD_U_T   2
 
#define CV_SVD_V_T   4
 
#define CV_LU   0
 
#define CV_SVD   1
 
#define CV_SVD_SYM   2
 
#define CV_CHOLESKY   3
 
#define CV_QR   4
 
#define CV_NORMAL   16
 
#define cvInv   cvInvert
 
#define CV_COVAR_SCRAMBLED   0
 
#define CV_COVAR_NORMAL   1
 
#define CV_COVAR_USE_AVG   2
 
#define CV_COVAR_SCALE   4
 
#define CV_COVAR_ROWS   8
 
#define CV_COVAR_COLS   16
 
#define CV_PCA_DATA_AS_ROW   0
 
#define CV_PCA_DATA_AS_COL   1
 
#define CV_PCA_USE_AVG   2
 
#define cvMahalonobis   cvMahalanobis
 
#define CV_C   1
 
#define CV_L1   2
 
#define CV_L2   4
 
#define CV_NORM_MASK   7
 
#define CV_RELATIVE   8
 
#define CV_DIFF   16
 
#define CV_MINMAX   32
 
#define CV_DIFF_C   (CV_DIFF | CV_C)
 
#define CV_DIFF_L1   (CV_DIFF | CV_L1)
 
#define CV_DIFF_L2   (CV_DIFF | CV_L2)
 
#define CV_RELATIVE_C   (CV_RELATIVE | CV_C)
 
#define CV_RELATIVE_L1   (CV_RELATIVE | CV_L1)
 
#define CV_RELATIVE_L2   (CV_RELATIVE | CV_L2)
 
#define CV_REDUCE_SUM   0
 
#define CV_REDUCE_AVG   1
 
#define CV_REDUCE_MAX   2
 
#define CV_REDUCE_MIN   3
 
#define CV_DXT_FORWARD   0
 
#define CV_DXT_INVERSE   1
 
#define CV_DXT_SCALE   2 /* divide result by size of array */
 
#define CV_DXT_INV_SCALE   (CV_DXT_INVERSE + CV_DXT_SCALE)
 
#define CV_DXT_INVERSE_SCALE   CV_DXT_INV_SCALE
 
#define CV_DXT_ROWS   4 /* transform each row individually */
 
#define CV_DXT_MUL_CONJ   8 /* conjugate the second argument of cvMulSpectrums */
 
#define cvFFT   cvDFT
 
#define CV_FRONT   1
 
#define CV_BACK   0
 
#define cvGraphFindEdge   cvFindGraphEdge
 
#define cvGraphFindEdgeByPtr   cvFindGraphEdgeByPtr
 
#define cvGetGraphVtx(graph, idx)   (CvGraphVtx*)cvGetSetElem((CvSet*)(graph), (idx))
 
#define cvGraphVtxIdx(graph, vtx)   ((vtx)->flags & CV_SET_ELEM_IDX_MASK)
 
#define cvGraphEdgeIdx(graph, edge)   ((edge)->flags & CV_SET_ELEM_IDX_MASK)
 
#define cvGraphGetVtxCount(graph)   ((graph)->active_count)
 
#define cvGraphGetEdgeCount(graph)   ((graph)->edges->active_count)
 
#define CV_GRAPH_VERTEX   1
 
#define CV_GRAPH_TREE_EDGE   2
 
#define CV_GRAPH_BACK_EDGE   4
 
#define CV_GRAPH_FORWARD_EDGE   8
 
#define CV_GRAPH_CROSS_EDGE   16
 
#define CV_GRAPH_ANY_EDGE   30
 
#define CV_GRAPH_NEW_TREE   32
 
#define CV_GRAPH_BACKTRACKING   64
 
#define CV_GRAPH_OVER   -1
 
#define CV_GRAPH_ALL_ITEMS   -1
 
#define CV_GRAPH_ITEM_VISITED_FLAG   (1 << 30)
 
#define CV_IS_GRAPH_VERTEX_VISITED(vtx)   (((CvGraphVtx*)(vtx))->flags & CV_GRAPH_ITEM_VISITED_FLAG)
 
#define CV_IS_GRAPH_EDGE_VISITED(edge)   (((CvGraphEdge*)(edge))->flags & CV_GRAPH_ITEM_VISITED_FLAG)
 
#define CV_GRAPH_SEARCH_TREE_NODE_FLAG   (1 << 29)
 
#define CV_GRAPH_FORWARD_EDGE_FLAG   (1 << 28)
 
#define CV_RGB(r, g, b)   cvScalar( (b), (g), (r), 0 )
 
#define CV_FILLED   -1
 
#define CV_AA   16
 
#define cvDrawRect   cvRectangle
 
#define cvDrawLine   cvLine
 
#define cvDrawCircle   cvCircle
 
#define cvDrawEllipse   cvEllipse
 
#define cvDrawPolyLine   cvPolyLine
 
#define CV_NEXT_LINE_POINT(line_iterator)
 
#define CV_FONT_HERSHEY_SIMPLEX   0
 
#define CV_FONT_HERSHEY_PLAIN   1
 
#define CV_FONT_HERSHEY_DUPLEX   2
 
#define CV_FONT_HERSHEY_COMPLEX   3
 
#define CV_FONT_HERSHEY_TRIPLEX   4
 
#define CV_FONT_HERSHEY_COMPLEX_SMALL   5
 
#define CV_FONT_HERSHEY_SCRIPT_SIMPLEX   6
 
#define CV_FONT_HERSHEY_SCRIPT_COMPLEX   7
 
#define CV_FONT_ITALIC   16
 
#define CV_FONT_VECTOR0   CV_FONT_HERSHEY_SIMPLEX
 
#define CV_KMEANS_USE_INITIAL_LABELS   1
 
#define CV_TURN_ON_IPL_COMPATIBILITY()
 
#define CV_CPU_NONE   0
 
#define CV_CPU_MMX   1
 
#define CV_CPU_SSE   2
 
#define CV_CPU_SSE2   3
 
#define CV_CPU_SSE3   4
 
#define CV_CPU_SSSE3   5
 
#define CV_CPU_SSE4_1   6
 
#define CV_CPU_SSE4_2   7
 
#define CV_CPU_POPCNT   8
 
#define CV_CPU_AVX   10
 
#define CV_CPU_AVX2   11
 
#define CV_HARDWARE_MAX_FEATURE   255
 
#define CV_ErrModeLeaf   0 /* Print error and exit program */
 
#define CV_ErrModeParent   1 /* Print error and continue */
 
#define CV_ErrModeSilent   2 /* Don't print and continue */
 
#define OPENCV_ERROR(status, func, context)    cvError((status),(func),(context),__FILE__,__LINE__)
 
#define OPENCV_ERRCHK(func, context)
 
#define OPENCV_ASSERT(expr, func, context)
 
#define OPENCV_RSTERR()   (cvSetErrStatus(CV_StsOk))
 
#define OPENCV_CALL(Func)
 
#define CV_FUNCNAME(Name)   static char cvFuncName[] = Name
 
#define CV_ERROR(Code, Msg)
 
#define CV_ERROR_FROM_CODE(code)    CV_ERROR( code, "" )
 
#define CV_CHECK()
 
#define CV_CALL(Func)
 
#define CV_ASSERT(Condition)
 
#define __CV_BEGIN__   {
 
#define __CV_END__   goto exit; exit: ; }
 
#define __CV_EXIT__   goto exit
 

Typedefs

typedef int(CV_CDECLCvCmpFunc) (const void *a, const void *b, void *userdata)
 
typedef void *(CV_CDECLCvAllocFunc) (size_t size, void *userdata)
 
typedef int(CV_CDECLCvFreeFunc) (void *pptr, void *userdata)
 
typedef IplImage *CV_STDCALLCv_iplCreateImageHeader(int, int, int, char *, char *, int, int, int, int, int, IplROI *, IplImage *, void *, IplTileInfo *)
 
typedef void(CV_STDCALLCv_iplAllocateImageData) (IplImage *, int, int)
 
typedef void(CV_STDCALLCv_iplDeallocate) (IplImage *, int)
 
typedef IplROI *(CV_STDCALLCv_iplCreateROI) (int, int, int, int, int)
 
typedef IplImage *(CV_STDCALLCv_iplCloneImage) (const IplImage *)
 
typedef int(CV_CDECLCvErrorCallback) (int status, const char *func_name, const char *err_msg, const char *file_name, int line, void *userdata)
 

Functions

voidcvAlloc (size_t size)
 
void cvFree_ (void *ptr)
 
IplImagecvCreateImageHeader (CvSize size, int depth, int channels)
 
IplImagecvInitImageHeader (IplImage *image, CvSize size, int depth, int channels, int origin CV_DEFAULT(0), int align CV_DEFAULT(4))
 
IplImagecvCreateImage (CvSize size, int depth, int channels)
 
void cvReleaseImageHeader (IplImage **image)
 
void cvReleaseImage (IplImage **image)
 
IplImagecvCloneImage (const IplImage *image)
 
void cvSetImageCOI (IplImage *image, int coi)
 
int cvGetImageCOI (const IplImage *image)
 
void cvSetImageROI (IplImage *image, CvRect rect)
 
void cvResetImageROI (IplImage *image)
 
CvRect cvGetImageROI (const IplImage *image)
 
CvMatcvCreateMatHeader (int rows, int cols, int type)
 
CvMatcvInitMatHeader (CvMat *mat, int rows, int cols, int type, void *data CV_DEFAULT(NULL), int step CV_DEFAULT(0x7fffffff))
 
CvMatcvCreateMat (int rows, int cols, int type)
 
void cvReleaseMat (CvMat **mat)
 
CV_INLINE void cvDecRefData (CvArr *arr)
 
CV_INLINE int cvIncRefData (CvArr *arr)
 
CvMatcvCloneMat (const CvMat *mat)
 
CvMatcvGetSubRect (const CvArr *arr, CvMat *submat, CvRect rect)
 
CvMatcvGetRows (const CvArr *arr, CvMat *submat, int start_row, int end_row, int delta_row CV_DEFAULT(1))
 
CV_INLINE CvMatcvGetRow (const CvArr *arr, CvMat *submat, int row)
 
CvMatcvGetCols (const CvArr *arr, CvMat *submat, int start_col, int end_col)
 
CV_INLINE CvMatcvGetCol (const CvArr *arr, CvMat *submat, int col)
 
CvMatcvGetDiag (const CvArr *arr, CvMat *submat, int diag CV_DEFAULT(0))
 
void cvScalarToRawData (const CvScalar *scalar, void *data, int type, int extend_to_12 CV_DEFAULT(0))
 
void cvRawDataToScalar (const void *data, int type, CvScalar *scalar)
 
CvMatNDcvCreateMatNDHeader (int dims, const int *sizes, int type)
 
CvMatNDcvCreateMatND (int dims, const int *sizes, int type)
 
CvMatNDcvInitMatNDHeader (CvMatND *mat, int dims, const int *sizes, int type, void *data CV_DEFAULT(NULL))
 
CV_INLINE void cvReleaseMatND (CvMatND **mat)
 
CvMatNDcvCloneMatND (const CvMatND *mat)
 
CvSparseMatcvCreateSparseMat (int dims, const int *sizes, int type)
 
void cvReleaseSparseMat (CvSparseMat **mat)
 
CvSparseMatcvCloneSparseMat (const CvSparseMat *mat)
 
CvSparseNodecvInitSparseMatIterator (const CvSparseMat *mat, CvSparseMatIterator *mat_iterator)
 
CV_INLINE CvSparseNodecvGetNextSparseNode (CvSparseMatIterator *mat_iterator)
 
int cvInitNArrayIterator (int count, CvArr **arrs, const CvArr *mask, CvMatND *stubs, CvNArrayIterator *array_iterator, int flags CV_DEFAULT(0))
 
int cvNextNArraySlice (CvNArrayIterator *array_iterator)
 
int cvGetElemType (const CvArr *arr)
 
int cvGetDims (const CvArr *arr, int *sizes CV_DEFAULT(NULL))
 
int cvGetDimSize (const CvArr *arr, int index)
 
ucharcvPtr1D (const CvArr *arr, int idx0, int *type CV_DEFAULT(NULL))
 
ucharcvPtr2D (const CvArr *arr, int idx0, int idx1, int *type CV_DEFAULT(NULL))
 
ucharcvPtr3D (const CvArr *arr, int idx0, int idx1, int idx2, int *type CV_DEFAULT(NULL))
 
ucharcvPtrND (const CvArr *arr, const int *idx, int *type CV_DEFAULT(NULL), int create_node CV_DEFAULT(1), unsigned *precalc_hashval CV_DEFAULT(NULL))
 
CvScalar cvGet1D (const CvArr *arr, int idx0)
 
CvScalar cvGet2D (const CvArr *arr, int idx0, int idx1)
 
CvScalar cvGet3D (const CvArr *arr, int idx0, int idx1, int idx2)
 
CvScalar cvGetND (const CvArr *arr, const int *idx)
 
double cvGetReal1D (const CvArr *arr, int idx0)
 
double cvGetReal2D (const CvArr *arr, int idx0, int idx1)
 
double cvGetReal3D (const CvArr *arr, int idx0, int idx1, int idx2)
 
double cvGetRealND (const CvArr *arr, const int *idx)
 
void cvSet1D (CvArr *arr, int idx0, CvScalar value)
 
void cvSet2D (CvArr *arr, int idx0, int idx1, CvScalar value)
 
void cvSet3D (CvArr *arr, int idx0, int idx1, int idx2, CvScalar value)
 
void cvSetND (CvArr *arr, const int *idx, CvScalar value)
 
void cvSetReal1D (CvArr *arr, int idx0, double value)
 
void cvSetReal2D (CvArr *arr, int idx0, int idx1, double value)
 
void cvSetReal3D (CvArr *arr, int idx0, int idx1, int idx2, double value)
 
void cvSetRealND (CvArr *arr, const int *idx, double value)
 
void cvClearND (CvArr *arr, const int *idx)
 
CvMatcvGetMat (const CvArr *arr, CvMat *header, int *coi CV_DEFAULT(NULL), int allowND CV_DEFAULT(0))
 
IplImagecvGetImage (const CvArr *arr, IplImage *image_header)
 
CvArrcvReshapeMatND (const CvArr *arr, int sizeof_header, CvArr *header, int new_cn, int new_dims, int *new_sizes)
 
CvMatcvReshape (const CvArr *arr, CvMat *header, int new_cn, int new_rows CV_DEFAULT(0))
 
void cvRepeat (const CvArr *src, CvArr *dst)
 
void cvCreateData (CvArr *arr)
 
void cvReleaseData (CvArr *arr)
 
void cvSetData (CvArr *arr, void *data, int step)
 
void cvGetRawData (const CvArr *arr, uchar **data, int *step CV_DEFAULT(NULL), CvSize *roi_size CV_DEFAULT(NULL))
 
CvSize cvGetSize (const CvArr *arr)
 
void cvCopy (const CvArr *src, CvArr *dst, const CvArr *mask CV_DEFAULT(NULL))
 
void cvSet (CvArr *arr, CvScalar value, const CvArr *mask CV_DEFAULT(NULL))
 
void cvSetZero (CvArr *arr)
 
void cvSplit (const CvArr *src, CvArr *dst0, CvArr *dst1, CvArr *dst2, CvArr *dst3)
 
void cvMerge (const CvArr *src0, const CvArr *src1, const CvArr *src2, const CvArr *src3, CvArr *dst)
 
void cvMixChannels (const CvArr **src, int src_count, CvArr **dst, int dst_count, const int *from_to, int pair_count)
 
void cvConvertScale (const CvArr *src, CvArr *dst, double scale CV_DEFAULT(1), double shift CV_DEFAULT(0))
 
void cvConvertScaleAbs (const CvArr *src, CvArr *dst, double scale CV_DEFAULT(1), double shift CV_DEFAULT(0))
 
CvTermCriteria cvCheckTermCriteria (CvTermCriteria criteria, double default_eps, int default_max_iters)
 
void cvAdd (const CvArr *src1, const CvArr *src2, CvArr *dst, const CvArr *mask CV_DEFAULT(NULL))
 
void cvAddS (const CvArr *src, CvScalar value, CvArr *dst, const CvArr *mask CV_DEFAULT(NULL))
 
void cvSub (const CvArr *src1, const CvArr *src2, CvArr *dst, const CvArr *mask CV_DEFAULT(NULL))
 
CV_INLINE void cvSubS (const CvArr *src, CvScalar value, CvArr *dst, const CvArr *mask CV_DEFAULT(NULL))
 
void cvSubRS (const CvArr *src, CvScalar value, CvArr *dst, const CvArr *mask CV_DEFAULT(NULL))
 
void cvMul (const CvArr *src1, const CvArr *src2, CvArr *dst, double scale CV_DEFAULT(1))
 
void cvDiv (const CvArr *src1, const CvArr *src2, CvArr *dst, double scale CV_DEFAULT(1))
 
void cvScaleAdd (const CvArr *src1, CvScalar scale, const CvArr *src2, CvArr *dst)
 
void cvAddWeighted (const CvArr *src1, double alpha, const CvArr *src2, double beta, double gamma, CvArr *dst)
 
double cvDotProduct (const CvArr *src1, const CvArr *src2)
 
void cvAnd (const CvArr *src1, const CvArr *src2, CvArr *dst, const CvArr *mask CV_DEFAULT(NULL))
 
void cvAndS (const CvArr *src, CvScalar value, CvArr *dst, const CvArr *mask CV_DEFAULT(NULL))
 
void cvOr (const CvArr *src1, const CvArr *src2, CvArr *dst, const CvArr *mask CV_DEFAULT(NULL))
 
void cvOrS (const CvArr *src, CvScalar value, CvArr *dst, const CvArr *mask CV_DEFAULT(NULL))
 
void cvXor (const CvArr *src1, const CvArr *src2, CvArr *dst, const CvArr *mask CV_DEFAULT(NULL))
 
void cvXorS (const CvArr *src, CvScalar value, CvArr *dst, const CvArr *mask CV_DEFAULT(NULL))
 
void cvNot (const CvArr *src, CvArr *dst)
 
void cvInRange (const CvArr *src, const CvArr *lower, const CvArr *upper, CvArr *dst)
 
void cvInRangeS (const CvArr *src, CvScalar lower, CvScalar upper, CvArr *dst)
 
void cvCmp (const CvArr *src1, const CvArr *src2, CvArr *dst, int cmp_op)
 
void cvCmpS (const CvArr *src, double value, CvArr *dst, int cmp_op)
 
void cvMin (const CvArr *src1, const CvArr *src2, CvArr *dst)
 
void cvMax (const CvArr *src1, const CvArr *src2, CvArr *dst)
 
void cvMinS (const CvArr *src, double value, CvArr *dst)
 
void cvMaxS (const CvArr *src, double value, CvArr *dst)
 
void cvAbsDiff (const CvArr *src1, const CvArr *src2, CvArr *dst)
 
void cvAbsDiffS (const CvArr *src, CvArr *dst, CvScalar value)
 
void cvCartToPolar (const CvArr *x, const CvArr *y, CvArr *magnitude, CvArr *angle CV_DEFAULT(NULL), int angle_in_degrees CV_DEFAULT(0))
 
void cvPolarToCart (const CvArr *magnitude, const CvArr *angle, CvArr *x, CvArr *y, int angle_in_degrees CV_DEFAULT(0))
 
void cvPow (const CvArr *src, CvArr *dst, double power)
 
void cvExp (const CvArr *src, CvArr *dst)
 
void cvLog (const CvArr *src, CvArr *dst)
 
float cvFastArctan (float y, float x)
 
float cvCbrt (float value)
 
int cvCheckArr (const CvArr *arr, int flags CV_DEFAULT(0), double min_val CV_DEFAULT(0), double max_val CV_DEFAULT(0))
 
void cvRandArr (CvRNG *rng, CvArr *arr, int dist_type, CvScalar param1, CvScalar param2)
 
void cvRandShuffle (CvArr *mat, CvRNG *rng, double iter_factor CV_DEFAULT(1.))
 
void cvSort (const CvArr *src, CvArr *dst CV_DEFAULT(NULL), CvArr *idxmat CV_DEFAULT(NULL), int flags CV_DEFAULT(0))
 
int cvSolveCubic (const CvMat *coeffs, CvMat *roots)
 
void cvSolvePoly (const CvMat *coeffs, CvMat *roots2, int maxiter CV_DEFAULT(20), int fig CV_DEFAULT(100))
 
void cvCrossProduct (const CvArr *src1, const CvArr *src2, CvArr *dst)
 
void cvGEMM (const CvArr *src1, const CvArr *src2, double alpha, const CvArr *src3, double beta, CvArr *dst, int tABC CV_DEFAULT(0))
 
void cvTransform (const CvArr *src, CvArr *dst, const CvMat *transmat, const CvMat *shiftvec CV_DEFAULT(NULL))
 
void cvPerspectiveTransform (const CvArr *src, CvArr *dst, const CvMat *mat)
 
void cvMulTransposed (const CvArr *src, CvArr *dst, int order, const CvArr *delta CV_DEFAULT(NULL), double scale CV_DEFAULT(1.))
 
void cvTranspose (const CvArr *src, CvArr *dst)
 
void cvCompleteSymm (CvMat *matrix, int LtoR CV_DEFAULT(0))
 
void cvFlip (const CvArr *src, CvArr *dst CV_DEFAULT(NULL), int flip_mode CV_DEFAULT(0))
 
void cvSVD (CvArr *A, CvArr *W, CvArr *U CV_DEFAULT(NULL), CvArr *V CV_DEFAULT(NULL), int flags CV_DEFAULT(0))
 
void cvSVBkSb (const CvArr *W, const CvArr *U, const CvArr *V, const CvArr *B, CvArr *X, int flags)
 
double cvInvert (const CvArr *src, CvArr *dst, int method CV_DEFAULT(0))
 
int cvSolve (const CvArr *src1, const CvArr *src2, CvArr *dst, int method CV_DEFAULT(0))
 
double cvDet (const CvArr *mat)
 
CvScalar cvTrace (const CvArr *mat)
 
void cvEigenVV (CvArr *mat, CvArr *evects, CvArr *evals, double eps CV_DEFAULT(0), int lowindex CV_DEFAULT(-1), int highindex CV_DEFAULT(-1))
 
void cvSetIdentity (CvArr *mat, CvScalar value CV_DEFAULT(cvRealScalar(1)))
 
CvArrcvRange (CvArr *mat, double start, double end)
 
void cvCalcCovarMatrix (const CvArr **vects, int count, CvArr *cov_mat, CvArr *avg, int flags)
 
void cvCalcPCA (const CvArr *data, CvArr *mean, CvArr *eigenvals, CvArr *eigenvects, int flags)
 
void cvProjectPCA (const CvArr *data, const CvArr *mean, const CvArr *eigenvects, CvArr *result)
 
void cvBackProjectPCA (const CvArr *proj, const CvArr *mean, const CvArr *eigenvects, CvArr *result)
 
double cvMahalanobis (const CvArr *vec1, const CvArr *vec2, const CvArr *mat)
 
CvScalar cvSum (const CvArr *arr)
 
int cvCountNonZero (const CvArr *arr)
 
CvScalar cvAvg (const CvArr *arr, const CvArr *mask CV_DEFAULT(NULL))
 
void cvAvgSdv (const CvArr *arr, CvScalar *mean, CvScalar *std_dev, const CvArr *mask CV_DEFAULT(NULL))
 
void cvMinMaxLoc (const CvArr *arr, double *min_val, double *max_val, CvPoint *min_loc CV_DEFAULT(NULL), CvPoint *max_loc CV_DEFAULT(NULL), const CvArr *mask CV_DEFAULT(NULL))
 
double cvNorm (const CvArr *arr1, const CvArr *arr2 CV_DEFAULT(NULL), int norm_type CV_DEFAULT(4), const CvArr *mask CV_DEFAULT(NULL))
 
void cvNormalize (const CvArr *src, CvArr *dst, double a CV_DEFAULT(1.), double b CV_DEFAULT(0.), int norm_type CV_DEFAULT(4), const CvArr *mask CV_DEFAULT(NULL))
 
void cvReduce (const CvArr *src, CvArr *dst, int dim CV_DEFAULT(-1), int op CV_DEFAULT(0))
 
void cvDFT (const CvArr *src, CvArr *dst, int flags, int nonzero_rows CV_DEFAULT(0))
 
void cvMulSpectrums (const CvArr *src1, const CvArr *src2, CvArr *dst, int flags)
 
int cvGetOptimalDFTSize (int size0)
 
void cvDCT (const CvArr *src, CvArr *dst, int flags)
 
int cvSliceLength (CvSlice slice, const CvSeq *seq)
 
CvMemStoragecvCreateMemStorage (int block_size CV_DEFAULT(0))
 
CvMemStoragecvCreateChildMemStorage (CvMemStorage *parent)
 
void cvReleaseMemStorage (CvMemStorage **storage)
 
void cvClearMemStorage (CvMemStorage *storage)
 
void cvSaveMemStoragePos (const CvMemStorage *storage, CvMemStoragePos *pos)
 
void cvRestoreMemStoragePos (CvMemStorage *storage, CvMemStoragePos *pos)
 
voidcvMemStorageAlloc (CvMemStorage *storage, size_t size)
 
CvString cvMemStorageAllocString (CvMemStorage *storage, const char *ptr, int len CV_DEFAULT(-1))
 
CvSeqcvCreateSeq (int seq_flags, size_t header_size, size_t elem_size, CvMemStorage *storage)
 
void cvSetSeqBlockSize (CvSeq *seq, int delta_elems)
 
scharcvSeqPush (CvSeq *seq, const void *element CV_DEFAULT(NULL))
 
scharcvSeqPushFront (CvSeq *seq, const void *element CV_DEFAULT(NULL))
 
void cvSeqPop (CvSeq *seq, void *element CV_DEFAULT(NULL))
 
void cvSeqPopFront (CvSeq *seq, void *element CV_DEFAULT(NULL))
 
void cvSeqPushMulti (CvSeq *seq, const void *elements, int count, int in_front CV_DEFAULT(0))
 
void cvSeqPopMulti (CvSeq *seq, void *elements, int count, int in_front CV_DEFAULT(0))
 
scharcvSeqInsert (CvSeq *seq, int before_index, const void *element CV_DEFAULT(NULL))
 
void cvSeqRemove (CvSeq *seq, int index)
 
void cvClearSeq (CvSeq *seq)
 
scharcvGetSeqElem (const CvSeq *seq, int index)
 
int cvSeqElemIdx (const CvSeq *seq, const void *element, CvSeqBlock **block CV_DEFAULT(NULL))
 
void cvStartAppendToSeq (CvSeq *seq, CvSeqWriter *writer)
 
void cvStartWriteSeq (int seq_flags, int header_size, int elem_size, CvMemStorage *storage, CvSeqWriter *writer)
 
CvSeqcvEndWriteSeq (CvSeqWriter *writer)
 
void cvFlushSeqWriter (CvSeqWriter *writer)
 
void cvStartReadSeq (const CvSeq *seq, CvSeqReader *reader, int reverse CV_DEFAULT(0))
 
int cvGetSeqReaderPos (CvSeqReader *reader)
 
void cvSetSeqReaderPos (CvSeqReader *reader, int index, int is_relative CV_DEFAULT(0))
 
voidcvCvtSeqToArray (const CvSeq *seq, void *elements, CvSlice slice CV_DEFAULT(CV_WHOLE_SEQ))
 
CvSeqcvMakeSeqHeaderForArray (int seq_type, int header_size, int elem_size, void *elements, int total, CvSeq *seq, CvSeqBlock *block)
 
CvSeqcvSeqSlice (const CvSeq *seq, CvSlice slice, CvMemStorage *storage CV_DEFAULT(NULL), int copy_data CV_DEFAULT(0))
 
CV_INLINE CvSeqcvCloneSeq (const CvSeq *seq, CvMemStorage *storage CV_DEFAULT(NULL))
 
void cvSeqRemoveSlice (CvSeq *seq, CvSlice slice)
 
void cvSeqInsertSlice (CvSeq *seq, int before_index, const CvArr *from_arr)
 
void cvSeqSort (CvSeq *seq, CvCmpFunc func, void *userdata CV_DEFAULT(NULL))
 
scharcvSeqSearch (CvSeq *seq, const void *elem, CvCmpFunc func, int is_sorted, int *elem_idx, void *userdata CV_DEFAULT(NULL))
 
void cvSeqInvert (CvSeq *seq)
 
int cvSeqPartition (const CvSeq *seq, CvMemStorage *storage, CvSeq **labels, CvCmpFunc is_equal, void *userdata)
 
void cvChangeSeqBlock (void *reader, int direction)
 
void cvCreateSeqBlock (CvSeqWriter *writer)
 
CvSetcvCreateSet (int set_flags, int header_size, int elem_size, CvMemStorage *storage)
 
int cvSetAdd (CvSet *set_header, CvSetElem *elem CV_DEFAULT(NULL), CvSetElem **inserted_elem CV_DEFAULT(NULL))
 
CV_INLINE CvSetElemcvSetNew (CvSet *set_header)
 
CV_INLINE void cvSetRemoveByPtr (CvSet *set_header, void *elem)
 
void cvSetRemove (CvSet *set_header, int index)
 
CV_INLINE CvSetElemcvGetSetElem (const CvSet *set_header, int idx)
 
void cvClearSet (CvSet *set_header)
 
CvGraphcvCreateGraph (int graph_flags, int header_size, int vtx_size, int edge_size, CvMemStorage *storage)
 
int cvGraphAddVtx (CvGraph *graph, const CvGraphVtx *vtx CV_DEFAULT(NULL), CvGraphVtx **inserted_vtx CV_DEFAULT(NULL))
 
int cvGraphRemoveVtx (CvGraph *graph, int index)
 
int cvGraphRemoveVtxByPtr (CvGraph *graph, CvGraphVtx *vtx)
 
int cvGraphAddEdge (CvGraph *graph, int start_idx, int end_idx, const CvGraphEdge *edge CV_DEFAULT(NULL), CvGraphEdge **inserted_edge CV_DEFAULT(NULL))
 
int cvGraphAddEdgeByPtr (CvGraph *graph, CvGraphVtx *start_vtx, CvGraphVtx *end_vtx, const CvGraphEdge *edge CV_DEFAULT(NULL), CvGraphEdge **inserted_edge CV_DEFAULT(NULL))
 
void cvGraphRemoveEdge (CvGraph *graph, int start_idx, int end_idx)
 
void cvGraphRemoveEdgeByPtr (CvGraph *graph, CvGraphVtx *start_vtx, CvGraphVtx *end_vtx)
 
CvGraphEdgecvFindGraphEdge (const CvGraph *graph, int start_idx, int end_idx)
 
CvGraphEdgecvFindGraphEdgeByPtr (const CvGraph *graph, const CvGraphVtx *start_vtx, const CvGraphVtx *end_vtx)
 
void cvClearGraph (CvGraph *graph)
 
int cvGraphVtxDegree (const CvGraph *graph, int vtx_idx)
 
int cvGraphVtxDegreeByPtr (const CvGraph *graph, const CvGraphVtx *vtx)
 
CvGraphScannercvCreateGraphScanner (CvGraph *graph, CvGraphVtx *vtx CV_DEFAULT(NULL), int mask CV_DEFAULT(-1))
 
void cvReleaseGraphScanner (CvGraphScanner **scanner)
 
int cvNextGraphItem (CvGraphScanner *scanner)
 
CvGraphcvCloneGraph (const CvGraph *graph, CvMemStorage *storage)
 
void cvLine (CvArr *img, CvPoint pt1, CvPoint pt2, CvScalar color, int thickness CV_DEFAULT(1), int line_type CV_DEFAULT(8), int shift CV_DEFAULT(0))
 
void cvRectangle (CvArr *img, CvPoint pt1, CvPoint pt2, CvScalar color, int thickness CV_DEFAULT(1), int line_type CV_DEFAULT(8), int shift CV_DEFAULT(0))
 
void cvRectangleR (CvArr *img, CvRect r, CvScalar color, int thickness CV_DEFAULT(1), int line_type CV_DEFAULT(8), int shift CV_DEFAULT(0))
 
void cvCircle (CvArr *img, CvPoint center, int radius, CvScalar color, int thickness CV_DEFAULT(1), int line_type CV_DEFAULT(8), int shift CV_DEFAULT(0))
 
void cvEllipse (CvArr *img, CvPoint center, CvSize axes, double angle, double start_angle, double end_angle, CvScalar color, int thickness CV_DEFAULT(1), int line_type CV_DEFAULT(8), int shift CV_DEFAULT(0))
 
CV_INLINE void cvEllipseBox (CvArr *img, CvBox2D box, CvScalar color, int thickness CV_DEFAULT(1), int line_type CV_DEFAULT(8), int shift CV_DEFAULT(0))
 
void cvFillConvexPoly (CvArr *img, const CvPoint *pts, int npts, CvScalar color, int line_type CV_DEFAULT(8), int shift CV_DEFAULT(0))
 
void cvFillPoly (CvArr *img, CvPoint **pts, const int *npts, int contours, CvScalar color, int line_type CV_DEFAULT(8), int shift CV_DEFAULT(0))
 
void cvPolyLine (CvArr *img, CvPoint **pts, const int *npts, int contours, int is_closed, CvScalar color, int thickness CV_DEFAULT(1), int line_type CV_DEFAULT(8), int shift CV_DEFAULT(0))
 
int cvClipLine (CvSize img_size, CvPoint *pt1, CvPoint *pt2)
 
int cvInitLineIterator (const CvArr *image, CvPoint pt1, CvPoint pt2, CvLineIterator *line_iterator, int connectivity CV_DEFAULT(8), int left_to_right CV_DEFAULT(0))
 
void cvInitFont (CvFont *font, int font_face, double hscale, double vscale, double shear CV_DEFAULT(0), int thickness CV_DEFAULT(1), int line_type CV_DEFAULT(8))
 
CV_INLINE CvFont cvFont (double scale, int thickness CV_DEFAULT(1))
 
void cvPutText (CvArr *img, const char *text, CvPoint org, const CvFont *font, CvScalar color)
 
void cvGetTextSize (const char *text_string, const CvFont *font, CvSize *text_size, int *baseline)
 
CvScalar cvColorToScalar (double packed_color, int arrtype)
 
int cvEllipse2Poly (CvPoint center, CvSize axes, int angle, int arc_start, int arc_end, CvPoint *pts, int delta)
 
void cvDrawContours (CvArr *img, CvSeq *contour, CvScalar external_color, CvScalar hole_color, int max_level, int thickness CV_DEFAULT(1), int line_type CV_DEFAULT(8), CvPoint offset CV_DEFAULT(cvPoint(0, 0)))
 
void cvLUT (const CvArr *src, CvArr *dst, const CvArr *lut)
 
void cvInitTreeNodeIterator (CvTreeNodeIterator *tree_iterator, const void *first, int max_level)
 
voidcvNextTreeNode (CvTreeNodeIterator *tree_iterator)
 
voidcvPrevTreeNode (CvTreeNodeIterator *tree_iterator)
 
void cvInsertNodeIntoTree (void *node, void *parent, void *frame)
 
void cvRemoveNodeFromTree (void *node, void *frame)
 
CvSeqcvTreeToNodeSeq (const void *first, int header_size, CvMemStorage *storage)
 
int cvKMeans2 (const CvArr *samples, int cluster_count, CvArr *labels, CvTermCriteria termcrit, int attempts CV_DEFAULT(1), CvRNG *rng CV_DEFAULT(0), int flags CV_DEFAULT(0), CvArr *_centers CV_DEFAULT(0), double *compactness CV_DEFAULT(0))
 
int cvRegisterModule (const CvModuleInfo *module_info)
 
int cvUseOptimized (int on_off)
 
void cvGetModuleInfo (const char *module_name, const char **version, const char **loaded_addon_plugins)
 
void cvSetMemoryManager (CvAllocFunc alloc_func CV_DEFAULT(NULL), CvFreeFunc free_func CV_DEFAULT(NULL), void *userdata CV_DEFAULT(NULL))
 
void cvSetIPLAllocators (Cv_iplCreateImageHeader create_header, Cv_iplAllocateImageData allocate_data, Cv_iplDeallocate deallocate, Cv_iplCreateROI create_roi, Cv_iplCloneImage clone_image)
 
CvFileStoragecvOpenFileStorage (const char *filename, CvMemStorage *memstorage, int flags, const char *encoding CV_DEFAULT(NULL))
 
void cvReleaseFileStorage (CvFileStorage **fs)
 
const char * cvAttrValue (const CvAttrList *attr, const char *attr_name)
 
void cvStartWriteStruct (CvFileStorage *fs, const char *name, int struct_flags, const char *type_name CV_DEFAULT(NULL), CvAttrList attributes CV_DEFAULT(cvAttrList()))
 
void cvEndWriteStruct (CvFileStorage *fs)
 
void cvWriteInt (CvFileStorage *fs, const char *name, int value)
 
void cvWriteReal (CvFileStorage *fs, const char *name, double value)
 
void cvWriteString (CvFileStorage *fs, const char *name, const char *str, int quote CV_DEFAULT(0))
 
void cvWriteComment (CvFileStorage *fs, const char *comment, int eol_comment)
 
void cvWrite (CvFileStorage *fs, const char *name, const void *ptr, CvAttrList attributes CV_DEFAULT(cvAttrList()))
 
void cvStartNextStream (CvFileStorage *fs)
 
void cvWriteRawData (CvFileStorage *fs, const void *src, int len, const char *dt)
 
CvStringHashNodecvGetHashedKey (CvFileStorage *fs, const char *name, int len CV_DEFAULT(-1), int create_missing CV_DEFAULT(0))
 
CvFileNodecvGetRootFileNode (const CvFileStorage *fs, int stream_index CV_DEFAULT(0))
 
CvFileNodecvGetFileNode (CvFileStorage *fs, CvFileNode *map, const CvStringHashNode *key, int create_missing CV_DEFAULT(0))
 
CvFileNodecvGetFileNodeByName (const CvFileStorage *fs, const CvFileNode *map, const char *name)
 
CV_INLINE int cvReadInt (const CvFileNode *node, int default_value CV_DEFAULT(0))
 
CV_INLINE int cvReadIntByName (const CvFileStorage *fs, const CvFileNode *map, const char *name, int default_value CV_DEFAULT(0))
 
CV_INLINE double cvReadReal (const CvFileNode *node, double default_value CV_DEFAULT(0.))
 
CV_INLINE double cvReadRealByName (const CvFileStorage *fs, const CvFileNode *map, const char *name, double default_value CV_DEFAULT(0.))
 
CV_INLINE const char * cvReadString (const CvFileNode *node, const char *default_value CV_DEFAULT(NULL))
 
CV_INLINE const char * cvReadStringByName (const CvFileStorage *fs, const CvFileNode *map, const char *name, const char *default_value CV_DEFAULT(NULL))
 
voidcvRead (CvFileStorage *fs, CvFileNode *node, CvAttrList *attributes CV_DEFAULT(NULL))
 
CV_INLINE voidcvReadByName (CvFileStorage *fs, const CvFileNode *map, const char *name, CvAttrList *attributes CV_DEFAULT(NULL))
 
void cvStartReadRawData (const CvFileStorage *fs, const CvFileNode *src, CvSeqReader *reader)
 
void cvReadRawDataSlice (const CvFileStorage *fs, CvSeqReader *reader, int count, void *dst, const char *dt)
 
void cvReadRawData (const CvFileStorage *fs, const CvFileNode *src, void *dst, const char *dt)
 
void cvWriteFileNode (CvFileStorage *fs, const char *new_node_name, const CvFileNode *node, int embed)
 
const char * cvGetFileNodeName (const CvFileNode *node)
 
void cvRegisterType (const CvTypeInfo *info)
 
void cvUnregisterType (const char *type_name)
 
CvTypeInfocvFirstType (void)
 
CvTypeInfocvFindType (const char *type_name)
 
CvTypeInfocvTypeOf (const void *struct_ptr)
 
void cvRelease (void **struct_ptr)
 
voidcvClone (const void *struct_ptr)
 
void cvSave (const char *filename, const void *struct_ptr, const char *name CV_DEFAULT(NULL), const char *comment CV_DEFAULT(NULL), CvAttrList attributes CV_DEFAULT(cvAttrList()))
 
voidcvLoad (const char *filename, CvMemStorage *memstorage CV_DEFAULT(NULL), const char *name CV_DEFAULT(NULL), const char **real_name CV_DEFAULT(NULL))
 
int64 cvGetTickCount (void)
 
double cvGetTickFrequency (void)
 
int cvCheckHardwareSupport (int feature)
 
int cvGetNumThreads (void)
 
void cvSetNumThreads (int threads CV_DEFAULT(0))
 
int cvGetThreadNum (void)
 
int cvGetErrStatus (void)
 
void cvSetErrStatus (int status)
 
int cvGetErrMode (void)
 
int cvSetErrMode (int mode)
 
void cvError (int status, const char *func_name, const char *err_msg, const char *file_name, int line)
 
const char * cvErrorStr (int status)
 
int cvGetErrInfo (const char **errcode_desc, const char **description, const char **filename, int *line)
 
int cvErrorFromIppStatus (int ipp_status)
 
CvErrorCallback cvRedirectError (CvErrorCallback error_handler, void *userdata CV_DEFAULT(NULL), void **prev_userdata CV_DEFAULT(NULL))
 
int cvNulDevReport (int status, const char *func_name, const char *err_msg, const char *file_name, int line, void *userdata)
 
int cvStdErrReport (int status, const char *func_name, const char *err_msg, const char *file_name, int line, void *userdata)
 
int cvGuiBoxReport (int status, const char *func_name, const char *err_msg, const char *file_name, int line, void *userdata)
 

Macro Definition Documentation

#define __CV_BEGIN__   {
#define __CV_END__   goto exit; exit: ; }
#define __CV_EXIT__   goto exit
#define CV_AA   16
#define CV_ASSERT (   Condition)
Value:
{ \
if( !(Condition) ) \
CV_ERROR( CV_StsInternal, "Assertion: " #Condition " failed" ); \
}
Definition: core/include/opencv2/core/types_c.h:220
#define CV_AUTOSTEP   0x7fffffff
#define CV_BACK   0
#define CV_C   1
#define CV_CALL (   Func)
Value:
{ \
Func; \
CV_CHECK(); \
}
#define CV_CHECK ( )
Value:
{ \
if( cvGetErrStatus() < 0 ) \
CV_ERROR( CV_StsBackTrace, "Inner function failed." ); \
}
int cvGetErrStatus(void)
Definition: core/include/opencv2/core/types_c.h:218
#define CV_CHECK_QUIET   2
#define CV_CHECK_RANGE   1
#define CV_CHOLESKY   3
#define CV_CMP_EQ   0
#define CV_CMP_GE   2
#define CV_CMP_GT   1
#define CV_CMP_LE   4
#define CV_CMP_LT   3
#define CV_CMP_NE   5
#define CV_COVAR_COLS   16
#define CV_COVAR_NORMAL   1
#define CV_COVAR_ROWS   8
#define CV_COVAR_SCALE   4
#define CV_COVAR_SCRAMBLED   0
#define CV_COVAR_USE_AVG   2
#define CV_CPU_AVX   10
#define CV_CPU_AVX2   11
#define CV_CPU_MMX   1
#define CV_CPU_NONE   0
#define CV_CPU_POPCNT   8
#define CV_CPU_SSE   2
#define CV_CPU_SSE2   3
#define CV_CPU_SSE3   4
#define CV_CPU_SSE4_1   6
#define CV_CPU_SSE4_2   7
#define CV_CPU_SSSE3   5
#define CV_DIFF   16
#define CV_DIFF_C   (CV_DIFF | CV_C)
#define CV_DIFF_L1   (CV_DIFF | CV_L1)
#define CV_DIFF_L2   (CV_DIFF | CV_L2)
#define CV_DXT_FORWARD   0
#define CV_DXT_INV_SCALE   (CV_DXT_INVERSE + CV_DXT_SCALE)
#define CV_DXT_INVERSE   1
#define CV_DXT_INVERSE_SCALE   CV_DXT_INV_SCALE
#define CV_DXT_MUL_CONJ   8 /* conjugate the second argument of cvMulSpectrums */
#define CV_DXT_ROWS   4 /* transform each row individually */
#define CV_DXT_SCALE   2 /* divide result by size of array */
#define CV_ErrModeLeaf   0 /* Print error and exit program */
#define CV_ErrModeParent   1 /* Print error and continue */
#define CV_ErrModeSilent   2 /* Don't print and continue */
#define CV_ERROR (   Code,
  Msg 
)
Value:
{ \
cvError( (Code), cvFuncName, Msg, __FILE__, __LINE__ ); \
__CV_EXIT__; \
}
#define CV_ERROR_FROM_CODE (   code)    CV_ERROR( code, "" )
#define CV_FILLED   -1
#define CV_FONT_HERSHEY_COMPLEX   3
#define CV_FONT_HERSHEY_COMPLEX_SMALL   5
#define CV_FONT_HERSHEY_DUPLEX   2
#define CV_FONT_HERSHEY_PLAIN   1
#define CV_FONT_HERSHEY_SCRIPT_COMPLEX   7
#define CV_FONT_HERSHEY_SCRIPT_SIMPLEX   6
#define CV_FONT_HERSHEY_SIMPLEX   0
#define CV_FONT_HERSHEY_TRIPLEX   4
#define CV_FONT_ITALIC   16
#define CV_FONT_VECTOR0   CV_FONT_HERSHEY_SIMPLEX
#define CV_FRONT   1
#define CV_FUNCNAME (   Name)    static char cvFuncName[] = Name
#define CV_GEMM_A_T   1
#define CV_GEMM_B_T   2
#define CV_GEMM_C_T   4
#define CV_GRAPH_ALL_ITEMS   -1
#define CV_GRAPH_ANY_EDGE   30
#define CV_GRAPH_BACK_EDGE   4
#define CV_GRAPH_BACKTRACKING   64
#define CV_GRAPH_CROSS_EDGE   16
#define CV_GRAPH_FORWARD_EDGE   8
#define CV_GRAPH_FORWARD_EDGE_FLAG   (1 << 28)
#define CV_GRAPH_ITEM_VISITED_FLAG   (1 << 30)
#define CV_GRAPH_NEW_TREE   32
#define CV_GRAPH_OVER   -1
#define CV_GRAPH_SEARCH_TREE_NODE_FLAG   (1 << 29)
#define CV_GRAPH_TREE_EDGE   2
#define CV_GRAPH_VERTEX   1
#define CV_HARDWARE_MAX_FEATURE   255
#define CV_IS_GRAPH_EDGE_VISITED (   edge)    (((CvGraphEdge*)(edge))->flags & CV_GRAPH_ITEM_VISITED_FLAG)
#define CV_IS_GRAPH_VERTEX_VISITED (   vtx)    (((CvGraphVtx*)(vtx))->flags & CV_GRAPH_ITEM_VISITED_FLAG)
#define CV_KMEANS_USE_INITIAL_LABELS   1
#define CV_L1   2
#define CV_L2   4
#define CV_LU   0
#define CV_MAX_ARR   10
#define CV_MINMAX   32
#define CV_NEXT_LINE_POINT (   line_iterator)
Value:
{ \
int _line_iterator_mask = (line_iterator).err < 0 ? -1 : 0; \
(line_iterator).err += (line_iterator).minus_delta + \
((line_iterator).plus_delta & _line_iterator_mask); \
(line_iterator).ptr += (line_iterator).minus_step + \
((line_iterator).plus_step & _line_iterator_mask); \
}
#define CV_NO_CN_CHECK   2
#define CV_NO_DEPTH_CHECK   1
#define CV_NO_SIZE_CHECK   4
#define CV_NORM_MASK   7
#define CV_NORMAL   16
#define CV_PCA_DATA_AS_COL   1
#define CV_PCA_DATA_AS_ROW   0
#define CV_PCA_USE_AVG   2
#define CV_QR   4
#define CV_RAND_NORMAL   1
#define CV_RAND_UNI   0
#define CV_REDUCE_AVG   1
#define CV_REDUCE_MAX   2
#define CV_REDUCE_MIN   3
#define CV_REDUCE_SUM   0
#define CV_RELATIVE   8
#define CV_RELATIVE_C   (CV_RELATIVE | CV_C)
#define CV_RELATIVE_L1   (CV_RELATIVE | CV_L1)
#define CV_RELATIVE_L2   (CV_RELATIVE | CV_L2)
#define CV_RGB (   r,
  g,
 
)    cvScalar( (b), (g), (r), 0 )
#define CV_SORT_ASCENDING   0
#define CV_SORT_DESCENDING   16
#define CV_SORT_EVERY_COLUMN   1
#define CV_SORT_EVERY_ROW   0
#define CV_SVD   1
#define CV_SVD_MODIFY_A   1
#define CV_SVD_SYM   2
#define CV_SVD_U_T   2
#define CV_SVD_V_T   4
#define CV_TURN_ON_IPL_COMPATIBILITY ( )
Value:
cvSetIPLAllocators( iplCreateImageHeader, iplAllocateImage, \
iplDeallocate, iplCreateROI, iplCloneImage )
void cvSetIPLAllocators(Cv_iplCreateImageHeader create_header, Cv_iplAllocateImageData allocate_data, Cv_iplDeallocate deallocate, Cv_iplCreateROI create_roi, Cv_iplCloneImage clone_image)
#define cvAbs (   src,
  dst 
)    cvAbsDiffS( (src), (dst), cvScalarAll(0))
#define cvAXPY (   A,
  real_scalar,
  B,
 
)    cvScaleAdd(A, cvRealScalar(real_scalar), B, C)
#define cvCheckArray   cvCheckArr
#define cvConvert (   src,
  dst 
)    cvConvertScale( (src), (dst), 1, 0 )
#define cvCvtScale   cvConvertScale
#define cvCvtScaleAbs   cvConvertScaleAbs
#define cvDrawCircle   cvCircle
#define cvDrawEllipse   cvEllipse
#define cvDrawLine   cvLine
#define cvDrawPolyLine   cvPolyLine
#define cvDrawRect   cvRectangle
#define cvFFT   cvDFT
#define cvFree (   ptr)    (cvFree_(*(ptr)), *(ptr)=0)
#define cvGetGraphVtx (   graph,
  idx 
)    (CvGraphVtx*)cvGetSetElem((CvSet*)(graph), (idx))
#define cvGetSubArr   cvGetSubRect
#define cvGraphEdgeIdx (   graph,
  edge 
)    ((edge)->flags & CV_SET_ELEM_IDX_MASK)
#define cvGraphFindEdge   cvFindGraphEdge
#define cvGraphFindEdgeByPtr   cvFindGraphEdgeByPtr
#define cvGraphGetEdgeCount (   graph)    ((graph)->edges->active_count)
#define cvGraphGetVtxCount (   graph)    ((graph)->active_count)
#define cvGraphVtxIdx (   graph,
  vtx 
)    ((vtx)->flags & CV_SET_ELEM_IDX_MASK)
#define cvInv   cvInvert
#define cvMahalonobis   cvMahalanobis
#define cvMatMul (   src1,
  src2,
  dst 
)    cvMatMulAdd( (src1), (src2), NULL, (dst))
#define cvMatMulAdd (   src1,
  src2,
  src3,
  dst 
)    cvGEMM( (src1), (src2), 1., (src3), 1., (dst), 0 )
#define cvMatMulAddEx   cvGEMM
#define cvMatMulAddS   cvTransform
#define cvMirror   cvFlip
#define cvReshapeND (   arr,
  header,
  new_cn,
  new_dims,
  new_sizes 
)
Value:
cvReshapeMatND( (arr), sizeof(*(header)), (header), \
(new_cn), (new_dims), (new_sizes))
CvArr * cvReshapeMatND(const CvArr *arr, int sizeof_header, CvArr *header, int new_cn, int new_dims, int *new_sizes)
#define cvScale   cvConvertScale
#define cvT   cvTranspose
#define cvZero   cvSetZero
#define OPENCV_ASSERT (   expr,
  func,
  context 
)
Value:
{if (! (expr)) \
{OPENCV_ERROR(CV_StsInternal,(func),(context));}}
Definition: core/include/opencv2/core/types_c.h:220
#define OPENCV_ERROR(status, func, context)
Definition: core_c.h:1780
#define OPENCV_CALL (   Func)
Value:
{ \
Func; \
}
#define OPENCV_ERRCHK (   func,
  context 
)
Value:
{if (cvGetErrStatus() >= 0) \
{OPENCV_ERROR(CV_StsBackTrace,(func),(context));}}
int cvGetErrStatus(void)
Definition: core/include/opencv2/core/types_c.h:218
#define OPENCV_ERROR(status, func, context)
Definition: core_c.h:1780
#define OPENCV_ERROR (   status,
  func,
  context 
)    cvError((status),(func),(context),__FILE__,__LINE__)
#define OPENCV_RSTERR ( )    (cvSetErrStatus(CV_StsOk))

Typedef Documentation

typedef void(CV_STDCALL* Cv_iplAllocateImageData) (IplImage *, int, int)
typedef IplImage*(CV_STDCALL* Cv_iplCloneImage) (const IplImage *)
typedef IplImage* CV_STDCALL* Cv_iplCreateImageHeader(int, int, int, char *, char *, int, int, int, int, int, IplROI *, IplImage *, void *, IplTileInfo *)
typedef IplROI*(CV_STDCALL* Cv_iplCreateROI) (int, int, int, int, int)
typedef void(CV_STDCALL* Cv_iplDeallocate) (IplImage *, int)
typedef void*(CV_CDECL * CvAllocFunc) (size_t size, void *userdata)
typedef int(CV_CDECL* CvCmpFunc) (const void *a, const void *b, void *userdata)
typedef int(CV_CDECL * CvErrorCallback) (int status, const char *func_name, const char *err_msg, const char *file_name, int line, void *userdata)
typedef int(CV_CDECL * CvFreeFunc) (void *pptr, void *userdata)

Function Documentation

void cvAbsDiff ( const CvArr src1,
const CvArr src2,
CvArr dst 
)
void cvAbsDiffS ( const CvArr src,
CvArr dst,
CvScalar  value 
)
void cvAdd ( const CvArr src1,
const CvArr src2,
CvArr dst,
const CvArr *mask   CV_DEFAULTNULL 
)
void cvAddS ( const CvArr src,
CvScalar  value,
CvArr dst,
const CvArr *mask   CV_DEFAULTNULL 
)
void cvAddWeighted ( const CvArr src1,
double  alpha,
const CvArr src2,
double  beta,
double  gamma,
CvArr dst 
)
void* cvAlloc ( size_t  size)
void cvAnd ( const CvArr src1,
const CvArr src2,
CvArr dst,
const CvArr *mask   CV_DEFAULTNULL 
)
void cvAndS ( const CvArr src,
CvScalar  value,
CvArr dst,
const CvArr *mask   CV_DEFAULTNULL 
)
const char* cvAttrValue ( const CvAttrList attr,
const char *  attr_name 
)
CvScalar cvAvg ( const CvArr arr,
const CvArr *mask   CV_DEFAULTNULL 
)
void cvAvgSdv ( const CvArr arr,
CvScalar mean,
CvScalar std_dev,
const CvArr *mask   CV_DEFAULTNULL 
)
void cvBackProjectPCA ( const CvArr proj,
const CvArr mean,
const CvArr eigenvects,
CvArr result 
)
void cvCalcCovarMatrix ( const CvArr **  vects,
int  count,
CvArr cov_mat,
CvArr avg,
int  flags 
)
void cvCalcPCA ( const CvArr data,
CvArr mean,
CvArr eigenvals,
CvArr eigenvects,
int  flags 
)
void cvCartToPolar ( const CvArr x,
const CvArr y,
CvArr magnitude,
CvArr *angle   CV_DEFAULTNULL,
int angle_in_degrees   CV_DEFAULT
)
float cvCbrt ( float  value)
void cvChangeSeqBlock ( void reader,
int  direction 
)
int cvCheckArr ( const CvArr arr,
int flags   CV_DEFAULT0,
double min_val   CV_DEFAULT0,
double max_val   CV_DEFAULT
)
int cvCheckHardwareSupport ( int  feature)
CvTermCriteria cvCheckTermCriteria ( CvTermCriteria  criteria,
double  default_eps,
int  default_max_iters 
)
void cvCircle ( CvArr img,
CvPoint  center,
int  radius,
CvScalar  color,
int thickness   CV_DEFAULT1,
int line_type   CV_DEFAULT8,
int shift   CV_DEFAULT
)
void cvClearGraph ( CvGraph graph)
void cvClearMemStorage ( CvMemStorage storage)
void cvClearND ( CvArr arr,
const int idx 
)
void cvClearSeq ( CvSeq seq)
void cvClearSet ( CvSet set_header)
int cvClipLine ( CvSize  img_size,
CvPoint pt1,
CvPoint pt2 
)
void* cvClone ( const void struct_ptr)
CvGraph* cvCloneGraph ( const CvGraph graph,
CvMemStorage storage 
)
IplImage* cvCloneImage ( const IplImage image)
CvMat* cvCloneMat ( const CvMat mat)
CvMatND* cvCloneMatND ( const CvMatND mat)
CV_INLINE CvSeq* cvCloneSeq ( const CvSeq seq,
CvMemStorage *storage   CV_DEFAULTNULL 
)
CvSparseMat* cvCloneSparseMat ( const CvSparseMat mat)
void cvCmp ( const CvArr src1,
const CvArr src2,
CvArr dst,
int  cmp_op 
)
void cvCmpS ( const CvArr src,
double  value,
CvArr dst,
int  cmp_op 
)
CvScalar cvColorToScalar ( double  packed_color,
int  arrtype 
)
void cvCompleteSymm ( CvMat matrix,
int LtoR   CV_DEFAULT
)
void cvConvertScale ( const CvArr src,
CvArr dst,
double scale   CV_DEFAULT1,
double shift   CV_DEFAULT
)
void cvConvertScaleAbs ( const CvArr src,
CvArr dst,
double scale   CV_DEFAULT1,
double shift   CV_DEFAULT
)
void cvCopy ( const CvArr src,
CvArr dst,
const CvArr *mask   CV_DEFAULTNULL 
)
int cvCountNonZero ( const CvArr arr)
CvMemStorage* cvCreateChildMemStorage ( CvMemStorage parent)
void cvCreateData ( CvArr arr)
CvGraph* cvCreateGraph ( int  graph_flags,
int  header_size,
int  vtx_size,
int  edge_size,
CvMemStorage storage 
)
CvGraphScanner* cvCreateGraphScanner ( CvGraph graph,
CvGraphVtx *vtx   CV_DEFAULTNULL,
int mask   CV_DEFAULT-1 
)
IplImage* cvCreateImage ( CvSize  size,
int  depth,
int  channels 
)
IplImage* cvCreateImageHeader ( CvSize  size,
int  depth,
int  channels 
)
CvMat* cvCreateMat ( int  rows,
int  cols,
int  type 
)
CvMat* cvCreateMatHeader ( int  rows,
int  cols,
int  type 
)
CvMatND* cvCreateMatND ( int  dims,
const int sizes,
int  type 
)
CvMatND* cvCreateMatNDHeader ( int  dims,
const int sizes,
int  type 
)
CvMemStorage* cvCreateMemStorage ( int block_size   CV_DEFAULT0)
CvSeq* cvCreateSeq ( int  seq_flags,
size_t  header_size,
size_t  elem_size,
CvMemStorage storage 
)
void cvCreateSeqBlock ( CvSeqWriter writer)
CvSet* cvCreateSet ( int  set_flags,
int  header_size,
int  elem_size,
CvMemStorage storage 
)
CvSparseMat* cvCreateSparseMat ( int  dims,
const int sizes,
int  type 
)
void cvCrossProduct ( const CvArr src1,
const CvArr src2,
CvArr dst 
)
void* cvCvtSeqToArray ( const CvSeq seq,
void elements,
CvSlice slice   CV_DEFAULTCV_WHOLE_SEQ 
)
void cvDCT ( const CvArr src,
CvArr dst,
int  flags 
)
CV_INLINE void cvDecRefData ( CvArr arr)
double cvDet ( const CvArr mat)
void cvDFT ( const CvArr src,
CvArr dst,
int  flags,
int nonzero_rows   CV_DEFAULT
)
void cvDiv ( const CvArr src1,
const CvArr src2,
CvArr dst,
double scale   CV_DEFAULT
)
double cvDotProduct ( const CvArr src1,
const CvArr src2 
)
void cvDrawContours ( CvArr img,
CvSeq contour,
CvScalar  external_color,
CvScalar  hole_color,
int  max_level,
int thickness   CV_DEFAULT1,
int line_type   CV_DEFAULT8,
CvPoint offset   CV_DEFAULTcvPoint(0, 0) 
)
void cvEigenVV ( CvArr mat,
CvArr evects,
CvArr evals,
double eps   CV_DEFAULT0,
int lowindex   CV_DEFAULT-1,
int highindex   CV_DEFAULT-1 
)
void cvEllipse ( CvArr img,
CvPoint  center,
CvSize  axes,
double  angle,
double  start_angle,
double  end_angle,
CvScalar  color,
int thickness   CV_DEFAULT1,
int line_type   CV_DEFAULT8,
int shift   CV_DEFAULT
)
int cvEllipse2Poly ( CvPoint  center,
CvSize  axes,
int  angle,
int  arc_start,
int  arc_end,
CvPoint pts,
int  delta 
)
CV_INLINE void cvEllipseBox ( CvArr img,
CvBox2D  box,
CvScalar  color,
int thickness   CV_DEFAULT1,
int line_type   CV_DEFAULT8,
int shift   CV_DEFAULT
)
CvSeq* cvEndWriteSeq ( CvSeqWriter writer)
void cvEndWriteStruct ( CvFileStorage fs)
void cvError ( int  status,
const char *  func_name,
const char *  err_msg,
const char *  file_name,
int  line 
)
int cvErrorFromIppStatus ( int  ipp_status)
const char* cvErrorStr ( int  status)
void cvExp ( const CvArr src,
CvArr dst 
)
float cvFastArctan ( float  y,
float  x 
)
void cvFillConvexPoly ( CvArr img,
const CvPoint pts,
int  npts,
CvScalar  color,
int line_type   CV_DEFAULT8,
int shift   CV_DEFAULT
)
void cvFillPoly ( CvArr img,
CvPoint **  pts,
const int npts,
int  contours,
CvScalar  color,
int line_type   CV_DEFAULT8,
int shift   CV_DEFAULT
)
CvGraphEdge* cvFindGraphEdge ( const CvGraph graph,
int  start_idx,
int  end_idx 
)
CvGraphEdge* cvFindGraphEdgeByPtr ( const CvGraph graph,
const CvGraphVtx start_vtx,
const CvGraphVtx end_vtx 
)
CvTypeInfo* cvFindType ( const char *  type_name)
CvTypeInfo* cvFirstType ( void  )
void cvFlip ( const CvArr src,
CvArr *dst   CV_DEFAULTNULL,
int flip_mode   CV_DEFAULT
)
void cvFlushSeqWriter ( CvSeqWriter writer)
CV_INLINE CvFont cvFont ( double  scale,
int thickness   CV_DEFAULT
)
void cvFree_ ( void ptr)
void cvGEMM ( const CvArr src1,
const CvArr src2,
double  alpha,
const CvArr src3,
double  beta,
CvArr dst,
int tABC   CV_DEFAULT
)
CvScalar cvGet1D ( const CvArr arr,
int  idx0 
)
CvScalar cvGet2D ( const CvArr arr,
int  idx0,
int  idx1 
)
CvScalar cvGet3D ( const CvArr arr,
int  idx0,
int  idx1,
int  idx2 
)
CV_INLINE CvMat* cvGetCol ( const CvArr arr,
CvMat submat,
int  col 
)
CvMat* cvGetCols ( const CvArr arr,
CvMat submat,
int  start_col,
int  end_col 
)
CvMat* cvGetDiag ( const CvArr arr,
CvMat submat,
int diag   CV_DEFAULT
)
int cvGetDims ( const CvArr arr,
int *sizes   CV_DEFAULTNULL 
)
int cvGetDimSize ( const CvArr arr,
int  index 
)
int cvGetElemType ( const CvArr arr)
int cvGetErrInfo ( const char **  errcode_desc,
const char **  description,
const char **  filename,
int line 
)
int cvGetErrMode ( void  )
int cvGetErrStatus ( void  )
CvFileNode* cvGetFileNode ( CvFileStorage fs,
CvFileNode map,
const CvStringHashNode key,
int create_missing   CV_DEFAULT
)
CvFileNode* cvGetFileNodeByName ( const CvFileStorage fs,
const CvFileNode map,
const char *  name 
)
const char* cvGetFileNodeName ( const CvFileNode node)
CvStringHashNode* cvGetHashedKey ( CvFileStorage fs,
const char *  name,
int len   CV_DEFAULT-1,
int create_missing   CV_DEFAULT
)
IplImage* cvGetImage ( const CvArr arr,
IplImage image_header 
)
int cvGetImageCOI ( const IplImage image)
CvRect cvGetImageROI ( const IplImage image)
CvMat* cvGetMat ( const CvArr arr,
CvMat header,
int *coi   CV_DEFAULTNULL,
int allowND   CV_DEFAULT
)
void cvGetModuleInfo ( const char *  module_name,
const char **  version,
const char **  loaded_addon_plugins 
)
CvScalar cvGetND ( const CvArr arr,
const int idx 
)
CV_INLINE CvSparseNode* cvGetNextSparseNode ( CvSparseMatIterator mat_iterator)
int cvGetNumThreads ( void  )
int cvGetOptimalDFTSize ( int  size0)
void cvGetRawData ( const CvArr arr,
uchar **  data,
int *step   CV_DEFAULTNULL,
CvSize *roi_size   CV_DEFAULTNULL 
)
double cvGetReal1D ( const CvArr arr,
int  idx0 
)
double cvGetReal2D ( const CvArr arr,
int  idx0,
int  idx1 
)
double cvGetReal3D ( const CvArr arr,
int  idx0,
int  idx1,
int  idx2 
)
double cvGetRealND ( const CvArr arr,
const int idx 
)
CvFileNode* cvGetRootFileNode ( const CvFileStorage fs,
int stream_index   CV_DEFAULT
)
CV_INLINE CvMat* cvGetRow ( const CvArr arr,
CvMat submat,
int  row 
)
CvMat* cvGetRows ( const CvArr arr,
CvMat submat,
int  start_row,
int  end_row,
int delta_row   CV_DEFAULT
)
schar* cvGetSeqElem ( const CvSeq seq,
int  index 
)
int cvGetSeqReaderPos ( CvSeqReader reader)
CV_INLINE CvSetElem* cvGetSetElem ( const CvSet set_header,
int  idx 
)
CvSize cvGetSize ( const CvArr arr)
CvMat* cvGetSubRect ( const CvArr arr,
CvMat submat,
CvRect  rect 
)
void cvGetTextSize ( const char *  text_string,
const CvFont font,
CvSize text_size,
int baseline 
)
int cvGetThreadNum ( void  )
int64 cvGetTickCount ( void  )
double cvGetTickFrequency ( void  )
int cvGraphAddEdge ( CvGraph graph,
int  start_idx,
int  end_idx,
const CvGraphEdge *edge   CV_DEFAULTNULL,
CvGraphEdge **inserted_edge   CV_DEFAULTNULL 
)
int cvGraphAddEdgeByPtr ( CvGraph graph,
CvGraphVtx start_vtx,
CvGraphVtx end_vtx,
const CvGraphEdge *edge   CV_DEFAULTNULL,
CvGraphEdge **inserted_edge   CV_DEFAULTNULL 
)
int cvGraphAddVtx ( CvGraph graph,
const CvGraphVtx *vtx   CV_DEFAULTNULL,
CvGraphVtx **inserted_vtx   CV_DEFAULTNULL 
)
void cvGraphRemoveEdge ( CvGraph graph,
int  start_idx,
int  end_idx 
)
void cvGraphRemoveEdgeByPtr ( CvGraph graph,
CvGraphVtx start_vtx,
CvGraphVtx end_vtx 
)
int cvGraphRemoveVtx ( CvGraph graph,
int  index 
)
int cvGraphRemoveVtxByPtr ( CvGraph graph,
CvGraphVtx vtx 
)
int cvGraphVtxDegree ( const CvGraph graph,
int  vtx_idx 
)
int cvGraphVtxDegreeByPtr ( const CvGraph graph,
const CvGraphVtx vtx 
)
int cvGuiBoxReport ( int  status,
const char *  func_name,
const char *  err_msg,
const char *  file_name,
int  line,
void userdata 
)
CV_INLINE int cvIncRefData ( CvArr arr)
void cvInitFont ( CvFont font,
int  font_face,
double  hscale,
double  vscale,
double shear   CV_DEFAULT0,
int thickness   CV_DEFAULT1,
int line_type   CV_DEFAULT
)
IplImage* cvInitImageHeader ( IplImage image,
CvSize  size,
int  depth,
int  channels,
int origin   CV_DEFAULT0,
int align   CV_DEFAULT
)
int cvInitLineIterator ( const CvArr image,
CvPoint  pt1,
CvPoint  pt2,
CvLineIterator line_iterator,
int connectivity   CV_DEFAULT8,
int left_to_right   CV_DEFAULT
)
CvMat* cvInitMatHeader ( CvMat mat,
int  rows,
int  cols,
int  type,
void *data   CV_DEFAULTNULL,
int step   CV_DEFAULT0x7fffffff 
)
CvMatND* cvInitMatNDHeader ( CvMatND mat,
int  dims,
const int sizes,
int  type,
void *data   CV_DEFAULTNULL 
)
int cvInitNArrayIterator ( int  count,
CvArr **  arrs,
const CvArr mask,
CvMatND stubs,
CvNArrayIterator array_iterator,
int flags   CV_DEFAULT
)
CvSparseNode* cvInitSparseMatIterator ( const CvSparseMat mat,
CvSparseMatIterator mat_iterator 
)
void cvInitTreeNodeIterator ( CvTreeNodeIterator tree_iterator,
const void first,
int  max_level 
)
void cvInRange ( const CvArr src,
const CvArr lower,
const CvArr upper,
CvArr dst 
)
void cvInRangeS ( const CvArr src,
CvScalar  lower,
CvScalar  upper,
CvArr dst 
)
void cvInsertNodeIntoTree ( void node,
void parent,
void frame 
)
double cvInvert ( const CvArr src,
CvArr dst,
int method   CV_DEFAULT
)
int cvKMeans2 ( const CvArr samples,
int  cluster_count,
CvArr labels,
CvTermCriteria  termcrit,
int attempts   CV_DEFAULT1,
CvRNG *rng   CV_DEFAULT0,
int flags   CV_DEFAULT0,
CvArr *_centers   CV_DEFAULT0,
double *compactness   CV_DEFAULT
)
void cvLine ( CvArr img,
CvPoint  pt1,
CvPoint  pt2,
CvScalar  color,
int thickness   CV_DEFAULT1,
int line_type   CV_DEFAULT8,
int shift   CV_DEFAULT
)
void* cvLoad ( const char *  filename,
CvMemStorage *memstorage   CV_DEFAULTNULL,
const char *name   CV_DEFAULTNULL,
const char **real_name   CV_DEFAULTNULL 
)
void cvLog ( const CvArr src,
CvArr dst 
)
void cvLUT ( const CvArr src,
CvArr dst,
const CvArr lut 
)
double cvMahalanobis ( const CvArr vec1,
const CvArr vec2,
const CvArr mat 
)
CvSeq* cvMakeSeqHeaderForArray ( int  seq_type,
int  header_size,
int  elem_size,
void elements,
int  total,
CvSeq seq,
CvSeqBlock block 
)
void cvMax ( const CvArr src1,
const CvArr src2,
CvArr dst 
)
void cvMaxS ( const CvArr src,
double  value,
CvArr dst 
)
void* cvMemStorageAlloc ( CvMemStorage storage,
size_t  size 
)
CvString cvMemStorageAllocString ( CvMemStorage storage,
const char *  ptr,
int len   CV_DEFAULT-1 
)
void cvMerge ( const CvArr src0,
const CvArr src1,
const CvArr src2,
const CvArr src3,
CvArr dst 
)
void cvMin ( const CvArr src1,
const CvArr src2,
CvArr dst 
)
void cvMinMaxLoc ( const CvArr arr,
double *  min_val,
double *  max_val,
CvPoint *min_loc   CV_DEFAULTNULL,
CvPoint *max_loc   CV_DEFAULTNULL,
const CvArr *mask   CV_DEFAULTNULL 
)
void cvMinS ( const CvArr src,
double  value,
CvArr dst 
)
void cvMixChannels ( const CvArr **  src,
int  src_count,
CvArr **  dst,
int  dst_count,
const int from_to,
int  pair_count 
)
void cvMul ( const CvArr src1,
const CvArr src2,
CvArr dst,
double scale   CV_DEFAULT
)
void cvMulSpectrums ( const CvArr src1,
const CvArr src2,
CvArr dst,
int  flags 
)
void cvMulTransposed ( const CvArr src,
CvArr dst,
int  order,
const CvArr *delta   CV_DEFAULTNULL,
double scale   CV_DEFAULT1. 
)
int cvNextGraphItem ( CvGraphScanner scanner)
int cvNextNArraySlice ( CvNArrayIterator array_iterator)
void* cvNextTreeNode ( CvTreeNodeIterator tree_iterator)
double cvNorm ( const CvArr arr1,
const CvArr *arr2   CV_DEFAULTNULL,
int norm_type   CV_DEFAULT4,
const CvArr *mask   CV_DEFAULTNULL 
)
void cvNormalize ( const CvArr src,
CvArr dst,
double a   CV_DEFAULT1.,
double b   CV_DEFAULT0.,
int norm_type   CV_DEFAULT4,
const CvArr *mask   CV_DEFAULTNULL 
)
void cvNot ( const CvArr src,
CvArr dst 
)
int cvNulDevReport ( int  status,
const char *  func_name,
const char *  err_msg,
const char *  file_name,
int  line,
void userdata 
)
CvFileStorage* cvOpenFileStorage ( const char *  filename,
CvMemStorage memstorage,
int  flags,
const char *encoding   CV_DEFAULTNULL 
)
void cvOr ( const CvArr src1,
const CvArr src2,
CvArr dst,
const CvArr *mask   CV_DEFAULTNULL 
)
void cvOrS ( const CvArr src,
CvScalar  value,
CvArr dst,
const CvArr *mask   CV_DEFAULTNULL 
)
void cvPerspectiveTransform ( const CvArr src,
CvArr dst,
const CvMat mat 
)
void cvPolarToCart ( const CvArr magnitude,
const CvArr angle,
CvArr x,
CvArr y,
int angle_in_degrees   CV_DEFAULT
)
void cvPolyLine ( CvArr img,
CvPoint **  pts,
const int npts,
int  contours,
int  is_closed,
CvScalar  color,
int thickness   CV_DEFAULT1,
int line_type   CV_DEFAULT8,
int shift   CV_DEFAULT
)
void cvPow ( const CvArr src,
CvArr dst,
double  power 
)
void* cvPrevTreeNode ( CvTreeNodeIterator tree_iterator)
void cvProjectPCA ( const CvArr data,
const CvArr mean,
const CvArr eigenvects,
CvArr result 
)
uchar* cvPtr1D ( const CvArr arr,
int  idx0,
int *type   CV_DEFAULTNULL 
)
uchar* cvPtr2D ( const CvArr arr,
int  idx0,
int  idx1,
int *type   CV_DEFAULTNULL 
)
uchar* cvPtr3D ( const CvArr arr,
int  idx0,
int  idx1,
int  idx2,
int *type   CV_DEFAULTNULL 
)
uchar* cvPtrND ( const CvArr arr,
const int idx,
int *type   CV_DEFAULTNULL,
int create_node   CV_DEFAULT1,
unsigned *precalc_hashval   CV_DEFAULTNULL 
)
void cvPutText ( CvArr img,
const char *  text,
CvPoint  org,
const CvFont font,
CvScalar  color 
)
void cvRandArr ( CvRNG rng,
CvArr arr,
int  dist_type,
CvScalar  param1,
CvScalar  param2 
)
void cvRandShuffle ( CvArr mat,
CvRNG rng,
double iter_factor   CV_DEFAULT1. 
)
CvArr* cvRange ( CvArr mat,
double  start,
double  end 
)
void cvRawDataToScalar ( const void data,
int  type,
CvScalar scalar 
)
void* cvRead ( CvFileStorage fs,
CvFileNode node,
CvAttrList *attributes   CV_DEFAULTNULL 
)
CV_INLINE void* cvReadByName ( CvFileStorage fs,
const CvFileNode map,
const char *  name,
CvAttrList *attributes   CV_DEFAULTNULL 
)
CV_INLINE int cvReadInt ( const CvFileNode node,
int default_value   CV_DEFAULT
)
CV_INLINE int cvReadIntByName ( const CvFileStorage fs,
const CvFileNode map,
const char *  name,
int default_value   CV_DEFAULT
)
void cvReadRawData ( const CvFileStorage fs,
const CvFileNode src,
void dst,
const char *  dt 
)
void cvReadRawDataSlice ( const CvFileStorage fs,
CvSeqReader reader,
int  count,
void dst,
const char *  dt 
)
CV_INLINE double cvReadReal ( const CvFileNode node,
double default_value   CV_DEFAULT0. 
)
CV_INLINE double cvReadRealByName ( const CvFileStorage fs,
const CvFileNode map,
const char *  name,
double default_value   CV_DEFAULT0. 
)
CV_INLINE const char* cvReadString ( const CvFileNode node,
const char *default_value   CV_DEFAULTNULL 
)
CV_INLINE const char* cvReadStringByName ( const CvFileStorage fs,
const CvFileNode map,
const char *  name,
const char *default_value   CV_DEFAULTNULL 
)
void cvRectangle ( CvArr img,
CvPoint  pt1,
CvPoint  pt2,
CvScalar  color,
int thickness   CV_DEFAULT1,
int line_type   CV_DEFAULT8,
int shift   CV_DEFAULT
)
void cvRectangleR ( CvArr img,
CvRect  r,
CvScalar  color,
int thickness   CV_DEFAULT1,
int line_type   CV_DEFAULT8,
int shift   CV_DEFAULT
)
CvErrorCallback cvRedirectError ( CvErrorCallback  error_handler,
void *userdata   CV_DEFAULTNULL,
void **prev_userdata   CV_DEFAULTNULL 
)
void cvReduce ( const CvArr src,
CvArr dst,
int dim   CV_DEFAULT-1,
int op   CV_DEFAULT
)
int cvRegisterModule ( const CvModuleInfo module_info)
void cvRegisterType ( const CvTypeInfo info)
void cvRelease ( void **  struct_ptr)
void cvReleaseData ( CvArr arr)
void cvReleaseFileStorage ( CvFileStorage **  fs)
void cvReleaseGraphScanner ( CvGraphScanner **  scanner)
void cvReleaseImage ( IplImage **  image)
void cvReleaseImageHeader ( IplImage **  image)
void cvReleaseMat ( CvMat **  mat)
CV_INLINE void cvReleaseMatND ( CvMatND **  mat)
void cvReleaseMemStorage ( CvMemStorage **  storage)
void cvReleaseSparseMat ( CvSparseMat **  mat)
void cvRemoveNodeFromTree ( void node,
void frame 
)
void cvRepeat ( const CvArr src,
CvArr dst 
)
void cvResetImageROI ( IplImage image)
CvMat* cvReshape ( const CvArr arr,
CvMat header,
int  new_cn,
int new_rows   CV_DEFAULT
)
CvArr* cvReshapeMatND ( const CvArr arr,
int  sizeof_header,
CvArr header,
int  new_cn,
int  new_dims,
int new_sizes 
)
void cvRestoreMemStoragePos ( CvMemStorage storage,
CvMemStoragePos pos 
)
void cvSave ( const char *  filename,
const void struct_ptr,
const char *name   CV_DEFAULTNULL,
const char *comment   CV_DEFAULTNULL,
CvAttrList attributes   CV_DEFAULTcvAttrList() 
)
void cvSaveMemStoragePos ( const CvMemStorage storage,
CvMemStoragePos pos 
)
void cvScalarToRawData ( const CvScalar scalar,
void data,
int  type,
int extend_to_12   CV_DEFAULT
)
void cvScaleAdd ( const CvArr src1,
CvScalar  scale,
const CvArr src2,
CvArr dst 
)
int cvSeqElemIdx ( const CvSeq seq,
const void element,
CvSeqBlock **block   CV_DEFAULTNULL 
)
schar* cvSeqInsert ( CvSeq seq,
int  before_index,
const void *element   CV_DEFAULTNULL 
)
void cvSeqInsertSlice ( CvSeq seq,
int  before_index,
const CvArr from_arr 
)
void cvSeqInvert ( CvSeq seq)
int cvSeqPartition ( const CvSeq seq,
CvMemStorage storage,
CvSeq **  labels,
CvCmpFunc  is_equal,
void userdata 
)
void cvSeqPop ( CvSeq seq,
void *element   CV_DEFAULTNULL 
)
void cvSeqPopFront ( CvSeq seq,
void *element   CV_DEFAULTNULL 
)
void cvSeqPopMulti ( CvSeq seq,
void elements,
int  count,
int in_front   CV_DEFAULT
)
schar* cvSeqPush ( CvSeq seq,
const void *element   CV_DEFAULTNULL 
)
schar* cvSeqPushFront ( CvSeq seq,
const void *element   CV_DEFAULTNULL 
)
void cvSeqPushMulti ( CvSeq seq,
const void elements,
int  count,
int in_front   CV_DEFAULT
)
void cvSeqRemove ( CvSeq seq,
int  index 
)
void cvSeqRemoveSlice ( CvSeq seq,
CvSlice  slice 
)
schar* cvSeqSearch ( CvSeq seq,
const void elem,
CvCmpFunc  func,
int  is_sorted,
int elem_idx,
void *userdata   CV_DEFAULTNULL 
)
CvSeq* cvSeqSlice ( const CvSeq seq,
CvSlice  slice,
CvMemStorage *storage   CV_DEFAULTNULL,
int copy_data   CV_DEFAULT
)
void cvSeqSort ( CvSeq seq,
CvCmpFunc  func,
void *userdata   CV_DEFAULTNULL 
)
void cvSet ( CvArr arr,
CvScalar  value,
const CvArr *mask   CV_DEFAULTNULL 
)
void cvSet1D ( CvArr arr,
int  idx0,
CvScalar  value 
)
void cvSet2D ( CvArr arr,
int  idx0,
int  idx1,
CvScalar  value 
)
void cvSet3D ( CvArr arr,
int  idx0,
int  idx1,
int  idx2,
CvScalar  value 
)
int cvSetAdd ( CvSet set_header,
CvSetElem *elem   CV_DEFAULTNULL,
CvSetElem **inserted_elem   CV_DEFAULTNULL 
)
void cvSetData ( CvArr arr,
void data,
int  step 
)
int cvSetErrMode ( int  mode)
void cvSetErrStatus ( int  status)
void cvSetIdentity ( CvArr mat,
CvScalar value   CV_DEFAULTcvRealScalar(1) 
)
  • Finds selected eigen values and vectors of a symmetric matrix */
void cvSetImageCOI ( IplImage image,
int  coi 
)
void cvSetImageROI ( IplImage image,
CvRect  rect 
)
void cvSetIPLAllocators ( Cv_iplCreateImageHeader  create_header,
Cv_iplAllocateImageData  allocate_data,
Cv_iplDeallocate  deallocate,
Cv_iplCreateROI  create_roi,
Cv_iplCloneImage  clone_image 
)
void cvSetMemoryManager ( CvAllocFunc alloc_func   CV_DEFAULTNULL,
CvFreeFunc free_func   CV_DEFAULTNULL,
void *userdata   CV_DEFAULTNULL 
)
void cvSetND ( CvArr arr,
const int idx,
CvScalar  value 
)
CV_INLINE CvSetElem* cvSetNew ( CvSet set_header)
void cvSetNumThreads ( int threads   CV_DEFAULT0)
void cvSetReal1D ( CvArr arr,
int  idx0,
double  value 
)
void cvSetReal2D ( CvArr arr,
int  idx0,
int  idx1,
double  value 
)
void cvSetReal3D ( CvArr arr,
int  idx0,
int  idx1,
int  idx2,
double  value 
)
void cvSetRealND ( CvArr arr,
const int idx,
double  value 
)
void cvSetRemove ( CvSet set_header,
int  index 
)
CV_INLINE void cvSetRemoveByPtr ( CvSet set_header,
void elem 
)
void cvSetSeqBlockSize ( CvSeq seq,
int  delta_elems 
)
void cvSetSeqReaderPos ( CvSeqReader reader,
int  index,
int is_relative   CV_DEFAULT
)
void cvSetZero ( CvArr arr)
int cvSliceLength ( CvSlice  slice,
const CvSeq seq 
)
int cvSolve ( const CvArr src1,
const CvArr src2,
CvArr dst,
int method   CV_DEFAULT
)
int cvSolveCubic ( const CvMat coeffs,
CvMat roots 
)
void cvSolvePoly ( const CvMat coeffs,
CvMat roots2,
int maxiter   CV_DEFAULT20,
int fig   CV_DEFAULT100 
)
void cvSort ( const CvArr src,
CvArr *dst   CV_DEFAULTNULL,
CvArr *idxmat   CV_DEFAULTNULL,
int flags   CV_DEFAULT
)
void cvSplit ( const CvArr src,
CvArr dst0,
CvArr dst1,
CvArr dst2,
CvArr dst3 
)
void cvStartAppendToSeq ( CvSeq seq,
CvSeqWriter writer 
)
void cvStartNextStream ( CvFileStorage fs)
void cvStartReadRawData ( const CvFileStorage fs,
const CvFileNode src,
CvSeqReader reader 
)
void cvStartReadSeq ( const CvSeq seq,
CvSeqReader reader,
int reverse   CV_DEFAULT
)
void cvStartWriteSeq ( int  seq_flags,
int  header_size,
int  elem_size,
CvMemStorage storage,
CvSeqWriter writer 
)
void cvStartWriteStruct ( CvFileStorage fs,
const char *  name,
int  struct_flags,
const char *type_name   CV_DEFAULTNULL,
CvAttrList attributes   CV_DEFAULTcvAttrList() 
)
int cvStdErrReport ( int  status,
const char *  func_name,
const char *  err_msg,
const char *  file_name,
int  line,
void userdata 
)
void cvSub ( const CvArr src1,
const CvArr src2,
CvArr dst,
const CvArr *mask   CV_DEFAULTNULL 
)
void cvSubRS ( const CvArr src,
CvScalar  value,
CvArr dst,
const CvArr *mask   CV_DEFAULTNULL 
)
CV_INLINE void cvSubS ( const CvArr src,
CvScalar  value,
CvArr dst,
const CvArr *mask   CV_DEFAULTNULL 
)
CvScalar cvSum ( const CvArr arr)
void cvSVBkSb ( const CvArr W,
const CvArr U,
const CvArr V,
const CvArr B,
CvArr X,
int  flags 
)
void cvSVD ( CvArr A,
CvArr W,
CvArr *U   CV_DEFAULTNULL,
CvArr *V   CV_DEFAULTNULL,
int flags   CV_DEFAULT
)
CvScalar cvTrace ( const CvArr mat)
void cvTransform ( const CvArr src,
CvArr dst,
const CvMat transmat,
const CvMat *shiftvec   CV_DEFAULTNULL 
)
void cvTranspose ( const CvArr src,
CvArr dst 
)
CvSeq* cvTreeToNodeSeq ( const void first,
int  header_size,
CvMemStorage storage 
)
CvTypeInfo* cvTypeOf ( const void struct_ptr)
void cvUnregisterType ( const char *  type_name)
int cvUseOptimized ( int  on_off)
void cvWrite ( CvFileStorage fs,
const char *  name,
const void ptr,
CvAttrList attributes   CV_DEFAULTcvAttrList() 
)
void cvWriteComment ( CvFileStorage fs,
const char *  comment,
int  eol_comment 
)
void cvWriteFileNode ( CvFileStorage fs,
const char *  new_node_name,
const CvFileNode node,
int  embed 
)
void cvWriteInt ( CvFileStorage fs,
const char *  name,
int  value 
)
void cvWriteRawData ( CvFileStorage fs,
const void src,
int  len,
const char *  dt 
)
void cvWriteReal ( CvFileStorage fs,
const char *  name,
double  value 
)
void cvWriteString ( CvFileStorage fs,
const char *  name,
const char *  str,
int quote   CV_DEFAULT
)
void cvXor ( const CvArr src1,
const CvArr src2,
CvArr dst,
const CvArr *mask   CV_DEFAULTNULL 
)
void cvXorS ( const CvArr src,
CvScalar  value,
CvArr dst,
const CvArr *mask   CV_DEFAULTNULL 
)