opencv-api drawKeyPoints

1.dectAndCompute

def detectAndCompute(self, image, mask, descriptors=None, useProvidedKeypoints=None):
detectAndCompute(image, mask[, descriptors[, useProvidedKeypoints]]) -> keypoints, descriptors

Detects keypoints and computes the descriptors

参数描述
image需要计算的图片
mask遮罩,一般设为None

2.FlannBasedMatcher

cv.FlannBasedMatcher( [, indexParams[, searchParams]] )

3.cv.findHomography

retval, mask = cv.findHomography( srcPoints, dstPoints[, method[, ransacReprojThreshold[, mask[, maxIters[, confidence]]]]] )

参数描述
image原始图像
keypoints特征点向量,每个元素对应一个特征的信息
outImage特征点绘制的图像
color特征点颜色
flags绘制模式
模式描述
DEFAULT只绘制特征点
DRAW_OVER_OUTIMG
NOT_DRAW_SINGLE_POINTS单点特征不会被绘制
DRAW_RICH_KEYPOINTS显示丰富的信息
kps描述
angle关键点的方向
class_id图片分类
octave金字塔层数
pt关键点坐标
response特征点强度
size直径大小

参考文献:
https://blog.csdn.net/YZXnuaa/article/details/79221174?utm_source=blogxgwz0

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值