函数

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. 把 Mac 上的 bash 换成 zsh

      本人补充:mac版git下载地址:http://code.google.com/p/git-osx-installer/downloads/list?can=3&q=&sort=- ...

  2. C++ 字符编码转换类

    记录一下C++ 编码转换的函数: #pragma once #include "afx.h" #define DEFAULT_CODE 0 #define CHINESE_SIMP ...

  3. 使用python操作FTP上传和下载

    函数释义 Python中默认安装的ftplib模块定义了FTP类,其中函数有限,可用来实现简单的ftp客户端,用于上传或下载文件,函数列举如下 ftp登陆连接 from ftplib import F ...

  4. [原创] Win7全自动精简批处理_绝对原创,绝对给力_感谢无忧给了我一年的潜水

    2011htpcfans发表于 2012-5-5 http://bbs.wuyou.net/forum.php?mod=viewthread&tid=210043 @echo 全自动/手动精简 ...

  5. C++输入cout与输出cin

    输入和输出并不是C++语言中的正式组成成分.C和C++本身都没有为输入和输出提供专门的语句结构.输入输出不是由C++本身定义的,而是在编译系统提供的I/O库中定义的.C++的输出和输入是用" ...

  6. hdu acm 简单暴力1004

    字符串匹配函数strcmp 直接使用来判断两字符串是否完全相等 用数组存每个单词的个数时  初始化为零就错 初始化为一时就正确  也不知道为什么

  7. 去掉文件夹的.svn文件

    加注册表 代码为: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE"SOFTWARE"Classes"F ...

  8. java根据标点英文分词

    最近学习java字符串部分,用正则表达式做了一个简单的统计单词出现次数的小程序,目前只能统计英文. 整个程序包括三个包,分别为output,run,wordcount wordCount包 执行单词统 ...

  9. 269. Alien Dictionary 另类字典 *HARD*

    There is a new alien language which uses the latin alphabet. However, the order among letters are un ...

  10. Could not load file or assembly or one of its dependencies. 试图加载格式不正确的程序。

    当我把编译好的程序托管到IIS下后,访问时出现了以下问题,服务器环境是IIS 7,操作系统 Windows server 2008 r2 64位. 出现上述问题的原因是,所加载的程序集中有32位的,也 ...