View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Match Plot

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

Match Plot


Li yang Ku (view profile)


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

| Watch this File

File Information

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.


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 (6)
29 Nov 2015 S N S N K V Jeevan Burugupalli

please give me an example for this function usage

Comment only
03 Dec 2012 Judy

Judy (view profile)

Thank you very much!!

09 Aug 2011 abidi hajer

thank you very much!! so interresting

08 Jul 2011 Yang

Yang (view profile)

Thank you very much!

08 May 2011 Li yang Ku

Li yang Ku (view profile)

If any one is interested in matching SURF points between 2 images, I wrote a tutorial using this function and the SURFmex library.

Comment only
05 May 2011 Li Li

Li Li (view profile)

Contact us