Commit fcf971bd authored by Philip Salvaggio's avatar Philip Salvaggio

Improved documentation for connectedComponentsWithStats.

parent 95339827
...@@ -3404,8 +3404,9 @@ CV_EXPORTS_W int connectedComponents(InputArray image, OutputArray labels, ...@@ -3404,8 +3404,9 @@ CV_EXPORTS_W int connectedComponents(InputArray image, OutputArray labels,
@param labels destination labeled image @param labels destination labeled image
@param stats statistics output for each label, including the background label, see below for @param stats statistics output for each label, including the background label, see below for
available statistics. Statistics are accessed via stats(label, COLUMN) where COLUMN is one of available statistics. Statistics are accessed via stats(label, COLUMN) where COLUMN is one of
cv::ConnectedComponentsTypes cv::ConnectedComponentsTypes. The data type is CV_32S.
@param centroids floating point centroid (x,y) output for each label, including the background label @param centroids centroid output for each label, including the background label. Centroids are
accessed via centroids(label, 0) for x and centroids(label, 1) for y. The data type CV_64F.
@param connectivity 8 or 4 for 8-way or 4-way connectivity respectively @param connectivity 8 or 4 for 8-way or 4-way connectivity respectively
@param ltype output image label type. Currently CV_32S and CV_16U are supported. @param ltype output image label type. Currently CV_32S and CV_16U are supported.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment