diff options
author | Joe Zhao <ztuowen@gmail.com> | 2015-06-27 20:41:53 +0800 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2015-06-27 20:41:53 +0800 |
commit | 6c2559b8357803fb3155fc3ae4bd4163b2c45494 (patch) | |
tree | 81939e9bc5a4a328722de25e1f124705e510bca0 | |
parent | ac7a813ca3fa0d7b8ddb61499fa50eca1336101c (diff) | |
download | featext-6c2559b8357803fb3155fc3ae4bd4163b2c45494.tar.gz featext-6c2559b8357803fb3155fc3ae4bd4163b2c45494.tar.bz2 featext-6c2559b8357803fb3155fc3ae4bd4163b2c45494.zip |
readme
-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))); |