Home
last modified time | relevance | path

Searched refs:gradsize (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/objdetect/test/
Dtest_cascadeandhog.cpp1190 Size gradsize(img.cols + paddingTL.width + paddingBR.width, in computeGradient() local
1192 grad.create(gradsize, CV_32FC2); // <magnitude*(1-alpha), magnitude*alpha> in computeGradient()
1193 qangle.create(gradsize, CV_8UC2); // [0..nbins-1] - quantized gradient orientation in computeGradient()
1211 AutoBuffer<int> mapbuf(gradsize.width + gradsize.height + 4); in computeGradient()
1213 int* ymap = xmap + gradsize.width + 2; in computeGradient()
1217 for( x = -1; x < gradsize.width + 1; x++ ) in computeGradient()
1220 for( y = -1; y < gradsize.height + 1; y++ ) in computeGradient()
1225 int width = gradsize.width; in computeGradient()
1235 for( y = 0; y < gradsize.height; y++ ) in computeGradient()
/external/opencv3/modules/objdetect/src/
Dhog.cpp230 Size gradsize(img.cols + paddingTL.width + paddingBR.width, in computeGradient() local
232 grad.create(gradsize, CV_32FC2); // <magnitude*(1-alpha), magnitude*alpha> in computeGradient()
233 qangle.create(gradsize, CV_8UC2); // [0..nbins-1] - quantized gradient orientation in computeGradient()
271 AutoBuffer<int> mapbuf(gradsize.width + gradsize.height + 4); in computeGradient()
273 int* ymap = xmap + gradsize.width + 2; in computeGradient()
277 for( x = -1; x < gradsize.width + 1; x++ ) in computeGradient()
280 for( y = -1; y < gradsize.height + 1; y++ ) in computeGradient()
285 int width = gradsize.width; in computeGradient()
295 int end = gradsize.width + 2; in computeGradient()
309 for( y = 0; y < gradsize.height; y++ ) in computeGradient()