From Image Processing to Computational Neuroscience: A Neural Model Based on Histogram Equalization