1. A computer program product for multispectral image processing with spiking dynamics, the computer program product comprising computer-readable instructions stored on a non-transitory computer-readable medium that are executable by a computer having one or more processors for causing the one or more processors to perform operations of: receiving an input image having image coordinates; translating the image coordinates into neuron coordinates; compressing, the image, using the neuron coordinates, through spatially and spectrally variant sampling; modeling center-surround dynamics, based on the neuron coordinates, to control high dynamic ranges of the image and provide gain control; modeling habituative dynamics, based on the neuron coordinates, to produce outputs specialized for static or dynamic image content; and generating neural spikes based on the habituative dynamics, the neural spikes being saved or provided to other systems for further image processing.