A 32x32-Pixel Array with In-Pixel Photon Counting and Arrival Time Measurement in the Analog Domain