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?
Best Answer