/external/opencv3/samples/python2/ |
H A D | houghcircles.py | 25 circles = cv2.HoughCircles(img, cv2.HOUGH_GRADIENT, 1, 10, np.array([]), 100, 30, 1, 30) variable 26 a, b, c = circles.shape 28 cv2.circle(cimg, (circles[0][i][0], circles[0][i][1]), circles[0][i][2], (0, 0, 255), 3, cv2.LINE_AA) 29 cv2.circle(cimg, (circles[0][i][0], circles[0][i][1]), 2, (0, 255, 0), 3, cv2.LINE_AA) # draw center of circle 32 cv2.imshow("detected circles", cimg)
|
/external/opencv3/samples/cpp/ |
H A D | houghcircles.cpp | 33 vector<Vec3f> circles; local 34 HoughCircles(img, circles, HOUGH_GRADIENT, 1, 10, 36 // (min_radius & max_radius) to detect larger circles 38 for( size_t i = 0; i < circles.size(); i++ ) 40 Vec3i c = circles[i]; 45 imshow("detected circles", cimg);
|
/external/opencv3/samples/cpp/tutorial_code/ImgTrans/ |
H A D | HoughCircle_Demo.cpp | 32 std::vector<Vec3f> circles; local 34 HoughCircles( src_gray, circles, HOUGH_GRADIENT, 1, src_gray.rows/8, cannyThreshold, accumulatorThreshold, 0, 0 ); 38 for( size_t i = 0; i < circles.size(); i++ ) 40 Point center(cvRound(circles[i][0]), cvRound(circles[i][1])); 41 int radius = cvRound(circles[i][2]);
|
/external/opencv3/modules/cudaimgproc/test/ |
H A D | test_hough.cpp | 121 static void drawCircles(cv::Mat& dst, const std::vector<cv::Vec3f>& circles, bool fill) argument 125 for (size_t i = 0; i < circles.size(); ++i) 126 cv::circle(dst, cv::Point2f(circles[i][0], circles[i][1]), (int)circles[i][2], cv::Scalar::all(255), fill ? -1 : 1); 158 std::vector<cv::Vec3f> circles; local 159 d_circles.download(circles); 161 ASSERT_FALSE(circles.empty()); 163 for (size_t i = 0; i < circles.size(); ++i) 165 cv::Vec3f cur = circles[ [all...] |
/external/opencv3/modules/cudaimgproc/src/ |
H A D | hough_circles.cpp | 66 float3* circles, int maxCircles, float dp, int minRadius, int maxRadius, int threshold, bool has20); 77 void detect(InputArray src, OutputArray circles, Stream& stream); 157 void HoughCirclesDetectorImpl::detect(InputArray _src, OutputArray circles, Stream& stream) 193 circles.release(); 207 circles.release(); 303 circles.release(); 308 result_.copyTo(circles);
|
/external/opencv3/modules/cudaimgproc/src/cuda/ |
H A D | hough_circles.cu | 181 float3* circles, const int maxCircles, const float dp, 224 circles[ind] = make_float3(cx, cy, i + minRadius); 230 float3* circles, int maxCircles, float dp, int minRadius, int maxRadius, int threshold, bool has20) 243 circlesAccumRadius<<<grid, block, smemSize>>>(centers, list, count, circles, maxCircles, dp, minRadius, maxRadius, histSize, threshold);
|
/external/opencv/cv/src/ |
H A D | cvhough.cpp | 854 CvSeq* circles, int circles_max ) 1003 for( j = 0; j < circles->total; j++ ) 1005 float* c = (float*)cvGetSeqElem( circles, j ); 1010 if( j < circles->total ) 1056 cvSeqPush( circles, c ); 1057 if( circles->total > circles_max ) 1087 CvSeq* circles = 0; local 1113 CV_CALL( circles = cvCreateSeq( CV_32FC3, sizeof(CvSeq), 1125 CV_CALL( circles = cvMakeSeqHeaderForArray( CV_32FC3, sizeof(CvSeq), sizeof(float)*3, 1127 circles_max = circles 851 icvHoughCirclesGradient( CvMat* img, float dp, float min_dist, int min_radius, int max_radius, int canny_threshold, int acc_threshold, CvSeq* circles, int circles_max ) argument [all...] |
/external/opencv3/modules/imgproc/src/ |
H A D | hough.cpp | 1005 CvSeq* circles, int circles_max ) 1042 /* Create sequences for the nonzero pixels in the edge image and the centers of circles 1148 // Check distance with previously detected circles 1149 for( j = 0; j < circles->total; j++ ) 1151 float* c = (float*)cvGetSeqElem( circles, j ); 1156 if( j < circles->total ) 1213 cvSeqPush( circles, c ); 1214 if( circles->total > circles_max ) 1230 CvSeq* circles = 0; local 1256 circles 1002 icvHoughCirclesGradient( CvMat* img, float dp, float min_dist, int min_radius, int max_radius, int canny_threshold, int acc_threshold, CvSeq* circles, int circles_max ) argument [all...] |
/external/skia/gm/ |
H A D | dashing.cpp | 213 bool circles) { 219 if (circles) { 289 // 1on/1off 1x1 circles with phase of 1 - no fast path yet 295 // 1on/1off 3x3 circles with phase of 1 - no fast path yet 208 drawDashedLines(SkCanvas* canvas, SkScalar lineLength, SkScalar phase, SkScalar dashLength, int strokeWidth, bool circles) argument
|
/external/opencv3/modules/cudaimgproc/include/opencv2/ |
H A D | cudaimgproc.hpp | 434 /** @brief Base class for circles detector algorithm. : 439 /** @brief Finds circles in a grayscale image using the Hough transform. 442 @param circles Output vector of found circles. Each vector is encoded as a 3-element 448 virtual void detect(InputArray src, OutputArray circles, Stream& stream = Stream::Null()) = 0; 477 @param minDist Minimum distance between the centers of the detected circles. If the parameter is 478 too small, multiple neighbor circles may be falsely detected in addition to a true one. If it is 479 too large, some circles may be missed. 483 smaller it is, the more false circles may be detected. 486 @param maxCircles Maximum number of output circles [all...] |
/external/opencv3/modules/imgproc/misc/java/test/ |
H A D | ImgprocTest.java | 1052 Mat circles = new Mat(); 1054 Imgproc.HoughCircles(img, circles, Imgproc.CV_HOUGH_GRADIENT, 2, img.rows() / 4); 1056 assertEquals(0, circles.cols()); 1062 Mat circles = new Mat(); 1068 Imgproc.HoughCircles(img, circles, Imgproc.CV_HOUGH_GRADIENT, 2, img.rows() / 4); 1070 assertEquals(1, circles.cols());
|
/external/skia/bench/ |
H A D | Android.mk | 176 ../gm/circles.cpp \
|
/external/opencv3/modules/java/src/ |
H A D | imgproc+Imgproc.java | 1249 // C++: void HoughCircles(Mat image, Mat& circles, int method, double dp, double minDist, double param1 = 100, double param2 = 100, int minRadius = 0, int maxRadius = 0) 1252 //javadoc: HoughCircles(image, circles, method, dp, minDist, param1, param2, minRadius, maxRadius) 1253 public static void HoughCircles(Mat image, Mat circles, int method, double dp, double minDist, double param1, double param2, int minRadius, int maxRadius) argument 1256 HoughCircles_0(image.nativeObj, circles.nativeObj, method, dp, minDist, param1, param2, minRadius, maxRadius); 1261 //javadoc: HoughCircles(image, circles, method, dp, minDist) 1262 public static void HoughCircles(Mat image, Mat circles, int method, double dp, double minDist) argument 1265 HoughCircles_1(image.nativeObj, circles.nativeObj, method, dp, minDist); 3011 // C++: void HoughCircles(Mat image, Mat& circles, int method, double dp, double minDist, double param1 = 100, double param2 = 100, int minRadius = 0, int maxRadius = 0)
|
H A D | imgproc.cpp | 2529 // void HoughCircles(Mat image, Mat& circles, int method, double dp, double minDist, double param1 = 100, double param2 = 100, int minRadius = 0, int maxRadius = 0) 2541 Mat& circles = *((Mat*)circles_nativeObj); local 2542 cv::HoughCircles( image, circles, (int)method, (double)dp, (double)minDist, (double)param1, (double)param2, (int)minRadius, (int)maxRadius ); 2563 Mat& circles = *((Mat*)circles_nativeObj); local 2564 cv::HoughCircles( image, circles, (int)method, (double)dp, (double)minDist );
|
/external/skia/dm/ |
H A D | Android.mk | 332 ../gm/circles.cpp \
|
/external/opencv3/modules/imgproc/include/opencv2/ |
H A D | imgproc.hpp | 1766 /** @brief Finds circles in a grayscale image using the Hough transform. 1768 The function finds circles in a grayscale image using a modification of the Hough transform. 1784 // smooth it, otherwise a lot of false circles may be detected 1786 vector<Vec3f> circles; 1787 HoughCircles(gray, circles, HOUGH_GRADIENT, 1789 for( size_t i = 0; i < circles.size(); i++ ) 1791 Point center(cvRound(circles[i][0]), cvRound(circles[i][1])); 1792 int radius = cvRound(circles[i][2]); 1798 namedWindow( "circles", [all...] |