/external/opencv3/samples/python2/ |
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/ |
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/doc/py_tutorials/py_imgproc/py_houghcircles/ |
py_houghcircles.markdown | 8 - We will learn to use Hough Transform to find circles in an image. 30 circles = cv2.HoughCircles(img,cv2.HOUGH_GRADIENT,1,20, 33 circles = np.uint16(np.around(circles)) 34 for i in circles[0,:]: 40 cv2.imshow('detected circles',cimg)
|
/external/opencv3/samples/cpp/tutorial_code/ImgTrans/ |
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/autotest/client/site_tests/firmware_TouchMTB/geometry/ |
two_farthest_clusters.py | 10 two minimal enclosing circles 65 """Get the radii of the two minimal enclosing circles from points. 68 where circle1, circle2 are the two minimal enclosing circles
|
/external/opencv3/doc/py_tutorials/py_gui/ |
py_table_of_contents_gui.markdown | 17 rectangles, ellipses, circles etc with OpenCV
|
/external/opencv3/doc/tutorials/imgproc/imgtrans/hough_circle/ |
hough_circle.markdown | 9 - Use the OpenCV function @ref cv::HoughCircles to detect circles in an image. 67 vector<Vec3f> circles; 69 HoughCircles( src_gray, circles, HOUGH_GRADIENT, 1, src_gray.rows/8, 200, 100, 0, 0 ); 74 - *circles*: A vector that stores sets of 3 values: \f$x_{c}, y_{c}, r\f$ for each detected 85 -# Draw the detected circles: 87 for( size_t i = 0; i < circles.size(); i++ ) 89 Point center(cvRound(circles[i][0]), cvRound(circles[i][1])); 90 int radius = cvRound(circles[i][2]);
|
/frameworks/base/tools/aapt/tests/ |
Pseudolocales_test.cpp | 170 "=0{{person} didn't add you to any of her circles.}" \ 171 "=1{{person} added you to one of her circles.}" \ 172 "other{{person} added you to her # circles.}}}" \ 175 "=0{{person} didn't add you to any of his circles.}" \ 176 "=1{{person} added you to one of his circles.}" \ 177 "other{{person} added you to his # circles.}}}" \ 180 "=0{{person} didn't add you to any of their circles.}" \ 181 "=1{{person} added you to one of their circles.}" \ 182 "other{{person} added you to their # circles.}}}}",
|
/frameworks/base/tools/aapt2/compile/ |
Pseudolocalizer_test.cpp | 179 "=0{{person} didn't add you to any of her circles.}" \ 180 "=1{{person} added you to one of her circles.}" \ 181 "other{{person} added you to her # circles.}}}" \ 184 "=0{{person} didn't add you to any of his circles.}" \ 185 "=1{{person} added you to one of his circles.}" \ 186 "other{{person} added you to his # circles.}}}" \ 189 "=0{{person} didn't add you to any of their circles.}" \ 190 "=1{{person} added you to one of their circles.}" \ 191 "other{{person} added you to their # circles.}}}}",
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
GradientDrawable_Delegate.java | 35 * The ring can be built either by drawing full circles, or by drawing arcs in case the 36 * circle isn't complete. LayoutLib cannot handle drawing full circles (requires path 37 * subtraction). So, if we need to draw full circles, we switch to drawing 99% circle.
|
/external/opencv3/modules/cudaimgproc/test/ |
test_hough.cpp | 121 static void drawCircles(cv::Mat& dst, const std::vector<cv::Vec3f>& circles, bool fill) 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[i] [all...] |
/external/opencv3/doc/pattern_tools/ |
gen_pattern.py | 5 python gen_pattern.py -o out.svg -r 11 -c 8 -T circles -s 20.0 -R 5.0 -u mm -w 216 -h 279 10 -T, --type - type of pattern, circles, acircles, checkerboard (default circles) 78 p_type = "circles" 109 mp = {"circles":pm.makeCirclesPattern,"acircles":pm.makeACirclesPattern,"checkerboard":pm.makeCheckerboardPattern}
|
/external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/ |
generalContours_demo1.cpp | 63 /// Approximate contours to polygons + get bounding rects and circles 76 /// Draw polygonal contour + bonding rects + circles
|
/developers/build/prebuilts/gradle/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/ |
MainActivity.java | 27 * touch events and draws coloured circles for each pointer, stores the last
|
/developers/samples/android/input/multitouch/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/ |
MainActivity.java | 27 * touch events and draws coloured circles for each pointer, stores the last
|
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/ |
MainActivity.java | 27 * touch events and draws coloured circles for each pointer, stores the last
|
/external/opencv3/doc/tutorials/imgproc/shapedescriptors/bounding_rects_circles/ |
bounding_rects_circles.markdown | 1 Creating Bounding boxes and circles for contours {#tutorial_bounding_rects_circles}
|
/external/skia/gm/ |
drrect.cpp | 32 // like squares/circles, to exercise fast-cases in GPU
|
/external/skia/include/c/ |
sk_shader.h | 106 Returns a shader that generates a conical gradient given two circles, or 108 two circles according to the following HTML spec. 116 the two circles. 120 distributed evenly between the two circles. If
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
AmPmCirclesView.java | 34 * Draw the two smaller AM and PM circles next to where the larger circle will be. 166 // Line up the vertical center of the AM/PM circles with the bottom of the main circle. 168 // Line up the horizontal edges of the AM/PM circles with the horizontal edges 197 // Draw the two circles.
|
CircleView.java | 104 // We'll need to draw the AM/PM circles, so the main circle will need to have 106 // have to push it up by half the radius of the AM/PM circles.
|
/external/opencv3/modules/cudaimgproc/src/ |
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/doc/py_tutorials/py_imgproc/ |
py_table_of_contents_imgproc.markdown | 68 Learn to detect circles in an image
|
/external/opencv3/modules/cudaimgproc/src/cuda/ |
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);
|
/packages/apps/DeskClock/res/values-sw600dp-land/ |
dimens.xml | 40 <!-- Size of margin for circles. -->
|