博客
关于我
openCV基础数据结构介绍
阅读量:126 次
发布时间:2019-02-26

本文共 1406 字,大约阅读时间需要 4 分钟。

Cxcore基础结构

CvPoint

二维坐标系下的点,类型为整型。
成员:int x,int y。

CvPoint2D32f

二维坐标下的点,类型为浮点。
成员:float x, float y。

CvPoint3D32f

三维坐标下的点,类型为浮点。
成员:float x, float y, float z。

CvSize

矩形框大小,以像素为精度。
成员:int width, int height。

CvSize2D32f

以亚像素精度标量矩形框大小。
成员:float width, float height。

CvRect

矩形框的偏移和大小。
成员:int x, int y, int width, int height。

CvScalar

可存放在1-,2-,3-,4-TUPLE类型的捆绑数据的容器。
成员:double val[4]。

CvTermCriteria

迭代算法的终止准则。
成员:int type, int max_ite, double epsilon。

CvMat

多通道矩阵。
成员:int type, int step, int* refcount, union { uchar* ptr; short* s; int* i; float* fl; double* db; }...

CvMatND

多维、多通道密集数组。
成员:int type, int dims, int* refcount, union { uchar* ptr; short* s; int* i; float* fl; double* db; },struct{ int size;int step; },dim[CV_MAX_DIM]。

CvSparseMat

多维、多通道稀疏数组。
成员:int type, int dims, int* refcount, struct CvSet* heap, void** hashtable, int hashsize, int total, int valoffset, int idxoffset, int size[CV_MAX_DIM]。

IplImage

IPL 图像头。
成员:int nSize, int ID, int nChannels, int alphaChannel, int depth, char colorModel[4], char channelSeq[4], int dataOrder, int origin, int align, int width, int height, struct _IplROI roi, struct _IplImage maskROI, void imageDataId, struct _IplTileInfo tileInfo, int imageSize, char imageData, int widthStep, int BorderMode[4], int BorderConst[4], char imageDataOrigin。

CvArr

不确定数组。
CvArr* 仅仅是被用于作函数的参数,用于指示函数接收的数组类型可以不止一个,如 IplImage*, CvMat* 甚至 CvSeq*。最终的数组类型是在运行时通过分析数组头的前4 个字节判断;

转载地址:http://xpyy.baihongyu.com/

你可能感兴趣的文章
php命令行生成项目结构
查看>>
PHP和MySQL Web开发从新手到高手,第1天-搭建PHP开发环境
查看>>
php商店管理系统,基于PHP的商店管理系统.doc
查看>>
php在liunx系统中设置777权限不起作用解决方法
查看>>
PHP基于openssl实现的非对称加密操作
查看>>
php多条件筛选功能的实现
查看>>
PHP大数组循环-避免产生Notice或者是Warning
查看>>
PHP大数组过滤元素、修改元素性能分析
查看>>
php如何定义的数位置,php如何实现不借助IDE快速定位行数或者方法定义的文件和位置...
查看>>
PHP如何读取json数据
查看>>
PHP字符串
查看>>
PHP字符串递增
查看>>
php学习之基础语法
查看>>
RabbitMQ集群 - 仲裁队列、Raft协议(最详细的选举流程)
查看>>
PHP学习总结(11)——PHP入门篇之WAMPServer多站点配置
查看>>
PHP学习总结(12)——PHP入门篇之变量
查看>>
PHP学习总结(13)——PHP入门篇之常量
查看>>
PHP学习总结(14)——PHP入门篇之常用运算符
查看>>
PHP学习总结(1)——PHP入门篇之PHP可以做什么?
查看>>
PHP学习总结(2)——PHP入门篇之PHP代码标识
查看>>