From 81d9c2360fd88422fcf7c8bd176f0ae07af2a9bf Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Fri, 15 May 2015 18:18:59 +0800 Subject: updated range --- getVecs.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'getVecs.m') 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'); -- cgit v1.2.3-70-g09d2