summaryrefslogtreecommitdiff
path: root/getVecs.m
diff options
context:
space:
mode:
Diffstat (limited to 'getVecs.m')
-rw-r--r--getVecs.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/getVecs.m b/getVecs.m
index 0f0a615..715e9f2 100644
--- a/getVecs.m
+++ b/getVecs.m
@@ -1,4 +1,4 @@
-function getVecs(dirname)
+function getVecs(dirname,minc,maxc)
indir = strcat(strcat('~/VIPeR/',dirname),'/');
idlist=dir(indir);
@@ -16,7 +16,7 @@ function getVecs(dirname)
n=n(1:strfind(n,'_')-1)
end
img=im2double(imread(strcat(indir,idlist(i).name)));
- I=genFeatureVec(img);
+ I=genFeatureVec(img,minc,maxc);
fprintf(fid,'%s ',n);
fprintf(fid,'%f ',I);
fprintf(fid,'\n');