Docsity

Image Formation - Vision Systems - Lecture Notes, Study notes of Ophthalmology

Toggle sidebar
bg1
40
III. Image formation: geometrical optics
Surfaces typically reflect incident light in all directions (unless they happen to be
perfectly specular, like perfect mirrors). For example, Lambertian surfaces reflect light
equally in directions. This fact poses a serious obstacle to obtaining useful visual
information from the environment, and undoubtedly it greatly slowed the evolution of
vision in biological organisms. To see this, consider a piece of plane white paper and
imagine that you have attached to each point on the paper a small sensor (a receptor or a
photocell). As the paper is turned in various directions the light falling on the sensors
goes up and down, but for each direction the paper is pointed the light is very nearly
uniform across all the sensors. Clearly the responses of these sensors would supply very
little information about objects in the environment. The problem, of course, is that light
is reflected in all directions and hence each sensor receives light from every object in
front of it. Useful vision requires that the light waves be sorted out so that the light from
each direction falls on a unique region of the sensor array. This sorting process is called
image formation. Evolution has produced two general types of solutions to the problem
of image formation that will be described below.
A. Visual scene as a collection of point sources
To understand image formation it is useful to note that the visual scene can be
regarded as a collection of point sources; a point source is a infinitesimal light source that
emits light in all directions.
B. Two point sources
The problem of image formation is illustrated in Figure 3.1A for the special case
where there are just two small objects (point sources) in the environment. The light
waves from the two point sources are represented by concentric circles. As can be seen,
even in this simple case, the light from the two point sources is completely confounded in
the sensor array. Clearly something must be done if separate images of the two point
sources are to be formed on the sensor array.
C. Imaging with pin-holes
One solution is to place the sensor array behind an opaque surface that has a small
aperture (a pin-hole) in it. The principle is illustrated in Figure 3.1B. Because of the
pinhole, the light waves from the point sources fall on different parts of the sensor array.
This method of image formation can produce moderate resolution images (pin hole
cameras were popular several decades ago) and the method is found in some primitive
biological vision systems (e.g., the Nautilus eye).
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Image Formation - Vision Systems - Lecture Notes and more Study notes Ophthalmology in PDF only on Docsity!

III. Image formation: geometrical optics

Surfaces typically reflect incident light in all directions (unless they happen to be perfectly specular, like perfect mirrors). For example, Lambertian surfaces reflect light equally in directions. This fact poses a serious obstacle to obtaining useful visual information from the environment, and undoubtedly it greatly slowed the evolution of vision in biological organisms. To see this, consider a piece of plane white paper and imagine that you have attached to each point on the paper a small sensor (a receptor or a photocell). As the paper is turned in various directions the light falling on the sensors goes up and down, but for each direction the paper is pointed the light is very nearly uniform across all the sensors. Clearly the responses of these sensors would supply very little information about objects in the environment. The problem, of course, is that light is reflected in all directions and hence each sensor receives light from every object in front of it. Useful vision requires that the light waves be sorted out so that the light from each direction falls on a unique region of the sensor array. This sorting process is called image formation. Evolution has produced two general types of solutions to the problem of image formation that will be described below.

A. Visual scene as a collection of point sources

To understand image formation it is useful to note that the visual scene can be regarded as a collection of point sources ; a point source is a infinitesimal light source that emits light in all directions.

B. Two point sources

The problem of image formation is illustrated in Figure 3.1A for the special case where there are just two small objects (point sources) in the environment. The light waves from the two point sources are represented by concentric circles. As can be seen, even in this simple case, the light from the two point sources is completely confounded in the sensor array. Clearly something must be done if separate images of the two point sources are to be formed on the sensor array.

C. Imaging with pin-holes

One solution is to place the sensor array behind an opaque surface that has a small aperture (a pin-hole) in it. The principle is illustrated in Figure 3.1B. Because of the pinhole, the light waves from the point sources fall on different parts of the sensor array. This method of image formation can produce moderate resolution images (pin hole cameras were popular several decades ago) and the method is found in some primitive biological vision systems (e.g., the Nautilus eye).

Figure 3. A B

C

However, pinhole imaging has some serious weaknesses. It is clear from Figure 8B that the smaller the pin hole the more localized will be the images of the two point sources and hence the better will be the resolution of images in general. Unfortunately, shrinking the size of the aperture only works up to a certain point. Once the aperture becomes smaller than some critical size, diffraction of the light waves by the aperture causes the images of point sources to start increasing is size (diffraction will be discussed in more detail later). Also, the need for a small aperture implies that little light from the objects will reach the sensor array. This can also result in poor resolution under low ambient lighting conditions.

D. Imaging with lenses

A more elegant solution is to use lenses in combination with relatively large apertures. Lenses are transparent objects that have approximately spherical surfaces. A typical lens shape is shown in Figure 3.1C. The fundamental principle that allows lenses to form images is that the speed of light is lower in dense materials, such as glass or

3. Lens focal length and power

The image distance when the object distance is infinite is called the focal length. One divided by the focal length (in meters) is defined to be the power (in diopters) of a lens. The more curved is the surface of a lens the smaller is its focal length and the greater its power. This is because a more curved lens will produce a greater change in the curvature of the incoming light waves and hence the light waves will collapse to a point at a smaller distance. Changing the curvature of the lens is one way to maintain sharp images for objects at different distances.

4. Aperture size and depth-of-focus

The principles of pin-hole imaging and lens imaging are often combined in biological and artificial optical systems. A moderate-sized aperture will not reduce the amount of light reaching the sensor array by too much, and will not cause significant blurring by diffraction, but will increase the depth-of-focus --the range of object distances that result in relatively good focus on the sensor array. This can be seen by considering what would happen to the converging light waves in Figure 3.1C if the aperture were made smaller while keeping the curvature of the lens the same. The smaller aperture would reduce the width of the converging cone of waves without changing the image distance. Thus, the object distances could be varied over a greater range without produces large amounts of blurring.

E. Geometrical optics

A precise description of the transmission of light waves through matter and its other interactions with matter is in general very complicated. However, there are many situations where approximate analyses work quite well. One method of doing an approximate analysis of an optical system is to use the principles of geometrical optics. In geometrical optics, the paths that light waves follow are represented by rays (directed lines) that are perpendicular to the waves. One such ray is drawn in Figure 3.1C. Figure 3.2A shows some rays for a point source at different distances from a lens. The process of taking rays emanating from a source and tracing their paths through an optical system is called ray tracing. As can be seen in Figure 3.2A, ray tracing can be used to find the image of the source; it can also be used to find various key parameters of an optical system.

1. Snell's law

Because the speed of light is constant in all directions within a medium (air, glass, etc.) the rays will follow straight lines until they contact an opaque surface, a reflecting surface or, more relevant to the present discussion, a medium with a different speed of light; then they will change direction. The change in direction, which occurs when passing from one medium into another, is called refraction. Figure 3.2B illustrates the

effects of refraction on rays passing from air into glass. As can be seen, the change in direction is dependent on the angle the incident ray makes with respect to the surface of the new medium. If the ray is perpendicular to the surface its direction does not change, but it does change if the ray is not perpendicular to the surface. (These facts are intuitive if you think about the underlying spherical waves that are represented by the rays). The angle between the incident ray and a line perpendicular to the surface is known as the angle of incidence. The angle that the ray makes with respect to the perpendicular line after passing through the surface is known as the angle of refraction. The relationship of the angle of incidence to the angle of refraction is described by Snell's law:

sin(θr ) = ninr sin(θi ) (3.1)

where θi = angle of incidence, θr = angle of refraction (or transmission), and ni and nr are constants which are dependent on the medium (for example the index of refraction for air is slightly greater than 1.0, and for water is approximately 1.3). These constants are determined by the speed of light within the medium; the lower the speed of light the greater the index of refraction. The larger the ratio of the indices of refraction in the two adjoining media, the more the incident rays will be bent. We will not try to justify Snell's law here, but it does follow from first principles by considering what happens when wavefronts change speed in going from one medium to another.

Figure 3.

3. The cardinal points

aberrations (aberrations that would occur in monochromatic light), and chromatic aberrations (aberrations that only occur when there are multiple wavelengths in the light).

Monochromatic aberrations are usually expressed as deviations from an ideal spherical wavefront converging to a point in the image plane. Almost any form of deviation is possible, but for most optical systems they can be described adequately in terms of a fourth-order two-dimensional Taylor polynomial (Goodman, 1968; Howland and Howland, 1977). They include prismatic aberrations (first-order), focusing and astigmatic aberrations (second-order), comatic (not chromatic) aberrations (third-order), and spherical aberrations (fourth-order). For an introductory discussion of the monochromatic aberrations see Hecht and Zajac (1974).

5. Chromatic aberrations

Chromatic aberrations occur because in all materials the index of refraction varies (at least somewhat) with the wavelength of the light. Furthermore, the function relating the index of refraction to wavelength depends on the material. There are two unfortunate consequences of this.

First, because the refractive index is different for different wavelengths, the focal length (or power) of an optical system will be different for the different wavelengths; thus, only some wavelengths of light will be in precise focus at a given time. The rest of the wavelengths will be out of focus. This is called longitudinal (or axial ) chromatic aberration.

Second, the variation in the index of refraction means that the size (magnification) of the images at different wavelengths will be different. For example, the edge of a white object is composed of all wavelengths. Because of magnification differences, each wavelength (from the same edge) will produce an edge in the image at a slightly different position. This is called and lateral (or transverse ) chromatic aberration.

F. Optics of the eye

The optics of the human eye are more complicated than the simple lens and aperture in Figure 3.1C. Figure 3.3 shows a cross section of the human eye (which is similar to other mammalian eyes). The important optical structures in the eye are the cornea (the clear front surface of the eye), the iris (a sphincter muscle that determines the size of the pupil), and the lens (a flexible lens that can change shape to adjust for different object distances).

Figure 3.

The human optical system is approximately radially symmetric about a line running through the center of the cornea, pupil and lens. This line is called the optic axis. One might expect that when we fixate an object, the object centers on the optic axis. In fact, this is not the case; the optic axis is rotated approximately 5 ^ temporal (toward the side of the head). The line from the fixated object to its image on the retina is called the visual

axis ; obviously, it is rotated 5 ^ nasal from the optic axis.

1. The cornea

The cornea is the main refracting surface of the eye (it bends the incident light rays more than any other surface), even though the curvature of the cornea is less than the back surface of the lens. The reason is that the ratio of the index of refraction between the air and cornea is much bigger than between any other adjoining media within the eye (c.f., equation (3.1)).

2. The iris

The iris determines the size of the pupil. (The iris is pigmented and is responsible for the "color" of a person's eyes.) The pupil serves as an aperture in the eye's optical system. When light levels are high in the environment the iris contracts forming a smaller aperture. There are four effects of this; (a) reduction in the amount of light reaching the retina (sensor array), (b) increase in the depth-of-focus, (c) increased image

Figure 3.

A

B

C

Table 3.

where n 1 is the index of refraction on the object side of the eye (n 1 = 1.0), n 2 is the index

of refraction inside the eye (n 2 = 1.333), r 1 is the radius of curvature of the refracting

surface (r 1 = 5.5 mm), s (^) o is the distance from the object plane to the refracting surface

and s (^) i is the distance from the refracting surface to the image plane. The image focal

point (F') of the system is given by letting s (^) o go to infinity:

preferable because the anatomy of the retina is, to first approximation, radially symmetric about the center of the fovea.

7. Ocular transmittance

The optical components in the eye (and in artificial vision systems) are not perfectly transparent; some light is lost due to reflection from refracting surfaces and some is lost due to absorption in the optical materials. The major loss of light in the eye is due to absorption in the lens. Also, there is a yellow pigment, called the macular pigment , covering the retinal area in and around the fovea (the fovea is centered on the visual axis).

The fraction of incident light transmitted through a substance is called the transmittance. Figure 3.5 shows the average combined transmittance of the lens and macular pigment in young adult eyes (Wyszecki and Stiles, 1982). As can be seen, the lens and macular pigment absorb short wavelengths of light (blue) much more than long wavelengths (red).

Figure 3.

8. Retinal illumination

It is often useful to know the amount of light falling on the retina -- the retinal irradiance or illuminance. The amount of light that reaches the retina is not only limited by the transmittance of the ocular media, but also by the size of the pupil. Because the pupil is near the nodal point of the eye (see Figure 3.4) it primarily modulates the amount of light reaching the retina and not the size of the retinal image. The retinal irradiance is very nearly proportional to the apparent area of the pupil as seen from outside the eye.

We now derive a formula for converting radiance (or luminance) into retinal irradiance (or illuminance). The same formulas work for other imaging systems. We assume first that there is no light loss in the eye itself; the effects of ocular transmittance will be added in later.

Consider a small square patch of surface at a distance, do , with an area Ao and a radiance of Le. Recall that the radiance of the surface is the watts of power radiating

from the surface per square meter into a solid angle of one steradian. To determine the watts per square meter of object surface that enter the eye we must compute the solid angle covered by the pupil. If the area of the pupil (more precisely, the entrance pupil) is s and the surface is not too close to the eye, then the solid angle in steradians equals s /do^2.

(This is because the one steradian is defined to be a surface area on a sphere that equals

the square of the sphere's radius.) Thus, the watts/m 2 entering the eye is L (^) es/do^2.

However, the size of the square patch on the retina Ai will generally be much smaller

than Ao thus increasing the irradiance. In fact, using similar triangles it can be seen that the ratio of the areas equals the ratio of the square of the object and image distances:

Ao /Ai = do^2 /di^2. The only other factor that must be considered is the angle of incidence

(i) of the light on the patch of retina. Thus, the retinal irradiance (watts/m 2 on the retina) is given by

Ee = Le^ s d (^) o^2

do^2 di^2

cos(i) (3.5)

However, do^2 cancels out and the angle of incidence is close to 0.0 (because of the

spherical shape of the eyeball). Therefore,

Ee = Le^ s d (^) i^2 (3.6)

The image distance is approximately the distance between the nodal point and the retina in the reduced schematic eye, so d (^) i = 16.7 mm. Equation (3.5) shows that retinal

irradiance is independent of the distance to the object (this is true except for objects that are very close to the eye or have very small visual angles). The formula for converting luminance to retinal illuminance is, of course, completely analogous:

E = L s d (^) i^2 (3.7)

Equation (3.6) gives the actual retinal illuminance in lumens per square meter; however, for many purposes, a somewhat simpler unit, the troland (abbreviated td) is used. The retinal illuminance (in trolands), is defined by just the numerator of equation (3.6):

9. Aberrations

The monochromatic aberrations in the human eye vary from one person to the next so we will not attempt to describe them here (however, see the later section on the optical point-spread function). Longitudinal chromatic aberrations are relatively easy to measure and are quite consistent in magnitude from one eye to the next. Figure 3.6A shows the difference in the power of the eye as function of wavelength relative to 578 nm (Wald and Griffin, 1947; Bedford and Wyszecki, 1957). In other words, this figure shows how defocused the eye would be for various wavelengths if it were focused for 578 nm. As can be seen, the level of defocus is greater the further a wavelength from the one that is in focus. In spectrally broad-band (white) light, longitudinal chromatic aberration is probably the dominant aberration in the eye (when it is well focused).

Lateral chromatic aberration is due to the fact that the magnification of the retinal image varies with wavelength. Figure 3.6B shows the relative magnification as function of wavelength. These values were computed from LeGrand's schematic eye for the variations in power given in Figure 3.6A. Because lateral chromatic aberration is due to differences in magnification, it increases with distance from the optic axis. The lateral chromatic aberrations in the fovea are somewhat bigger than might be expected because the fovea is 5 off the optic axis of the eye.

Figure 3.

10. Diffraction

Many aspects of an optical system can be analyzed within the framework of geometrical optics. However, for optical systems where diffraction effects are significant, it is necessary to take into account the more subtle aspects of wave motion. Diffraction refers to the changes in the shapes of wavefronts that occur when the waves are partially obstructed by objects. Figure 3.7A illustrates the diffraction that occurs in a

ripple tank (a water tank for studying wave motion) when plane waves pass through a small aperture. This pattern of waves is not predicted by ray tracing (Snell's law). Snell's law predicts something more like that in Figure 3.1B. Snell's law gives a closer approximately to the wave motion when the aperture is larger, however, even large apertures produce some diffraction.

Figure 3.

Figure 3.7B shows the irradiance functions (irradiance as a function of position) produced at different distances from a small aperture. Beyond a certain distance from the aperture the waves enter what is know as the Fraunhofer region where they remain similar in shape except for changes in size. Comparison of Figure 3.7A and 3.7B shows that the Fraunhofer region is entered beyond a distance of relatively few wavelengths. Given that the visible wavelengths are less that 700 nm, the image surfaces in most (visible light) optical systems, including the human visual system, will be in the Fraunhofer region.

As mentioned earlier, diffraction degrades the quality of images. Thus, even "perfect" optical systems have an irreducible amount of blurring due to diffraction. When the human pupil is 2-3 mm in diameter (a size reached at normal daytime light levels) diffraction is the major source of image blur (when the eye is focused on the object). Similarly, diffraction effects are an important contributor to image quality in many artificial vision systems. To describe and analyze optical systems where diffraction is an important factor, the mathematical techniques of linear systems analysis are very helpful. Linear systems techniques are also helpful for understanding many aspects of image processing in biological and artificial vision systems. Thus, we will now spend some pages reviewing linear system analysis.