Code Monkey home page Code Monkey logo

sift's Introduction

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匹配算法提高效率。

sift's People

Contributors

shelly-iris avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

yanwangting

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.