1. An imaging array, comprising: a plurality of active pixel imaging cells arranged into rows and columns, wherein each active pixel imaging cell further comprises a sensor which detects photons and responds by generating an electrical signal representing an output of the sensor; a neuron MOSFET transistor having a plurality of inputs, with one of the inputs being the output of the sensor, the remaining inputs being the outputs of sensors contained in other pixels of the array, and an output representing a thresholded weighted sum of the inputs; and a control element for providing the output of the neuron MOSFET transistor as an output of the active pixel imaging cell.