/external/opencv3/samples/cpp/ |
houghcircles.cpp | 29 Mat cimg; local 31 cvtColor(img, cimg, COLOR_GRAY2BGR); 41 circle( cimg, Point(c[0], c[1]), c[2], Scalar(0,0,255), 3, LINE_AA); 42 circle( cimg, Point(c[0], c[1]), 2, Scalar(0,255,0), 3, LINE_AA); 45 imshow("detected circles", cimg);
|
stereo_calib.cpp | 121 Mat cimg, cimg1; local 122 cvtColor(img, cimg, COLOR_GRAY2BGR); 123 drawChessboardCorners(cimg, boardSize, corners, found); 125 resize(cimg, cimg1, Size(), sf, sf); 304 Mat img = imread(goodImageList[i*2+k], 0), rimg, cimg; local 306 cvtColor(rimg, cimg, COLOR_GRAY2BGR); 308 resize(cimg, canvasPart, canvasPart.size(), 0, 0, INTER_AREA);
|
/external/opencv3/samples/python2/ |
houghcircles.py | 23 cimg = src.copy() # numpy function variable 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)
|