Compression along the visual pipeline