久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

OpenCV ORB 檢測器發(fā)現(xiàn)的關(guān)鍵點(diǎn)很少

OpenCV ORB detector finds very few keypoints(OpenCV ORB 檢測器發(fā)現(xiàn)的關(guān)鍵點(diǎn)很少)
本文介紹了OpenCV ORB 檢測器發(fā)現(xiàn)的關(guān)鍵點(diǎn)很少的處理方法,對大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

我正在嘗試使用 ORB 關(guān)鍵點(diǎn)檢測器,它返回的點(diǎn)似乎比 SIFT 檢測器和 FAST 檢測器少得多.

I'm trying to use the ORB keypoint detector and it seems to be returning much fewer points than the SIFT detector and the FAST detector.

此圖顯示了 ORB 檢測器發(fā)現(xiàn)的關(guān)鍵點(diǎn):

This image shows the keypoints found by the ORB detector:

這張圖顯示了 SIFT 檢測階段發(fā)現(xiàn)的關(guān)鍵點(diǎn)(FAST 返回的點(diǎn)數(shù)相似).

and this image shows the keypoints found by the SIFT detection stage (FAST returns a similar number of points).

只有這么少的點(diǎn)會(huì)導(dǎo)致跨圖像的特征匹配結(jié)果非常差.我現(xiàn)在只是對 ORB 的檢測階段感到好奇,因?yàn)檫@似乎我得到了不正確的結(jié)果.我已經(jīng)嘗試使用 ORB 檢測器和默認(rèn)參數(shù)以及下面詳述的自定義參數(shù).

Having such few points is resulting in very poor feature matching results across images. I'm just curious about the detection stage of ORB right now though because this seems like I'm getting incorrect results. I've tried using the ORB detector with default parameters and also custom parameters detailed below as well.

為什么會(huì)有這么大的差異?

Why such a big difference?

代碼:

orb = cv2.ORB_create(edgeThreshold=15, patchSize=31, nlevels=8, fastThreshold=20, scaleFactor=1.2, WTA_K=2,scoreType=cv2.ORB_HARRIS_SCORE, firstLevel=0, nfeatures=500)
#orb = cv2.ORB_create()
kp2 = orb.detect(img2)
img2_kp = cv2.drawKeypoints(img2, kp2, None, color=(0,255,0), 
        flags=cv2.DrawMatchesFlags_DEFAULT)

plt.figure()
plt.imshow(img2_kp)
plt.show()

推薦答案

增加 nfeatures 會(huì)增加檢測到的角點(diǎn)的數(shù)量.關(guān)鍵點(diǎn)提取器的類型似乎無關(guān)緊要.我不確定如何將此參數(shù)傳遞給 FAST 或 Harris,但它似乎可以工作.

Increasing nfeatures increases the number of detected corners. The type of keypoint extractor seems irrelevant. I'm not sure how this parameter is passed to FAST or Harris but it seems to work.

orb = cv2.ORB_create(scoreType=cv2.ORB_FAST_SCORE)

orb = cv2.ORB_create(nfeatures=100000, scoreType=cv2.ORB_FAST_SCORE)

這篇關(guān)于OpenCV ORB 檢測器發(fā)現(xiàn)的關(guān)鍵點(diǎn)很少的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

How to draw a rectangle around a region of interest in python(如何在python中的感興趣區(qū)域周圍繪制一個(gè)矩形)
How can I detect and track people using OpenCV?(如何使用 OpenCV 檢測和跟蹤人員?)
How to apply threshold within multiple rectangular bounding boxes in an image?(如何在圖像的多個(gè)矩形邊界框中應(yīng)用閾值?)
How can I download a specific part of Coco Dataset?(如何下載 Coco Dataset 的特定部分?)
Detect image orientation angle based on text direction(根據(jù)文本方向檢測圖像方向角度)
Detect centre and angle of rectangles in an image using Opencv(使用 Opencv 檢測圖像中矩形的中心和角度)
主站蜘蛛池模板: 欧美一区二区三区电影 | 成人国产精品久久 | 国产精品亚洲一区二区三区在线 | 欧美黄色网| 区一区二在线观看 | 亚洲精品国产成人 | 九九精品视频在线 | 美日韩中文字幕 | 国产精久久久 | 91综合网| 天天玩天天干天天操 | 99热视 | 国产区高清 | 日韩在线免费视频 | 日韩av一区二区在线观看 | 欧美精品一区久久 | 久久一二| 一级黄色绿像片 | 国产资源在线视频 | 岛国av免费看| 日韩中文字幕在线播放 | www国产成人免费观看视频,深夜成人网 | 羞羞网站在线免费观看 | 成人不卡 | 日韩av网址在线观看 | 国产精品高清一区二区三区 | 久久久久9999亚洲精品 | 国产精品视频97 | 一级在线免费观看 | 日韩av高清在线 | 日韩视频中文字幕 | 成人在线观看中文字幕 | 国产日韩欧美一区二区 | 亚洲精品电影网在线观看 | 伊人免费观看视频 | 精精久久| 久久r免费视频 | 日本久久精品视频 | 欧洲免费视频 | 一级做a爰片性色毛片 | 99久久精品免费看国产免费软件 |