HomeSort by relevance Sort by last modified time
    Searched full:hull (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /external/opencv3/samples/cpp/
convexhull.cpp 39 vector<int> hull; local
40 convexHull(Mat(points), hull, true); local
46 int hullcount = (int)hull.size();
47 Point pt0 = points[hull[hullcount-1]];
51 Point pt = points[hull[i]];
56 imshow("hull", img);
select3dobj.cpp 177 vector<Point> hull;
178 convexHull(Mat_<Point>(Mat(imgpt)), hull);
180 fillConvexPoly(selectedObjMask, &hull[0], (int)hull.size(), Scalar::all(255), 8, 0);
181 Rect roi = boundingRect(Mat(hull)) & Rect(Point(), frame.size());
186 fillConvexPoly(selectedObjMask, &hull[0], (int)hull.size(), Scalar::all(GC_PR_FGD), 8, 0);
  /external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/
hull_demo.cpp 65 /// Find the convex hull object for each contour
66 vector<vector<Point> >hull( contours.size() );
68 { convexHull( Mat(contours[i]), hull[i], false ); } local
70 /// Draw contours + hull results
76 drawContours( drawing, hull, (int)i, color, 1, 8, vector<Vec4i>(), 0, Point() );
80 namedWindow( "Hull demo", WINDOW_AUTOSIZE );
81 imshow( "Hull demo", drawing );
  /external/opencv3/modules/imgproc/src/
convhull.cpp 201 // gather upper part of convex hull to output
239 // the bottom part of the convex hull is the mirrored top part
257 Mat hull = _hull.getMat(); local
258 size_t step = !hull.isContinuous() ? hull.step[0] : sizeof(Point);
260 *(Point*)(hull.ptr() + i*step) = data0[hullbuf[i]];
277 Mat hull = _hull.getMat(); local
278 int hpoints = hull.checkVector(1, CV_32S);
282 const int* hptr = hull.ptr<int>();
285 // 1. recognize co-orientation of the contour and its hull
398 union { CvContour* c; CvSeq* s; } hull; local
528 CvSeq *ptseq = (CvSeq*)array, *hull = (CvSeq*)hullarray; local
    [all...]
rotcalipers.cpp 65 // points - convex hull vertices ( any orientation )
146 // find convex hull orientation
345 Mat hull; local
349 convexHull(_points, hull, true, true);
351 if( hull.depth() != CV_32F )
354 hull.convertTo(temp, CV_32F);
355 hull = temp;
358 int n = hull.checkVector(2);
359 const Point2f* hpoints = hull.ptr<Point2f>();
min_enclosing_triangle.cpp 330 //! Create the convex hull of the given set of points
333 * @param polygon The polygon representing the convex hull of the points
352 * @param polygon The polygon representing the convex hull of the points
391 * @param polygon The polygon representing the convex hull of the points
448 * @param polygon The polygon representing the convex hull of the points
467 * @param polygon The polygon representing the convex hull of the points
485 * @param polygon The polygon representing the convex hull of the points
509 * @param polygon The polygon representing the convex hull of the points
533 * @param polygon The polygon representing the convex hull of the points
558 * @param polygon The polygon representing the convex hull of the point
    [all...]
  /external/opencv/cv/src/
cvconvhull.cpp 231 union { CvContour* c; CvSeq* s; } hull; local
238 hull.s = 0;
298 "The hull matrix should be continuous and have a single row or a single column" );
301 CV_ERROR( CV_StsBadSize, "The hull matrix size might be not enough to fit the hull" );
306 "The hull matrix must have the same type as input or 32sC1 (integers)" );
397 /* gather upper part of convex hull to output */
452 the bottom part of the convex hull is the mirrored top part
496 hull.s = hullseq;
497 hull.c->rect = cvBoundingRect( ptseq
536 CvSeq *ptseq = (CvSeq*)array, *hull = (CvSeq*)hullarray; local
    [all...]
cvrotcalipers.cpp 65 // points - convex hull vertices ( any orientation )
148 /* find convex hull orientation */
402 "Convex hull must have valid pointer to point sequence stored in v_prev" );
  /external/opencv3/doc/py_tutorials/py_imgproc/py_contours/py_contour_features/
py_contour_features.markdown 80 5. Convex Hull
83 Convex Hull will look similar to contour approximation, but it is not (Both may provide same results
87 below image of hand. Red line shows the convex hull of hand. The double-sided arrow marks shows the
88 convexity defects, which are the local maximum deviations of hull from contours.
94 hull = cv2.convexHull(points[, hull[, clockwise[, returnPoints]]
99 - **hull** is the output, normally we avoid it.
100 - **clockwise** : Orientation flag. If it is True, the output convex hull is oriented clockwise.
102 - **returnPoints** : By default, True. Then it returns the coordinates of the hull points. If
103 False, it returns the indices of contour points corresponding to the hull points
    [all...]
  /external/opencv3/doc/py_tutorials/py_imgproc/py_contours/py_contours_more_functions/
py_contours_more_functions.markdown 17 We saw what is convex hull in second chapter about contours. Any deviation of the object from this
18 hull can be considered as convexity defect.
23 hull = cv2.convexHull(cnt,returnPoints = False)
24 defects = cv2.convexityDefects(cnt,hull)
27 @note Remember we have to pass returnPoints = False while finding convex hull, in order to find
45 hull = cv2.convexHull(cnt,returnPoints = False)
46 defects = cv2.convexityDefects(cnt,hull)
  /external/opencv3/doc/tutorials/imgproc/shapedescriptors/hull/
hull.markdown 1 Convex Hull {#tutorial_hull}
  /packages/inputmethods/LatinIME/java/res/values-hu/
strings-letter-descriptions.xml 36 <string name="spoken_accented_letter_00E3" msgid="8252569677935693343">"A, hullámvonallal"</string>
50 <string name="spoken_accented_letter_00F1" msgid="6983294908255378605">"N, hullámvonallal"</string>
54 <string name="spoken_accented_letter_00F5" msgid="7320512716652765243">"O, hullámvonallal"</string>
84 <string name="spoken_accented_letter_0129" msgid="7824912405885325754">"I, hullámvonallal"</string>
117 <string name="spoken_accented_letter_0169" msgid="413046581387735371">"U, hullámvonallal"</string>
139 <string name="spoken_accented_letter_1EAB" msgid="7236523151662538333">"A, kúpos ékezettel és hullámvonallal"</string>
144 <string name="spoken_accented_letter_1EB5" msgid="3720427596242746295">"A, rövidségi jellel és hullámvonallal"</string>
148 <string name="spoken_accented_letter_1EBD" msgid="181253633045931897">"E, hullámvonallal"</string>
152 <string name="spoken_accented_letter_1EC5" msgid="2216559244705714587">"E, kúpos ékezettel és hullámvonallal"</string>
161 <string name="spoken_accented_letter_1ED7" msgid="7924481354960306389">"O, kúpos ékezettel és hullámvonallal"</string
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/util/
IconNormalizer.java 70 * We first calculate the convex hull of the visible portion of the icon.
71 * This hull then compared with the bounding rectangle of the hull to find how closely it
75 * This closeness is used to determine the ratio of hull area to the full icon size.
151 // Area of the convex hull
160 // Area of the rectangle required to fit the convex hull
  /external/opencv3/doc/py_tutorials/py_imgproc/py_contours/py_contour_properties/
py_contour_properties.markdown 38 Solidity is the ratio of contour area to its convex hull area.
40 \f[Solidity = \frac{Contour \; Area}{Convex \; Hull \; Area}\f]
43 hull = cv2.convexHull(cnt)
44 hull_area = cv2.contourArea(hull)
  /external/skia/src/pathops/
SkOpCubicHull.cpp 44 /* Given a cubic, find the convex hull described by the end and control points.
45 The hull may have 3 or 4 points. Cubics that degenerate into a point or line
48 The hull is computed by assuming that three points, if unique and non-linear,
53 The indices returned in order describe the convex hull.
  /external/opencv3/modules/python/test/
tickets.py 30 hull = cv.ConvexHull2(pts, storage)
32 defects = cv.ConvexityDefects(pts, hull, storage)
50 # Draw the convex hull as a thick green line
  /frameworks/base/libs/hwui/
SpotShadow.h 48 static int hull(Vector2* points, int pointsLength, Vector2* retPoly);
  /external/opencv3/modules/imgproc/test/
test_convhull.cpp 417 * Convex Hull Test *
543 CvMat* hull = 0; local
566 hull = cvCreateMat( 1, hull_count, CV_32FC2 );
571 h = (CvPoint2D32f*)(hull->data.ptr);
573 // extract convex hull points
576 cvCvtSeqToArray( hseq, hull->data.ptr );
579 CvMat tmp = cvMat( hull->rows, hull->cols, CV_32SC2, hull->data.ptr );
580 cvConvert( &tmp, hull );
    [all...]
  /external/opencv3/modules/features2d/src/
blobdetector.cpp 260 std::vector < Point > hull; local
261 convexHull(Mat(contours[contourIdx]), hull); local
263 double hullArea = contourArea(Mat(hull));
  /external/opencv/cv/include/
cvcompat.h 381 /* Calculates exact convex hull of 2d point set */
384 int orientation, int* hull, int* hullsize )
387 CvMat hull1 = cvMat( 1, num_points, CV_32SC1, hull );
393 /* Calculates exact convex hull of 2d point set stored in a sequence */
397 /* Calculates approximate convex hull of 2d point set */
399 orientation, hull, hullsize ) \
400 cvConvexHull( points, num_points, bound_rect, orientation, hull, hullsize )
402 /* Calculates approximate convex hull of 2d point set stored in a sequence */
    [all...]
cvtypes.h 129 CvPoint* depth_point; /* the farthest from the convex hull point within the defect */
130 float depth; /* distance between the farthest point and the convex hull */
  /bionic/libm/upstream-freebsd/lib/msun/src/
catrig.c 46 A_crossover = 10, /* Hull et al suggest 1.5, but 10 works better */
47 B_crossover = 0.6417, /* suggested by Hull et al */
86 * and arccosine functions using exception handling" by T. E. Hull, Thomas F.
117 * produce overflows or underflows. This is dealt with in the paper by Hull
123 * Hull et al, but the idea may be found on pages 308 and 309. Introducing the
156 double R, S, A; /* A, B, R, and S are as in Hull et al. */
  /external/opencv/cvaux/src/
cvbgfg_common.cpp 100 else //Convex Hull of the segmentation
  /external/opencv3/doc/tutorials/imgproc/
table_of_content_imgproc.markdown 180 Where we learn how to get hull contours and draw them!
  /external/opencv3/modules/imgproc/misc/java/test/
ImgprocTest.java 425 MatOfInt hull = new MatOfInt(); local
427 Imgproc.convexHull(points, hull);
432 assertMatEqual(expHull, hull, EPS);
445 MatOfInt hull = new MatOfInt(); local
447 Imgproc.convexHull(points, hull, true);
452 assertMatEqual(expHull, hull, EPS);
465 MatOfInt hull = new MatOfInt(); local
466 Imgproc.convexHull(points, hull);
469 Imgproc.convexityDefects(points, hull, convexityDefects);
    [all...]

Completed in 708 milliseconds

1 2 3 4