1、cvLoadImage:将图像文件加载至内存;
2、cvNamedWindow:在屏幕上创建一个窗口;
3、cvShowImage:在一个已创建好的窗口中显示图像;
4、cvWaitKey:使程序暂停,等待用户触发一个按键操作;
5、cvReleaseImage:释放图像文件所分配的内存;
6、cvDestroyWindow:销毁显示图像文件的窗口;
7、cvCreateFileCapture:通过参数设置确定要读入的AVI文件;
8、cvQueryFrame:用来将下一帧视频文件载入内存;
9、cvReleaseCapture:释放CvCapture结构开辟的内存空间;
10、cvCreateTrackbar:创建一个滚动条;
11、cvSetCaptureProperty:设置CvCapture对象的各种属性;
12、cvGetCaptureProperty:查询CvCapture对象的各种属性;
13、cvGetSize:当前图像结构的大小;
14、cvSmooth:对图像进行平滑处理;
15、cvPyrDown:图像金字塔,降采样,图像缩小为原来四分之一;
16、cvCanny:Canny边缘检测;
17、cvCreateCameraCapture:从摄像设备中读入数据;
18、cvCreateVideoWriter:创建一个写入设备以便逐帧将视频流写入视频文件;
19、cvWriteFrame:逐帧将视频流写入文件;
20、cvReleaseVideoWriter:释放CvVideoWriter结构开辟的内存空间;
21、CV_MAT_ELEM:从矩阵中得到一个元素;
22、cvAbs:计算数组中所有元素的绝对值;
23、cvAbsDiff:计算两个数组差值的绝对值;
24、cvAbsDiffS:计算数组和标量差值的绝对值;
25、cvAdd:两个数组的元素级的加运算;
26、cvAddS:一个数组和一个标量的元素级的相加运算;
27、cvAddWeighted:两个数组的元素级的加权相加运算(alpha运算);
28、cvAvg:计算数组中所有元素的平均值;
29、cvAvgSdv:计算数组中所有元素的绝对值和标准差;
30、cvCalcCovarMatrix:计算一组n维空间向量的协方差;
31、cvCmp:对两个数组中的所有元素运用设置的比较操作;
32、cvCmpS:对数组和标量运用设置的比较操作;
33、cvConvertScale:用可选的缩放值转换数组元素类型;
34、cvCopy:把数组中的值复制到另一个数组中;
35、cvCountNonZero:计算数组中非0值的个数;
36、cvCrossProduct:计算两个三维向量的向量积(叉积);
37、cvCvtColor:将数组的通道从一个颜色空间转换另外一个颜色空间;
38、cvDet:计算方阵的行列式;
39、cvDiv:用另外一个数组对一个数组进行元素级的除法运算;
40、cvDotProduct:计算两个向量的点积;
41、cvEigenVV:计算方阵的特征值和特征向量;
42、cvFlip:围绕选定轴翻转;
43、cvGEMM:矩阵乘法;
44、cvGetCol:从一个数组的列中复制元素;
45、cvGetCols:从数据的相邻的多列中复制元素;
46、cvGetDiag:复制数组中对角线上的所有元素;
47、cvGetDims:返回数组的维数;
48、cvGetDimSize:返回一个数组的所有维的大小;
49、cvGetRow:从一个数组的行中复制元素值;
50、cvGetRows:从一个数组的多个相邻的行中复制元素值;
51、cvGetSize:得到二维的数组的尺寸,以CvSize返回;
52、cvGetSubRect:从一个数组的子区域复制元素值;
53、cvInRange:检查一个数组的元素是否在另外两个数组中的值的范围内;
54、cvInRangeS:检查一个数组的元素的值是否在另外两个标量的范围内;
55、cvInvert:求矩阵的逆;
56、cvMahalonobis:计算两个向量间的马氏距离;
57、cvMax:在两个数组中进行元素级的取最大值操作;
58、cvMaxS:在一个数组和一个标量中进行元素级的取最大值操作;
59、cvMerge:把几个单通道图像合并为一个多通道图像;
60、cvMin:在两个数组中进行元素级的取最小值操作;
61、cvMinS:在一个数组和一个标量中进行元素级的取最小值操作;
62、cvMinMaxLoc:寻找数组中的最大最小值;
63、cvMul:计算两个数组的元素级的乘积(点乘);
64、cvNot:按位对数组中的每一个元素求反;
65、cvNormalize:将数组中元素进行归一化;
66、cvOr:对两个数组进行按位或操作;
67、cvOrs:在数组与标量之间进行按位或操作;
68、cvReduce:通过给定的操作符将二维数组简为向量;
69、cvRepeat:以平铺的方式进行数组复制;
70、cvSet:用给定值初始化数组;
71、cvSetZero:将数组中所有元素初始化为0;
72、cvSetIdentity:将数组中对角线上的元素设为1,其他置0;
73、cvSolve:求出线性方程组的解;
74、cvSplit:将多通道数组分割成多个单通道数组;
75、cvSub:两个数组元素级的相减;
76、cvSubS:元素级的从数组中减去标量;
77、cvSubRS:元素级的从标量中减去数组;
78、cvSum:对数组中的所有元素求和;
79、cvSVD:二维矩阵的奇异值分解;
80、cvSVBkSb:奇异值回代计算;
81、cvTrace:计算矩阵迹;
82、cvTranspose:矩阵的转置运算;
83、cvXor:对两个数组进行按位异或操作;
84、cvXorS:在数组和标量之间进行按位异或操作;
85、cvZero:将所有数组中的元素置为0;
86、cvConvertScaleAbs:计算可选的缩放值的绝对值之后再转换数组元素的类型;
87、cvNorm:计算数组的绝对范数, 绝对差分范数或者相对差分范数;
88、cvAnd:对两个数组进行按位与操作;
89、cvAndS:在数组和标量之间进行按位与操作;
90、cvScale:是cvConvertScale的一个宏,可以用来重新调整数组的内容,并且可以将参数从一种数
据类型转换为另一种;
91、cvT:是函数cvTranspose的缩写;
92、cvLine:画直线;
93、cvRectangle:画矩形;
94、cvCircle:画圆;
95、cvEllipse:画椭圆;
96、cvEllipseBox:使用外接矩形描述椭圆;
97、cvFillPoly、cvFillConvexPoly、cvPolyLine:画多边形;
98、cvPutText:在图像上输出一些文本;
99、cvInitFont:采用一组参数配置一些用于屏幕输出的基本个特定字体;
100、cvSave:矩阵保存;
101、cvLoad:矩阵读取;
102、cvOpenFileStorage:为读/写打开存储文件;
103、cvReleaseFileStorage:释放存储的数据;
104、cvStartWriteStruct:开始写入新的数据结构;
105、cvEndWriteStruct:结束写入数据结构;
106、cvWriteInt:写入整数型;
107、cvWriteReal:写入浮点型;
108、cvWriteString:写入字符型;
109、cvWriteComment:写一个XML或YAML的注释字串;
110、cvWrite:写一个对象;
111、cvWriteRawData:写入多个数值;
112、cvWriteFileNode:将文件节点写入另一个文件存储器;
113、cvGetRootFileNode:获取存储器最顶层的节点;
114、cvGetFileNodeByName:在映图或存储器中找到相应节点;
115、cvGetHashedKey:为名称返回一个惟一的指针;
116、cvGetFileNode:在映图或文件存储器中找到节点;
117、cvGetFileNodeName:返回文件的节点名;
118、cvReadInt:读取一个无名称的整数型;
119、cvReadIntByName:读取一个有名称的整数型;
120、cvReadReal:读取一个无名称的浮点型;
121、cvReadRealByName:读取一个有名称的浮点型;
122、cvReadString:从文件节点中寻找字符串;
123、cvReadStringByName:找到一个有名称的文件节点并返回它;
124、cvRead:将对象解码并返回它的指针;
125、cvReadByName:找到对象并解码;
126、cvReadRawData:读取多个数值;
127、cvStartReadRawData:初始化文件节点序列的读取;
128、cvReadRawDataSlice:读取文件节点的内容;
129、cvGetModuleInfo:检查IPP库是否已经正常安装并且检验运行是否正常;
130、cvResizeWindow:用来调整窗口的大小;
131、cvSaveImage:保存图像;
132、cvMoveWindow:将窗口移动到其左上角为x,y的位置;
133、cvDestroyAllWindow:用来关闭所有窗口并释放窗口相关的内存空间;
134、cvGetTrackbarPos:读取滑动条的值;
135、cvSetTrackbarPos:设置滑动条的值;
136、cvGrabFrame:用于快速将视频帧读入内存;
137、cvRetrieveFrame:对读入帧做所有必须的处理;
138、cvConvertImage:用于在常用的不同图像格式之间转换;
139、cvErode:形态腐蚀;
140、cvDilate:形态学膨胀;
141、cvMorphologyEx:更通用的形态学函数;
142、cvFloodFill:漫水填充算法,用来进一步控制哪些区域将被填充颜色;
143、cvResize:放大或缩小图像;
144、cvPyrUp:图像金字塔,将现有的图像在每个维度上都放大两倍;
145、cvPyrSegmentation:利用金字塔实现图像分割;
146、cvThreshold:图像阈值化;
147、cvAcc:可以将8位整数类型图像累加为浮点图像;
148、cvAdaptiveThreshold:图像自适应阈值;
149、cvFilter2D:图像卷积;
150、cvCopyMakeBorder:将特定的图像轻微变大,然后以各种方式自动填充图像边界;
151、cvSobel:图像边缘检测,Sobel算子;
152、cvLaplace:拉普拉斯变换、图像边缘检测;
153、cvHoughLines2:霍夫直线变换;
154、cvHoughCircles:霍夫圆变换;
155、cvRemap:图像重映射,校正标定图像,图像插值;
156、cvWarpAffine:稠密仿射变换;
157、cvGetQuadrangleSubPix:仿射变换;
158、cvGetAffineTransform:仿射映射矩阵的计算;
159、cvCloneImage:将整个IplImage结构复制到新的IplImage中;
160、cv2DRotationMatrix:仿射映射矩阵的计算;
161、cvTransform:稀疏仿射变换;
162、cvWarpPerspective:密集透视变换(单应性);
163、cvGetPerspectiveTransform:计算透视映射矩阵;
164、cvPerspectiveTransform:稀疏透视变换;
165、cvCartToPolar:将数值从笛卡尔空间到极坐标(极性空间)进行映射;
166、cvPolarToCart:将数值从极性空间到笛卡尔空间进行映射;
167、cvLogPolar:对数极坐标变换;
168、cvDFT:离散傅里叶变换;
169、cvMulSpectrums:频谱乘法;
170、cvDCT:离散余弦变换;
171、cvIntegral:计算积分图像;
172、cvDistTransform:图像的距离变换;
173、cvEqualizeHist:直方图均衡化;
174、cvCreateHist:创建一新直方图;
175、cvMakeHistHeaderForArray:根据已给出的数据创建直方图;
176、cvNormalizeHist:归一化直方图;
177、cvThreshHist:直方图阈值函数;
178、cvCalcHist:从图像中自动计算直方图;
179、cvCompareHist:用于对比两个直方图的相似度;
180、cvCalcEMD2:陆地移动距离(EMD)算法;
181、cvCalcBackProject:反向投影;
182、cvCalcBackProjectPatch:图块的方向投影;
183、cvMatchTemplate:模板匹配;
184、cvCreateMemStorage:用于创建一个内存存储器;
185、cvCreateSeq:创建序列;
186、cvSeqInvert:将序列进行逆序操作;
187、cvCvtSeqToArray:复制序列的全部或部分到一个连续内存数组中;
188、cvFindContours:从二值图像中寻找轮廓;
189、cvDrawContours:绘制轮廓;
190、cvApproxPoly:使用多边形逼近一个轮廓;
191、cvContourPerimeter:轮廓长度;
192、cvContoursMoments:计算轮廓矩;
193、cvMoments:计算Hu不变矩;
194、cvMatchShapes:使用矩进行匹配;
195、cvInitLineIterator:对任意直线上的像素进行采样;
196、cvSampleLine:对直线采样;
197、cvAbsDiff:帧差;
198、cvWatershed:分水岭算法;
199、cvInpaint:修补图像;
200、cvGoodFeaturesToTrack:寻找角点;
201、cvFindCornerSubPix:用于发现亚像素精度的角点位置;
202、cvCalcOpticalFlowLK:实现非金字塔的Lucas-Kanade稠密光流算法;
203、cvMeanShift:mean-shift跟踪算法;
204、cvCamShift:camshift跟踪算法;
205、cvCreateKalman:创建Kalman滤波器;
206、cvCreateConDensation:创建condensation滤波器;
207、cvConvertPointsHomogenious:对齐次坐标进行转换;
208、cvFindChessboardCorners:定位棋盘角点;
209、cvFindHomography:计算单应性矩阵;
210、cvRodrigues2:罗德里格斯变换;
211、cvFitLine:直线拟合算法;
212、cvCalcCovarMatrix:计算协方差矩阵;
213、cvInvert:计算协方差矩阵的逆矩阵;
214、cvMahalanobis:计算Mahalanobis距离;
215、cvKMeans2:K均值;
216、cvCloneMat:根据一个已有的矩阵创建一个新矩阵;
217、cvPreCornerDetect:计算用于角点检测的特征图;
218、cvGetImage:CvMat图像数据格式转换成IplImage图像数据格式;
219、cvMatMul:两矩阵相乘;(摘抄自网友帖子)
另补充另一网友的:
C++版本的好处:
1、在于可以尽量避免使用指针这种危险的东西;
2、不用费心去release资源了,因为在其destructor里面,系统会自动帮你搞定。
3、在某些情况下会比C版本运行速度快。
在文件中包含 using namespace cv;
2. imshow(cvShowImage):displays an image in the specifiedwidow;
3. waitKey(cvWaitKey):waits for a pressed key;
4. cvtColor(cvCvtColor):converts an image from one colorspace to another;
5. reduce(cvReduce):reduces a matrix to a vector;
6. minMaxLoc(cvMinMaxLoc):finds the global minimum andmaximum in a whole array or sub-array;
7. namedWindow(cvNamedWindow):creates a window;
8. destroyWindow(cvDestroyWindow):destroys a window;
9. destroyAllWindows(cvDestroyAllWindows):destroys all of the HighGUIwindows;
10. imwrite(cvSaveImage):saves an image to a specified file;
11. resize(cvResize):resizes an image;
12. pyrDown(cvPyrDown):blurs an image and downsamples it;
13. pyrUp(cvPyrUp):upsamples an image and then blursit;
14. threshold(cvThreshold):applies a fixed-level threshold toeach array element;
15. adaptiveThreshold(cvAdaptiveThreshold):applies an adaptive threshold toan array;
16. VideoCapthure::open(cvCaptureFromFile):open video file or a capturingdevice for video capturing;
17. VideoCapture::isOpened:returns true if video capturinghas been initialized already;
18. VideoCapture::release(cvReleaseCapture):closes video file or capturingdevice;
19. VideoCapture::grab(cvGrabFrame):grabs the next frame from videofile or capturing device;
20. VideoCaputre::retrieve(cvRetrieveFrame):decodes and returns the grabbedvideo frame;
21. VideoCapture::read(cvQueryFrame):grabs,decodes and returns the nextvideo frame;
22. VideoCapture::get(cvGetCaptureProperty):returns the specified VideoCaptureproperty;
23. VideoCapture::set(cvSetCaptureProperty):sets a property in theVideoCapture;
24. VideoWriter::open:initializes or reinitializes videowriter;
25. VideoWriter::isOpened:returns true if video writer hasbeen successfully initialized;
26. VideoWriter::write:writes the next video frame;
27. Mat::row:creates a matrix header for thespecified matrix row;
28. Mat::col:creates a matrix header for thespecified matrix column;
29. Mat::rowRange:creates a matrix header for thespecified row span;
30. Mat::colRange:creates a matrix header for thespecified col span;
31. Mat::diag:extracts a diagonal from a matrix,or creates a diagonal matrix;
32. Mat::clone:creates a full copy of the arrayand the underlying data;
33. Mat::copyTo(cvCopy):copies the matrix to another one;
34. Mat::convertTo(cvConvertScale):converts an array to anotherdatatype with optional scaling;
35. Mat::assignTo:provides a functional form ofconvertTo;
36. Mat::setTo:sets all or some of the arrayelements to the specified value;
37. Mat::reshape:changes the shape and/or thenumber of channels of a 2D matrix without copying the data;
38. Mat::t:transposes a matrix;
39. Mat::inv:inverses a matrix;
40. Mat::mul:performs an element-wisemultiplication or division of the two matrices;
41. Mat::cross:computes a cross-product of two3-element vectors;
42. Mat::dot:computes a dot-product of twovectors;
43. Mat::zeros:returns a zero array of thespecified size and type;
44. Mat::ones:returns an array of all 1’s of thespecified size and type;
45. Mat::eye:returns an identity matrix of thespecified size and type;
46. Mat::create:allocates new array data if needed;
47. Mat::addref:increments the reference counter;
48. Mat::release:decrements the reference counterand deallocates the matrix if needed;
49. Mat::resize:changes the number of matrix rows;
50. Mat::reserve:reserves space for the certainnumber of rows;
51. Mat::push_back:adds elements to the bottom of thematrix;
52. Mat::pop_back:removes elements from the bottomof the matrix;
53. Mat::locateROI:locates the matrix header within aparent matrix;
54. Mat::adjustROI:adjusts a submatrix size andposition within the parent matrix;
55. Mat::operator:extracts a rectangular submatrix;
56. Mat::operatorCvMat:creates the CvMat header for thematrix;
57. Mat::operatorIplImage:creates the IplImage header forthe matrix;
58. Mat::total:returns the total number fo arrayelements;
59. Mat::isContinuous:reports whether the matrix iscontinuous or not;
60. Mat::elemSize:returns the matrix element size inbytes;
61. Mat::elemSize1:returns the size of each matrixelement channel in bytes;
62. Mat::type:returns the type of a matrixelement;
63. Mat::depth:returns the depth of a matrixelement;
64. Mat::channels:returns the number of matrix channels;
65. Mat::step1:returns a normalized step;
66. Mat::size:returns a matrix size;
67. Mat::empty:returns true if the array has noelemens;
68. Mat::ptr:returns a pointer to the specifiedmatrix row;
69. Mat::at:returns a reference to thespecified array element;
70. Mat::begin:returns the matrix iterator andsets it to the first matrix element;
71. Mat::end:returns the matrix iterator andsets it to the after-last matrix element;
72. calcHist(cvCalcHist):calculates a histogram of a set ofarrays;
73. compareHist(cvCompareHist):compares two histograms;
74. equalizeHist(cvEqualizeHist):equalizes the histogram of agrayscale image(直方图均衡化);
75. normalize:normalizes the norm or value rangeof an array;
76. CascadeClassifier::CascadeClassifier:loads a classifier from a file;
77. CascadeClassifier::empth:checks whether the classifier hasbeen loaded;
78. CascadeClassifier::load(cvLoadHaarClassifierCascade):loads a classifier from a file;
79. CascadeClassifier::read:reads a classifier from aFileStorage node;
80. CascadeClassifier::delectMultiScale(cvHaarDetectObjects):detects objects of different sizesin the input image(检测图像中的目标);
81. CascadeClassifier::setImage(cvSetImagesForHaarClassifierCascade):sets an image for detection(隐藏的cascade(hidden cascade)指定图像);
82. CascadeClassifier::runAt(cvRunHaarClassifierCascade):runs the detector at the specifiedpoint(在给定位置的图像中运行cascade of boosted classifier);
83. groupRectangles:groups the object candidaterectangles;
84. split(cvSplit):divides a multi-channel array intoseveral single-channel arrays;
85. merge(cvMerge):creates one multichannel array outof several single-channel ones;
86. mixChannels(cvMixChannels):copies specified channels frominput arrays to the specified channels of output arrays;
87. setMouseCallback(cvSetMouseCallback):sets mouse handler for thespecified window;
88. bilateralFilter:applies the bilateral filter to animage(双边滤波);
89. blur(cvSmooth):blurs an image using thenormalized box filter(均值模糊);
90. medianBlur:blurs an image using the medianfilter(中值模糊);
91. boxFilter:blurs an image using the boxfilter;
92. GaussianBlur:blurs an image using a Gaussianfilter(高斯模糊);
93. getGaussianKernel:returns Gaussian filtercoefficients;
94. sepFilter2D:applies a separable linear filterto an image;
95. filter2D(cvFilter2D):convolves an image with the kernel;
96. norm(cvNorm):calculates an absolute array norm,an absolute difference norm, or a relative defference norm;
97. flip(cvFlip):filps a 2D array around vertical,horizontal, or both axes;
98. Algorithm::get:returns the algorithm parameter;
99. Algorithm::set:set the algorithm parameter;
100. Algorithm::write:stores algorithm parameters in afile storage;
101. Algorithm::read:reads algorithm parameters from afile storage;
102. Algorithm::getList:returns the list of registeredalgorithms;
103. Algorithm::create:creates algorithm instance by name;
104. FaceRecognizer::train:trains a FaceRecognizer with givendata and associated labels;
105. FaceRecognizer::update:updates a FaceRecognizer withgiven data and associated labels;
106. FaceRecognizer::predict:predicts a label and associatedconfidence(e.g. distance) for a given input image;
107. FaceRecognizer::save:saves a FaceRecognizer and itsmodel state;
108. FaceRecognizer::load:loads a FaceRecognizer and itsmodel state;
109. createEigenFaceRecognizer:;
110. createFisherFaceRecognizer:;
111. createBPHFaceRecognizer:;
112. getTextSize(cvGetTextSize):calculates the width and height ofa textstring;
113. putText(cvPutText):draws a text string;
114. getStructuringElement(cvCreateStructingElementEx):returns a structuring element ofthe specified size and shape for morphological operations;
115. morphologyEx(cvMorphologyEx):performs advanced morphologicaltransformations;
116. findContours(cvFindContours):finds contours in a binary image;
117. drawContours(cvDrawContours):draw contours outlines or filledcontours;
118. minAreaRect(cvMinAreaRect2):finds a rotated rectangle of theminimum area enclosing the input 2D point set;
119. floodFill(cvFloodFill):fills a connected component withthe given color;
120. getRectSubPix(cvGetRectSubPix):retrieves a pixel rectangle froman image with sub-pixel accuracy;
121. CvSVM::CvSVM:default and training constructors;
122. CvSVM::train:trains an SVM;
123. CvSVM::train_auto:trains an SVM with optimalparameters;
124. CvSVM::predict:predicts the response for inputsample(s);
125. CvSVM::get_default_grid:generates a grid for SVMparameters;
126. CvSVM::get_params:returns the current SVM parameters;
127. CvSVM::get_support_vector:retrieves a number of supportvectors and the particular vector;
128. CvSVM::get_var_count:returns thenumber of used features(variables count);
129. CvANN_MLP(multi-layerperceptrons)::CvANN_MLP:the constructors;
130. CvANN_MLP::create:constructs MLP with the specifiedtopology;
131. CvANN_MLP::train:trains/updates MLP;
132. CvANN_MLP::predict:predicts responses for inputsamples;
133. CvANN_MLP::get_layer_count:returns the number fo layers inthe MLP;
134. CvANN_MLP::get_layer_size:returns numbers of neurons in eachlayer of the MLP;
135. CvANN_MLP::get_weights:returns neurons weights of theparticular layer;
136. CvKNearest::CvKNearest:default and training constructors;
137. CvKNearest::train:trains the model;
138. CvKNearest::find_nearest:finds the neighbors and predictsresponses for input vectors;
139. CvKNearest::get_max_k:returns the number of maximumneighbors that may be passed to the method CvKNearest::find_nearest();
140. CvKNearest::get_var_count:returns the number of usedfeatures(variables count);
141. CvKNearest::get_sample_count:returns the total number of trainsamples;
142. CvKNearest::is_regression:returns type of the problem(truefor regression and false for classification);
143. HoughLines(cvHoughLines):finds lines in a binary imageusing the standard Hough transform;
144. HoughLinesP:finds line segments in a binaryimage using the probabilistic Hough transform;
145. HoughCircles(cvHoughCircles):finds circles in a grayscale imageusing the Hough transform;
146. line(cvLine):draws a line segment connectingtwo points;
147. fitLine(cvFitLine):fits a line to a 2D or 3D pointset;
148. fitEllipse(cvFitEllipse2):fits an ellipse around a set of 2Dpoints;
149. ellipse(cvEllipse、cvEllipseBox):draws a simple or thick ellipticarc or fills an ellipse sector;
150. boundingRect(cvBoundingRect):calculatesthe up-right bounding rectangle of a point set;
151. rectangle(cvRectangle):draws a simple, thick, or filledup-right rectangle;
152. minEnclosingCircle(cvMinEnclosingCircle):finds acircle of the minimum area enclosing a 2D point set;
153. circle(cvCircle):draw a circle;
154. fillPoly:fills the area bounded by one ormore polygons;
155. approxPolyDP(cvApproxPoly):approximates a polygonal curve(s)with the specified precision;
156. pointPolygonTest(cvPointPolygonTest):performs a point-in-contour test(判断点在多边形中的位置);
157. convexHull(cvConvexHull2):finds the convex hull of a pointset;
158. transpose(cvTranspose):transposes a matrix;
159. invert(cvInvert):finds the inverse orpseudo-inverse of a matrix;
160. getStructuringElement(cvCreateStructuringElementEx):returns a structuring element ofthe specified size and shape for morphological operations;
161. absdiff(cvAbsDiff):calculates the per-elementabsolute difference between two arrays or between an array and a scalar;
162. subtract(cvSub):calculates the per-elementdifference between two arrays or array and a scalar;
163. multiply(cvMul):calculates the per-element scaledproduct fo two arrays;
164. divide(cvDiv):performs per-element division oftwo arrays or a scalar by an array;
165. bitwise_or(cvOr):calculates the per-elementbit-wise disjunction of two arrays or an array and a scalar;
166. bitwise_and(cvAnd):calculates the per-elementbit-wise conjunction of two arrays or an array and a scalar;
167. bitwise_not(cvNot):inverts every bit of an array;
168. bitwise_xor(cvXor):calculates the per-elementbit-wise “exclusive of” operation on two arrays or an array and a scalar;
169. erode(cvErode):erodes an image by using a specificstructuring element;
170. dilate(cvDilate):dilates an image by using aspecific structuring element;
171. min(cvMin):calculates per-element minimum oftwo arrays or an array and a scalar;
172. max(cvMax):calculates per-element maximum oftwo arrays or an array and a scalar;
173. add(cvAdd):calculates the per-element sum oftwo arrays or an array and a scalar;
174. addWeighted(cvAddWeighted):calculates the weighted sum of twoarrays;
175. scaleAdd(cvScaleAdd):calculats the sum of a scaledarray and another array;
176. saturate_cast():template function for accurateconversion from one primitive type to another;
177. sqrt(cvSqrt):calculates a square root of arrayelements;
178. pow(cvPow):raises every array element to apower;
179. abs:calculates an absolute value ofeach matrix element;
180. convertScaleAbs(cvConvertScaleAbs):scales, calculates absolutevalues, and converts the result to 8-bit;
181. cuberoot(cvCbrt):computes the cube root of anargument;
182. exp(cvExp):calculates the exponent of everyarray element;
183. log(cvLog):calculates the natural logarithmof every array element;
184. Canny(cvCanny):finds edges in an image using theCanny algorithm;
185. Sobel(cvSobel):calculates the first, second,third, or mixed image derivatives using an extended Sobel operator;
186. Scharr:Calculates the first x – or y –image derivative using Scharr operator(Scharr 滤波器);
187. Laplacian(cvLaplace):calculates the Laplacian of animage;
188. getDerivKernels:returns filter coefficients forcomputing spatial image derivatives;
189. contourArea(cvContourArea):calculates a contour area;
190. LUT(cvLUT):performs a look-up table transformof an array;
191. calcBackProject(cvCalcBackProject):calculates the back projection ofa histogram(反向投影);
192. arcLength(cvArcLength):calculates a contour perimeter ora curve length;
193. meanShift(cvMeanShift):finds an object on a backprojection image;
194. CamShift(cvCamShift):finds an object center, size, andorientation;
195. TermCriteria:template class definingtermination criteria for iterative algorithms;
196. createTrackbar(cvCreateTrackbar):creates a trackbar and attaches itto the specified window;
197. watershed(cvWatershed):performs a marker-based imagesegmentation using the watershed algorithm;
198. grabCut:runs the GrabCut algorithm;
199. compare(cvCmp):performs the per-elementcomparison of two arrays or an array and scalar value;
200. mean(cvAvg):calculates an average(mean) ofarray elements;
201. meanStdDev(cvAvgSdv):calculates a mean and standarddeviation of array elements;
202. cartToPolar(cvCartToPolar):calculates the magnitude and angleof 2D vectors;
203. moments(cvMoments):calculates all of the moments upto the third order of a polygon or rasterized shape;
204. matchShapes(cvMatchShapes):compares two shapes;
205. cornerHarris(cvCornerHarris):Harris edge detector;
206. goodFeaturesToTrack(cvGoodFeaturesToTrack):determines strong corners on an image;
207. classFeatureDetector:abstract base class for 2D imagefeature detectors;
208. classFastFeatureDetector:wrapping class for featuredetection using the FAST() method;
209. classSURF(SurfFeatureDetector、SurfDescriptorExtractor):extracting Speeded Up Robust Featuresfrom an image;
210. classSIFT(SiftFeatureDetector):extracting keypoints and computingdescriptors using the Scale Invariant Feature Transform(SIFT) algorithm;
211. SURF::operator(cvExtractSURF):detects keypoints and computesSURF descriptors for them;
212. drawKeypoints:draw keypoints;
213. drawMatches:draws the found matches ofkeypoints from two images;
214. classDescriptorMatcher:abstract base class for matchingkeypoint descriptors. It has two groups of match methods,for matchingdescriptors of an image with another image or with an image set;
215. findChessboardCorners(cvFindChessboardCorners):finds the positions of internalcorners of the chessboard;
216. drawChessboardCorners(cvDrawChessboardCorners):renders the detected chessboardcorners;
217. calibrateCamera(cvCalibrateCamera2):finds the camera intrinsic andextrinsic parameters from several view of a calibration pattern;
218. initUndistortRectifyMap(cvInitUndistortMap、cvInitUndistortRectifyMap):computes the undistortion andrectification transformation map;
219. remap(cvRemap):applies a generic geometricaltransformation to an image;
220. calibrationMatrixValues:computes useful cameracharacteristics from the camera matrix;
221. findFundamentalMat(cvFindFundamentalMat):calculates a fundamental matrixfrom the corresponding points in two images;
222. computeCorrespondEpilines(cvComputeCorrespondEpilines):for points in an image of a stereopair, computes the corresponding epilines in the other image;
223. findHomography(cvFindHomography):finds a perspective transformationbetween two planes;
224. warpPerspective(cvWarpPerspective):applies a perspectivetransformation to an image;
225. getPerspectiveTransform(cvGetPerspectiveTransform):calculates a perspective transformfrom four pairs of the corresponding points;
226. cornerSubPix(cvFindCornerSubPix):refines the corner locations;
227. calcOpticalFlowPyrLK(cvCalcOpticalFlowPyrLK):calculates an optical flow for asparse feature set using the iterative Lucas-Kanade method with pyramids;
228. swap:swaps two matrices;
229. accumulateWeighted(cvRunningAvg):updates a running average;
230. classBackgroundSubtractorMOG:gaussian mixture-basedbackground/foreground segmentation algorithm;
231. randu:generates a singleuniformly-distributed(均匀分布) random number or an array ofrandom numbers;
232. randn:fills the array with normallydistributed(正态分布) random numbers;
233. getTickCount:returns the number of ticks;
234. getTickFrequency:returns the number of ticks persecond(使用getTickCount和getTickFrequency两个函数可以计算执行某个算法所用时间);
235. CV_Assert:checks a condition at runtime andthrows exception if it fails;
236. saturate_cast:template function for accurateconversion from one primitive type to another;
237. classRNG:random number generator;
238. RNG::next:returns the next random number;
239. RNG::operatorT:returns the next random number ofthe specified type;
240. RNG::operator():returns the next random number;
241. RNG::uniform:returns the next random numbersampled from the uniform distribution;
242. RNG::gaussian:returns the next random numbersampled from the Gaussian distribution;
243. RNG::fill:fills arrays with random numbers;
244. getOptimalDFTSize(cvGetOptimalDFTSize):returns the optimal DFT size for agiven vector size;
245. copyMakeBorder(cvCopyMakeBorder):forms a border around an image;
246. dft(cvDFT):performs a forward or inverseDiscrete Fourier transform of a 1D or 2D floating-point array;
247. magnitude:calculates the magnitude(幅度) of 2D vectors;
248. classFileStorage:XML/YAML file storage class thanencapsulates all the information necessary for writing or reading data to/froma file;
249. FileStorage::open:open a file;
250. FileStorage::isOpened:checks whether the file is opened;
251. FileStorage::release:closes the file and releases allthe memory buffers;
252. FileStorage::releaseAndGetString:closes the file and releases allthe memory buffers;
253. FileStorage::getFirstTopLevelNode:returns the first element of thetop-level mapping;
254. FileStorage::root:returns the top-level mapping;
255. FileStorage::operator[]:returns the specified element ofthe top-level mapping;
256. FileStorage::operator*:returns the obsolete C FileStorage structure;
257. FileStorage::writeRaw:writes multiple numbers;
258. FileStorage::writeObj:writes the registered C structure(CvMat、CvMatND、CvSeq);
259. FileStorage::getDefaultObjectName:returns the normalized object name for thespecified name of a file;
260. getAffineTransform(cvGetAffineTransform):calculates an affine transformfrom three pairs of the corresponding points;
261. getRotationMatrix2D(cv2DRotationmatrix):calculates an affine matrix of 2Drotation;
262. warpAffine(cvWarpAffine):applies an affine transformationto an image;
263. matchTemplate(cvMatchTemplate):compares a template against overlapped imageregions;