Ask Your Question

Revision history [back]

This is a simple case of blob analysis. You can use one of the blob analysis libraries, for example, cvBlobsLib, and get the information you need. It will give you the coordinates as well as the size of the blobs.