The optics of the eye
The basic optic function of the eye is to form an image of whatever object being looked at (fixated on) on the retina. This image formation is done by the combination of the cornea and the lens which behaves like a convex lens. The focus length of this lens is adjustable by the muscles attached to it according to the distance of the object so that its image is always formed on the retina in normal situation.
The simple relationship between the focal length f of the lens and the distances of the object and its image is
where do and di are the distances from the lens to the object and its image, respectively. For a given f, distant object (large do) images on the retina ,with the focus length equal to the distance of the image.
In the human eye, as the image always needs to be formed on the retina, di is fixed to be the distance between the lens and the retina, which is about 0.017 meters (17 mm), and the focal length of the lens need to be adjuected as a function of the distance of the object:
If, for various reasons, the eye fails to focus the images on the retina (either in front or behind the retina), eye glasses are needed to change the focal length so that the image can still be formed on the retina.
The power of a lens to bend the incoming light is measured by diopter, defined as the reciprocal of the focal length in meter. To see objects of different distances, the power of the lens needs to be changed accordingly.
When the object is far away (do-∞), its image is formed at the distance equal to the focal length ( di=f=0.017 mm); however, when the object is close, its image will be formed farther away from the lens (di>f).