The present invention relates to a method and system for analyzing in vitro samples.
In vitro analysis is carried out in many environments in order to identify biological samples such as microorganisms, cell and tissue cultures, cellular or sub-cellular extracts, and purified molecules. Samples of various materials are isolated from their usual biological context and provided with an environment in which they can grow. This environment is often provided in the form of a Petri dish which is placed into an incubator in order for the samples to grow. The Petri dish normally includes a microbiological culture medium which encourages growth of the sample. Ideally, incubation on an appropriate culture medium gives rise to the growth of a number of colonies of the sample. Subsequent analysis of the colonies is generally carried out to identify the microorganisms and assess their sensitivity or resistance to antimicrobials.
An important part of the analysis of the samples is the ability to identify particular microorganisms or bacteria, for example, from the colonies. In addition, the treatment of bacteria with appropriate medication can also be analyzed based on the growth of the microorganisms in the sample and the interaction with any medication applied to the sample.
Much of the preliminary analysis is carried out by visual analysis of the Petri dish by qualified scientists. The preliminary visual analysis works well, but is prone to human error and inconsistency due to the huge diversity of shapes, colors, sizes and forms of the different microorganisms which may be difficult to interpret. However, the visual domain is still one of the best ways to quickly identify microorganisms at present. In addition, as much of the growth is “random”, it is not easy to model microorganism growth and find automated systems which lend themselves to the diversity identified above.
Known incubators may include a window through which samples can be viewed, but in general, the Petri dish is taken out of the incubator to be visually analyzed. The preliminary visual analysis involves holding the Petri dish in front of a light source to identify colonies. Further detailed chemical and microscope analysis methods can then be carried out on particular identified colonies, as required.
Biological scanners, i.e. devices used to scan or count bacterial colonies, are known in the state of the art. For example, US 2004/0101951 and US 2010/0232660 both disclose biological scanners for scanning biological growth plates having different structures but both having in common the ability to generate images of the plates and perform an analysis of these images to detect biological growth. However both use a single light source providing front or back illumination. Indeed, it is stated in both US2004/0101951 and US2010/0232660 that “some biological growth plates may require only front or back illumination, but not both.” Such illumination is basic and does not allow images that have sufficient quality to carry out a preliminary analysis in an efficient manner to be obtained.
Certain prior art systems exist in which a sample in a Petri dish is illuminated by different colors or wavelengths of light in order to form images of the sample. The images are captured by an appropriately orientated camera.
FR2926820 discloses a method for detecting at least one specific microorganism in a biological sample, said method comprising, amongst others, the step of subjecting a culture medium to at least two radiations each presenting a specific wavelength.
Preferably, two lighting systems are used, each lighting system emitting radiation of a specific wavelength. More specifically,
Similarly, published Japanese patent application, JP2010104301, describes, amongst others, a method for detecting microorganisms comprising an imaging step to image a culture medium on which microorganisms grow and a colony detection step, said method also using combination of top lighting and backlighting.
Having acquired an image of a biological sample there are often processes which can be applied to enhance the image and carry out image processing. However, there are many problems associated with enhancing images of biological samples. These include:
Many of these problems can only be solved by bespoke applications.
It is an object of the present invention to overcome at least some of the problems associated with the prior art.
It is a further object of the present invention to provide an automated system and method for analyzing biological samples.
The present invention provides a method and system as set out in the accompanying claims.
According to one aspect of the present invention there is provided an imaging system for generating images of biological samples having a surface, the system comprising a sample support for supporting a biological sample in use; a plurality of illumination sources, the plurality of illumination sources being arranged around the sample support and each adapted to illuminate the biological sample, in use, from a different direction; an image capture device for capturing illumination which has impinged on the biological sample to thereby form an image of the sample;
wherein at least one of the illumination sources direction is not perpendicular to the surface of the sample.
Optionally, the directions of at least two of the illumination sources are substantially not coplanar. In one embodiment, the largest angle of intersection between the directions of the at least two illumination sources is less than 170°, optionally less than 160°, optionally less than 150°. Using at least two illumination sources whose respective directions are substantially not coplanar allows improved identification and detection of objects, marks and characteristics of the objects.
Optionally, the plurality of illumination sources includes two or more of: a backlighting source; a near horizontal source; an annular source directed towards the surface; an annular source directed away from the surface; and a vertical source, wherein each defines a distinct type of illumination source.
Optionally, the at least two of the plurality of the illumination sources are of different types of illumination source.
Optionally, the plurality of illumination sources includes three or more of: a backlighting source; a near horizontal source; an annular source directed towards the surface; an annular source directed away from the surface; and a vertical source, wherein each defines a distinct type of illumination source.
Optionally, the at least three of the plurality of the illumination sources are of different types of illumination source.
Using at least two or three illumination sources of different types (such as a backlighting source, a near horizontal source, etc.) also allows improved identification and detection of objects, marks and characteristics of the objects.
Optionally, a plurality of illumination sources are used to produce a plurality of images, which can be combined to form a composite resultant image.
Optionally, different combinations of the plurality of illumination sources can be used to produce different images for different biological analyses.
Optionally, each illumination source is included in a unit and wherein each unit can be stacked one on top of another.
Optionally, the units are moveable relative to one another.
Optionally, the sample is movable relative to the plurality of illumination sources.
Optionally, the illumination sources comprise red, green, blue sources, white light sources or UV sources.
Optionally, the sample is capable of being illuminated by a near horizontal source.
Optionally, the system further comprises a processing system for enhancing or processing images to effect a biological analysis of the sample.
Optionally the system is combined with an incubator system for incubating samples prior to imaging the samples.
The invention also relates to an incubator for incubating biological samples including an imaging system as defined in the claims.
According to a further aspect of the present invention there is provided a method of generating images of biological samples wherein the sample has a surface, the method comprising the steps of:
According to a further aspect of the present invention there is provided a system and method for enhancing an image of a biological sample, which biological sample has been grown in a vessel on a culture medium and wherein the image has been formed by illuminating the vessel containing the sample and the culture medium with a near horizontal illumination beam, the method comprising the steps of obtaining an image of the vessel and the culture medium as a test image by applying separately a plurality of different colored illumination sources to the vessel and culture medium; for each color measuring the absorption of the vessel and the culture medium; forming a model of absorption of each color for the vessel and the culture medium; obtaining and processing an image of the vessel, culture medium and biological sample by applying separately the plurality of different colored illumination sources to the vessel, culture medium and biological sample; for each color generating a source image of the vessel, the culture medium and the biological sample; applying the model of absorption of each color for the vessel and the culture medium to the respective source image to remove the absorption effects of the vessel and the culture medium; combining the source images for each color to form a composite image highlighting the biological sample.
Optionally, the step of illuminating includes illuminating with a red, green, blue source and/or a UV source.
According to a further aspect of the present invention there is provided a system and method of determining an ideal exposure time for an image of a biological sample in a biological imaging system, the steps comprising identifying one or more characteristics of the sample to be imaged; determining a default exposure time based on the one or more characteristics; taking an image at the default exposure time; analyzing the image to determine a plurality of zones in the image, such as a zone relating to a field of interest and a zone which does not relate to the field of interest; determining a relative luminosity between the plurality of zones to estimate an expected luminosity of the image; in one of the zones, such as the zone relating to the sample, applying a classification algorithm to cluster together parts of the image relating to the biological sample and parts of the image which do not relate to the biological sample; determining the luminosity in each part to obtain a value for the actual luminosity of the image; comparing the actual and expected luminosities to determine a difference coefficient there between; if the coefficient is above a predetermined level deciding that the default exposure time was incorrect and then retaking a new image at a new exposure time based on the coefficient.
According to a further aspect of the present invention there is provided a system and method of determining the contours and relief information on a surface of a biological sample, from an image thereof, the method comprising the steps of illuminating a sample with at least one vertical source above the sample and obtaining a monochrome image of the sample; illuminating the sample with a second source from any direction to produce a second image of the sample; applying a transform to the monochrome image to form a transformed monochrome image; suppressing low frequency luminance values in the transformed monochrome image; determining a luminance value of each pixel in the transformed monochrome image; combining the luminance values with the second image on a pixel by pixel basis to form a final image which accentuates the contours and provides relief information.
Optionally, the step of illuminating the sample with at least one vertical source above the sample and obtaining a monochrome image of the sample comprises illuminating the sample with at least two vertical sources at at least two different positions.
Optionally, the step of illuminating the sample with the second source comprises using a source having a plurality of color channels and forming the second image as a color image.
Optionally, the step of illuminating the sample with the second source comprises illuminating the sample with each of a red, green and blue source separately and combining the luminance values with each of the resultant red, green and blue images to form an image which accentuates the contours and provides relief information for each color and combining the three colors to obtain said final image. Optionally, the sample is a Petri dish including a culture medium on which microorganism colonies are present.
According to a further aspect of the present invention there is provided a system and method of detecting characteristics associated with a vessel comprising the steps of obtaining one or more images of the vessel using one or more of a plurality of illumination sources, each illumination source capable of illuminating the vessel from a different direction; applying a object detection transformation to identify edges of the vessel; determining the image of the interior of the vessel.
Optionally the step of determining the image of the interior of the vessel comprises masking the edges of the vessel from the or each image to produce a resultant image showing the interior of the vessel.
Optionally the method further comprises identifying the absence of any microorganism colonies within the vessel.
According to a further aspect of the present invention there is provided a system and method of detecting objects of a predetermined format having non-biological characteristics on a vessel comprising the steps of obtaining one or more images of the vessel using one or more of a plurality of illumination sources, each illumination source capable of illuminating the vessel from a different direction; forming a digital image of the or each image; identifying objects of the predetermined format having non-biological characteristics.
Optionally the step of forming a digital image of the or each image comprises retrieving objects having a point shape and a dark color in the one or more images of the vessel.
Optionally the method further comprises masking the identified objects to produce a resultant image in which the objects are not visible.
According to a further aspect of the present invention there is provided a system and method of isolating microorganism colonies in a vessel including a culture medium, the method comprising the steps of obtaining one or more images of the vessel using one or more of a plurality of illumination sources, each illumination source capable of illuminating the vessel from a different direction; selecting an image or combination of images for further processing; applying a circular object detection transformation to identify one or more substantially circular objects in the vessel, which circular objects are representative of isolated colonies in the vessel; for each identified substantially circular object, determining an area of isolation for that object.
Optionally the step of determining the area of isolation of an object comprises determining the centre of the identified substantially circular object; forming a digitized image of the identified substantially circular object by applying a binarization step to obtain a binarized image, wherein the centre of the binarized image corresponds to the centre of the identified substantially circular object; verifying the circularity of the object in the binarized image; carrying out a test to identify the area of isolation of the object to determine the size of the colony and the area of isolation of that colony from other colonies.
According to a further aspect of the present invention there is provided a system and method of detecting a mass of colonies and/or non-circular colonies in a vessel including a culture medium, the method comprising the steps of obtaining one or more images of the vessel using one or more of a plurality of illumination sources, each illumination source capable of illuminating the vessel from a different direction; forming a digitized image of the images; detecting growth by identifying high density of colonies and non-circular colonies.
Optionally the step of identifying high density of colonies and non-circular colonies comprises determining areas having a contrast above a predetermined value.
Optionally the step of forming a digitized image of the images comprises segmenting the images with a region-based segmentation technique.
According to a further aspect of the present invention there is provided a system and method of detecting swarming microorganisms in a vessel including a culture medium, the method comprising the steps of obtaining one or more images of the vessel using one or more of a plurality of illumination sources, each illumination source capable of illuminating the vessel from a different direction; selecting an image having contour or relief information; applying a predetermined filter to the selected image to form a filtered image; subtracting the selected image from the filtered image to produce an image showing texture.
Optionally, the step of applying a filter comprises applying a median 7×7 filter to each point in the digitized image.
According to a further aspect of the present invention there is provided a system and method of detecting α and/or β hemolysis performed by at least one microorganism in a vessel including a culture medium, the method comprising the steps of:
Reference will now be made, by way of example, to the accompanying drawings, in which:
a, 2b and 2c are schematic diagrams of the imaging system of the
a is a schematic representation of the backlight illumination source, according to one aspect of the present invention;
b is a schematic front view and rear view representation of a diffuser related to a backlight illumination.
c is a schematic front view and rear view representation of a diffuser related to annular illumination.
a is a source image for a first image enhancement technique, according to one aspect of the present invention;
b is a resultant image after the first image enhancement technique, according to one aspect of the present invention;
a, 11b and 11c are graphs showing absorption measurements and models for red, green and blue, according to one aspect of the present invention;
a and 15b are two graphs showing possible transform functions for a still further image enhancement technique, according to one aspect of the present invention; and
a are process diagrams showing the steps for an image processing technique, according to one aspect of the present invention;
The present invention relates to a system for analyzing biological specimens in a fully or semi automated manner. In the present description, the term ‘object’ relates to a real object such as bubbles or colonies, the term ‘mark’ relates to a characteristic of a vessel such as an artifact or a serigraphy, and the term ‘feature’ relates to a characteristic of an object. In addition, the term ‘Petri plate’ defines an assembly of a Petri dish and a lid to cover the Petri dish.
The system 100 includes a sample vessel bank 102, an automatic streaking machine 104, a smart incubator system 106, a processing unit 108 and an identification system 110.
The sample bank 102 produces manually or automatically sample vessels into which biological samples can be grown and analyzed. The sample vessel is typically a Petri dish, although other vessels may also be used. Accordingly, reference to a Petri dish herein is not intended to be limitative.
The sample vessel bank adds an appropriate culture medium to the dish to enable the biological sample to grow. The Petri dish may be passed from the sample vessel bank to the following stage of the process by means of a conveyor belt or other automated system. Alternatively, the samples can be passed by an operator.
The automatic streaking machine 104 applies a biological sample to the Petri dish and then distributes the sample in a known manner. For example, in a Petri dish the sample is applied using a comb having a length approximately equal to the radius of the dish. The comb is applied and then turned to spread the biological sample over the surface of the dish. An example of a suitable automatic streaking machine is commercialized by the applicant under the PREVI® Isola brand name.
Once the biological sample has been distributed over the culture medium in the dish, the dish is passed to the next stage of the process manually by an operator or by means of a conveyor belt or other automated system.
The smart incubator system 106 includes an incubator 112 and an imaging system 114. The Petri dish is introduced into the incubator and is incubated for a predetermined time at a predetermined temperature. This causes the biological sample to grow producing a number of colonies of microorganisms over the surface of the dish. Once the dish has been incubated as required, the dish is passed to the imaging system 114. The imaging system is a unique, novel system for generating images of the colonies and cultures generated in the system as a whole. The details of the imaging system will be described further below.
The images are used in the first stage of analysis of the samples. This stage can identify colonies and other aspects of the biological sample to aid and facilitate further activities and functions of the overall system.
After the images of the dish have been produced, the dish is then passed to the next stage of the process. This may be carried out automatically by a conveyor belt or other automated system or by an operator.
The processing unit 108 can take on a variety of different forms depending on the required sample analysis. For example, particular colonies may be extracted, based on the images, for further analysis or processing. Many other processes can be applied to the dish at this time. If necessary, the dish can be returned to the incubator for further growth and/or returned to the imaging system.
After all the necessary processing and imaging has been completed, the dish may be passed to the identification system 110 by means of a manual or automated process. The identification system 110 may be used to identify the microorganisms that are present in the form of colonies on the dish, in a multitude of different ways. Identification can be carried out by the analysis of the metabolism of the microorganism and can be automated or manual. An automated analysis can be carried out for example, with a VITEK® system commercialized by the applicant. The identification can also be performed using mass spectrometry technology. Other analysis could also comprise detecting antimicrobial resistance mechanisms.
It will be appreciated that the various elements of the overall system may be changed to carry out different functions. In addition, certain steps may be carried out in different orders.
As previously mentioned the smart incubator system is an important aspect of the present invention and includes the unique imaging system. The imaging system will now be described in greater detail with reference to
Above the base unit, there is a sample holding unit 204. The sample holding unit may include a drawer which can slide in and out and includes a recess 206 which is adapted to support a Petri dish. In addition, as shown in
It should be noted that the bottom of the recess is optically transmissive to allow the backlight illumination to illuminate the sample in use. The sample holding unit further includes the optics and controls required to operate the four horizontal illumination sources.
The sample holding unit may comprise an alternative orientation (not shown) in which the samples are passed into position for imaging by a conveyor belt. The drawer may be replaced by a conveyor belt system having sample holding zones, each of which is transparent to allow backlighting to be used. The conveyor belt system can move the sample into an appropriate position and then the necessary images can be taken. The conveyor belt then moves the next sample into position for imaging and the first sample on to the next stage of processing. This enables images to be taken at different positions and when the sample is moving.
In a further alternative, the system may include a robotic arm which is able to load Petri dishes into the sample holder or on to the conveyor belt. In addition, the robotic arm may remove the lid of the Petri dish prior to imaging and replace the lid there after. This can be done by inverting the Petri dish and causing the lid to fall off. Removing the lid ensures the lid does not produce reflections when the sample is illuminated by certain illumination sources.
A possible embodiment of the robotic arm is shown in
In addition, to movement into and out of the imaging zone the sample holding unit may also include a mechanism to change the position of the sample relative to the normal position. For example the sample holder may be able to orientate the sample to be at a specific angle to a specific beam. Other movements, for example rotation, of the sample can also be carried out with appropriate mechanisms. As a result any relative movement of the sample and the illumination sources can be realized by moving either the sample in the sample holding unit or the illumination source. The variations are endless.
In the situation where the sample holding unit has a normal position such as a horizontal position over the wheel in the imaging system, a mask may be added to improve the quality of images taken of the interior of the Petri dish. An embodiment related to the Petri dish provided with a mask is shown in
The imaging system 114 further includes a first intermediate unit 216 which is situated above the sample holding unit. The first intermediate unit includes four rectilinearly positioned red, green, blue illumination sources 218, 220, 222 and 224 respectively. The illumination sources are adapted, in use, to produce annular illumination onto the sample recess in the sample holding unit and are each independently controllable. The annular illumination can be adjusted to be incident on the sample from any appropriate direction, including lateral, non-lateral or any other appropriate orientation.
The imaging system also includes a second intermediate unit 226. The second intermediate unit includes four rectilinearly positioned red, green, blue illumination sources 228, 230, 232 and 234 respectively. The illumination sources are directed upwards and reflect from the unit above to give rise to an inverse annular illumination which, in use, illuminates the sample in the sample recess and are each independently controllable.
A head unit 236 of the imaging system is located above the second intermediate unit. The head unit includes white light illumination sources, of which four are shown, respectively 238, 240, 242, 244, 246, 248, 250 and 252 which are each independently controllable. The eight illumination sources are arranged, in use, to produce vertical illumination onto the sample recess.
The head unit also includes an image capture device 254, such as a camera which is directed towards the sample recess. Illumination from any combination of illumination sources from any of the units can be directed to the sample recess. The image capture device can then capture images from any samples in the sample recess which have been illuminated. The use and further processing of the images will be explained in greater detail below.
The head unit may also include a control pad 256 which is used to operate the various light sources. In addition to the control circuitry and optics in each unit which controls the function thereof, there may be an overall control system (not shown). The control system may include a computer, a display unit, processing modules and image enhancing algorithms, image processing, and any other processes or techniques.
The control system may be used to control which illumination sources are used for specific applications. In addition, the control system may apply difference image enhancing techniques and image processing for different applications. Image enhancing techniques are methods and techniques to enhance the quality of the image or to make pertinent information visible for an expert to view. Examples, that will be described in greater detail below include: fusion of different images such as vertical fusion or fusion for hemolysis, edge lighting correction, exposure time correction etc. Image processing is the extraction of information from images in order to provide decision support or automatic decisions. This does not necessarily include a modification of the image but instead a determination of higher level information/interpretation in an automated manner Examples, that will be described in greater detail below include: detection of the dish ring, detection of marks, detection of growth (masses, isolated colonies, swarming), global decision on growth/no growth, etc.
Swarming is intended to indicate swarming motility, which is a rapid (2-10 μm/s) and coordinated translocation of a bacterial population across solid or semi-solid surfaces. This type of motility has been mostly studied in genus Serratia, Salmonella, Aeromonas, Bacillus, Yersinia, Pseudomonas, Proteus, Vibrio and Escherichia.
The control system may be used to carry out any other function and/or control operation for the imaging system. These include, but are not limited to,
Each of the units forming the imaging system are capable of being moved relative to the other units. When this occurs, certain optical adjustments may be necessary to ensure the sample is illuminated by all sources.
The operation of the imaging system will now be described in more detail with reference to
An annular beam 308 may also illuminate the sample 300 and is produced by the first intermediate unit 216. An inverse annular beam 310 produced by the second intermediate unit 226 can also illuminate the sample.
A vertical beam 312 can also illuminate the sample and is generated by the illumination sources in the head unit 236.
The vertical beam and the backlight illumination apply illumination in a substantially perpendicular direction relative to the sample in the Petri dish. The optical axis of each of these illuminations sources is accordingly also perpendicular to the sample. The near horizontal, the annular and inverse annular illuminations are not perpendicular to the Petri dish. Similarly therefore the optical axes of these sources are non-perpendicular to the sample. The non-perpendicular sources provide a diverse range or alternative images to those achieved with perpendicular sources. These non-perpendicular sources provide additional and different optical feature in any image created with them. This ensures that isolation and detection of colonies is improved.
The illumination sources shown in
It will be appreciated that any appropriate orientation and number of diodes can be used instead of the example described above. In addition, different combinations of RGB can be selected and used.
In addition, for UV sources, the UV illumination is provided by means of two cards which are simultaneously lighted. Each card comprises a UV LED of 500 mA intensity, for example.
The card may include sensors for determining temperature and possible aberrations of the LEDs, so that the LEDs can be switched off for a few seconds in continuous operation if problems can be foreseen. As shown in
Referring to
The vertical illumination sources 238, 240, 242, 244, 246, 248, 250 and 252, in the head unit 236, each comprise a white light source where each source is independently controllable to produce the vertical beam 312.
The image capture device 254 is adapted to capture images of the sample from above. For a Petri dish having a 90 mm diameter an image 100 mm2 will be produced. This typically equates to 2050 pixels2 in a standard image capture device, although other pixel sizes may also be used, for example 2448×2050 pixels. In addition, since the dish is generally of the order of 13 mm in height, the depth of field of the imaging device is between ±6 mm depending on the height of the culture medium layer in the Petri dish.
In all instances of the illumination mentioned above the image of the sample is captured from above by the imaging devices 254. It should be noted that the camera may take a sequential set of images over a predetermined time period to measure the growth of colonies and other time related effects. In addition, the camera may be a video camera for certain applications where growth progress of colonies, and the like, is being measured. Movement of the dish may also be brought about by movement of the dish into and out of the imaging system by means of a suitable conveyor belt or robotic arm.
The camera is adapted to take different types of images from different illumination sources. Typically a sequence of images is taken for a specific application. The sequence comprises the steps of illuminating the sample with a specific illumination or combinations of illumination, followed by taking a specific type of image, such as monochrome, black and white, RGB with the relevant illumination. Then a next image is taken with a different type of illumination or combination thereof and the sequence continues until all the required images have been taken. The camera is controlled within the sequence to take the appropriate type of image.
The camera may for example comprise a monochromic sensor and use the progressive scan CCD technology with a maximal speed of 17 images per second. The camera may have a power consumption of 12 to 24 Volts DC.
More details of the images produced and the image enhancement processes will now be described.
As previously mentioned, a sample in the imaging system 114 can be illuminated from a plurality of different light sources, which strike the sample from different directions. After the sample has been illuminated an image of the sample is taken from above. Each illumination highlights different aspects of the sample.
The backlight illumination shows detail of the Petri dish including any markings on the base thereof, the form of the edge and the lid of the Petri dish; and a detailed view of the layout and density of the colonies in the sample. This illumination provides information which can isolate colonies, determine the difference between similar colonies (for example α and β hemolytic species) and generally gives a view of the contents of the sample.
The near horizontal illumination is refracted and reflected by the sample and the contents thereof to form an image which can be used to isolate and eliminate artifacts. In addition, this image can be used to make corrections based on the absorption of illumination by the culture medium as will be described in further detail below. The image may also be used later to determine the percentage cover of the dish by colonies to provide an estimate of colony concentration and to determine growth or no growth on non opaque culture media.
The annular illumination is directed towards the sample and is reflected or refracted to the image capture device by the culture medium and any colonies which have been formed. The purpose of the image produced by this illumination is the ability to distinguish the colors of the culture medium and the colonies. The ability to identify color is often an important tool for identifying specific microorganisms as some have very distinctive coloration. The overall result is a view which is the closest to what a biologist would expect to see for a specific type of microorganism, for example, colors, colony aspects, etc. This is particularly important to identify the subtle changes in coloration in the medium and around the colonies. In addition, images produced by annular illumination allow detection of subtle variations of colors below and around the bacterial colonies in chromogenic media.
The lateral annular illumination is an illumination of only one of the sources 218, 220, 222 and 224. This gives an image having shadows which can be used to identify contours and relief. Each of the sources will give rise to different shadow effects as a result of the direction of illumination.
The inverse annular illumination is reflected from the head unit onto the sample. The sample then reflects or refracts the illumination to the image capture device. The image thus captured gives details of the contrast of the different colonies in the sample. This image can also contribute color information. In addition, this image can provide texture information; aspect and color of the colonies; information on swarming limits and certain information about the relief of the colonies, such as elevation, form and shape.
The inverse annular illumination produces a quasi-vertical illumination which enables visualization of changes in gradient. This gives texture and granularity information and is useful in detecting colonies which do not have much elevation but have surface irregularities. In one embodiment, a number of different images are taking using the inverse annular illumination and subsequently combined in order to deal with the possibility of saturation of the image.
The vertical illumination source illuminates the sample from above. The illumination is reflected by the sample and colonies to give an image which provides detailed contour information. This can be used to identify the relief of the sample and the height of colonies. This information can then be used to identify specific types of microorganisms as the relief of a colony is often very specific. For example, certain colonies are dome shaped, others are bumpy, other are flat, etc.
As described above each of the illumination sources and directions can be used to accentuate and enhance different image characteristics. The examples described may be changed or adapted by using illumination from different sources and directions without departing from the scope of the present invention.
Furthermore, different wavelengths of illumination can be used for different applications, for example infra red and ultraviolet.
Another important application of the present invention is to create images from a combination of illumination sources to generate a composite image which can accentuate and enhance more than one characteristic of the image of the sample. For example, a combination of a backlight image and an annular image can be particularly useful in the recognition of certain characteristics or properties of similar colonies, such as α or β hemolysis.
Another factor which can have an effect on the image generated is the type of culture medium used to grow the sample. Many different culture media exist; these include CPS which is a culture medium particularly adapted to identify E-coli, Proteus, and KESC using a urine sample; and COS which is a culture medium including blood which is useful in identifying hemolytic ability.
Different culture media, such as CPS and COS are quite different in nature and color. As a result, illumination acting thereon may produce different types of image. As such different illumination sources and combinations of sources may be used for different culture media.
Near horizontal illumination is inappropriate for opaque cultures but is useful in transparent and semitransparent cultures to remove dish artifacts and reduce the impact of dust and Serigraphy.
The annular illumination provides the best view for color rendering to provide an image that is closest to that which the biologist is used to seeing. The lateral annular illumination also gives good color rendering and as the lighting comes from one side the production of shadows can give some relief impression and texture information, although this makes the color information less homogeneous.
The inverted annular illumination gives rise to further color rendering and also provides texture and relief impression with the color information. This is particularly useful in giving an accurate view of swarming.
The vertical illumination is useful to determine surface information and also gives a good view of swarming, detection of bubbles, dust etc. Monochrome information of the colony surfaces and aspect are readily produced.
The variety of direction of illumination provided by the present invention provides an advantage, as many different types of illumination can be used to obtain images of colonies grown in a sample. The different images can be used to identify different characteristics and as a result provide an improved way of identifying these characteristics.
In addition, image processing can be used on the images to produce enhanced images, which are still more useful when it comes to analyzing the colonies and other aspects of the sample. For example, the writing on the bottom of a Petri dish can be identified and automatically removed by means of appropriate algorithms. This gives rise to an image which is clear of the writing on the dish.
Other algorithms can be used to facilitate different image enhancement techniques. The following section will identify several examples of image enhancing algorithms which improve the image produced by the system.
One type of illumination used in the present invention is unique in the field of biological imaging. This is the near horizontal beam. Using a near horizontal beam on a Petri dish means that the beam passes through the edges of the Petri dish and lid and through the culture medium. This causes absorption of the light and would be expected to be less useful than beams from other directions in terms of identifying colonies and characteristics thereof. However, this is not the case.
The use of a near horizontal beam adds a significant amount of valuable information. This is the case even when there is significant absorption of the illumination as the beam passes through the Petri dish and culture medium. As the near horizontal beam collides with colonies, the beam is reflected and/or refracted towards the image capture device. This results in an image which clearly shows the positions of colonies. The result may be as shown in
Accordingly, there is a need to improve the quality of this image to make it easier to identify colonies. The present invention proposes an edge lighting correction process to attempt to improve the quality and usefulness of this image.
The edge lighting correction process will now be described with reference to
A near horizontal red illumination in step 1002 is applied to the blank sample and the red absorption is measured in step 1004. An example of measured red absorption is shown in
A near horizontal green illumination in step 1008 is applied to the blank sample and the green absorption is measured in step 1010. An example of measured green absorption is shown in
A near horizontal blue illumination in step 1014 is applied to the blank sample and the blue absorption is measured in step 1016. An example of measured blue absorption is shown in
The models of red, green and blue absorption are stored in the system and referenced to a particular blank sample type. There may be many models for many different types of blank sample. The models are stored as separate red, green and blue models in this case, but could equally well be combined and stored as a RGB or white absorption model. The models could be empirical models, based on measurements as described above. Similarly, other types of models can be used, such as mathematical models or computer generated models. Such models are based on the combination of intrinsic absorption properties of compounds constituting the culture medium. Also, different models can be derived for different types of illumination. For example a model for UV illumination would be different for a model for RGB illumination.
Returning to
A near horizontal red beam is applied to the sample at step 1022. A source image (red) is then generated by the image capture device at step 1024. The red absorption model is used to correct the source image (red) for the red based model at step 1026. This is generally carried out by a differencing process or algorithm. An objective image (red) is then created at step 1028.
A near horizontal green beam is applied to the sample at step 1030. A source image (green) is then generated by the image capture device at step 1032. The green absorption model is used to correct the source image (green) for the green based model at step 1034. This is generally carried out by a differencing process or algorithm. An objective image (green) is then created at step 1036.
A near horizontal blue beam is applied to the sample at step 1038. A source image (blue) is then generated by the image capture device at step 1040. The blue absorption model is used to correct the source image (blue) for the blue based model at step 1042. This is generally carried out by a differencing process or algorithm. An objective image (blue) is then created at step 1044.
The three objective images are then combined into a combined objective image at step 1046. An example of the combined objective image is shown in
The edge lighting correction process has made the colonies more visible and well more defined. With this image it is very easy to isolate a specific colony and then carry out further analysis on this colony.
The use of a near horizontal beam with the edge lighting correction technique of the present invention offers significant advantages in the identification and isolation of colonies. The stark contrast between the source and objective images is very clear. A user would have a much greater chance of identifying colonies if using the edge lighting correction process of the present invention.
In another image enhancing technique, the exposure time of an image is considered and regulated, to optimize the exposure time. A reason for wanting to optimize the exposure time is to improve the visibility of colonies relative to the culture medium. It is a complex problem to determining the necessary exposure time for a Petri dish which is under analysis to identify microorganisms and colonies grown therein. The problem arises as a result of a number of specific attributes of this type of analysis.
Firstly the Petri dish contains a culture medium which can have different attributes in terms of transparency, opaqueness, darkness, lightness, etc. Another problem is the actual presence of the Petri dish itself, which can give rise to surface and edge reflections. If exposure conditions are non-optimal, it may be more difficult to distinguish between colonies and the culture medium in order to accurately determine the position of a colony in the Petri dish.
The acquired image is then analyzed and a computation of optimum theoretical exposure time is made at step 1208 below. This analysis and computation will be described in further detail, with reference to the processing algorithm. At step 1210 a determination is made as to whether the default exposure time and the optimum theoretical exposure time are the same or not. If they are not substantially similar (1212) the process returns to step 1206 and a new image is acquired with a new exposure time T1, which is determined as described below. If at step 1210 the default and the theoretical exposure times are substantially similar (1214) the image is finalized at step 1216.
At step 1208 a computation is made which will now be described with reference to
In a step 1304 the contrast between the part outside the dish (Iout) and the part within the dish (Iin) is determined.
The contrast is measured as follows based on the luminosity inside and outside the dish, Lin and Lout respectively. The contrast can also have a dependency on the nature of the culture media, and whether the illumination has been reflected or transmitted. It should be noted that COS is a dark culture medium and reacts in different ways under reflection and transmission. The contrast (cp) is calculated from the luminosity of I1in and I1out (named Lin and Lout) as follows:
The values determined here are then used to determine the expected Luminosity Lt in the final image in conjunction with other measurements, as described below in step 1310.
In the meantime the area within the dish is further processed at step 1306 in order to determine two areas within the field of interest. These two areas essentially relate to the areas in the dish where there are only culture media and the areas in the dish where colonies have grown. This is achieved by using a K-means clustering algorithm which attempts to form a cluster around a central mean for that cluster. Instead of a clustering algorithm other types of classification algorithm may alternatively be used. In the present invention the image has been converted to a hue, saturation value (HSV) and the algorithm is applied separately to the “saturated” components of the image and the “value” components of the image and the hue is initially ignored. For each application of the algorithm (one on the saturation component and one on the value component), two classes of pixels are determined by the K-means algorithm, the numbers of pixels in each class are named [Ns1, Ns2] and [Nv1, Nv2]. The following steps are then carried out.
In order to converge the algorithm the following steps are carried out:
If [min (Ns1, Ns2)>min (Nv1, Nv2) and min (Ns1, Ns2)>0] the classes are kept in the saturation image.
If [min (Ns1, Ns2)≦min (Nv1, Nv2) and min (Nv1, Nv2)>0] the classes are kept in the value image.
If [min (Ns1, Ns2)=min (Nv1, Nv2)=0] as the algorithm has not converged, the K-means algorithm is reapplied on the hue layer and pixel classes considered on this layer. Finally, according to the pixel classes determined by the clustering algorithm, two complementary images Iin1 and Iin2 are obtained from the original HSV image, as shown in
Returning to
L=max(L1,L2)
The values of observed and expected Luminosity L and Lt respectively are then used to calculate an optimum exposure time in step 1310. This calculation produces a coefficient of correction (cc) to apply to the default exposure time. The coefficient is given by the equation:
Then if abs (cc-1)<0.05 the default exposure time is considered to be acceptable. Otherwise a new exposure time T1 is determined as:
T
1
=T
0
×cc.
The exposure time is then used to retake the image. This new exposure time may be stored in the exposure time database. By using this process the exposure time for a particular image is optimized automatically and provides an image which is more easily usable to analyze the sample.
A further aspect of the present invention relates to forming a vertical fusion image using the vertical illumination in the head unit. The vertical image produced is a monochrome image and includes details of the surface topography of the colonies. The images taken with a number of vertical beams bring out the absorption properties of the culture medium and colonies, as well as their relief, the reflections of light on the surfaces making pixels less or more bright depending on the texture and orientation of the surface. Two or more vertical monochrome images are taken. Indeed, as the vertical illumination produces some white (saturated) areas just below the lights, it is useful to have images from various illumination positions to see details on all areas of the sample.
In an alternative embodiment the monochrome illumination may be collimated.
In addition, a color image is taken from above with the sample being illuminated from above, by means of an internal reflection within the imaging system or from below. The source can be any of the sources found in the imaging system. The color image may be produced by applying all the color channels (RGB) at once or by sequentially obtaining an image from each channel and then combining them at an appropriate time.
The monochrome image and the color image are then combined to give color and relief information. The images are combined as follows. The two (or more) vertical images are read into the system. Combination is effected by determining the minimum intensity between two corresponding pixels, one from each of the images to be combined. This can be expressed as:
Iout=min(I1,I2)
The combination of the resulting vertical image (called the combined image) to the color image will now be described in greater detail. As different illumination sources are used, the intensity in the image is linked to the intensity of the source. As such it may be necessary to adjust the contrast of the combined image. This is done by applying a transformation function to the combined image. The transformation may be a linear transformation of the type shown in
The objective is to remove some of the luminance of the image without significantly modifying the color to ensure that contour information is the most noticeable feature of the final image. In order to achieve this, a discrete two dimensional Fourier transformation is applied to the monochrome image. This produces a matrix of the same size as the original image containing the complex coefficients of the transformation. The original image is the weighted sum of periodic functions of different frequencies, the weights being the coefficients of the transformation. The points in the centre of the matrix correspond to coefficients for Low frequency functions and those on the outside to coefficients for High frequency functions. The function used is:
Iƒ=ƒƒt2(I)
A frequency domain Gaussian filter is constructed and is applied to a second matrix that is equal in size to the monochrome image where the values are given by:
where r is the Euclidian distance in pixels between a point and the centre of the matrix and Do is the filtered ray radius and is between 0 and 30 pixels. It should be noted that the pixel range is dependant on the size of the image being processed and may be different for different sized images.
The two matrices are multiplied together element by element to produce a filtered monochrome image. As the filter (first matrix) has values approaching zero in the centre the coefficients for low frequency functions in the monochrome image are dramatically reduced.
An inverse discrete Fourier transformation is applied to return the image to the spatial zone. The result is an image where the low frequencies of the image have practically disappeared. This accentuates the contours and removes certain bright spots in the image.
The color image is then combined with the processed monochrome image. This is done by adding a level of luminosity to each pixel in the color image which is a percentage of the equivalent pixel luminosity in the monochrome image. The fraction can be anywhere between 10% and 100%. The resulting image is shown in
The weight of each of the red, green and blue enhanced images can be balanced or biased in any preferred manner. This can give different color balances, which are useful for determining different types of colonies. For example, colonies of a particular color may be more visible when illuminated with more of one color illumination than another.
The vertical fusion image produced by this aspect of the present invention provides a mechanism for readily viewing the contours and textures of colonies grown on the culture medium. The height and vertical shape of colonies are important attributes in identifying colonies. In addition, having color information included within the contour details can help in the identification process.
In a further image enhancement technique, the difference between α and β hemolysis is analyzed. To identify various species of bacteria, it is useful to harvest search bacteria on a blood culture medium in order to determine if such bacteria are alpha-hemolytic or beta-hemolytic. When alpha-hemolysis is present, the culture medium under the colonies is dark and green in color. This is sometimes called ‘green hemolysis’ because of the color change in the culture medium. For instance, Streptococcus pneumoniae and a group of oral streptococci display alpha-hemolysis. Beta-hemolysis, sometimes called ‘complete hemolysis’, is a complete lysis of red cells in the media around and under the colonies in the culture medium. The area appears lightened (yellow) and transparent. Streptococcus pyogenes, or Group A beta-hemolytic Strep (GAS), displays beta-hemolysis.
It is therefore necessary to be able to identify alpha and beta hemolysis, with realistic color information, for on-screen viewing of Petri dishes by biologists. It is an object to combine two images having different features by a method that will produce realistic colors and visual identification of hemolysis for on-screen viewing of Petri dishes by biologists. A first image is taken with an illumination source such as an annular beam at step 2300 on
In a further embodiment a number of additional image processing techniques will now be described.
The dish detection technique 1702 is a technique which identifies the rings of the Petri dish formed by the walls and the lid thereof. The technique involves an object detection technique, such as a circular Hough transformation (as described in: Duda, R. O. and P. E. Hart, “Use of the Hough Transformation to Detect Lines and Curves in Pictures,” Comm. ACM, Vol. 15, pp. 11-15 (January, 1972) to detect circular objects of a predetermined size. A backlight image is used as this gives a well contrasted image of the sample. In addition, the size of the Petri dish is entered to indicate to the transformation the nature of the circular object or objects being sought. The number of rings being sought may also be entered so that the various rings of the dish and the lid can be located as appropriate. The application of the Hough transformation could result in localization of one or more of the rings (lid or main body) of the Petri dish. In a further step, this information could enable the removal of the Petri dish rings or masking of the rings or the exterior of the dish from a resultant image, if required. This ensures that further detection methods can focus on the interior of the Petri dish. It should be noted that the Hough transformation applies to circular vessels; however other object detection algorithms may be used for vessels which are different shapes.
Alternatively, another kind of object detection technique can be applied to detect the contours of the Petri dish without using the circular Hough transformation. The alternative object detection technique allows retrieving a closed contour in the image to identify the border of the Petri dish. The alternative technique comprises a first step of retrieving the potential contour of the image based on a well-known technique such as the Canny edge detection method described in the document “A Computational Approach to Edge Detection” by J. Canny or the morphological gradient edge detection. Thus, the first step provides a grayscale image.
The alternative technique comprises a second step of filling the retrieved contours using a Matlab™ function such as “imfill with holes option”. This means that the filling step only fills the interior of the dish in the situation where the contours are closed contours around the dish. The alternative technique further comprises a step of retrieving the largest inscribed circle within the closed contour. In a further step the plate radius and the location of the centre of the dish are determined based on the corresponding radius and location of the centre of the inscribed circle. The advantage of the alternative technique is that no predetermined size of the contour needs to be known in advance to carry out this object detection technique.
Referring to
Certain further image processing techniques will now be described.
In a further image processing technique, detection of large masses of colonies is carried out. This is shown with reference to
In order to detect isolated colonies a combination of backlight, annular and inverted annular produces the best results for a CPS culture. Whereas for a COS culture only backlight and annular produce the better result. The table shows a number of other examples.
With reference to
In
The gripper 2423 is adapted to push a Petri plate 2431 against a finger 2424 in order to hold the Petri plate 2431 in between the finger 2424 and the gripper 2423. The gripper 2423 is attached to the end of an arm 2425 for moving the gripper 2423 between the holding position as shown in
The functioning of the robotic arm according to
In
From the position according to
With reference to
It will be appreciated that other combinations of detection processes and optimal illumination sources may also be used. The positions of the illumination sources may be varied as required and are not fixed to the locations and direction of impact as described herein.
It is anticipated that the various enhancement and image processing techniques may be combined to analyze certain samples. This could entail using some or all of the techniques. The techniques may be applied in any sequence and the sequence may vary from one sample to the next. After the selected technique or techniques have been applied to a sample and no colonies have been identified it may be determined that the sample has no colonies which have grown thereon.
In any image enhancement technique or image processing technique the system may be provided with additional information at the start of the process. This additional information includes details relating to the Petri dish or other sample container such as sizes, shapes, materials, etc. The additional information may also include details of the culture media and any expected type of material that might be growing thereon. The information may also include imaging details such as exposure time, illumination source, orientation of the Petri dish, any other optical or control parameters, etc. The information may indicate the purpose of the application, e.g. industrial, medical, etc. Any other relevant information may also be included as appropriate.
This automated process of analyzing a sample and detecting artifacts offers many advantages. The ability to detect and, if necessary, remove artifacts, such as writing and marks, makes isolation of colonies easier. The same technique could be used to detect other artifacts and in an additional step to remove them from the image. For example, if a batch of dishes has excess bubbles in the nutrient of a certain size and color, these artifacts may be detected by means of the above described process and if necessary removed. Similarly, other optical artifacts can also be treated.
The above described inventions relate to systems and methods for obtaining and processing images of biological samples. Some or all of the aspects of the present invention is could be used in different environments.
Some of the above described inventions relate to processes which can be carried out at least to some extent on a computer. Accordingly, reference to processing and steps can be carried out by means of software or hardware or any combination thereof. Wherein aspect of the invention has been described with respect to hardware it will be appreciated that it can be a replaced by an appropriate software module. Similarly, software modules or processes can be replaced with appropriate hardware.
It will be appreciated there are many possible variations of the present invention which would fall within the intended scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
11305542.0 | May 2011 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2012/058398 | 5/7/2012 | WO | 00 | 2/27/2014 |