Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked from shelly-iris/SIFT

基于SIFT关键点检测的图像匹配

Notifications You must be signed in to change notification settings

yanwangting/SIFT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

Running the tests

python main.py <REF_path> <QRY_path> <name_of_query_image>

Ex : python main.py ../data/input.jpg ../data/query.jpg query

Result will be saved in the folder where is code

简介:

基于BFmatcher的SIFT实现过程:

BFmatcher(Brute-Force Matching)暴力匹配,应用BFMatcher.knnMatch( )函数来进行核心的匹配,knnMatch(k-nearest neighbor classification)k近邻分类算法。

效果演示:

eg1:首先测试的一组图像是之前在实验室调低曝光后的免驱相机拍摄的角点发光收集框,模拟的是双目相机看到的效果(从不同角度)。

原图:

image image

算法处理效果:

image

eg2:第二组图片选取一组目标物体呈90角且视角偏移光线不同的图像(用手机拍摄自己的鼠标)

原图:

image image

算法处理效果:

image

eg3:第三组图像选择的是目标物体特写以及目标物体在复杂环境中的两张图片,也就是检测SIFT算法在目标检测中的应用效果:

原图:

image image

算法处理效果:

image

实践总结:

SIFT算法对于双目图像匹配问题,目标检测问题有着比较好的实现效果,相比起传统的二值化findcounters方法有着更高的鲁棒性,实践证明,算法对于光线,旋转,尺度缩放,视角变化均有较好的不变性。识别检测特征点较多,匹配精度比较高。
当然SIFT算法也存在缺点:相比起传统图像处理方法,对于大分辨率图像实时性不高,这个需要优化sift匹配算法提高效率。

About

基于SIFT关键点检测的图像匹配

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%

AltStyle によって変換されたページ (->オリジナル) /