OpenCV  3.4.8
Open Source Computer Vision
Classes | Namespaces | Macros | Typedefs | Functions
core_c.h File Reference
#include "opencv2/core/types_c.h"
#include "opencv2/core/utility.hpp"

Classes

struct  CvGraphScanner
 
struct  CvNArrayIterator
 
struct  CvTreeNodeIterator
 
struct  CvType
 class for automatic module/RTTI data registration/unregistration More...
 
class  cv::Seq< _Tp >
 
class  cv::SeqIterator< _Tp >
 
class  cv::SeqIterator< _Tp >
 

Namespaces

 cv
 

Macros

#define CV_ASSERT(Condition)
 
#define CV_AUTOSTEP   0x7fffffff
 
#define CV_BACK   0
 
#define CV_CALL(Func)
 
#define CV_CHECK()
 
#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_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)
 
#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_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_LU   0
 
#define CV_MAX_ARR   10
 
#define CV_NO_CN_CHECK   2
 
#define CV_NO_DEPTH_CHECK   1
 
#define CV_NO_SIZE_CHECK   4
 
#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_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()
 
#define cvAbs(src, dst)   cvAbsDiffS( (src), (dst), cvScalarAll(0))
 
#define cvAXPY(A, real_scalar, B, C)   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 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)
 
#define cvScale   cvConvertScale
 
#define cvT   cvTranspose
 
#define cvZero   cvSetZero
 
#define OPENCV_ASSERT(expr, func, context)
 
#define OPENCV_CALL(Func)
 
#define OPENCV_ERROR(status, func, context)   cvError((status),(func),(context),__FILE__,__LINE__)
 
Flags for cvCalcCovarMatrix
#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
 
Flags for cvNorm and cvNormalize

#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)
 
Flags for cvReduce

#define CV_REDUCE_SUM   0
 
#define CV_REDUCE_AVG   1
 
#define CV_REDUCE_MAX   2
 
#define CV_REDUCE_MIN   3
 
Flags for cvDFT, cvDCT and cvMulSpectrums

#define CV_DXT_FORWARD   0
 
#define CV_DXT_INVERSE   1
 
#define CV_DXT_SCALE   2
 
#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
 
#define CV_DXT_MUL_CONJ   8
 

Typedefs

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 int(* CvCmpFunc) (const void *a, const void *b, void *userdata)
 
typedef int(* CvErrorCallback) (int status, const char *func_name, const char *err_msg, const char *file_name, int line, void *userdata)
 
typedef Ptr< CvMemStorage > cv::MemStorage
 

Functions

void cv::clearSeq (CvSeq *seq)
 
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=NULL)
 
void cvAddS (const CvArr *src, CvScalar value, CvArr *dst, const CvArr *mask=NULL)
 
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=NULL)
 
void cvAndS (const CvArr *src, CvScalar value, CvArr *dst, const CvArr *mask=NULL)
 
Mat cv::cvarrToMat (const CvArr *arr, bool copyData=false, bool allowND=true, int coiMode=0, AutoBuffer< double > *buf=0)
 converts array (CvMat or IplImage) to cv::Mat More...
 
static Mat cv::cvarrToMatND (const CvArr *arr, bool copyData=false, int coiMode=0)
 
const char * cvAttrValue (const CvAttrList *attr, const char *attr_name)
 
CvScalar cvAvg (const CvArr *arr, const CvArr *mask=NULL)
 
void cvAvgSdv (const CvArr *arr, CvScalar *mean, CvScalar *std_dev, const CvArr *mask=NULL)
 
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=NULL, int angle_in_degrees=0)
 
float cvCbrt (float value)
 
void cvChangeSeqBlock (void *reader, int direction)
 
int cvCheckArr (const CvArr *arr, int flags=0, double min_val=0, double max_val=0)
 
int cvCheckHardwareSupport (int feature)
 
CvTermCriteria cvCheckTermCriteria (CvTermCriteria criteria, double default_eps, int default_max_iters)
 
void cvClearGraph (CvGraph *graph)
 
void cvClearMemStorage (CvMemStorage *storage)
 
void cvClearND (CvArr *arr, const int *idx)
 
void cvClearSeq (CvSeq *seq)
 
void cvClearSet (CvSet *set_header)
 
void * cvClone (const void *struct_ptr)
 Makes a clone of an object. More...
 
CvGraph * cvCloneGraph (const CvGraph *graph, CvMemStorage *storage)
 
IplImage * cvCloneImage (const IplImage *image)
 
CvMat * cvCloneMat (const CvMat *mat)
 
CvMatND * cvCloneMatND (const CvMatND *mat)
 
CvSeq * cvCloneSeq (const CvSeq *seq, CvMemStorage *storage=NULL)
 
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)
 
void cvCompleteSymm (CvMat *matrix, int LtoR=0)
 
void cvConvertScale (const CvArr *src, CvArr *dst, double scale=1, double shift=0)
 Converts one array to another with optional linear transformation. More...
 
void cvConvertScaleAbs (const CvArr *src, CvArr *dst, double scale=1, double shift=0)
 
void cvCopy (const CvArr *src, CvArr *dst, const CvArr *mask=NULL)
 Copies one array to another. More...
 
int cvCountNonZero (const CvArr *arr)
 
CvMemStorage * cvCreateChildMemStorage (CvMemStorage *parent)
 
void cvCreateData (CvArr *arr)
 Allocates array data. More...
 
CvGraph * cvCreateGraph (int graph_flags, int header_size, int vtx_size, int edge_size, CvMemStorage *storage)
 
CvGraphScanner * cvCreateGraphScanner (CvGraph *graph, CvGraphVtx *vtx=NULL, int mask=-1)
 
IplImage * cvCreateImage (CvSize size, int depth, int channels)
 Creates an image header and allocates the image data. More...
 
IplImage * cvCreateImageHeader (CvSize size, int depth, int channels)
 Creates an image header but does not allocate the image data. More...
 
CvMat * cvCreateMat (int rows, int cols, int type)
 Creates a matrix header and allocates the matrix data. More...
 
CvMat * cvCreateMatHeader (int rows, int cols, int type)
 Creates a matrix header but does not allocate the matrix data. More...
 
CvMatND * cvCreateMatND (int dims, const int *sizes, int type)
 Creates the header and allocates the data for a multi-dimensional dense array. More...
 
CvMatND * cvCreateMatNDHeader (int dims, const int *sizes, int type)
 Creates a new matrix header but does not allocate the matrix data. More...
 
CvMemStorage * cvCreateMemStorage (int block_size=0)
 
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)
 Creates sparse array. More...
 
void cvCrossProduct (const CvArr *src1, const CvArr *src2, CvArr *dst)
 Calculates the cross product of two 3D vectors. More...
 
void * cvCvtSeqToArray (const CvSeq *seq, void *elements, CvSlice slice=CV_WHOLE_SEQ)
 
void cvDCT (const CvArr *src, CvArr *dst, int flags)
 
void cvDecRefData (CvArr *arr)
 Decrements an array data reference counter. More...
 
double cvDet (const CvArr *mat)
 
void cvDFT (const CvArr *src, CvArr *dst, int flags, int nonzero_rows=0)
 
void cvDiv (const CvArr *src1, const CvArr *src2, CvArr *dst, double scale=1)
 
double cvDotProduct (const CvArr *src1, const CvArr *src2)
 Calculates the dot product of two arrays in Euclidean metrics. More...
 
void cvEigenVV (CvArr *mat, CvArr *evects, CvArr *evals, double eps=0, int lowindex=-1, int highindex=-1)
 
CvSeq * cvEndWriteSeq (CvSeqWriter *writer)
 
void cvEndWriteStruct (CvFileStorage *fs)
 Finishes writing to a file node collection. More...
 
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)
 
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)
 Finds a type by its name. More...
 
CvTypeInfo * cvFirstType (void)
 Returns the beginning of a type list. More...
 
void cvFlip (const CvArr *src, CvArr *dst=NULL, int flip_mode=0)
 
void cvFlushSeqWriter (CvSeqWriter *writer)
 
void cvFree_ (void *ptr)
 
void cvGEMM (const CvArr *src1, const CvArr *src2, double alpha, const CvArr *src3, double beta, CvArr *dst, int tABC=0)
 
CvScalar cvGet1D (const CvArr *arr, int idx0)
 Return a specific array element. More...
 
CvScalar cvGet2D (const CvArr *arr, int idx0, int idx1)
 
CvScalar cvGet3D (const CvArr *arr, int idx0, int idx1, int idx2)
 
CvMat * cvGetCol (const CvArr *arr, CvMat *submat, int col)
 
CvMat * cvGetCols (const CvArr *arr, CvMat *submat, int start_col, int end_col)
 Returns one of more array columns. More...
 
CvMat * cvGetDiag (const CvArr *arr, CvMat *submat, int diag=0)
 Returns one of array diagonals. More...
 
int cvGetDims (const CvArr *arr, int *sizes=NULL)
 Return number of array dimensions. More...
 
int cvGetDimSize (const CvArr *arr, int index)
 Returns array size along the specified dimension. More...
 
int cvGetElemType (const CvArr *arr)
 Returns type of array elements. More...
 
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=0)
 Finds a node in a map or file storage. More...
 
CvFileNode * cvGetFileNodeByName (const CvFileStorage *fs, const CvFileNode *map, const char *name)
 Finds a node in a map or file storage. More...
 
const char * cvGetFileNodeName (const CvFileNode *node)
 Returns the name of a file node. More...
 
CvStringHashNode * cvGetHashedKey (CvFileStorage *fs, const char *name, int len=-1, int create_missing=0)
 Returns a unique pointer for a given name. More...
 
IplImage * cvGetImage (const CvArr *arr, IplImage *image_header)
 Returns image header for arbitrary array. More...
 
int cvGetImageCOI (const IplImage *image)
 Returns the index of the channel of interest. More...
 
CvRect cvGetImageROI (const IplImage *image)
 Returns the image ROI. More...
 
CvMat * cvGetMat (const CvArr *arr, CvMat *header, int *coi=NULL, int allowND=0)
 Returns matrix header for arbitrary array. More...
 
CvScalar cvGetND (const CvArr *arr, const int *idx)
 
CvSparseNode * cvGetNextSparseNode (CvSparseMatIterator *mat_iterator)
 Returns the next sparse matrix element. More...
 
int cvGetNumThreads (void)
 
int cvGetOptimalDFTSize (int size0)
 
void cvGetRawData (const CvArr *arr, uchar **data, int *step=NULL, CvSize *roi_size=NULL)
 Retrieves low-level information about the array. More...
 
double cvGetReal1D (const CvArr *arr, int idx0)
 Return a specific element of single-channel 1D, 2D, 3D or nD array. More...
 
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=0)
 Retrieves one of the top-level nodes of the file storage. More...
 
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=1)
 Returns array row or row span. More...
 
schar * cvGetSeqElem (const CvSeq *seq, int index)
 
int cvGetSeqReaderPos (CvSeqReader *reader)
 
CvSetElem * cvGetSetElem (const CvSet *set_header, int idx)
 
CvSize cvGetSize (const CvArr *arr)
 Returns size of matrix or image ROI. More...
 
CvMat * cvGetSubRect (const CvArr *arr, CvMat *submat, CvRect rect)
 Returns matrix header corresponding to the rectangular sub-array of input image or matrix. More...
 
int cvGetThreadNum (void)
 
int64 cvGetTickCount (void)
 
double cvGetTickFrequency (void)
 
int cvGraphAddEdge (CvGraph *graph, int start_idx, int end_idx, const CvGraphEdge *edge=NULL, CvGraphEdge **inserted_edge=NULL)
 
int cvGraphAddEdgeByPtr (CvGraph *graph, CvGraphVtx *start_vtx, CvGraphVtx *end_vtx, const CvGraphEdge *edge=NULL, CvGraphEdge **inserted_edge=NULL)
 
int cvGraphAddVtx (CvGraph *graph, const CvGraphVtx *vtx=NULL, CvGraphVtx **inserted_vtx=NULL)
 
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)
 
int cvIncRefData (CvArr *arr)
 Increments array data reference counter. More...
 
IplImage * cvInitImageHeader (IplImage *image, CvSize size, int depth, int channels, int origin=0, int align=4)
 Initializes an image header that was previously allocated. More...
 
CvMat * cvInitMatHeader (CvMat *mat, int rows, int cols, int type, void *data=NULL, int step=0x7fffffff)
 Initializes a pre-allocated matrix header. More...
 
CvMatND * cvInitMatNDHeader (CvMatND *mat, int dims, const int *sizes, int type, void *data=NULL)
 Initializes a pre-allocated multi-dimensional array header. More...
 
int cvInitNArrayIterator (int count, CvArr **arrs, const CvArr *mask, CvMatND *stubs, CvNArrayIterator *array_iterator, int flags=0)
 
CvSparseNode * cvInitSparseMatIterator (const CvSparseMat *mat, CvSparseMatIterator *mat_iterator)
 Initializes sparse array elements iterator. More...
 
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=0)
 
int cvKMeans2 (const CvArr *samples, int cluster_count, CvArr *labels, CvTermCriteria termcrit, int attempts=1, CvRNG *rng=0, int flags=0, CvArr *_centers=0, double *compactness=0)
 
void * cvLoad (const char *filename, CvMemStorage *memstorage=NULL, const char *name=NULL, const char **real_name=NULL)
 Loads an object from a file. More...
 
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=-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=NULL, CvPoint *max_loc=NULL, const CvArr *mask=NULL)
 
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=1)
 
void cvMulSpectrums (const CvArr *src1, const CvArr *src2, CvArr *dst, int flags)
 
void cvMulTransposed (const CvArr *src, CvArr *dst, int order, const CvArr *delta=NULL, double scale=1.)
 
int cvNextGraphItem (CvGraphScanner *scanner)
 
int cvNextNArraySlice (CvNArrayIterator *array_iterator)
 
void * cvNextTreeNode (CvTreeNodeIterator *tree_iterator)
 
double cvNorm (const CvArr *arr1, const CvArr *arr2=NULL, int norm_type=4, const CvArr *mask=NULL)
 
void cvNormalize (const CvArr *src, CvArr *dst, double a=1., double b=0., int norm_type=4, const CvArr *mask=NULL)
 
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=NULL)
 Opens file storage for reading or writing data. More...
 
void cvOr (const CvArr *src1, const CvArr *src2, CvArr *dst, const CvArr *mask=NULL)
 
void cvOrS (const CvArr *src, CvScalar value, CvArr *dst, const CvArr *mask=NULL)
 
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=0)
 
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=NULL)
 Return pointer to a particular array element. More...
 
uchar * cvPtr2D (const CvArr *arr, int idx0, int idx1, int *type=NULL)
 
uchar * cvPtr3D (const CvArr *arr, int idx0, int idx1, int idx2, int *type=NULL)
 
uchar * cvPtrND (const CvArr *arr, const int *idx, int *type=NULL, int create_node=1, unsigned *precalc_hashval=NULL)
 
void cvRandArr (CvRNG *rng, CvArr *arr, int dist_type, CvScalar param1, CvScalar param2)
 Fills an array with random numbers and updates the RNG state. More...
 
void cvRandShuffle (CvArr *mat, CvRNG *rng, double iter_factor=1.)
 
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=NULL)
 Decodes an object and returns a pointer to it. More...
 
void * cvReadByName (CvFileStorage *fs, const CvFileNode *map, const char *name, CvAttrList *attributes=NULL)
 Finds an object by name and decodes it. More...
 
int cvReadInt (const CvFileNode *node, int default_value=0)
 Retrieves an integer value from a file node. More...
 
int cvReadIntByName (const CvFileStorage *fs, const CvFileNode *map, const char *name, int default_value=0)
 Finds a file node and returns its value. More...
 
void cvReadRawData (const CvFileStorage *fs, const CvFileNode *src, void *dst, const char *dt)
 Reads multiple numbers. More...
 
void cvReadRawDataSlice (const CvFileStorage *fs, CvSeqReader *reader, int count, void *dst, const char *dt)
 Initializes file node sequence reader. More...
 
double cvReadReal (const CvFileNode *node, double default_value=0.)
 Retrieves a floating-point value from a file node. More...
 
double cvReadRealByName (const CvFileStorage *fs, const CvFileNode *map, const char *name, double default_value=0.)
 Finds a file node and returns its value. More...
 
const char * cvReadString (const CvFileNode *node, const char *default_value=NULL)
 Retrieves a text string from a file node. More...
 
const char * cvReadStringByName (const CvFileStorage *fs, const CvFileNode *map, const char *name, const char *default_value=NULL)
 Finds a file node by its name and returns its value. More...
 
CvErrorCallback cvRedirectError (CvErrorCallback error_handler, void *userdata=NULL, void **prev_userdata=NULL)
 
void cvReduce (const CvArr *src, CvArr *dst, int dim=-1, int op=0)
 
void cvRegisterType (const CvTypeInfo *info)
 Registers a new type. More...
 
void cvRelease (void **struct_ptr)
 Releases an object. More...
 
void cvReleaseData (CvArr *arr)
 Releases array data. More...
 
void cvReleaseFileStorage (CvFileStorage **fs)
 Releases file storage. More...
 
void cvReleaseGraphScanner (CvGraphScanner **scanner)
 
void cvReleaseImage (IplImage **image)
 Deallocates the image header and the image data. More...
 
void cvReleaseImageHeader (IplImage **image)
 Deallocates an image header. More...
 
void cvReleaseMat (CvMat **mat)
 Deallocates a matrix. More...
 
void cvReleaseMatND (CvMatND **mat)
 Deallocates a multi-dimensional array. More...
 
void cvReleaseMemStorage (CvMemStorage **storage)
 
void cvReleaseSparseMat (CvSparseMat **mat)
 Deallocates sparse array. More...
 
void cvRemoveNodeFromTree (void *node, void *frame)
 
void cvRepeat (const CvArr *src, CvArr *dst)
 
void cvResetImageROI (IplImage *image)
 Resets the image ROI to include the entire image and releases the ROI structure. More...
 
CvMat * cvReshape (const CvArr *arr, CvMat *header, int new_cn, int new_rows=0)
 Changes shape of matrix/image without copying data. More...
 
CvArr * cvReshapeMatND (const CvArr *arr, int sizeof_header, CvArr *header, int new_cn, int new_dims, int *new_sizes)
 Changes the shape of a multi-dimensional array without copying the data. More...
 
void cvRestoreMemStoragePos (CvMemStorage *storage, CvMemStoragePos *pos)
 
void cvSave (const char *filename, const void *struct_ptr, const char *name=NULL, const char *comment=NULL, CvAttrList attributes=cvAttrList())
 Saves an object to a file. More...
 
void cvSaveMemStoragePos (const CvMemStorage *storage, CvMemStoragePos *pos)
 
void cvScalarToRawData (const CvScalar *scalar, void *data, int type, int extend_to_12=0)
 
void cvScaleAdd (const CvArr *src1, CvScalar scale, const CvArr *src2, CvArr *dst)
 
int cvSeqElemIdx (const CvSeq *seq, const void *element, CvSeqBlock **block=NULL)
 
schar * cvSeqInsert (CvSeq *seq, int before_index, const void *element=NULL)
 
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=NULL)
 
void cvSeqPopFront (CvSeq *seq, void *element=NULL)
 
void cvSeqPopMulti (CvSeq *seq, void *elements, int count, int in_front=0)
 
schar * cvSeqPush (CvSeq *seq, const void *element=NULL)
 
schar * cvSeqPushFront (CvSeq *seq, const void *element=NULL)
 
void cvSeqPushMulti (CvSeq *seq, const void *elements, int count, int in_front=0)
 
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=NULL)
 
CvSeq * cvSeqSlice (const CvSeq *seq, CvSlice slice, CvMemStorage *storage=NULL, int copy_data=0)
 
void cvSeqSort (CvSeq *seq, CvCmpFunc func, void *userdata=NULL)
 
void cvSet (CvArr *arr, CvScalar value, const CvArr *mask=NULL)
 Sets every element of an array to a given value. More...
 
void cvSet1D (CvArr *arr, int idx0, CvScalar value)
 Change the particular array element. More...
 
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=NULL, CvSetElem **inserted_elem=NULL)
 
void cvSetData (CvArr *arr, void *data, int step)
 Assigns user data to the array header. More...
 
int cvSetErrMode (int mode)
 
void cvSetErrStatus (int status)
 
void cvSetIdentity (CvArr *mat, CvScalar value=cvRealScalar(1))
 
void cvSetImageCOI (IplImage *image, int coi)
 Sets the channel of interest in an IplImage. More...
 
void cvSetImageROI (IplImage *image, CvRect rect)
 Sets an image Region Of Interest (ROI) for a given rectangle. More...
 
void cvSetIPLAllocators (Cv_iplCreateImageHeader create_header, Cv_iplAllocateImageData allocate_data, Cv_iplDeallocate deallocate, Cv_iplCreateROI create_roi, Cv_iplCloneImage clone_image)
 Makes OpenCV use IPL functions for allocating IplImage and IplROI structures. More...
 
void cvSetND (CvArr *arr, const int *idx, CvScalar value)
 
CvSetElem * cvSetNew (CvSet *set_header)
 
void cvSetNumThreads (int threads=0)
 
void cvSetReal1D (CvArr *arr, int idx0, double value)
 Change a specific array element. More...
 
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)
 
void cvSetRemoveByPtr (CvSet *set_header, void *elem)
 
void cvSetSeqBlockSize (CvSeq *seq, int delta_elems)
 
void cvSetSeqReaderPos (CvSeqReader *reader, int index, int is_relative=0)
 
void cvSetZero (CvArr *arr)
 Clears the array. More...
 
int cvSliceLength (CvSlice slice, const CvSeq *seq)
 
int cvSolve (const CvArr *src1, const CvArr *src2, CvArr *dst, int method=0)
 
int cvSolveCubic (const CvMat *coeffs, CvMat *roots)
 
void cvSolvePoly (const CvMat *coeffs, CvMat *roots2, int maxiter=20, int fig=100)
 
void cvSort (const CvArr *src, CvArr *dst=NULL, CvArr *idxmat=NULL, int flags=0)
 
void cvSplit (const CvArr *src, CvArr *dst0, CvArr *dst1, CvArr *dst2, CvArr *dst3)
 
void cvStartAppendToSeq (CvSeq *seq, CvSeqWriter *writer)
 
void cvStartNextStream (CvFileStorage *fs)
 Starts the next stream. More...
 
void cvStartReadRawData (const CvFileStorage *fs, const CvFileNode *src, CvSeqReader *reader)
 Initializes the file node sequence reader. More...
 
void cvStartReadSeq (const CvSeq *seq, CvSeqReader *reader, int reverse=0)
 
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=NULL, CvAttrList attributes=cvAttrList())
 Starts writing a new structure. More...
 
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=NULL)
 
void cvSubRS (const CvArr *src, CvScalar value, CvArr *dst, const CvArr *mask=NULL)
 
void cvSubS (const CvArr *src, CvScalar value, CvArr *dst, const CvArr *mask=NULL)
 
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=NULL, CvArr *V=NULL, int flags=0)
 
CvScalar cvTrace (const CvArr *mat)
 
void cvTransform (const CvArr *src, CvArr *dst, const CvMat *transmat, const CvMat *shiftvec=NULL)
 
void cvTranspose (const CvArr *src, CvArr *dst)
 
CvSeq * cvTreeToNodeSeq (const void *first, int header_size, CvMemStorage *storage)
 
CvTypeInfo * cvTypeOf (const void *struct_ptr)
 Returns the type of an object. More...
 
void cvUnregisterType (const char *type_name)
 Unregisters the type. More...
 
int cvUseOptimized (int on_off)
 
void cvWrite (CvFileStorage *fs, const char *name, const void *ptr, CvAttrList attributes=cvAttrList())
 Writes an object to file storage. More...
 
void cvWriteComment (CvFileStorage *fs, const char *comment, int eol_comment)
 Writes a comment. More...
 
void cvWriteFileNode (CvFileStorage *fs, const char *new_node_name, const CvFileNode *node, int embed)
 Writes a file node to another file storage. More...
 
void cvWriteInt (CvFileStorage *fs, const char *name, int value)
 Writes an integer value. More...
 
void cvWriteRawData (CvFileStorage *fs, const void *src, int len, const char *dt)
 Writes multiple numbers. More...
 
void cvWriteRawDataBase64 (CvFileStorage *fs, const void *src, int len, const char *dt)
 Writes multiple numbers in Base64. More...
 
void cvWriteReal (CvFileStorage *fs, const char *name, double value)
 Writes a floating-point value. More...
 
void cvWriteString (CvFileStorage *fs, const char *name, const char *str, int quote=0)
 Writes a text string. More...
 
void cvXor (const CvArr *src1, const CvArr *src2, CvArr *dst, const CvArr *mask=NULL)
 
void cvXorS (const CvArr *src, CvScalar value, CvArr *dst, const CvArr *mask=NULL)
 
void cv::extractImageCOI (const CvArr *arr, OutputArray coiimg, int coi=-1)
 extracts Channel of Interest from CvMat or IplImage and makes cv::Mat out of it. More...
 
schar * cv::getSeqElem (const CvSeq *seq, int index)
 
void cv::insertImageCOI (InputArray coiimg, CvArr *arr, int coi=-1)
 inserts single-channel cv::Mat into a multi-channel CvMat or IplImage More...
 
template<typename _Tp >
bool cv::operator!= (const SeqIterator< _Tp > &a, const SeqIterator< _Tp > &b)
 
template<typename _Tp >
ptrdiff_t cv::operator- (const SeqIterator< _Tp > &a, const SeqIterator< _Tp > &b)
 
template<typename _Tp >
bool cv::operator== (const SeqIterator< _Tp > &a, const SeqIterator< _Tp > &b)
 
void cv::seqInsertSlice (CvSeq *seq, int before_index, const CvArr *from_arr)
 
void cv::seqPop (CvSeq *seq, void *element=0)
 
void cv::seqPopFront (CvSeq *seq, void *element=0)
 
void cv::seqPopMulti (CvSeq *seq, void *elements, int count, int in_front=0)
 
schar * cv::seqPush (CvSeq *seq, const void *element=0)
 
schar * cv::seqPushFront (CvSeq *seq, const void *element=0)
 
void cv::seqRemove (CvSeq *seq, int index)
 
void cv::seqRemoveSlice (CvSeq *seq, CvSlice slice)