函数

Description

说明

cvAdd

Elementwise addition of two arrays

两个数组对应元素的和

cvAddS

Elementwise addition of an array and a scalar

一个数组和一个标量对应元素的和

cvAddWeighted

Elementwise weighted addition of two arrays (alpha blending)

两个数组对元素的加权求和(alpha混合)

cvSub

Elementwise subtraction of one array from another

把两个数组的对应元素相减

cvSubS

Elementwise subtraction of a scalar from an array

把一个数组的元素减去一个标量

cvSubRS

Elementwise subtraction of an array from a scalar

把一个标量减去一个数组中的元素

cvMul

Elementwise multiplication of two arrays

两个数组对应元素的乘法

cvDotProduct

Compute dot product of two vectors

计算两个向量的点乘

cvCrossProduct

Compute cross product of two three-dimensional vectors

对两个三维向量做叉乘

cvGEMM

Generalized matrix multiplication

广义矩阵的乘法

cvDiv

Elementwise division of one array by another

一个数组和另一个数组对应元素的除法

cvAbs

Absolute value of all elements in an array

数组中所有元素的绝对值

cvAbsDiff

Absolute value of diff erences between two arrays

两个数组差值的绝对值

cvAbsDiffS

Absolute value of diff erence between an array and a scalar

一个数组和一个标量的差值的绝对值

cvMin

Elementwise min operation on two arrays

对两个数组中的对应元素做最小值操作

cvMinS

Elementwise min operation between an array and a scalar

一个数组的元素和一个向量做最小值操作

cvMax

Elementwise max operation on two arrays

对两个数组中的对应元素做最大值操作

cvMaxS

Elementwise max operation between an array and a scalar

一个数组的元素和一个向量做最大值操作

cvMinMaxLoc

Find minimum and maximum values in an array

寻找数组中的最大值和最小值

cvAvg

Average value of all elements in an array

数组中所有元素的平均值

cvAvgStd

Absolute value and standard deviation of all elements in an array

数组中所有元素的平均值和标准差

cvSum

Sum all elements of an array

对数组的所有元素求和

cvCountNonZero

Count nonzero elements in an array

对数组中非零元素计数

cvGetRow

Copy elements from row slice of an array

拷贝数组中一行元素

cvGetRows

Copy elements from multiple adjacent rows of an array

拷贝数组中相邻的多行元素

cvGetCol

Copy elements from column slice of an array

拷贝数组中一列元素

cvGetCols

Copy elements from multiple adjacent columns of an array

拷贝数组中相邻的多列元素

cvGetSubRect

Copy elements from subregion of an array

拷贝一个数组中子区域的元素

cvGetDiag

Copy elements from an array diagonal

拷贝数组对角线元素

cvAnd

Elementwise bit-level AND of two arrays

把两个数组的对应元素做位与操作

cvNot

Bitwise inversion of every element of an array

对数组中每个元素逐位取反

cvOr

Elementwise bit-level OR of two arrays

把两个数组的对应元素做位取反

cvOrS

Elementwise bit-level OR of an array and a scalar

把一个数组中的元素和一个标量取反

cvXor

Elementwise bit-level XOR between two arrays

把两个数组中的对应元素做异或运算

cvXorS

Elementwise bit-level XOR between an array and a scalar

把一个数组中的元素和一个标量做异或运算

cvGetDims

Return the number of dimensions of an array

返回数组的维数

cvGetDimSize

Return the sizes of all dimensions of an array

返回数组所有维的尺寸

cvGetSize

Get size of a two-dimensional array and return as CvSize

获取二维数组的尺寸,返回一个CvSize结构

cvCopy

Copy elements of one array to another

把一个数组中的元素拷贝到另一个数组

cvRepeat

Tile the contents of one array into another

把一个数组的内容铺到另一个中

cvSplit

Split a multichannel array into multiple single-channel arrays

把一个多通道数组分解为多个单通道数组

cvMerge

Merge several single-channel images into one multichannel image

把数个单通道图象合并为一个多通道图象

cvCvtColor

Convert channels of an array from one color space to another

把数组中通道从一个色彩空间转换到另一个色彩空间

cvReduce

Reduce a two-dimensional array to a vector by a given operation

根据一个给定操作,把一个二维数组缩减为一个向量

cvConvertScale

Convert array type with optional rescaling of the value

cvConvertScaleAbs

Convert array type after absolute value with optional rescaling

cvSet

Set all elements of an array to a given value

把数组中所有元素赋一个给定的值

cvSetZero

Set all elements of an array to 0

把数组中所有元素赋值为0

cvZero

Set all elements of an array to 0

把数组中所有元素置0

cvFlip

Flip an array about a selected axis

把数组相对一个选定的轴做翻转

cvNormalize

Normalize elements in an array to some value

把数组中的元素规一化到某一值

cvTranspose

Transpose all elements of an array across the diagonal

把所有元素相对对角线转置

cvSetIdentity

Set all elements of an array to 1 for the diagonal and 0 otherwise

对数组的对角线元素赋1,其它的为0

cvCalcCovarMatrix

Compute covariance of a set of n-dimensional vectors

一组n维向量的协方差

cvDet

Compute determinant of a square matrix

计算一个方阵行列式的值

cvEigenVV

Compute eigenvalues and eigenvectors of a square matrix

计算一个方阵的特征值和特征向量

cvInvert

Invert a square matrix

计算方阵的逆矩阵

cvMahalonobis

Compute Mahalonobis distance between two vectors

计算两个向量的马氏距离( Mahalonobis distance)

cvNorm

Compute normalized correlations between two arrays

计算两相数组的规一化系数

cvSVD

Compute singular value decomposition of a two-dimensional array

计算一个二维数组的奇异值分解

cvSVBkSb

Compute singular value back-substitution

计算奇异值回代

cvTrace

Compute the trace of an array

计算数组的迹

cvSolve

Solve a system of linear equations

求解一个线性方程

cvInRange

Test if elements of an array are within values of two other arrays

测试一个数组中的元素的值是否在另两个数组的值之间

cvInRangeS

Test if elements of an array are in range between two scalars

测试一个数组上的元素是否在两个标量之间

cvCmp

Apply selected comparison operator to all elements in two arrays

对两个数组中所有元素进行选中的比较操作

cvCmpS

Apply selected comparison operator to an array relative to a scalar

一个数组和一个标量之间进行选中的比较操作

OpenCV中的矩阵操作的更多相关文章

  1. Opencv中Mat矩阵相乘——点乘、dot、mul运算详解

    Opencv中Mat矩阵相乘——点乘.dot.mul运算详解 2016年09月02日 00:00:36 -牧野- 阅读数:59593 标签: Opencv矩阵相乘点乘dotmul 更多 个人分类: O ...

  2. OpenCV中的矩阵和图像类型

    任务刚刚做完,就迫不及待的来写写在OpenCV中常见的几类数据类型: 在使用OpenCV时我们时常会碰到IplImage这个数据类型,IplImage就是我们通常说的“图像”进行编码的基本结构,这些图 ...

  3. OpenCV中的矩阵乘法运算

    转载:http://blog.csdn.net/tangwei2014 OpenCV中矩阵乘法运算 1. Mat*Mat: 第一个矩阵的列数必须等于第二个矩阵的行数. [0, 1, 2, 3;     ...

  4. opencv中各种矩阵乘的差别

    尊重原创,转载请注明:http://blog.csdn.net/tangwei2014 OpenCV中每次遇到矩阵乘法就乱,各种翻各种查. 这次总结了一下.为了简单明了,还是让样例说话. 1. Mat ...

  5. Windows7 32位机上,OpenCV中配置GPU操作步骤

    1.  查看本机配置,查看显卡类型是否支持NVIDIA GPU: 2.  从http://www.nvidia.cn/Download/index.aspx?lang=cn下载最新驱动并安装: 3.  ...

  6. Python中的矩阵操作

    Numpy 通过观察Python的自有数据类型,我们可以发现Python原生并不提供多维数组的操作,那么为了处理矩阵,就需要使用第三方提供的相关的包. NumPy 是一个非常优秀的提供矩阵操作的包.N ...

  7. Octave中的矩阵操作

    >> a=[1 2;3 4;5 6];>> b=ones(2,3)b = 1 1 1 1 1 1 >> a*b 矩阵的乘法ans = 3 3 3 7 7 7 11 ...

  8. opencv中mat矩阵如何debug

    mat img 看type:img.type() rows:img.rows cols:img.cols channels:img.channels(),channels()这是一个函数,和上面两个有 ...

  9. 对OpenCV中3种乘法操作的理解掌握

    参考了<Opencv中Mat矩阵相乘——点乘.dot.mul运算详解 >“http://blog.csdn.net/dcrmg/article/details/52404580”的相关内容 ...

随机推荐

  1. Asp.Net 一个请求的处理流程

    1.浏览器请求 请求-准备环境-->处理请求   2.Aspnet 环境的创建 客户请求 IIS区分静态文件还是动态文件,静态文件直接文件返回,动态文件通过aspnet_isapi.dll进行处 ...

  2. MySQL中的两种临时表

    MySQL中的两种临时表 伯乐在线2016-07-06 05:16:52阅读(4556)评论(3) 声明:本文由入驻搜狐公众平台的作者撰写,除搜狐官方账号外,观点仅代表作者本人,不代表搜狐立场.举报 ...

  3. gulp 基本使用

    1, gulp 依赖node, 使用gulp 之前,要先安装node.  Node 安装完成后,它自带npm. Npm: node package manager 就是node 包管理器. 用过jav ...

  4. AC自动机小结

    专题链接 第一题--hdu2222 Keywords Search ac自动机的模板题,入门题.  题解 第二题--hdu2896 病毒侵袭   一类病毒的入门题,类似模板  题解 第三题--hdu3 ...

  5. iOS开发 滤镜的使用

    iOS开发之滤镜的使用技巧(CoreImage)   一.滤镜的内容和效果是比较多并且复杂的 ,学习滤镜需要技巧 如下: 两个输出语句解决滤镜的属性选择问题: 1.查询效果分类中包含什么效果按住com ...

  6. 使用powershell为物理网卡添加多个IP地址

    因特殊要求,需要给某物理网卡添加多个IP地址: powershell中有个netsh的命令,添加IPv4地址的方法: add address [name=]<字符串>       [[ad ...

  7. contiki-rime-单跳单播

    rucb是单跳单播的最顶层,将数据以块为单位进行传输(Bulk transfer). ruc,Reliable communication,保证可靠通信,主要实现确认和序列功能. suc,Stubbo ...

  8. 行内js函数调用

    <ul> <li onclick=abc(this);><a href="javascript:void(0);">12234588</a ...

  9. IP地址的组成

    IP地址的组成:是因特网上,为了每一台主机分配的,由32位二进制数组成的唯一标识符,包括网络地址和主机地址两部分,网络地址标识一个物理网络,主机地址标识这个网络下的一台主机,其表示形式如下  IP地址 ...

  10. 使用Jmeter进行HTTP接口测试

    这几天学习了一下使用Jmeter进行HTTP接口测试,这个也是后面进行性能测试的基础吧 安装运行请自行搜索,下载地址:http://jmeter.apache.org/download_jmeter. ...