1. A camera, comprising: a photosensor configured to capture light projected onto the photosensor; an objective lens, wherein the objective lens is configured to refract light from a scene located in front of the camera to form an image of the scene at a focal plane of the objective lens, wherein the focal plane is located at focal length F of the objective lens, and wherein the scene is at distance A from the objective lens; a microlens array positioned between the objective lens and the photosensor, wherein the microlens array comprises a plurality of microlenses, wherein the plurality of microlenses are focused on the focal plane and not on the objective lens, and wherein a is distance from the microlenses to the focal plane; wherein each microlens of the microlens array is configured to project a separate portion of the image of the scene formed at the focal plane on which the microlens is focused onto a separate location on the photosensor; and wherein the camera is configured so that the value of a is greater than the focal length F squared divided by the distance A.