From 9f20d014c6d5084a602f7c28e7b08eb5cd8cb4fe Mon Sep 17 00:00:00 2001 From: Ilya Lysenkov Date: Mon, 9 Apr 2012 12:03:01 +0000 Subject: [PATCH] Added documentation of old Python parameters in cv.DrawContours() (issue #987) --- .../doc/structural_analysis_and_shape_descriptors.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/imgproc/doc/structural_analysis_and_shape_descriptors.rst b/modules/imgproc/doc/structural_analysis_and_shape_descriptors.rst index 07b979f2f2..0694aeafe8 100644 --- a/modules/imgproc/doc/structural_analysis_and_shape_descriptors.rst +++ b/modules/imgproc/doc/structural_analysis_and_shape_descriptors.rst @@ -194,6 +194,12 @@ Draws contours outlines or filled contours. :param offset: Optional contour shift parameter. Shift all the drawn contours by the specified :math:`\texttt{offset}=(dx,dy)` . + :param contour: Pointer to the first contour. + + :param externalColor: Color of external contours. + + :param holeColor: Color of internal contours (holes). + The function draws contour outlines in the image if :math:`\texttt{thickness} \ge 0` or fills the area bounded by the contours if :math:`\texttt{thickness}<0` . The example below shows how to retrieve connected components from the binary image and label them: ::