21 #ifndef _RESPONSE_UTILS_H
22 #define _RESPONSE_UTILS_H
39 template<
class ReturnType,
class ClassifierType>
42 for(
int j=startH; j<endH; j++)
43 for(
int i=0; i<W; i++)
45 r[j*W+i] = cl(getData1(out.first,out.second,i*step,j*step),getData2(out.first,out.second));
58 template<
class ReturnType,
class ClassifierType>
61 for(
int j=startH; j<endH; j++)
62 for(
int i=0; i<W; i++)
64 r[j*W+i] = cl(getData1(out.first,out.second,i*step,j*step));
void optimizedWorkerResponse(double *r, int startH, int endH, int W, const ClassifierType &cl, const ReturnType &out, int step)
Definition: ResponseUtils.h:59
ClassifierType
Definition: Types.h:31
void workerResponse(double *r, int startH, int endH, int W, const ClassifierType &cl, const ReturnType &out, int step)
Definition: ResponseUtils.h:40