Fix a bug of ocl::Canny when src/dst using the same buffer.

This commit is contained in:
peng xiao
2013-04-12 11:10:47 +08:00
parent 242955ce22
commit aec7a67d0f
2 changed files with 14 additions and 12 deletions

View File

@@ -887,7 +887,7 @@ namespace cv
oclMat dx, dy;
oclMat dx_buf, dy_buf;
oclMat edgeBuf;
oclMat magBuf, mapBuf;
oclMat trackBuf1, trackBuf2;
void *counter;
Ptr<FilterEngine_GPU> filterDX, filterDY;