5.0

5.0 | 4 ratings Rate this file 49 Downloads (last 30 days) File Size: 1.57 KB File ID: #31144
image thumbnail

Match Plot

by

 

Draw matching lines between corresponding points in two image. Useful for SIFT feature matching.

| Watch this File

File Information
Description

This function plots coresponding points between two images. It is pretty useful (at least for me) in visual debugging for matching feature points, such as SURF or SIFT features.

h = match_plot(img1,img2,points1,points2)

points1 = [x1 y1; x2 y2; ...] = coresponding points in img1
points2 = [x1 y1; x2 y2; ...] = coresponding points in img2

origin is the top left of the image
x axis pointing right, y axis pointing down.
points2 has to be the same size as points1.

if two images have different size, the smaller one is rescaled.

coresponding lines are plot in different colors, from red to blue in
rainbow order.

returns the figure handle object h.

Acknowledgements

This file inspired Object Matching.

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
03 Dec 2012 Judy

Thank you very much!!

09 Aug 2011 abidi hajer

thank you very much!! so interresting

08 Jul 2011 Yang

Thank you very much!

08 May 2011 Li yang Ku

If any one is interested in matching SURF points between 2 images, I wrote a tutorial using this function and the SURFmex library. http://computervisionblog.wordpress.com/2011/05/07/matchplot/

05 May 2011 Li Li  

Contact us