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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user