1. An electronic device comprising: a SPAD array and readout circuitry coupled thereto and configured to generate a depth map having a first resolution, with the depth map corresponding to a plurality of distance observations to an object, and generate a signal count map having a second resolution greater than the first resolution, with the signal count map corresponding to a plurality of intensity observation sets of the object, with each intensity observation set comprising a plurality of intensity observations corresponding to a respective distance observation in the depth map; and an upscaling processor coupled to said readout circuitry and configured to calculate a plurality of upscaling factors for each intensity observation set so that each distance observation has a respective plurality of upscaling factors associated therewith, and upscale the depth map from the first resolution to the second resolution based on the respective plurality of upscaling factors.