Update hough_circles.cpp

This commit is contained in:
Chechli 2014-02-17 09:50:32 +01:00
parent 640a45d359
commit 9211d1ac2d

View File

@ -41,7 +41,6 @@
//M*/
#include "precomp.hpp"
#include <algorithm>
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<cuda::Filter> 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_);