From 6c2559b8357803fb3155fc3ae4bd4163b2c45494 Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Sat, 27 Jun 2015 20:41:53 +0800 Subject: readme --- README | 28 ++++++++++++++++++++++++++++ schmidFilter.m | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..785d750 --- /dev/null +++ b/README @@ -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))); -- cgit v1.2.3-70-g09d2