First time here? Check out the FAQ!
answered 2013-02-02 08:57:18 -0600
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.