> i had thought about tracking them by making whole the background black and > placing a bright red led in one corner of the box. (i assume) then each > bubble will produce reflection of red. in this way can i count ? > The problem in other methods is that a group of bubbles can be counted as > a > single bubble. In another post you say the background noise is coagulation. Just how deep is the liquid from front to back of the image? What sort of liquid is it? What causes the bubbles? What causes the coagulation? How wide an image do you need to view? looking at the image you provided suggests it is possibly a window into a tank, and the actual width is much wider. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist