Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Connected component analysis using OpenCV in C

Can anybody please give me the idea of labeling(number label) connected components in a binary image?The image components are having fiber like shape.I also need to find out the number of connected components in the image and want to display each connected component according to its number label. Is there any function in OpenCV similar to bwconncomp in MATLAB that contains a field called pixelidxlist which can store indices of pixels of the connected component?

Thanks in advance

Connected component analysis using OpenCV in C

Can anybody please give me the idea of labeling(number label) connected components in a binary image?The image components are having fiber like shape.I also need to find out the number of connected components in the image and want to display each connected component according to its number label. Is there any function in OpenCV similar to bwconncomp in MATLAB that contains a field called pixelidxlist which can store indices of pixels of the connected component?

Thanks in advance