没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
基础结构 • 数组操作 o 初始化 o 获取元素和数组子集 o 拷贝和填充 o 变换和置换 o 算术、逻辑和比较 o 统计 o 线性代数 o 数学函数 o 随机数生成 o 离散变换 • 动态结构 o 内存存储 o 序列 o 集合 o 图 o 树 ----------------- • 绘图函数 **************************************** o 典线和形状 o 文本 o 点集和轮廓 • 数据保存和运行时类型信息 樊臻韬 o 文件存储 o 写数据 o 读数据 o 运行时类型信息和通用函数 ------------ --- • 其它混合函数 • 错误处理和系统函数 o 错误处理 o 系统函数 谭俊河 • 依字母顺序函数列表 • 例子列表 -----
资源推荐
资源详情
资源评论
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/release/download_crawler_static/10395707/bg1.jpg)
• 基础结构
• 数组操作
o 初始化
o 获取元素和数组子集
o 拷贝和填充
o 变换和置换
o 算术、逻辑和比较
o 统计
o 线性代数
o 数学函数
o 随机数生成
o 离散变换
• 动态结构
o 内存存储
o 序列
o 集合
o 图
o 树 -----------------
• 绘图函数 ****************************************
o 典线和形状
o 文本
o 点集和轮廓
• 数据保存和运行时类型信息 樊臻韬
o 文件存储
o 写数据
o 读数据
o 运行时类型信息和通用函数 ------------
---
• 其它混合函数
• 错误处理和系统函数
o 错误处理
o 系统函数 谭俊河
• 依字母顺序函数列表
• 例子列表 ------------------------
---
CvPoint
基于二维整形坐标轴的点
typedef struct CvPoint
{
int x; /* X坐标, 通常以 0 为基点 */
int y; /* y坐标,通常以 0 为基点 */
}
CvPoint;
/* 构造函数 */
inline CvPoint cvPoint( int x, int y );
/* 从 CvPoint2D32f 类型转换得来 */
(x,y)
![](https://csdnimg.cn/release/download_crawler_static/10395707/bg2.jpg)
inline CvPoint cvPointFrom32f( CvPoint2D32f point );
CvPoint2D32f
二维浮点坐标上的点
typedef struct CvPoint2D32f
{
float x; /* X坐标, 通常以 0 为基点*/
float y; /* Y坐标, 通常以 0 为基点*/
}
CvPoint2D32f;
/* 构造函数 */
inline CvPoint2D32f cvPoint2D32f( double x, double y );
/* 从 CvPoint 转换来 */
inline CvPoint2D32f cvPointTo32f( CvPoint point );
CvPoint3D32f
三维浮点坐标上的点
typedef struct CvPoint3D32f
{
float x; /* x-坐标,通常基于 0 */
float y; /* y-坐标, 通常基于 0*/
float z; /* z-坐标,通常基于 0 */
}
CvPoint3D32f;
/* 构造函数 */
inline CvPoint3D32f cvPoint3D32f( double x, double y, double
z );
CvSize
矩形框大小,以像素为精度
typedef struct CvSize
{
int width; /* 矩形宽 */
int height; /* 矩形高 */
}
CvSize;
/* 构造函数 */
inline CvSize cvSize( int width, int height );
CvSize2D32f
以低像素精度标量矩形框大小
typedef struct CvSize2D32f
{
CvPoint,CvSiz等这些数据类型若没有特殊标志,就是整型的
![](https://csdnimg.cn/release/download_crawler_static/10395707/bg3.jpg)
float width; /* 矩形宽 */
float height; /* 矩形高 */
}
CvSize2D32f;
/* 构造函数*/
inline CvSize2D32f cvSize2D32f( double width, double height );
CvRect
矩形框的偏移和大小
typedef struct CvRect
{
int x; /* 方形的最左角的 x-坐标 */
int y; /* 方形的最上或者最下角的 y-坐标 */
int width; /* 宽 */
int height; /* 高 */
}
CvRect;
/* 构造函数*/
inline CvRect cvRect( int x, int y, int width, int height );
CvScalar
可存放在
1-
,
2-
,
3-
,
4-TUPLE
类型的捆绑数据的容器
typedef struct CvScalar
{
double val[4]
}
CvScalar;
/* 构造函数:用 val0 初始化 val[0]用 val1 初始化 val[1]等等*/
inline CvScalar cvScalar( double val0, double val1=0,
double val2=0, double val3=0 );
/* 构造函数:用 val0123 初始化 val0123 */
inline CvScalar cvScalarAll( double val0123 );
/* 构造函数:用 val0 初始化 val[0],val[1]…val[3]用 0 初始化 */
inline CvScalar cvRealScalar( double val0 );
CvTermCriteria
迭代算法的终止标准
#define CV_TERMCRIT_ITER 1
#define CV_TERMCRIT_NUMBER CV_TERMCRIT_ITER
#define CV_TERMCRIT_EPS 2
左上角x、y,宽度和高度,确定了矩形框的位置和大小。
![](https://csdnimg.cn/release/download_crawler_static/10395707/bg4.jpg)
typedef struct CvTermCriteria
{
int type; /* CV_TERMCRIT_ITER 和
CV_TERMCRIT_EPS 的联合 */
int max_iter; /* 迭代的最大数 */
double epsilon; /* 结果的精确性 */
}
CvTermCriteria;
/* 构造函数 */
inline CvTermCriteria cvTermCriteria( int type, int max_iter,
double epsilon );
/* 检查终止标准并且转换使
type=CV_TERMCRIT_ITER+CV_TERMCRIT_EPS,并且满足
max_iter 和 epsilon 限制条件 */
CvTermCriteria cvCheckTermCriteria( CvTermCriteria criteria,
double default_eps,
int default_max_iters );
CvMat
多通道矩阵
typedef struct CvMat
{
int type; /* CvMat 标识 (CV_MAT_MAGIC_VAL), 元素类型
和标记 */
int step; /* 以字节为单位的行数据长度*/
int* refcount; /* 数据参考计数 */
union
{
uchar* ptr;
short* s;
int* i;
float* fl;
double* db;
} data; /* data 指针 */
#ifdef __cplusplus
union
{
int rows;
int height;
};
union
{
![](https://csdnimg.cn/release/download_crawler_static/10395707/bg5.jpg)
int cols;
int width;
};
#else
int rows; /* 行数 */
int cols; /* 列数*/
#endif
} CvMat;
CvMatND
多维、多通道密集数组
typedef struct CvMatND
{
int type; /* CvMatND 标识(CV_MATND_MAGIC_VAL), 元
素类型和标号*/
int dims; /* 数组维数 */
int* refcount; /* 数据参考计数 */
union
{
uchar* ptr;
short* s;
int* i;
float* fl;
double* db;
} data; /* data 指针*/
/* 每维的数据结构 (元素号,以字节为单位的元素之间的距离)
是配套定义的 */
struct
{
int size; int step;
}
dim[CV_MAX_DIM];
} CvMatND;
CvSparseMat
多维、多通道稀疏数组
typedef struct CvSparseMat
{
int type; /* CvSparseMat 标识
(CV_SPARSE_MAT_MAGIC_VAL), 元素类型和标号 */
int dims; /* 维数 */
剩余238页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
- panemein2019-01-25PDF版本,不好用!
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
_霁夜茶_
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)