Automatic detection of neurons in large cortical slices