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

OpenCV ORB 檢測器發現的關鍵點很少

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

問題描述

我正在嘗試使用 ORB 關鍵點檢測器,它返回的點似乎比 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 檢測器發現的關鍵點:

This image shows the keypoints found by the ORB detector:

這張圖顯示了 SIFT 檢測階段發現的關鍵點(FAST 返回的點數相似).

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

只有這么少的點會導致跨圖像的特征匹配結果非常差.我現在只是對 ORB 的檢測階段感到好奇,因為這似乎我得到了不正確的結果.我已經嘗試使用 ORB 檢測器和默認參數以及下面詳述的自定義參數.

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.

為什么會有這么大的差異?

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 會增加檢測到的角點的數量.關鍵點提取器的類型似乎無關緊要.我不確定如何將此參數傳遞給 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)

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

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

相關文檔推薦

How to draw a rectangle around a region of interest in python(如何在python中的感興趣區域周圍繪制一個矩形)
How can I detect and track people using OpenCV?(如何使用 OpenCV 檢測和跟蹤人員?)
How to apply threshold within multiple rectangular bounding boxes in an image?(如何在圖像的多個矩形邊界框中應用閾值?)
How can I download a specific part of Coco Dataset?(如何下載 Coco Dataset 的特定部分?)
Detect image orientation angle based on text direction(根據文本方向檢測圖像方向角度)
Detect centre and angle of rectangles in an image using Opencv(使用 Opencv 檢測圖像中矩形的中心和角度)
主站蜘蛛池模板: 久久久精品在线观看 | a一级黄色片 | 六月丁香激情 | 国产精品成人一区二区 | 18视频在线观看男男 | 欧美日韩在线一区 | av超碰在线| 福利小视频在线观看 | 一区二区在线看 | 91亚洲国产| 天天操狠狠干 | 九九视频这里只有精品 | 性做久久久 | 亚洲精品免费观看 | 午夜视频免费观看 | 国产中文| 亚洲精品久久久 | 黄色大片免费在线观看 | 一区二区三区免费观看 | 日韩精品国产一区 | 久久久久精| 中文字幕av在线 | 国产一级免费视频 | 日韩毛片在线观看 | 中文字幕偷拍 | 久久免费国产 | 天堂中文在线视频 | 日本不卡在线播放 | 超碰在线小说 | 97人人插 | 狠狠躁夜夜躁人爽 | 国产精品久久久久久久免费看 | 国产精品福利在线 | 国产精品美女久久久 | 成年人视频网站 | 国产精品视频在线观看 | 亚洲天堂日本 | 国产日韩欧美精品 | 国产一级视频在线观看 | 天堂av片 | 国产黄色免费观看 |