mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
update documentation to latest connected components interface
This commit is contained in:
@@ -1104,12 +1104,12 @@ CV_EXPORTS_W void matchTemplate( InputArray image, InputArray templ,
|
||||
|
||||
enum { CC_STAT_LEFT=0, CC_STAT_TOP=1, CC_STAT_WIDTH=2, CC_STAT_HEIGHT=3, CC_STAT_AREA=4, CC_STAT_MAX = 5};
|
||||
|
||||
// computes the connected components labeled image of boolean image I
|
||||
// computes the connected components labeled image of boolean image ``image``
|
||||
// with 4 or 8 way connectivity - returns N, the total
|
||||
// number of labels [0, N-1] where 0 represents the background label.
|
||||
// L's value type determines the label type, an important
|
||||
// ltype specifies the output label image type, an important
|
||||
// consideration based on the total number of labels or
|
||||
// alternatively the total number of pixels.
|
||||
// alternatively the total number of pixels in the source image.
|
||||
CV_EXPORTS_W int connectedComponents(InputArray image, OutputArray labels,
|
||||
int connectivity = 8, int ltype=CV_32S);
|
||||
CV_EXPORTS_W int connectedComponentsWithStats(InputArray image, OutputArray labels,
|
||||
|
||||
Reference in New Issue
Block a user