1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

added performance test

This commit is contained in:
Ilya Lavrenov
2014-01-29 20:34:37 +04:00
parent 384a28622d
commit faa6074f3d
2 changed files with 41 additions and 1 deletions
+1 -1
View File
@@ -1414,7 +1414,7 @@ static bool ocl_calcHist1(InputArrayOfArrays _src, OutputArray _hist, int ddepth
if (k1.empty())
return false;
_hist.create(1, BINS, ddepth);
_hist.create(BINS, 1, ddepth);
UMat src = _src.getUMat(), ghist(1, BINS * compunits, CV_32SC1),
hist = ddepth == CV_32S ? _hist.getUMat() : UMat(BINS, 1, CV_32SC1);