diff options
Diffstat (limited to 'SD-VBS/benchmarks/stitch/src/matlab/matchFeatures.m')
| -rwxr-xr-x | SD-VBS/benchmarks/stitch/src/matlab/matchFeatures.m | 13 |
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 @@ | |||
| 1 | function retMatch=matchFeatures(vecF1, vecF2) | ||
| 2 | [n1 temp]=size(vecF1); | ||
| 3 | [n2 temp]=size(vecF2); | ||
| 4 | |||
| 5 | retMatch=zeros(0,2); | ||
| 6 | |||
| 7 | for 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 | ||
| 12 | end | ||
| 13 | |||
