1. An imaging system for improving image resolution comprising: a) a lens system comprising a first micromirror array lens (MMAL) comprising a plurality of micromirrors and a second MMAL comprising a plurality of micromirrors, wherein the first MMAL is configured to change an optical axis of the imaging system by controlling the micromirrors in order to form a plurality of sectional images of an object; b) an image sensor, configured to sense the sectional images, wherein the second MMAL is configured to form the in-focus sectional images on the image sensor by controlling the micromirrors; and c) an image processing unit, communicatively coupled to the image sensor, configured to process the sectional images sensed by the image sensor and combine the sectional images to generate a composite image with high resolution.