Lines Matching full:point

15 import org.opencv.core.Point;
26 Point anchorPoint;
35 anchorPoint = new Point(2, 2); in setUp()
149 …tOfPoint2f curve = new MatOfPoint2f(new Point(1, 3), new Point(2, 4), new Point(3, 5), new Point(4… in testApproxPolyDP()
155 List<Point> approxCurveGold = new ArrayList<Point>(3); in testApproxPolyDP()
156 approxCurveGold.add(new Point(1, 3)); in testApproxPolyDP()
157 approxCurveGold.add(new Point(3, 5)); in testApproxPolyDP()
158 approxCurveGold.add(new Point(5, 3)); in testApproxPolyDP()
164 …tOfPoint2f curve = new MatOfPoint2f(new Point(1, 3), new Point(2, 4), new Point(3, 5), new Point(4… in testArcLength()
207 …MatOfPoint points = new MatOfPoint(new Point(0, 0), new Point(0, 4), new Point(4, 0), new Point(4,… in testBoundingRect()
208 Point p1 = new Point(1, 1); in testBoundingRect()
209 Point p2 = new Point(-5, -2); in testBoundingRect()
417 new Point(20, 0), in testConvexHullMatMat()
418 new Point(40, 0), in testConvexHullMatMat()
419 new Point(30, 20), in testConvexHullMatMat()
420 new Point(0, 20), in testConvexHullMatMat()
421 new Point(20, 10), in testConvexHullMatMat()
422 new Point(30, 10) in testConvexHullMatMat()
437 new Point(2, 0), in testConvexHullMatMatBooleanBoolean()
438 new Point(4, 0), in testConvexHullMatMatBooleanBoolean()
439 new Point(3, 2), in testConvexHullMatMatBooleanBoolean()
440 new Point(0, 2), in testConvexHullMatMatBooleanBoolean()
441 new Point(2, 1), in testConvexHullMatMatBooleanBoolean()
442 new Point(3, 1) in testConvexHullMatMatBooleanBoolean()
457 new Point(20, 0), in testConvexityDefects()
458 new Point(40, 0), in testConvexityDefects()
459 new Point(30, 20), in testConvexityDefects()
460 new Point(0, 20), in testConvexityDefects()
461 new Point(20, 10), in testConvexityDefects()
462 new Point(30, 10) in testConvexityDefects()
584 Point truthPosition = new Point(img.cols() / 2, img.rows() / 2); in testCornerSubPix()
586 Rect r = new Rect(new Point(0, 0), truthPosition); in testCornerSubPix()
588 … MatOfPoint2f corners = new MatOfPoint2f(new Point(truthPosition.x + 1, truthPosition.y + 1)); in testCornerSubPix()
646 Imgproc.rectangle(gray0, new Point(1, 2), new Point(7, 8), new Scalar(100)); in testDrawContoursMatListOfMatIntScalar()
656 Imgproc.rectangle(gray0, new Point(1, 2), new Point(7, 8), new Scalar(100)); in testDrawContoursMatListOfMatIntScalarInt()
743 Point point = new Point(0, 0); in testFilter2DMatMatIntMatPointDoubleInt() local
745 Imgproc.filter2D(gray128, dst, -1, kernel, point, 2, Core.BORDER_CONSTANT); in testFilter2DMatMatIntMatPointDoubleInt()
761 …Imgproc.rectangle(img, new Point(10, 20), new Point(20, 30), new Scalar(100), 3, Imgproc.LINE_AA, … in testFindContoursMatListOfMatMatIntInt()
762 Imgproc.rectangle(img, new Point(30, 35), new Point(40, 45), new Scalar(200)); in testFindContoursMatListOfMatMatIntInt()
778 …Imgproc.rectangle(img, new Point(10, 20), new Point(20, 30), new Scalar(100), 3, Imgproc.LINE_AA, … in testFindContoursMatListOfMatMatIntIntPoint()
779 Imgproc.rectangle(img, new Point(30, 35), new Point(40, 45), new Scalar(200)); in testFindContoursMatListOfMatMatIntIntPoint()
782 …s(img2, contours2, hierarchy, Imgproc.RETR_EXTERNAL, Imgproc.CHAIN_APPROX_SIMPLE, new Point(3, 5)); in testFindContoursMatListOfMatMatIntIntPoint()
795 …fPoint2f points = new MatOfPoint2f(new Point(0, 0), new Point(-1, 1), new Point(1, 1), new Point(1… in testFitEllipse()
800 assertPointEquals(new Point(0, 0), rrect.center, EPS); in testFitEllipse()
820 Imgproc.circle(mask, new Point(matSize / 2 + 1, matSize / 2 + 1), 3, new Scalar(2)); in testFloodFillMatMatPointScalar()
822 … int retval = Imgproc.floodFill(img, mask, new Point(matSize / 2, matSize / 2), new Scalar(1)); in testFloodFillMatMatPointScalar()
825 Imgproc.circle(mask, new Point(matSize / 2 + 1, matSize / 2 + 1), 3, new Scalar(0)); in testFloodFillMatMatPointScalar()
832 Imgproc.circle(img, new Point(matSize / 2, matSize / 2), 3, new Scalar(2)); in testFloodFillMatMatPointScalar_WithoutMask()
835 …int retval = Imgproc.floodFill(img, new Mat(), new Point(matSize / 2, matSize / 2), new Scalar(1)); in testFloodFillMatMatPointScalar_WithoutMask()
837 Imgproc.circle(img, new Point(matSize / 2, matSize / 2), 3, new Scalar(0)); in testFloodFillMatMatPointScalar_WithoutMask()
880 MatOfPoint2f src = new MatOfPoint2f(new Point(2, 3), new Point(3, 1), new Point(1, 4)); in testGetAffineTransform()
881 MatOfPoint2f dst = new MatOfPoint2f(new Point(3, 3), new Point(7, 4), new Point(5, 6)); in testGetAffineTransform()
967 Point center = new Point(gray255.cols() / 2, gray255.rows() / 2); in testGetRectSubPixMatSizePointMat()
978 Point center = new Point(src.cols() / 2, src.rows() / 2); in testGetRectSubPixMatSizePointMatInt()
987 Point center = new Point(0, 0); in testGetRotationMatrix2D()
1023 Imgproc.rectangle(src, new Point(2, 2), new Point(8, 8), new Scalar(100), -1); in testGoodFeaturesToTrackMatListOfPointIntDoubleDouble()
1033 Imgproc.rectangle(src, new Point(2, 2), new Point(8, 8), new Scalar(100), -1); in testGoodFeaturesToTrackMatListOfPointIntDoubleDoubleMatIntBooleanDouble()
1064 Point center = new Point(img.cols() / 2, img.rows() / 2); in testHoughCirclesMatMatIntDoubleDouble1()
1080 Point point1 = new Point(50, 50); in testHoughLinesMatMatDoubleDoubleInt()
1081 Point point2 = new Point(img.cols() / 2, img.rows() / 2); in testHoughLinesMatMatDoubleDoubleInt()
1109 Point point1 = new Point(0, 0); in testHoughLinesPMatMatDoubleDoubleInt()
1110 Point point2 = new Point(sz, sz); in testHoughLinesPMatMatDoubleDoubleInt()
1111 Point point3 = new Point(sz, 0); in testHoughLinesPMatMatDoubleDoubleInt()
1112 Point point4 = new Point(2*sz/3, sz/3); in testHoughLinesPMatMatDoubleDoubleInt()
1324 …MatOfPoint contour1 = new MatOfPoint(new Point(0, 0), new Point(10, 0), new Point(10, 10), new Poi… in testIsContourConvex()
1328 …MatOfPoint contour2 = new MatOfPoint(new Point(0, 0), new Point(10, 0), new Point(10, 10), new Poi… in testIsContourConvex()
1400 …MatOfPoint2f points = new MatOfPoint2f(new Point(1, 1), new Point(5, 1), new Point(4, 3), new Poin… in testMinAreaRect()
1406 assertEquals(new Point(3.5, 2), rrect.center); in testMinAreaRect()
1410 …fPoint2f points = new MatOfPoint2f(new Point(0, 0), new Point(-1, 0), new Point(0, -1), new Point(… in testMinEnclosingCircle()
1411 Point actualCenter = new Point(); in testMinEnclosingCircle()
1416 assertEquals(new Point(0, 0), actualCenter); in testMinEnclosingCircle()
1439 Point point = new Point(0, 0); in testMorphologyExMatMatIntMatPointInt() local
1441 Imgproc.morphologyEx(src, dst, Imgproc.MORPH_CLOSE, kernel, point, 10); in testMorphologyExMatMatIntMatPointInt()
1455 Point point = new Point(1, 1); in testMorphologyExMatMatIntMatPointIntIntScalar() local
1458 … Imgproc.morphologyEx(src, dst, Imgproc.MORPH_TOPHAT, kernel, point, 10, Core.BORDER_REFLECT, sc); in testMorphologyExMatMatIntMatPointIntIntScalar()
1470 …fPoint2f contour = new MatOfPoint2f(new Point(0, 0), new Point(1, 3), new Point(3, 4), new Point(4… in testPointPolygonTest()
1471 double sign1 = Imgproc.pointPolygonTest(contour, new Point(2, 2), false); in testPointPolygonTest()
1474 double sign2 = Imgproc.pointPolygonTest(contour, new Point(4, 4), true); in testPointPolygonTest()
1800 //undistortPoints(List<Point> src, List<Point> dst, Mat cameraMatrix, Mat distCoeffs)
1802 MatOfPoint2f src = new MatOfPoint2f(new Point(1, 2), new Point(3, 4), new Point(-1, -1)); in testUndistortPointsListOfPointListOfPointMatMat()
1950 Point center = new Point(gray0.cols() / 2, gray0.rows() / 2); in testCircleMatPointIntScalar()
1960 Point center = new Point(gray0.cols() / 2, gray0.rows() / 2); in testCircleMatPointIntScalarInt()
1970 Point center = new Point(gray0.cols() / 2, gray0.rows() / 2); in testCircleMatPointIntScalarIntIntInt()
1971 Point center2 = new Point(gray0.cols(), gray0.rows()); in testCircleMatPointIntScalarIntIntInt()
1991 Point pt1 = new Point(5.0, 15.0); in testClipLine()
1992 Point pt2 = new Point(25.0, 15.0); in testClipLine()
1996 Point pt1Clipped = new Point(10.0, 15.0); in testClipLine()
1997 Point pt2Clipped = new Point(19.0, 15.0); in testClipLine()
2001 pt1 = new Point(5.0, 5.0); in testClipLine()
2002 pt2 = new Point(25.0, 5.0); in testClipLine()
2003 pt1Clipped = new Point(5.0, 5.0); in testClipLine()
2004 pt2Clipped = new Point(25.0, 5.0); in testClipLine()
2013 Point center = new Point(4, 4); in testEllipse2Poly()
2023 Point truth[] = { in testEllipse2Poly()
2024 new Point(5, 6), in testEllipse2Poly()
2025 new Point(4, 6) in testEllipse2Poly()
2031 Point center = new Point(gray0.cols() / 2, gray0.rows() / 2); in testEllipseMatPointSizeDoubleDoubleDoubleScalar()
2041 Point center = new Point(gray0.cols() / 2, gray0.rows() / 2); in testEllipseMatPointSizeDoubleDoubleDoubleScalarInt()
2051 Point center = new Point(gray0.cols() / 2, gray0.rows() / 2); in testEllipseMatPointSizeDoubleDoubleDoubleScalarIntIntInt()
2053 Point center2 = new Point(gray0.cols(), gray0.rows()); in testEllipseMatPointSizeDoubleDoubleDoubleScalarIntIntInt()
2069 Point center = new Point(matSize / 2, matSize / 2); in testEllipseMatRotatedRectScalar()
2095 Point center = new Point(matSize / 2, matSize / 2); in testEllipseMatRotatedRectScalarInt()
2106 Point center = new Point(matSize / 2, matSize / 2); in testEllipseMatRotatedRectScalarIntInt()
2119 … polyline.add(new MatOfPoint(new Point(1, 1), new Point(7, 1), new Point(7, 6), new Point(1, 6))); in testPolylinesMatListOfListOfPointBooleanScalar()
2133 … polyline.add(new MatOfPoint(new Point(1, 1), new Point(7, 1), new Point(7, 6), new Point(1, 6))); in testPolylinesMatListOfListOfPointBooleanScalarInt()
2143 … polyline1.add(new MatOfPoint(new Point(1, 1), new Point(7, 1), new Point(7, 6), new Point(1, 6))); in testPolylinesMatListOfListOfPointBooleanScalarIntIntInt()
2145 …polyline2.add(new MatOfPoint(new Point(2, 2), new Point(14, 2), new Point(14, 12), new Point(2, 12… in testPolylinesMatListOfListOfPointBooleanScalarIntIntInt()
2160 Point origin = new Point(10, labelSize.height + 10); in testPutTextMatStringPointIntDoubleScalar()
2166 …Imgproc.rectangle(img, new Point(11, 11), new Point(labelSize.width + 10, labelSize.height + 10), … in testPutTextMatStringPointIntDoubleScalar()
2174 Point origin = new Point(10, labelSize.height + 10); in testPutTextMatStringPointIntDoubleScalarInt()
2180 …Imgproc.rectangle(img, new Point(10, 10), new Point(labelSize.width + 10 + 1, labelSize.height + 1… in testPutTextMatStringPointIntDoubleScalarInt()
2189 Point origin = new Point(10, 10); in testPutTextMatStringPointIntDoubleScalarIntIntBoolean()
2195 …Imgproc.rectangle(img, new Point(10, 10), new Point(labelSize.width + 9, labelSize.height + 9), co… in testPutTextMatStringPointIntDoubleScalarIntIntBoolean()