From: Chechli Date: Sun, 16 Feb 2014 12:26:00 +0000 (+0100) Subject: Update hough_circles.cpp X-Git-Tag: submit/tizen_ivi/20141117.190038~2^2~605^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10465c546aaf6e535d40a2c66822ef630108add8;p=profile%2Fivi%2Fopencv.git Update hough_circles.cpp --- diff --git a/modules/cudaimgproc/src/hough_circles.cpp b/modules/cudaimgproc/src/hough_circles.cpp index c3ca971..68c87b6 100644 --- a/modules/cudaimgproc/src/hough_circles.cpp +++ b/modules/cudaimgproc/src/hough_circles.cpp @@ -195,7 +195,10 @@ namespace accum_.setTo(Scalar::all(0)); circlesAccumCenters_gpu(srcPoints, pointsCount, dx_, dy_, accum_, minRadius_, maxRadius_, idp); - + + Mat tt; //CPU copy of accum_ + accum_.download(tt); + int centersCount = buildCentersList_gpu(accum_, centers, votesThreshold_); if (centersCount == 0) {