cv.fillConvexPoly - MATLAB File Help |
Fills a convex polygon
img = cv.fillConvexPoly(img, pts)
[...] = cv.fillConvexPoly(..., 'OptionName', optionValue, ...)
{[x,y], [x,y], ...}
. Supports integer
int32
2D points.img
.The function cv.fillConvexPoly draws a filled convex polygon. This function is much faster than the function cv.fillPoly. It can fill not only convex polygons but any monotonic polygon without self-intersections, that is, a polygon whose contour intersects every horizontal line (scan line) twice at the most (though, its top-most and/or the bottom edge could be horizontal).