function showSURF(imgFile, desc) % showSURF(img, desc) % Show SURF feature vectors laid on top of source image. % Show query image warning off; h = imshow(imgFile); hold on; warning on; % Load descriptor file featureRows = desc; featurePoints = featureRows(:,1:2); % featureHessians = featureRows(:,3:5); % featureLapSigns = featureRows(:,6); % featureDescr = featureRows(:,7:end); % Show descriptors for n = 1:size(featurePoints,1) h = plot(round(featurePoints(n,1)), round(featurePoints(n,2)), 'yo'); hold on; set(h, 'MarkerSize', 2, 'MarkerFaceColor', 'yellow'); end