From: Chechli Date: Tue, 18 Feb 2014 07:50:33 +0000 (+0100) Subject: Update hough_circles.cpp X-Git-Tag: submit/tizen_ivi/20141117.190038~2^2~605^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=768da4d95a77d8a7248350d53e0337b507041072;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 d78919d..2a3abe4 100644 --- a/modules/cudaimgproc/src/hough_circles.cpp +++ b/modules/cudaimgproc/src/hough_circles.cpp @@ -140,8 +140,8 @@ namespace Ptr filterDy_; Ptr canny_; }; - - bool centersCompare(Vec3f a, Vec3f b) {return (a[2] > b[2]);} + + bool centersCompare(Vec3f a, Vec3f b) {return (a[2] > b[2]);} HoughCirclesDetectorImpl::HoughCirclesDetectorImpl(float dp, float minDist, int cannyThreshold, int votesThreshold, int minRadius, int maxRadius, int maxCircles) : @@ -195,9 +195,9 @@ namespace accum_.setTo(Scalar::all(0)); circlesAccumCenters_gpu(srcPoints, pointsCount, dx_, dy_, accum_, minRadius_, maxRadius_, idp); - + accum_.download(tt); - + int centersCount = buildCentersList_gpu(accum_, centers, votesThreshold_); if (centersCount == 0) {