Code Monkey home page Code Monkey logo

shapecontexts's Introduction

ShapeContexts

Shape contexts for shape matching and for point correspondence. A faithful implementation of Belongie's, Malik's and Puzicha's "Shape Contexts". Based on the chi-squared distance between rose histograms.

Getting Started

This little project is a faithful implementation of Belongie's, Malik's and Puzicha's "Shape Contexts". They can be used for shape matching as well as point correspondance from a shape to another shape. The method computes the earth mover's distance from the rose histograms of one shape to the rose histograms of the other shape, with one histogram per point. The function "munkres.m" is written by Yi Cao, originally from here: https://www.mathworks.com/matlabcentral/fileexchange/20328-munkres-assignment-algorithm

Prerequisites

For this to run you need Matlab installed, along these toolboxes: -image_toolbox -statistics_toolbox

If you want to run test_ransac.m you have to install Kovesi's matlab packages, they can be found here: http://www.peterkovesi.com/matlabfns/index.html

Versioning

This is version 1, it is fairly slow, in the future I plan on writing a CUDA version or it as well as an update mechanism for the histograms.

Author

Adrian Szatmari

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Warm thanks to Peter Kovesi and to Yi Cao for making their code publicly available.
  • Warm thanks to Serge Belongie, Jitendra Malik and Jan Puzicha for their excellent paper.

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.