Why matchFeatures gives two different answers?
Show older comments
I tried to run this code:
I1 = rgb2gray(imread('viprectification_deskLeft.png'));
I2 = rgb2gray(imread('viprectification_deskRight.png'));
points1 = detectSURFFeatures(I1);
points2 = detectSURFFeatures(I2);
[features1, valid_points1] = extractFeatures(I1, points1);
[features2, valid_points2] = extractFeatures(I2, points2);
indexPairs1 = matchFeatures(features1, features2);
indexPairs2 = matchFeatures(features2, features1);
My Question: Why indexPairs1 and indexPairs2 have different length? I suppose it share the same length rite?
Accepted Answer
More Answers (1)
Zainor
on 9 Apr 2013
0 votes
Categories
Find more on Feature Detection and Extraction in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!