summaryrefslogtreecommitdiffstats
path: root/SD-VBS/benchmarks/stitch/src/matlab/matchFeatures.m
diff options
context:
space:
mode:
Diffstat (limited to 'SD-VBS/benchmarks/stitch/src/matlab/matchFeatures.m')
-rwxr-xr-xSD-VBS/benchmarks/stitch/src/matlab/matchFeatures.m13
1 files changed, 0 insertions, 13 deletions
diff --git a/SD-VBS/benchmarks/stitch/src/matlab/matchFeatures.m b/SD-VBS/benchmarks/stitch/src/matlab/matchFeatures.m
deleted file mode 100755
index 7af77e0..0000000
--- a/SD-VBS/benchmarks/stitch/src/matlab/matchFeatures.m
+++ /dev/null
@@ -1,13 +0,0 @@
1function retMatch=matchFeatures(vecF1, vecF2)
2[n1 temp]=size(vecF1);
3[n2 temp]=size(vecF2);
4
5retMatch=zeros(0,2);
6
7for i=1:n1
8 [val id]=sort(dist2(vecF1(i,:),vecF2));
9 if val(2)~=0 & val(1)/val(2)<0.65
10 retMatch=[retMatch; i id(1)];
11 end
12end
13