函数

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. iOS - Push 通知推送

    1.UserNotifications 通知是 App 用来和用户交流的一种方式,特别是当 App 并没有在前台运行的时候.通知,正如它的名称所强调的,被用作向用户'通知'一个事件,或者仅仅向用户提示 ...

  2. Js dom操作总结

    1.选取文档元素 1.1. getElemenById 基于唯一id获取,任何HTML元素可以有id属性,在文档中该值必须唯一. 1.2. getElementsByName 基于name属性的值选取 ...

  3. --------------- Target-----------------

    熟悉Java EE相关技术和框架(包括Java语言/Struts/Spring/iBatis/hibernet等):熟悉熟悉Spring,Struts,iBatis及至少一种Java 应用服务器如to ...

  4. 理解伪元素 :Before 和 :After

    层叠样式表(CSS)的主要目的是给HTML元素添加样式,然而,在一些案例中给文档添加额外的元素是多余的或是不可能的.事实上CSS中有一个特性允许我们添加额外元素而不扰乱文档本身,这就是“伪元素”. 你 ...

  5. 即时反应的input和propertychange方法

    在web开发中,我们有时会需要动态监听输入框值的变化,当使用onkeydown.onkeypress.onkeyup作为监听事件时,会发现一些复制粘贴等操作用不了,同时,在处理组合快键键的时候也很麻烦 ...

  6. 使用scrapy创建工程

    前提:先创建一个文件夹用来存放爬虫工程 创建项目命令: scrapy startproject <project_name> 例子: scrapy startproject myproje ...

  7. 【原创】基于SVM作短期时间序列的预测

    [面试思路拓展] 对时间序列进行预测的方法有很多, 但如果只有几周的数据,而没有很多线性的趋势.各种实际的背景该如何去预测时间序列? 或许可以尝试下利用SVM去预测时间序列,那么如何提取预测的特征呢? ...

  8. 渐变算法的 Java 实现

    /** * 指定长度的渐变. * @param c0 起始颜色. * @param c1 结束颜色. * @param len 受限的渐变长度,为保证每一个颜色都不一样,会根据颜色找出长度最大值. * ...

  9. ASP.NET MVC简介

    MVC全名是Model View Controller,是模型(model)-视图(view)-控制器(controller)的缩写,一种软件设计典范,用一种业务逻辑.数据.界面显示分离的方法组织代码 ...

  10. 工作需求----表单多选框checkbox交互

    关于多选框,反选及选取几个: 1.html内容 <!--begin checkbox--> <div class="c_n_manage_tablexx"> ...