Your link doesn't work. I'd just take a photo with stable, controlled lighting with a camera at a fixed position and subtract the image from a known "perfect" image. Do a little clean up (noise removal, hole filling, etc.) and count and locate the blobs that are present in the subtracted images. Actually this is pretty easy. You can post the "perfect" image and the "missing component" images on tinypic.com if you want.
Best Answer