Match Plot
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.
Cite As
Li yang Ku (2024). Match Plot (https://www.mathworks.com/matlabcentral/fileexchange/31144-match-plot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Feature Detection and Extraction > Local Feature Extraction > SIFT - Scale Invariant Feature Transform >
Tags
Acknowledgements
Inspired: Object Matching
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |