public static ConnectedComponents ( InputArray image, OutputArray labels, PixelConnectivity connectivity = PixelConnectivity.Connectivity8 ) : int | ||
image | InputArray | the image to be labeled |
labels | OutputArray | destination labeled image |
connectivity | PixelConnectivity | 8 or 4 for 8-way or 4-way connectivity respectively |
return | int |
Cv2::ConnectedComponents ( InputArray image, OutputArray labels, PixelConnectivity connectivity, MatType ltype ) : int | |
Cv2::ConnectedComponents ( InputArray image, int &labels, PixelConnectivity connectivity ) : int |