I\'m optimizing a program that involves averaging all of the pixel values in a line across a black and white image.
The Line: I\'m using scimage to generate a list of