OpenCV中KeyPoint类

(248条消息) OpenCV中KeyPoint类_哀酱的博客-CSDN博客_keypoint类

 

 

Opencv中KeyPoint类中的默认构造函数如下:

CV_WRAP KeyPoint() : pt(0,0), size(0), angle(-1), response(0), octave(0), class_id(-1) {}
现分析各项属性

pt(x,y):关键点的点坐标;

size():该关键点邻域直径大小;

angle:角度,表示关键点的方向,值为[零,三百六十),负值表示不使用。

response:响应强度,网络上有如下解释:

1)”The response, by which the strongest keypoints have been selected.”

2)”Responseis indeed an indicator of “how good” (roughly speaking, in terms of corner-ness) a point is. The higher, the better. The strongest keypoints means the ones that are the best.“

octacv:从哪一层金字塔得到的此关键点。

class_id:当要对图片进行分类时,用class_id对每个关键点进行区分,默认为-1。

 

 


————————————————
版权声明:本文为CSDN博主「哀酱」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/u010821666/article/details/52883580

 

posted @ 2022-07-09 08:46  梅长苏枫笑  阅读(1318)  评论(0编辑  收藏  举报