Opencv

1.opencv 3.0之后 CV_RGB2GRAY 改成 COLOR_RGB2GRAY
2.CV_[位数][带符号与否][类型前缀]C[通道数]
3.point 类 Point p;p.x=1;p.y=2; Point2f p(1,2),定义二维点
4.Scalar(a,b,c)颜色表示,红色为C 绿色为b 蓝色为a
5.计算程序运行时间
double time0=static_cast(getTickCount());
time0=((double)getTickCount()-time0);
6.访问图片的像素
Mat test(3,3,8UC1);
uchar *data=test.ptr(0)[1];
//指向第一行第二个元素的地址

7 ORB
1.KeyPoint 是一个存放角点的数据类
cv::KeyPoint::KeyPoint ( float x,
float y,
float _size,
float _angle = -1,
float _response = 0,
int _octave = 0,
int _class_id = -1
)

descriptorMatcherType Descriptor matcher type. Now the following matcher types are supported:
BruteForce (it uses L2 )//暴力匹配
BruteForce-L1
BruteForce-Hamming
BruteForce-Hamming(2)
FlannBased

1.特征点提取

Ptr FeatureDetector::create(const string& detectorType)

2.特征描述符提取

Ptr

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值