Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Drawing an outline on outside contour

How does one draw an outline on the outsider edge of a contour?

Drawing an outline based on outside contour

How does one draw an outline based on the outsider outside edge of a contour?

I've tried drawContours, but that seems to only draw the contours on an existing image - but how does one simply extract the outside contours and draw only the contour onto a new mat/image?