An automatic focusing system

Abstract: In an automatic focusing system an element(2) is inserted in the path of a beam of light(3) directed towards a sensor array. The element comprises a transparent material of predetermined reflective index, the element presenting a first region(4) of a first thickness and another region(5) of a greater thickness. The image falling on to the sensor comprises three areas - one area where the light has passed through the one region and another area where the light has passed through the further region and yet another area. The automatic focusing system derives signals from two of the areas and processes the signals so that the image is in focus in the third area.

Description: The present invention relates to an automatic focusing system. It has been proposed previously to provide an automatic focusing system, especially for use in focusing an image analysis system used to analyse the nature of cells present on a slide, which system effectively comprises a microscope. Initial attempts at providing automatic focusing involved the use of a beam split attachment which split the image into three separate beams. Each respective part of the split beam was directed towards a respective image sensor. One sensor was located in the main focal plane of a relevant beam and the other two sensors were located respectively just short of and just behind the main focal plane of the respective beams. A focus error signal was then derived from the sensors, the signal consisting of a suitable non-linear function of illumination which favoured light/dark transitions at the edges of the objects and within objects. This signal was integrated for each sensor over the same field of view since, at any instant, the same image portion would be directed towards the three sensors. The integral would be a maximum for a sensor on which the image is sharply focused and the value of the integral provided by the two sensors which are equally out of focus would be the same. Consequently, the focusing of the arrangement could be adjusted so that the value of the integral derived from the main sensor would be at a maximum, and the value of the integrals obtained from the remaining two sensors would be equal. Subsequently a modified automatic focusing arrangement was disclosed in European Patent Application 0163394A2. In this European Specification the focusing device comprises a sensor assembly having at least two arrays of sensor devices, with one array being in front of the optical image plane and the second array being behind the optical image plane. The sensor assembly has lines of pixel sensor elements. A differential contrast measure is taken from the pixel elements of the sensor which provides both the sign and magnitude of any focus error. This allows the focus motor to be driven in the correct direction. The differential contrast is calculated between one pixel and the next adjacent pixel. A contrast measure is taken from a selected number of pixels. The difference between the contrasted pixel values will be greater for an image in focus than for a blurred image. The difference between the selected pixels is measured, and the large values are enhanced, for example by raising the measured values to a power. The measured values, when raised to a power may be summed to provide an indication of how well focused the object is. Exaggerating the large values is necessary because when considering an out of focus image, a number of small differences may sum to a value similar to a large single difference obtained from an image in focus. The image is moved relative to the sensor assembly (or the sensor is moved relative to the image) so that the same image area may be sequentially directed towards the two arrays. Signals are derived from the two arrays to generate a focus drive signal. The sensor of European Publication 0163394A2 is provided in addition to two further outputs of a microscope, one comprising a binocular eye-piece tube, and the other being in the form of a camera port, although the camera port is not usually active. Thus a beam splitter is required and three beams are created within the microscope, each with its own focus plane. DE-A-3,739,223 discloses a two-dimensional sensor array comprising a plurality of sensors adapted to sense the image, and an automatic focussing system. A complex optical element, comprising a combination of lenses, is inserted into a beam of light directed towards the sensor array. The lenses forming the optical element are formed of a transparent material of a predetermined refractive index. The present invention seeks to provide an improved automatic focusing device. According to this invention there is provided an automatic focusing system for focusing the image projected by a converging beam of light on the area defined by a two dimensional sensor array, said system including said array which comprises a plurality of sensors adapted to sense the incident beam of light for determining the state of focus of the image projected thereon, and an optical element inserted in the path of said converging beam of light directed towards the sensor array, the optical element extending transversely of the converging beam and comprising a transparent material of a predetermined refractive index, wherein the optical element presents at least one region of a predetermined thickness with parallel planar upper and lower surfaces through which a first part of the light beam passes and a further region of a greater predetermined thickness with parallel planar upper and lower surfaces through which a second part of the light beam passes, the image projected on the sensor array comprising three image areas, a first area defined by the image projected by said first part of the light beam , a second area defined by the image projected by said second part of the light beam , and a third area defined by the image projected by that part of the light beam that has not passed through the optical element. The element may be a single integral element or may comprise two element parts, one comprising said one region of a predetermined thickness and another comprising the said further region of greater predetermined thickness. The element may have three or more regions and may thus present a thin region, an intermediate region and a thick region. Preferably the element is made of glass having a high refractive index, such as at least 1.5. The use of high refractive index glass minimises any "shadows" caused by discontinuities between the various regions of the element. In one embodiment the element has an overall configuration equivalent to a circle with a sector bounded by a straight edge being cut away, the said further region of greater thickness having the form of a sector of a circle of the same diameter with a straight edge, said straight edges being parallel. In this embodiment the optical element may be mounted, preferably so that it can be adjusted rotationally, in the projection optics of microscope. In an alternative embodiment of the invention the element is square or rectangular, and in this embodiment the element may be secured directly to a sensor array. Preferably means are provided to determine the sharpness of the image in said second area and said third area of the image, and to perform an algorithm to control a focus adjusting mechanism so that the image is in focus in the said first area. In a system in accordance with the invention, the sensor array is preferably adapted to provide an output representative of the focused image, the array developing said output from the said first area. It is thus to be understood that the sensor array may comprise the main output sensor array of a microscope or camera, for example. Consequently the focusing arrangement can be incorporated in the microscope or camera at minimal additional cost since no beam splitter is required and no separate sensor array is required. In order that the invention may be more readily understood, and so that further features thereof may be appreciated, the invention will now be described, by way of example, with reference to the accompanying drawing in which FIGURE 1 is a perspective view of a glass element and an imaging array which are intended to be fitted to a microscope. Referring now to the drawing, it is to be appreciated that in an automatic focusing system in accordance with the invention, a single two dimensional imaging array 1 is intended to be utilised from which is developed image information for subsequent use and also information to facilitate a focusing of an associated optical system. The optical system includes an optical element 2 which serves the purpose of creating, in a single optical image, three areas of different respective focal planes. It is to be understood that for a planar piece of glass placed into a converging light path, the position of focus is shifted by an amount of (1- 1 / N)T where N is the refractive index of the glass and T is the thickness of the piece of glass. Thus, for glass of a refractive index of 1.5 the shift in the focus is (¹/₃)T. It has thus been realised that if part of an image passes through a piece of glass of a predetermined thickness, the position of focus of that path of the image will be shifted by a predetermined amount. Thus, the described embodiment of the invention provides an optical element 2 which consists of a piece of transparent glass to be located in position extending transversely of a converging beam as schematically illustrated by the arrow 3. The piece of glass, however, comprises a main region 4 of a predetermined thickness and another region 5 of a greater thickness. Preferably the thickness of the region 5 is twice the thickness of the region 4. The element 2 has a planar lower surface. Each region 4 and 5 has a planar upper surface which is parallel to the lower surface. The optical element 2 is adapted to be designed so that only part of the optical beam 3 passes through the optical element 2. In the embodiment illustrated the optical element has an outer periphery of circular form with a segment cut off. Thus part of the circumference of the element is part circular 6, and part is bounded by a straight side 7. The region 5 which is of twice the thickness of the main region is also in the form of the segment of a circle, the circular part of the periphery of the region 5 being co-aligned with the circular periphery 6, the linear side 8 of the region 5 being substantially parallel with the said linear side 7. The linear side 8 is perpendicular to the upper surfaces of the regions 4 and 5. The region 5 is selected to be of a lesser size than the region 4. It is to be appreciated that a light beam 3 passing through the optical element 2 will impinge upon the detector 1 in three distinct areas. In the first area 9 the light will not have passed through the optical element and will thus have a nominal focal plane. In the second area 10, the light will have passed through the main region 4 of the optical element and will have an optical plane shifted by ¹/₃T if the refractive index of the glass is 1.5 and the thickness of the region 4 is T. In the area 11 of the image, the beam has passed through the region 5 of the optical element and thus the focal plane will be shifted by ²/₃T. Thus, if the focusing arrangement is so adjusted that the image in the area 10, passing through the single thickness of glass in the region 4 of the optical element 2 is in focus in the plane of the sensor array 2, the image in the area 9 will be focused ¹/₃T on one side of the image plane and the image in the area 11 will be focused ¹/₃T on the other side of the image plane. A focusing algorithm as disclosed in European Publication 0163394A2 may then be used to derive an error focus correction signal. In that algorithm the image and the sensor moved relative to one another so that the same image area was used in the two areas optically behind and in front of the focal plane. In contrast, in the described embodiment of the invention, different areas of the image will be present in the different areas 9, 10 and 11 on the sensor array. It is, however, believed that, notwithstanding the fact that different image areas are present, the focusing algorithm will operate in a satisfactory manner. The optical element 2 is intended to be located at a spaced position from the image array 1, for example, at the projection optics field stop. It is to be understood that the optical element should be mounted at, or near to, a focal plane in the optical path. The element 2 is preferably mounted so that it can be adjusted rotationally to have the desired position, with the linear sides aligned with rows of pixels in the sensor array. In an alternative embodiment of the invention, the optical element may be of rectangular form, so that it can be adhered directly to the optical array. When the optical element is adhered to the sensor array care must be taken to ensure that the linear sides (equivalent to the sides 7 and 8) are aligned with the rows of pixels present in the sensor array. It is preferred to utilise glass having as high a refractive index as possible. This results in the regions 4 and 5 being as thin as practicable. This means that the vertical step between the regions is as small as possible, whilst still maintaining the desired focus separation. This minimises any shadows which can otherwise be developed from the side edges 7 and 8 which effectively cause discontinuities. Any shadows can also be minimised by making these edges to be of as high a quality as possible. Edges which are in any way rough or irregular will lead to the creation of shadows. While the invention has been described with reference to a microscope it is to be appreciated that the invention may find many different applications. Many modifications may be effected without departing from the scope of the invention as defined in the following Claims.

Claims: An automatic focusing system for focusing the image projected by a converging beam of light on the area defined by a two dimensional sensor array(1), said system including said array(1) which comprises a plurality of sensors adapted to sense the incident beam of light for determining the state of focus of the image projected thereon, and an optical element(2) inserted in the path of said converging beam of light(3) directed towards the sensor array(1), the optical element extending transversely of the converging beam and comprising a transparent material of a predetermined refractive index, characterised in that the optical element(2) presents at least one region(4) of a predetermined thickness with parallel planar upper and lower surfaces through which a first part of the light beam passes and a further region(5) of a greater predetermined thickness with parallel planar upper and lower surfaces through which a second part of the light beam passes, the image projected on the sensor array(1) comprising three image areas, a first area(10) defined by the image projected by said first part of the light beam, a second area(11) defined by the image projected by said second part of the light beam , and a third area(9) defined by the image projected by that part of the light beam that has not passed through the optical element. A system according to Claim 1 wherein said optical element(2) is made of glass having a high refractive index. A system according to Claim 2 wherein the refractive index of the glass is at least 1.5. A system according to any one of the preceding Claims wherein said optical element(2) has an overall configuration equivalent to a circle(6) with a sector bounded by a straight edge (7) being cut away, the said further region of greater thickness(5) having the form of a sector of a circle of the same diameter, with a straight edge(8), the said straight edges (7,8) being parallel. A system according to any one of the preceding Claims embodied in a microscope, the said optical element being mounted in the projection optics of the microscope. A system according to Claim 5 wherein said optical element(2) is mounted so that it can be adjusted rotationally. A system according to any one of Claims 1 to 3 wherein said optical element is square or rectangular. A system according to Claim 7 wherein said optical element(2) is secured directly to the sensor array(1). A system according to any one of the preceding Claims wherein means are provided to determine the sharpness of the image in said second area(11) and said third area(9) of the image, and to perform an algorithm to control a focus adjusting mechanism so that the image is in focus in the said first area(10). A system according to any one of the preceding Claims wherein the sensor array is adapted to provide an output representative of the focused image, the array developing the said output from said first area(10).

Inventors: BURGESS DAVID CHARLES, GINESTET JACQUELINE, RAVKIN ILYA, STUBBINGS CLIVE ANTONY, BURGESS, DAVID CHARLES, GINESTET, JACQUELINE, RAVKIN, ILYA, STUBBINGS, CLIVE ANTONY
Applicants: APPLIED IMAGING INT LTD, APPLIED IMAGING INTERNATIONAL LTD.
Application year: 1992
Main classification: G02B21
IPC codes: G02B21, G02B7