BIOF350 Lab 3: Counting Synaptic Vesicles

Due Friday, September 20, by the end of the day

Write a program that will count the number of synaptic vesicles in the image. The count won't be perfect, but essentially, a vesicle is a small number of dark pixels (a little dark spot). Within 10% or so is close enough.
Use any algorithm you please, but I would suggest using flood fill. Any structures with just a few pixels are probably vesicles. First, set up your program to color them differently or something, so that you can see if it is finding the correct structures. A common problem is when a large number of vesicles are close together. An appropriate threshold for "dark" will solve most problems, but will not be perfect.
Use this image to test

Turning in the assignment

Show me when you have finished