Update hough_circles.cpp
authorChechli <lukasz.chechlinski@gmail.com>
Sun, 16 Feb 2014 12:26:00 +0000 (13:26 +0100)
committerChechli <lukasz.chechlinski@gmail.com>
Sun, 16 Feb 2014 12:26:00 +0000 (13:26 +0100)
modules/cudaimgproc/src/hough_circles.cpp

index c3ca971..68c87b6 100644 (file)
@@ -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)
         {