1 | initial version |
Have a look at the coin segmentation example using watershed. If you calculate the distance transforms, than threshold it strictly and then look for seperate blob centers, you will have what you need.
2 | No.2 Revision |
Have a look at the coin segmentation example using watershed. If you calculate the distance transforms, than threshold it strictly and then look for seperate blob centers, separate blobs you will have what you need.need..