1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Merge pull request #2468 from mlyashko:back_proj_fix

This commit is contained in:
Roman Donchenko
2014-03-13 13:42:20 +04:00
committed by OpenCV Buildbot
+4
View File
@@ -2035,6 +2035,10 @@ static bool ocl_calcBackProject( InputArrayOfArrays _images, std::vector<int> ch
Size size = images[0].size();
int depth = images[0].depth();
//kernels are valid for this type only
if (depth != CV_8U)
return false;
for (size_t i = 1; i < nimages; ++i)
{
const UMat & m = images[i];