Pattern Discrimination and the Visual Cortex