[FEATURE] please add CV: : connectedComponentsWithStats
Is your feature request related to a problem? Please describe. Please, can you add CV: : connectedComponentsWithStats this operator?This is an operator from opencv for connected fields.
Describe the solution you'd like /** @overload @param image the 8-bit single-channel image to be labeled @param labels destination labeled image @param stats statistics output for each label, including the background label. Statistics are accessed via stats(label, COLUMN) where COLUMN is one of #ConnectedComponentsTypes, selecting the statistic. The data type is CV_32S. @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 ltype output image label type. Currently CV_32S and CV_16U are supported. */ CV_EXPORTS_W int connectedComponentsWithStats(InputArray image, OutputArray labels, OutputArray stats, OutputArray centroids, int connectivity = 8, int ltype = CV_32S);
Describe alternatives you've considered null
Additional context null
Are there specific use cases you are looking to address in this feature request? Your proposal here is a blob detector plus computing image statistics on each blob as I understand it.
Are there specific use cases you are looking to address in this feature request? Your proposal here is a blob detector plus computing image statistics on each blob as I understand it.
What I mean is to add an operator or function that computes a connected domain.
the same demand