Specificity and randomness in the visual cortex