Giter Site home page Giter Site logo

sift-on-matlab's Introduction

SIFT-on-MATLAB

An implementation of Distinctive image features from scale-invariant keypoints, created by David Lowe. This is a term project for "Advanced Topics in Medical Image Analysis" course at Middle East Technical University.

Usage

Read an image in Matlab and convert it into gray scale image then use it as input for SIFT function.

  • SIFT(Image, Octaves, Scales, Sigma): Main function takes gray scale image, number of octaves, number of scales per octaves and initial value for sigma. Returns key points inside a cell array.

Example:

image = imread('image.jpg');
image = double(rgb2gray(image));
keyPoints = SIFT(image,3,5,1.6);

Key points created in the process are objects. All of the key points are returned in a cell array. Each key point contains:

  • coordinates():returns [x, y] coordinate of the key point on image.
  • direction():Returns general Direction of the key point.
  • magnitude():Returns the magnitude of general direction vector.
  • octave():Returns number of the octave which the key point extracted from.
  • scale(): Returns sigma value which the image is convolved with.
  • descriptor():Returns a vector containing the descriptor.

Image Visualizer

This function's main purpose is to illustrate the keypoints on the image. The function SIFTKeypointVisualizer will be called after extracting keypoints.

Example:

image = SIFTKeypointVisualizer(image,keyPoints);
imshow(uint8(image));

Dependencies

This code is dependent on some functions within Image Processing Toolbox of matlab.

Disclaimer

All the rights to "Distinctive image features from scale-invariant keypoints" are reserved for University of British Columbia. A license must be obtained from the University of British Columbia for any commercial applications.

Contact

For further information please contact [email protected] or [email protected].

sift-on-matlab's People

Contributors

aminzabardast avatar

Watchers

James Cloos avatar

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.