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

縮放和旋轉模板匹配

scale and rotation Template matching(縮放和旋轉模板匹配)
本文介紹了縮放和旋轉模板匹配的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我正在使用帶有 CV_TM_CCORR_NORMED 的匹配模板的方法來比較兩個圖像......我想讓這個旋轉和縮放不變......有什么想法嗎?

I'm using the method of match template with CV_TM_CCORR_NORMED to compare two images ... I want to make to make this rotation and scale invariant .. any ideas?

圖像和模板的傅里葉變換我嘗試用同樣的方法,但是旋轉后的結果還是不一樣

I tried to use the same method on the fourier transform of the image and the template , but still the result after rotation is different

推薦答案

在場景中旋轉或縮放對象時,使用 matchTemplate 的模板匹配效果不佳.

Template matching with matchTemplate is not good when your object is rotated or scaled in scene.

您應該嘗試 Features2D 框架中的 openCV 函數.例如SIFTSURF 描述符,以及FLANN 匹配器.此外,您還需要 findHomography 方法.

You should try openCV function from Features2D Framework. For example SIFT or SURF descriptors, and FLANN matcher. Also, you will need findHomography method.

這里是在場景中找到旋轉對象的一個??很好的例子.

Here is a good example of finding rotated object in scene.

更新:

簡而言之,算法是這樣的:

In short, algorithm is this:

  1. 尋找對象圖像的關鍵點1.1.從這些關鍵點中提取描述符

  1. Finding keypoints of your object image 1.1. Extracting descriptors from those keypoints

尋找場景圖像的關鍵點2.1 從關鍵點中提取描述符

Finding keypoints of your scene image 2.1 Extracting descriptors from keypoints

通過匹配器匹配描述符

分析你的匹配

有不同類別的 FeatureDetector、DescriptorExtractors 和 DescriptorMatches,您可以閱讀它們并選擇適合您的任務的那些.

There are different classes of FeatureDetectors, DescriptorExtractors, and DescriptorMatches, you may read about them and choose those, that fit good for your tasks.

  • openCV FeatureDetector(上述算法中的第 1 步和第 2 步)
  • openCV DescriptorExtractor(算法中的步驟 1.1 和 2.1上面)
  • openCV DescriptorMatcher(上述算法中的第 3 步)
  • openCV FeatureDetector (steps 1 and 2 in algorithm above)
  • openCV DescriptorExtractor ( steps 1.1 and 2.1 in algorithm above )
  • openCV DescriptorMatcher ( step 3 in algorithm above )

這篇關于縮放和旋轉模板匹配的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

相關文檔推薦

Assertion failed (size.widthgt;0 amp;amp; size.heightgt;0)(斷言失敗(size.width0 amp;amp; size.height0))
Rotate an image in C++ without using OpenCV functions(在 C++ 中旋轉圖像而不使用 OpenCV 函數)
OpenCV: process every frame(OpenCV:處理每一幀)
Why can#39;t I open avi video in openCV?(為什么我不能在 openCV 中打開 avi 視頻?)
OpenCV unable to set up SVM Parameters(OpenCV 無法設置 SVM 參數)
Convert a single color with cvtColor(使用 cvtColor 轉換單一顏色)
主站蜘蛛池模板: 国产h片在线观看 | 欧美激情在线观看 | 国产欧美在线观看 | 少妇高潮av久久久久久 | 欧美日韩大片 | 天堂在线免费观看 | 亚洲午夜精品一区二区三区 | 日本理伦片午夜理伦片 | 欧美性猛交99久久久久99按摩 | av网站在线免费观看 | 性欧美69 | a级黄毛片| av在线免费播放 | 一区二区三区在线免费 | 中文在线字幕 | 国产盗摄一区二区三区 | 国产男女视频 | 黄色一区二区三区 | www.黄色片| 精品视频久久 | 九色av | 黄色激情视频网站 | 国产一级在线 | 国产精品一二三 | 羞羞网站在线观看 | 久操精品 | 成人在线小视频 | 亚洲精品国产精品国自产观看浪潮 | 午夜性福利| 香蕉视频一区 | 天天色天天 | 成人国产精品视频 | 亚洲激情在线视频 | 亚洲男人的天堂在线观看 | 亚洲av毛片成人精品 | 国产精品久久 | 欧美综合一区二区 | 97在线超碰 | 久久精品久久久久 | 欧美日韩毛片 | 亚洲精品福利 |