fixed ocl::Laplacian for case when scale != 1

This commit is contained in:
Ilya Lavrenov
2013-10-19 12:12:16 +04:00
parent 6085c416a7
commit 9d923b50ac
2 changed files with 7 additions and 4 deletions

View File

@@ -1416,7 +1416,7 @@ void cv::ocl::Laplacian(const oclMat &src, oclMat &dst, int ddepth, int ksize, d
CV_Assert(ksize == 1 || ksize == 3);
static const int K[2][9] =
int K[2][9] =
{
{0, 1, 0, 1, -4, 1, 0, 1, 0},
{2, 0, 2, 0, -8, 0, 2, 0, 2}