博客
关于我
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/

你可能感兴趣的文章
Python网络爬虫基础进阶到实战教程
查看>>
Python 初学者需要知道的四条建议
查看>>
Python 判断字符串是否包含子字符串
查看>>
python 判断当前时间是否为零点
查看>>
python 利用pandas读取本地中CSV文件的指定列 列名重命名 并保存回本地
查看>>
python 利用pyspark读取HDFS中CSV文件的指定列 列名重命名 并保存回HDFS
查看>>
python 利用pyttsx3文字转语音
查看>>
python 利用已有Ner模型进行数据清洗合并
查看>>
python 到大数据开发工程师_如何成为一个大数据开发工程师?
查看>>
python 加密解密(base64, AES)
查看>>
Python 包管理器和 Node.js
查看>>
Python 单词字母顺序不变且所有倒排
查看>>
python 反射机制
查看>>
python 启动提示IDLE's subprocess didn't make conne...
查看>>
python 命令接口_实现“[命令][操作][参数]”样式的命令行接口?
查看>>
Python 和 OpenCV.如何检测图像中的所有(填充)圆形/圆形对象?
查看>>
Python 和 RabbitMQ - 聆听来自多个渠道的消费事件的最佳方式?
查看>>
python编辑器打不开_关于命令ride.py打不开RF,而是打开pycharm编辑器问题解决思路...
查看>>
python编译exe同时支持32位_第三周:同时管理64位和32位版本的Python,并用Pyinstaller打包成exe...
查看>>
Python 和Java 哪个更适合做自动化测试?
查看>>