Patent attributes
An imaging sub-system, a liquid crystal (LC) element, and a digital focus processor are provided. The LC element is placed in the light path of the imaging sub-system, functioning as the aperture of the imaging sub-system, and includes a periodically patterned electrode which is patterned according to a periodical modulation function and configured to blur an intermediate image captured by the imaging sub-system by applying a controllable voltage thereto. The digital focus processor is configured to deconvolute the periodical modulation function to remove the blur away from the intermediate image and determine an all-in-focus real image.