|Code Listing by Li yang Ku|
Object matching method based on Lowe, D.G. Object recognition from local scale-invariant features. Marks the contour of the target in a test image based on 1 target image. Uses SURF points instead of SIFT points.
Need to download SURFmex library first.
See http://computervisionblog.wordpress.com/2012/01/15/object-matching-method-made-in-the-20th-century/ for detail://http://computervisionblog.wordpress...ury/ for detail.
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)