Robust image matching using the RANSAC algorithm and Harris Corner features

In this example, we will match an image with its affine transformed version; they can be considered as if they were taken from different view points. The following steps describe the image matching algorithm:

  1. First, we will compute the interest points or the Harris Corners in both the images.
  2. A small space around the points will be considered, and the correspondences in-between the points will then be computed using a weighted sum of squared differences. This measure is not very robust, and it's only usable with slight viewpoint changes.
  3. A set of source and corresponding destination coordinates will be obtained once the correspondences are found; they are used to ...

Get Hands-On Image Processing with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.