Activity Map Generation and Event-Based Sensor Processing with Spiking Autoencoders and Sparse Dictionary Learning