1. A method of generating an image, the method comprising: obtaining captured data characterizing an object; reconstructing a spatio-temporal image of the object based on the captured data, the spatio-temporal image comprising a plurality of spatial images in respective time intervals, with at least a given one of the spatial images in one of the time intervals being reconstructed using captured data from a frame associated with that time interval and captured data associated with one or more additional frames associated with other time intervals; and outputting the spatio-temporal image; wherein the obtaining, reconstructing and outputting steps are performed by a processing device comprising a processor coupled to a memory; wherein the step of reconstructing a spatio-temporal image further comprises obtaining a solution to a minimization or maximization problem in a sparse domain and transforming the solution to an image domain; and wherein the maximization or minimization problem is based on one of a log-likelihood objective function and a least square objective function.