From 9211d1ac2d2b081cce64a00e9392a9458b00f13e Mon Sep 17 00:00:00 2001 From: Chechli Date: Mon, 17 Feb 2014 09:50:32 +0100 Subject: [PATCH] Update hough_circles.cpp --- modules/cudaimgproc/src/hough_circles.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/cudaimgproc/src/hough_circles.cpp b/modules/cudaimgproc/src/hough_circles.cpp index 68c87b6bb6..d78919dab0 100644 --- a/modules/cudaimgproc/src/hough_circles.cpp +++ b/modules/cudaimgproc/src/hough_circles.cpp @@ -41,7 +41,6 @@ //M*/ #include "precomp.hpp" -#include using namespace cv; using namespace cv::cuda; @@ -134,6 +133,7 @@ namespace GpuMat dx_, dy_; GpuMat edges_; GpuMat accum_; + Mat tt; //CPU copy of accum_ GpuMat list_; GpuMat result_; Ptr filterDx_; @@ -196,7 +196,6 @@ namespace 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_);