Rate and latency coding for natural image identification