1 | initial version |
You can use the function fillPoly which can draw basically any polygon which consists of points, see http://docs.opencv.org/modules/core/doc/drawing_functions.html?highlight=fillpoly#void%20fillPoly%28Mat&%20img,%20const%20Point*%20pts,%20const%20int%20npts,%20int%20ncontours,%20const%20Scalar&%20color,%20int%20lineType,%20int%20shift,%20Point%20offset%29 .