diff options
-rw-r--r-- | README | 28 | ||||
-rw-r--r-- | schmidFilter.m | 2 |
2 files changed, 29 insertions, 1 deletions
@@ -0,0 +1,28 @@ +Feature Extraction +================== + +VIPeR specific + +publicly available Feat-ext source: +https://github.com/rlayne/ELF-v2.0-Descriptor + +Requirement: +matlab(tested with R2014b & R2015a under linux) +bash/zsh(as default shell or change shebang to #!/bin/bash) + +How to use: +./genRid.sh cam +change cam to the directory name of dataset + +Structure: +./genRid.sh + ./runMatlab.sh -> call matlab script or functions + ./parGetVecs.m -> calculate vectors of images in 'cam_a' & 'cam_b' to a.txt & b.txt + ./getVecsM.m -> get maximum % minimum + ./getVecs.m -> get histo using previously calculated maximum & minimum + combine a.txt b.txt to cam.rid + +!!Feature size is hardcoded, change in ./genRid.sh & ./parGetVecs.m!! + +Clean-up: +redundancy in ./getFeatureExt.m & ./genFeatureVec.m diff --git a/schmidFilter.m b/schmidFilter.m index 12d4b30..e4f34fa 100644 --- a/schmidFilter.m +++ b/schmidFilter.m @@ -2,4 +2,4 @@ function fout = schmidFilter(t,sigma) sz=fix(4*sigma); [x,y] = meshgrid(-sz:sz,sz:-1:-sz); r=sqrt(x.^2+y.^2); - fout = filterNorm(cos((2*pi*t/sigma)*r).*exp(-(r.^2)/(2*sigma^2))); + fout = filterNorm(cos((pi*t/sigma)*r).*exp(-(r.^2)/(2*sigma^2))); |