1. An imaging system comprising: an imaging lens that is adjustable to different focal lengths; an image sensor comprising a plurality of shutters and configured to receive image information from the imaging lens; a mechanical mechanism to change a lens focal position during duration of a single image frame exposure of the image sensor; and at least one hardware processing circuit configured to: obtain a distance map of a scene from at least a first and second image captured by the image sensor while changing the lens focal position during an exposure of the first and second images, the lens focal position being changed with a first speed profile for the first image and a second speed profile for the second image, wherein the first and second speed profiles are asymmetric and associated with non-constant acceleration; analyze the obtained distance map to identify first regions of the scene that are in focus and second regions of the scene that are out of focus; construct a point spread function based at least on analyzing the obtained distance map; capture a third image during a single image frame exposure of the image sensor by activating one or more of the plurality of shutters of the image sensor based on the distance map, the third image being captured subsequent to the first and second images; and deconvolve the third image using the constructed point spread function to obtain an in-focus image.