Monday 2 July 2012

SIFT

The algorithm

SIFT is quite an involved algorithm. It has a lot going on and can become confusing, So I’ve split up the entire algorithm into multiple parts. Here’s an outline of what happens in SIFT.
  1. Constructing a scale space
  2. This is the initial preparation. You create internal representations of the original image to ensure scale invariance. This is done by generating a “scale space”.
  3. LoG Approximation
  4. The Laplacian of Gaussian is great for finding interesting points (or key points) in an image. But it’s computationally expensive. So we cheat and approximate it using the representation created earlier.
  5. Finding keypoints
  6. With the super fast approximation, we now try to find key points. These are maxima and minima in the Difference of Gaussian image we calculate in step 2
  7. Get rid of bad key points
  8. Edges and low contrast regions are bad keypoints. Eliminating these makes the algorithm efficient and robust. A technique similar to the Harris Corner Detector is used here.
  9. Assigning an orientation to the keypoints
  10. An orientation is calculated for each key point. Any further calculations are done relative to this orientation. This effectively cancels out the effect of orientation, making it rotation invariant.
  11.  
  12.  
  13. http://www.aishack.in/2010/05/sift-scale-invariant-feature-transform/

No comments:

Post a Comment