www.gusucode.com > vision 源码程序 matlab案例代码 > vision/MatchTwoSetsofBinaryFeatureVectorsExample.m

    %% Match Two Sets of Binary Feature Vectors  

%% 
% Input feature vectors. 
% 
%  features1 = binaryFeatures(uint8([1 8 7 2; 8 1 7 2]));
%  features2 = binaryFeatures(uint8([8 1 7 2; 1 8 7 2]));  

%% 
% Match the vectors using the Hamming distance. 
% 
%  [indexPairs matchMetric] = matchFeatures(features1, features2)