Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Draw contours with CV_FILLED for line thickness parameter; check this example

then use addWeighted to copy contour drawing on top of your image.

Draw contours with CV_FILLED for line thickness parameter; check this example

then use addWeighted to copy contour drawing on top of your image.

You'll be able to reproduce same result drawing both filled and external contour with different colors.

Draw contours with CV_FILLED for line thickness parameter; check this example

then use addWeighted to copy contour drawing on top of your image. image.

You'll be able to reproduce same result drawing both filled and external contour with different colors.