First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Two possible solutions as far as i see, if you have indeed a binary image with black being background and white the dots or vice versa. 1) Blob detection, then for each detected blob visualize center - link text 2) Some type of region segmentation. No idea if this is actually available inside OpenCV. Know how to do this in Matlab, but go through documentation, it should be included.

Cheers

click to hide/show revision 2
No.2 Revision

Two possible solutions as far as i see, if you have indeed a binary image with black being background and white the dots or vice versa. 1) Blob detection, then for each detected blob visualize center - link texthttp://docs.opencv.org/modules/features2d/doc/common_interfaces_of_feature_detectors.html?highlight=blob#SimpleBlobDetector%20:%20public%20FeatureDetector 2) Some type of region segmentation. No idea if this is actually available inside OpenCV. Know how to do this in Matlab, but go through documentation, it should be included.

Cheers