System and method for correcting focal plane variations in a microscope objective field of view

By using a movable lens and computer-implemented feature mapping technology in a microscopy system, focus-corrected images are generated, which solves the problem of focus aberration, improves image quality, and reduces costs.

CN113939759BActive Publication Date: 2024-10-18MOLECULAR DEVICES LLC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202080041304.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-28
Publication Date
2024-10-18
Estimated Expiration
2040-05-28

AI Technical Summary

Technical Problem

Existing microscopy systems have focus aberration problems during focus correction, causing the peripheral part of the image to be out of focus, and using additional lenses or different materials to improve this problem may increase costs or affect light throughput.

Method used

By introducing a movable lens into the microscope system and using a computer to implement the system to generate feature mapping, select the best focus position and pixel value, generate focus correction images, and reduce focus aberrations.

Benefits of technology

It effectively reduces the defocus area caused by lens focusing aberration, improves the overall focus quality of the image, reduces system cost, and optimizes light flux.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113939759B_ABST
    Figure CN113939759B_ABST
Patent Text Reader

Abstract

A computer-implemented system and method for generating a focus-corrected image of a sample placed on a sample holder of an imaging system is disclosed. The imaging system includes an image sensor and a lens movable relative to the image sensor. A feature map of the lens is generated that associates the coordinates of each pixel of the image with a location of the lens. An image generator generates output pixels of the focus-corrected image of the sample based on a plurality of images of the sample acquired when the lens is located at corresponding locations of the lens. The image generator selects a second location based on the feature map, selects an image from the images of the sample associated with the second location, and determines an output pixel value based on a pixel value of the selected image corresponding to the output pixel.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Related Applications

[0002] This application claims priority to U.S. Application No. 16 / 429,955, filed on June 3, 2019, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present subject matter relates to microscope systems and, more particularly, to a system and method for generating a focus-corrected image therefrom. Background Art

[0004] Imaging systems can be used to obtain microscopic images of biological samples. Such images can be processed using image analysis systems to identify image pixels associated with objects of interest (cells, organelles, etc.) therein, to classify different types of objects of interest represented in the images, to obtain metrics about these objects of interest or parts thereof, etc. Such metrics can include, for example, counts of objects of interest, counts of each type of object of interest represented in the biological sample, the size of cells (area, perimeter, volume), statistics on the size of objects of interest (mean, mode, median, standard deviation, etc.), etc.

[0005] The imaging system includes an XY stage on which the sample to be imaged can be placed, a light source, an objective lens, and an image sensor (such as a charge coupled device, a complementary metal oxide semiconductor sensor, or other light sensitive sensor). The objective lens can be a single lens or a composite lens including multiple lenses coupled to each other.

[0006] The stage and the image sensor typically have parallel planar surfaces that are opposite to each other, and the objective lens (single lens or compound lens) is arranged between these surfaces. The objective lens and the image sensor can be moved as a unit in a direction perpendicular to these surfaces to adjust the distance between the objective lens and the stage. Moving the objective lens and the image sensor in this way determines a focal plane between the stage and the objective lens, which will be focused on the image sensor. The image sensor generates a signal based on the image formed thereon, and such a signal is used to determine the pixels of the output image generated by the image sensor. However, due to, for example, field curvature of the objective lens or other focusing aberrations, the image formed on the image sensor may be out of focus when the central part of the image is focused.

[0007] The above-mentioned focusing aberrations can be improved by including additional lenses to the composite objective lens and / or selecting different materials for one or more lenses constituting the objective lens. However, even with the use of such additional lenses or materials, such focusing aberrations may not be eliminated. Furthermore, the use of such additional lenses may significantly increase the cost of the imaging system or negatively affect other factors of the imaging system (e.g., light throughput). Summary of the invention

[0008] According to one aspect, a computer-implemented system for generating an image of a sample on a sample holder using an imaging system, the imaging system comprising an image sensor and a lens movable between a first position and a second position relative to the sample holder, wherein the image sensor generates a two-dimensional pixel array, and the computer-implemented system comprises an image collector and an image generator. The image collector operates on a processor and receives a plurality of images of the sample from the image sensor, wherein each of the plurality of images of the sample is captured when the lens is located at a corresponding one of a first plurality of locations of the lens between the first position and the second position. The image generator selects a feature map associated with the lens, wherein the feature map associates the coordinates of each pixel of the image generated by the image sensor with one of a second plurality of locations of the lens between the first position and the second position. In addition, the image generator selects a first location from a second plurality of locations associated with the coordinates of the output image pixel according to the feature map, selects a second location from the first plurality of locations according to the first location, selects an image from a plurality of images of the sample associated with the second location, and determines an output pixel value according to a pixel value of the selected image corresponding to the output pixel in the plurality of images.

[0009] According to another aspect, a method for generating a sample image using an imaging system includes the step of causing a non-transitive computing device to select a feature map associated with a lens, the imaging system including an image sensor and a lens movable between a first position and a second position relative to a sample holder. The feature map associates the coordinates of each pixel of an image generated by the image sensor with one of a first plurality of positions of the lens between the first position and the second position. The non-transitive computing device also receives a plurality of images of the sample from the image sensor, wherein each of the plurality of images of the sample is captured when the lens is located at a corresponding one of a second plurality of positions of the lens between the first position and the second position, and selects a first position from the first plurality of positions associated with the coordinates of an output image pixel, selects a second position from the second plurality of positions based on the first position, and selects an image from a plurality of images of the sample associated with the second position. The non-transitive computing device also determines an output pixel value based on a pixel value of the selected image in the plurality of images corresponding to the output pixel.

[0010] Other aspects and advantages will become apparent upon consideration of the following detailed description and accompanying drawings, in which like numerals refer to like structures throughout the specification. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 is a block diagram of a system for generating a focus-corrected image;

[0012] Figure 2 It is possible to Figure 1 A block diagram of an imaging system used together with the system to produce a focus-corrected image;

[0013] Figure 3 Is Figure 1 a flow chart of the steps performed by the system's feature map generator;

[0014] Figure 4 Is Figure 1 A flow chart of the steps performed by the system's image collector;

[0015] Figure 5 Is Figure 1 a flow chart of additional steps performed by the system's feature map generator;

[0016] Figure 6 Is Figure 1 A flow chart of the steps performed by the image generator of the system; and

[0017] Fig. 6A Is Figure 1 Another flow chart of the steps performed by the image generator of the system. DETAILED DESCRIPTION

[0018] As will be apparent to one of ordinary skill in the art, each pixel of an image generated by an image sensor is associated with an X-coordinate and a Y-coordinate, and such coordinates are associated with a particular area of ​​the image sensor.

[0019] According to the embodiments described herein, a system for generating a focus correction image (also referred to herein as a focus correction system) generates a characteristic map of the focus characteristics of an objective lens. Specifically, a substantially planar focus target is disposed on a stage, the objective lens is located at a predetermined minimum distance from the focus plane of the focus target, and a first focus target image is generated by an image sensor. Thereafter, the objective lens is moved away from the focus plane of the focus target by a first predetermined step size, and the image sensor generates a second focus target image. In this manner, multiple focus target images are generated until the distance between the focus plane of the focus target and the objective lens is at least a first predetermined maximum distance.

[0020] An image including a plurality of focus target images is analyzed to select, for each pixel generated by the image sensor, a focus target image in which a region (or image sub-portion) surrounding the pixel has the best focus.

[0021] To generate the feature map, the focus correction system image relates the X and Y coordinates of the pixels generated by the image sensor to the Z coordinate represented by the distance of the objective lens from the focus plane of the focus target when the selected image was acquired.

[0022] After generating a feature map for a particular objective lens, the focus correction system can use such a feature map to generate an image of a sample placed on a stage that has corrected (i.e., reduced or even eliminated) the focus aberration. In particular, the sample is placed on the stage and the objective lens is placed at a second minimum distance from the focus plane of the sample, and a first image of the sample is captured by an image sensor. Thereafter, the objective lens is moved away from the sample by a second predetermined step length and a second image of the sample is captured. The objective lens is positioned in this manner and additional images of the sample are captured until the objective lens reaches at least a second maximum distance from the focus plane of the sample. In some embodiments, the second minimum distance is greater than or equal to the first minimum distance, and the second maximum distance is less than or equal to the first maximum distance. The first step length may be the same as or different from the second step length.

[0023] Multiple images are processed by the system to create an output image in which out-of-focus areas due to focusing aberrations of the lens (e.g., field curvature) are reduced. Specifically, for each pixel at coordinates (X, Y) of the output image, the focus correction system uses a feature map to determine the value of coordinate Z that results in the best focus in the pixel area associated with coordinates (X, Y). Thereafter, the focus correction system selects a sample image associated with coordinate Z from multiple images of the sample and sets the intensity value of the pixel at coordinates (X, Y) of the output image at coordinates to the intensity value of the pixel at coordinates (X, Y) of the selected image. The focus correction system selects the intensity values ​​of all pixels of the output image in this manner to produce such an output image.

[0024] refer to Figure 1 and Figure 2 As described in more detail below, the focus correction system 100 operates with the imaging system 102 to generate a focus-corrected image of a sample placed in the imaging system 102. The focus correction system 100 includes an operator interface 104 in communication with an operator computer 106, an imaging system interface 108 in communication with the imaging system 102, an image collector 110, a feature map generator 112, a focus analyzer 114, and an image generator 116. In addition, the focus correction system 100 includes an image data storage 118, an objective lens database 120, and a feature map database 122.

[0025] In one embodiment, imaging system 102 includes a controller 150 in communication with imaging system interface 108 , an XY stage 152 , one or more objective lenses 154 , one or more illumination sources 156 , an image sensor 158 , and a focusing device 160 .

[0026] To generate a transmitted light image of a sample 162 placed on the XY stage 152, the controller 150 operates the illumination source 156a to transmit light through the sample 162 placed on the XY stage 152. The light is then directed through the objective lens 154 and optionally redirected by a mirror 164 to form an image on the surface of the image sensor 158. The image sensor 158 generates a signal based on this image, and the controller converts the image into an output image of the imaging system 102.

[0027] To generate a fluorescent image of a sample 162 placed on the XY stage 152, the controller operates the illumination source 156b to generate light that is redirected by one or more mirrors 164 and passes through the objective lens and reaches the sample 162. The light reaching the sample 162 can excite the sample 162 and cause the sample 162 to fluoresce. The light emitted by the sample 162 passes through the objective lens and is directed by one or more mirrors 164 to form an image on the surface of the image sensor 158, which generates a signal in response to such an image, and the controller 150 converts the image into an output image.

[0028] In a similar manner, a reflected light image of a sample 162 placed on the XY stage 152 can be generated by redirecting light from the illumination source 156 b toward the sample 162 using one or more mirrors 164 and capturing any light that is reflected by the sample 162 and passes through the objective lens and is guided by the one or more mirrors 164 to form an image on the surface of the image sensor 158.

[0029] In some embodiments, the focusing mechanism 160 is coupled to the objective lens 154, the image sensor 158, and components (e.g., the illumination source 156b and the mirror 164) to move these elements in unison along a generally linear path so that these elements are closer to or farther away from the XY stage. Alternatively, the focusing mechanism 160 can be coupled to the XY stage 152 and move the XY stage 152 along a generally linear path so that the XY stage 152 is closer to or farther away from the objective lens 154.

[0030] In some embodiments, the controller 150 may instruct the focusing mechanism 160 to set the distance between the XY stage 152 and a reference portion of the objective lens 154 to a specific amount. In some embodiments, such a reference point is a top surface or portion of the objective lens 154 that is closest to the XY stage 152. In addition, the controller 150 may instruct the focusing mechanism 160 to increase or decrease the distance between the stage of the XY stage 152 and the reference portion of the objective lens 154 by a specific amount. In the present disclosure, the distance between the objective lens 154 and the XY stage 152 is assumed to be the distance between a predetermined reference portion of the objective lens 154 and the XY stage 152.

[0031] The operator may use the operator computer 106 to instruct the focus correction system 100 to create a feature map for the objective lens 152 , or to generate a focus correction image of the sample 162 mounted on the XY stage 152 using an already created feature map.

[0032] The operator interface 104 of the focus correction system 100 receives instructions from the operator computer 106 to create a characterization map for the objective 152. Such instructions include an identifier of the objective 154 to be characterized and an indication that a focus target has been loaded onto the XY stage 152 of the imaging system 102. In some embodiments, the operator interface 104 instructs the operator computer 106 to display a predetermined list of identifiers associated with the objective lenses that can be used with the imaging system 102 and requests the operator to select an identifier from the list. Alternatively, the operator may enter a string of one or more characters representing an identifier associated with the objective lens 154 into the operator computer 104. The identifier of the objective lens identifier may be provided in other ways that are apparent to one of ordinary skill in the art.

[0033] In some embodiments, the operator loads the objective 154 in the imaging system 102 and loads the focus target onto the XY stage 152 before directing the operator computer 106 to instruct the focus correction system 100 to generate a feature map. In other embodiments, the operator computer 106 may be instructed by the operator interface 104 to cause the user to load the focus target and / or the objective 154 into the imaging system 102. In some embodiments, the operator interface 104 may receive an identifier associated with an objective and instruct the imaging system 102 via the imaging system interface 108 to automatically select and load the objective 154 associated with such an identifier.

[0034] After loading the focus target and objective 154 and receiving an identifier of objective 154 , the feature map generator 112 is called to create a feature map associated with objective 154 . Figure 3 A flow chart 300 is shown of the steps performed by the feature map generator 112 to create such a feature map.

[0035] refer to Figure 3 At step 302, the feature map generator 112 uses the objective lens identifier to query the objective lens database 120 to obtain the characteristics of the objective lens 154 associated with the identifier. Such characteristics include a predetermined minimum distance (Z min ) and the predetermined maximum distance (Z max), at which distance multiple focused images should be collected. In step 304, the feature map generator 112 determines a step value ΔZ for adjusting the distance between the XY stage 152 and the objective lens 154 between the sequence of images. In some embodiments, the value ΔZ is stored in the objective lens database 120 along with other information about the objective lens 154. In other embodiments, the objective lens database 120 stores the resolution of the objective lens 154, and the feature map generator 112 calculates the value ΔZ based on this resolution. In one embodiment, the Nyquist frequency associated with this resolution is calculated and the value ΔZ is set to the step size associated with this Nyquist frequency. In some embodiments, the value of ΔZ can be calculated based on the depth of field of the objective lens 154, and this depth of field can be determined based on the numerical aperture associated with the objective lens 154 and the wavelength of light used to image the sample 162.

[0036] In some embodiments, the value ΔZ associated with the low magnification objective lens 154 is between about 10 microns and 30 microns, and the ΔZ value associated with the high magnification objective lens 154 is between 0.1 microns and 10 microns. In other embodiments, the ΔZ value associated with the low magnification lens 154 is between about 50 microns and 100 microns, and the ΔZ value associated with the high magnification objective lens 154 is between 0.2 microns and 1.0 microns.

[0037] Thereafter, at step 306, the feature map generator 112 instructs the image collector 110 to acquire a plurality of focused target images, such as Figure 4 The flowchart is shown in FIG.

[0038] refer to Figure 4 In step 308, the image collector 110 sets the value of the variable Z to the value Z min. In step 310, the image collector 110 directs the imaging system interface 108 to instruct the controller 150 of the imaging system 102 to move the objective lens 154 when necessary so that the objective lens 154 is at a distance Z from the focal plane of the focusing target set on the XY stage 152. In step 312, the image collector 110 instructs the controller 150 of the imaging system via the imaging system interface 108 to operate the illumination source 156 and the image sensor 158 to acquire an image of the focusing target placed on the XY stage 152. In step 314, the image collector 110 receives the acquired image through the imaging system interface 108. In step 316, the image collector stores the acquired focusing target image in the image data memory 118 and associates such stored image with the value of the variable Z. In some embodiments, the image data memory 118 includes a database for tracking multiple focusing target images associated with the objective lens 154. In such an embodiment, the image collector 110 creates an entry in such a database that includes the value of the variable Z and the acquired image associated with such variable. In other embodiments, the acquired image is stored with a file name that includes the value of variable Z. Images stored in image data storage 118 may be associated with the value of variable Z in other ways that will be apparent to one of ordinary skill in the art.

[0039] Thereafter, at step 318, the image collector 110 adds the value ΔZ to the value of the variable Z. At step 320, the image collector 110 determines whether the value of the variable Z is less than or equal to the value Z. max , and if so, returns to step 310 to increase the distance between objective lens 154 and XY stage 152 and acquire another image. Otherwise, the process proceeds to step 322 ( Figure 3 ).

[0040] At step 322, for each focus target image acquired and stored at step 306, the feature map generator 112 calls the focus analyzer 114. The focus analyzer 114 applies a focus measurement operator to the image to form a value for each pixel that represents the quality of focus of the pixel relative to pixels in a region surrounding the pixel. As will be apparent to one of ordinary skill in the art, such a focus measurement operator analyzes image gradient data, edge data, wavelet coefficients, discrete cosine transform coefficients, etc. to assess the focus of an image region. For each focus target image analyzed, the focus analyzer 114 generates a two-dimensional focus assessment array value. The size of the focus assessment array is the same as the size of the focus target image, such that each element of the array corresponds to a pixel of the focus target image. The value of each element of the array is an indication of the focus of the region surrounding the pixel to which the element corresponds.

[0041] In some embodiments, the focus value of an element of the array is determined by analyzing the focus quality of a pixel area, which is, for example, 200 pixels by 200 pixels for each focus target associated with such an element. In some embodiments, such analysis identifies the focus target image with the highest frequency content in the area associated with the element and uses the Z value associated with such focus target as the focus value. In some embodiments, such a frequency analysis can be performed on the intensity values ​​of the pixels in such an area, where higher frequencies are associated with better focus. In some embodiments, a three-dimensional evaluation can be performed to identify the distance between the objective lens 154 and the XY stage 152 that results in an image associated with the best focus associated with the element and the distance represents the focus value. In some embodiments, the image can be subsampled and the array can include elements associated with multiple pixels. The value of such an element can be determined by calculating the median or other statistic of the focus scores of the pixels associated with the element.

[0042] At step 324 , the feature map generator 112 analyzes the focus evaluation array generated at step 322 to generate a feature map array. Figure 5 A flow chart showing the steps performed by the feature map generator 112 to generate a feature map array.

[0043] refer to Figure 5 At step 326 , the feature map generator 112 initializes the feature map array. The dimension of the feature map array is the same as the dimension of the focus evaluation array generated by the focus analyzer 114 at step 322 .

[0044] At step 328, the feature map generator 112 sets the values ​​of variables R and C to 1. These variables are used to iterate each element of the feature map array. At step 330, the feature map generator 112 examines the elements of the R row and C column of all focus evaluation arrays to select the focus evaluation array with the highest focus value (i.e., the value associated with best focus) at the R row and C column. Then, at step 332, the feature map generator 112 determines the value of the variable Z associated with the selected focus evaluation array (i.e., the distance between the objective lens 154 and the XY stage 152). At step 334, the feature map generator 112 sets the value of the element of the feature map array at the R row and C column to the value of the variable Z associated with the focus evaluation array selected at step 330.

[0045] At step 336 , the feature map generator 112 accumulates the value of variable C and at step 338 , checks to determine if the value of variable C is less than or equal to the number of columns in the feature map array. If so, the feature map generator 112 returns to step 330 .

[0046] Otherwise, at step 340, the feature map generator 112 accumulates the value of the variable R and, at step 342, checks to determine whether the value of the variable R is less than or equal to the number of rows in the feature map array. If so, the feature map generator 112 returns to step 330. Otherwise, the feature map generator 112 proceeds to step 340 ( Figure 3 ).

[0047] In some embodiments, after generating the values ​​of all elements of the feature map array as described above, the feature map generator 112 may apply a smoothing filter to the values ​​of the feature map array. Such a smoothing filter may include, for example, a median filter, a noise reduction filter, a Gaussian filter, a morphological on / off filter, etc.

[0048] Reference again Figure 3 In some embodiments, the feature map array formed at step 324 is stored in the feature map data memory 122 in association with an identifier of the objective lens 154 used to create the focused target image that forms the feature map array.

[0049] In some embodiments, in step 346, the feature map generator 112 can fit the three-dimensional surface equation to the values ​​in the feature map array. The surface equation represents an algebraic function that maps a row and a column of the feature map array to the element values ​​at the row and column. In order to determine such a function, the feature map generator 112 can use, for example, a least squares fitting technique to fit a b-spline function, a polynomial function, or any other type of function that is obvious to those of ordinary skill in the art to the values ​​of the elements of the feature map array. In some embodiments, the feature data associated with the object lens 154 retrieved from the object lens database can include information about a predetermined type of function that is suitable for fitting with the values ​​in the feature map array.

[0050] Fitting the equation to the feature map array may reduce the effects of noise or other image artifacts in focused target images captured using objective 154, or the effects of errors in generating focus values ​​associated with pixels of those images.

[0051] At step 344, the feature map generator 112 stores the surface equations as a feature map associated with the objective lens 154 in the feature map data memory 122. Thereafter, the feature map generator 112 exits.

[0052] After creating and storing the feature map as described above, the operator can load a sample 162 to be imaged in the imaging system 102, select an identifier associated with the objective 154 as described above, and use the operator computer 106 to instruct the focus correction system 100 to generate a focus corrected image of the sample 162 using the objective 154.

[0053] In response, image generator 116 generates a focus corrected image of sample 162 using imaging system 102 and the feature map stored in feature map data storage 122 . Figure 6 A flow chart 400 illustrates the steps performed by the image generator 116 to generate such a focus correction image.

[0054] refer to Figure 6 At step 402, the image generator 116 queries the objective lens database 120 for information about the objective lens 154 to be used to generate the focus correction image of the sample 162. The information retrieved by the image generator 116 includes the minimum distance (Z') between the objective lens 154 and the focal plane of the sample 162 placed on the XY stage 152. min ) and the maximum distance (Z' max ), the image generator 116 captures an image of the sample 162 to produce a focus correction image.

[0055] As will be apparent to one of ordinary skill in the art, the focal plane of the sample 162 may be determined, for example, using an autofocus mechanism associated with the imaging system 102 (eg, a laser-based focusing system).

[0056] The information also includes the step size (ΔZ') by which the distance between sequential images of the sample 162 will be adjusted. Z' min , Z' max The values ​​of ΔZ and ΔZ′ are used to generate a focus-corrected image of the sample 162, which can be used with the Z used to generate a feature map associated with the objective lens 154. min , Z max and ΔZ' are the same. Alternatively, these values ​​may be different. For example, making the value of ΔZ' greater than the value of ΔZ reduces the number of images of the sample 162 acquired, thereby reducing the amount of time required to generate a focus correction image. In some embodiments, a mode may be provided via the operator computer 106 for the operator to select from a fast imaging mode associated with a larger ΔZ' value, a medium imaging mode associated with a smaller ΔZ' value, and a slow imaging mode with a ΔZ value equal to the ΔZ' value.

[0057] At step 404, the image generator 116 loads a feature map associated with the objective lens 154 used to image the sample 162 from the feature map data store 122. If the surface equation has been created based on the feature map array as described above, the image generator 116 loads the surface equation as the feature map. Otherwise, the image generator 116 loads the feature map array as the feature map.

[0058] At step 406, the image generator 116 calls the image collector 110 to collect a plurality of images of the sample 162 using the objective lens 154. The image collector 110 performs the Figure 4The same steps as shown are used to acquire multiple focused target images, but the value Z' is used in steps 308, 318 and 320 respectively. min , Z' max and ΔZ' to replace Z min , Z max and ΔZ. In addition, the image collector 110 sets the distance between the objective lens 154 and the focal plane of the sample 162 on the XY stage 152 instead of the distance between the objective lens 154 and the XY stage in step 310. In addition, after step 320, if the value of the variable Z is not less than or equal to Z' max If the value of , the process proceeds to step 406 instead of step 322.

[0059] At step 408, the image generator 116 creates and initializes an output image of the same size as the image acquired by the image acquirer 110. At step 410, the image generator 116 sets the values ​​of variables X and Y to 1. These variables are used to iterate through pixels along the width and height of the output image, respectively.

[0060] At step 412, the image generator 116 determines the value of the feature map corresponding to the pixel of the output image at the coordinate (X, Y). In some embodiments, such a value is the value of the element at the row X and column Y of the feature map array. As described above, this value (i.e., the Z value) represents the distance between the objective lens 154 and the focus plane of the focus target placed on the XY stage 152, where the focus of the area containing the pixel at the coordinate (X, Y) of the image generated by the imaging system 102 is best. If the feature map is a surface function, such a Z value is calculated by applying the surface function to the coordinate (X, Y). If the feature map is a feature map array, such a Z value is the value of the array element at the coordinate (X, Y).

[0061] If Z' loaded in step 402 min , Z' max One or more of the values ​​in and ΔZ' are not equal to the value Z used to create the feature map min , Z max and ΔZ, then any focused target image may not be captured at the Z value associated with the pixel at coordinate (X,Y) when generating the feature map.

[0062] At step 414, image generator 116 determines whether any of the images acquired at step 406 were acquired when the distance between objective lens 154 and the focal plane of sample 162 was substantially equal to value Z. If so, image generator 116 proceeds to step 416, otherwise image generator 116 proceeds to step 418.

[0063] At step 416, when the distance between objective lens 154 and the focal plane of sample 162 is substantially equal to the Z value determined at step 412, image generator 116 sets the intensity value of the pixel at coordinate (X, Y) of the output image to the intensity value of the pixel at coordinate (X, Y) of the image acquired at step 406. Thereafter, the image generator proceeds to step 420.

[0064] If no image associated with the Z value determined in step 412 is captured in step 406, then in step 418, the image generator 116 selects a first image and a second image obtained at distances Z1 and Z2, respectively, where Z1 is less than the Z value and Z2 is greater than the Z value and the Z1 and Z2 values ​​are closest to the Z value (i.e., the Z1 and Z2 values ​​define the Z value).

[0065] Thereafter, at step 422, the image generator 116 determines the intensity value of the output pixel at the coordinate (X, Y) by, for example, linear interpolation between the intensity value of the pixel at the coordinate (X, Y) of the first image and the intensity value of the pixel at the coordinate (X, Y) of the second image. It will be apparent to those skilled in the art that other types of interpolation, such as cubic interpolation, may be used.

[0066] After generating the pixel at the coordinates (X, Y) of the output image, the image generator 116 increments the value of the variable X by 1 at step 420 and determines whether the value of X is less than or equal to the number of pixels along the width of the output image at step 424. If so, the image generator 116 proceeds to step 412 to generate an intensity value for another pixel along the width of the output image. Otherwise, the image generator 116 proceeds to step 426.

[0067] At step 426, the image generator 116 increments the value of the variable Y by 1, and at step 428, determines whether the value of the variable Y is less than or equal to the number of pixels along the height of the output image. If so, the image generator 116 proceeds to step 412 to generate another pixel of the output image. Otherwise, at step 430, the image generator 116 stores the output image in the image data memory 118 for further analysis of such image and / or transmits such image to the operator computer 106 and / or another system (not shown) for display and / or further analysis. Such further analysis may include classifying objects in the focus-corrected image as biological cells, organelles, etc., counting objects that have been classified as a particular type, measuring the area and / or perimeter of such objects, and the like.

[0068] In some embodiments, instead of acquiring and storing multiple images of the sample at step 406 and then generating intensity values ​​for pixels of the output image at steps 410 - 428 , image generator 116 may generate certain pixels of the output image after each image of sample 162 is captured. Fig. 6Ais a flow chart 500 of the processing performed by the image generator 116 to generate an output image in this manner.

[0069] As above combined Figure 6 Step 402, as described in reference Fig. 6A In step 502, the image generator 116 loads Z' min , Z' max and the value of step length ΔZ. As mentioned above, Figure 4 As described in step 404, at step 504, the image generator 116 loads the feature map associated with the objective lens. At step 506, the image generator 116 sets the value of the variable Z to Z' min At step 508, the image generator 116 generates a new output image.

[0070] At step 510 , the image generator 116 directs the image collector 110 to position the objective lens 154 at a focal plane distance Z from the sample 162 , and at step 512 instructs the image collector 110 to capture an image of the sample 162 .

[0071] At step 514, the image generator 116 uses a feature map associated with the objective 154 to determine pixels of the acquired image captured at a distance Z between the objective 154 and the sample 162 that should be included in the output image (i.e., those pixels of the acquired image that are in-focus at such distance Z). In particular, the image generator 116 identifies elements in the feature map whose value is equal to Z, or is within a ΔZ range of Z.

[0072] At step 516 , for each pixel of the output image corresponding to an element of the feature map identified at step 514 , the image generator 116 sets the intensity value of that pixel of the output image to the intensity value of its corresponding pixel of the image captured at step 512 .

[0073] At step 518, the image generator 116 accumulates the value of Z plus the value of ΔZ, and at step 520 determines whether the value of Z is less than or equal to Z′. max If yes, the image generator 116 proceeds to step 510. Otherwise, the image generator 116 proceeds to step 522 to store and / or provide the above combined Figure 6 The output image of step 430.

[0074] As mentioned above, combined Figure 4 In steps 418 and 422, the objective lens position at which a particular pixel is in focus may be between the two distances at which the sample image is captured in step 512. In this case, as in the case of Figure 4As described in step 422 , the image generator 116 determines the intensity of the output pixel based on the pixels of the two (or more) images acquired in step 512 , in step 516 .

[0075] In some embodiments, multiple feature maps may be created for the objective lens 154, each feature map being associated with a particular imaging configuration. For example, a first feature map may be created based on a first plurality of focus target images obtained by imaging light transmitted through a first focus target, a second feature map may be created based on a second plurality of focus target images generated by imaging fluorescence emitted by a second focus target when excited by light of a first particular wavelength, a third feature map may be created based on a third plurality of focus target images generated by imaging fluorescence emitted by a third focus target when excited by light of a second particular wavelength, and so on. In some embodiments, the image generator 116 uses the feature map generated with a particular imaging configuration to generate an output image of the sample 162 based on a plurality of images acquired under the same particular imaging configuration. In other embodiments, the image generator 116 may use the feature map acquired with a first imaging configuration to generate a focus correction image of the sample 162 based on a plurality of images of the sample 162 acquired using a second imaging configuration.

[0076] A feature map generated for the first objective lens 154 using a plurality of focused target images captured using the first objective lens 154 in the first imaging system 102 can be used by the image generator 116 to produce a focus-corrected output image based on a plurality of images of the sample 162 captured using the second objective lens 154 in the first or second imaging system 102, where the first objective lens 154 has similar features to the second objective lens 154.

[0077] As will be apparent to one of ordinary skill in the art, additional image processing functions (including, for example, flat field correction, background intensity correction, etc.) may be applied to the plurality of images of sample 162 before image generator 116 generates a focus correction image therefrom. Similarly, one or more additional image processing functions may be applied to the focus correction image of sample 162 produced by image generator 116.

[0078] The described embodiments of generating a feature map and using such a feature map to generate a focus corrected image of a sample 162 may be used in conjunction with an imaging system 102 that uses brightfield, fluorescence, or confocal imaging.

[0079] Although the image generator 116 has been described as generating a focus-corrected two-dimensional image of the sample 162 taken at a particular focal plane thereof, it will be apparent that the image generator 116 may be used to create multiple images of the sample 162 taken at different focal planes. Each of such multiple images may be corrected for focus aberrations of the objective lens 154. The multiple images may be used as a Z-stack of images that facilitates viewing a focus-corrected three-dimensional image reconstruction of the sample 162 and / or facilitates three-dimensional analysis of objects represented by the Z-stack of images. Such analysis may include counting the number of three-dimensional objects in the image, characterizing the types of these objects (e.g., as cells, organelles, etc.), measuring the size of these objects, and / or the size of these objects. Object volume and / or surface area, etc.

[0080] It will be apparent to those skilled in the art that any combination of hardware and / or software may be used to implement the focus correction system 100 described herein. Figures 1 to 6 One or more of the processes, sub-processes and process steps described may be performed by hardware, software or a combination of hardware and software on one or more electronic or digital control devices. The software may reside in a software memory (not shown) in a suitable electronic processing component or system, such as Figures 1 to 6 One or more of the functional systems, controllers, devices, components, modules or sub-modules schematically depicted in the software memory. The software memory may include an ordered list of executable instructions for implementing logical functions (i.e., "logic", which may be implemented in digital form, such as digital circuits or source code, or in analog form, such as analog sources (e.g., analog electrical, sound or video signals)). The software memory may be implemented in a processing module or controller (e.g., Figure 1 The operator interface 104, imaging system interface 108, image collector 110, feature map generator 112, focus analyzer 114 and image generator 116 of the present invention execute instructions within the processing module or controller, and the processing module or controller includes, for example, one or more microprocessors, general-purpose processors, combinations of processors, digital signal processors (DSPs), field programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), and / or graphics processing units (GPUs). In addition, the schematic diagram describes a logical division of functions with physical (hardware and / or software) implementations that are not limited by the architecture or physical layout of the functions. The example systems described in the present application can be implemented in various configurations and can be operated as hardware / software components in a single hardware / software unit or in independent hardware / software units.

[0081] As will be apparent to one skilled in the art, one or more components of the focus correction system 100 may be operated in a cloud environment (e.g., using a distributed computing and storage system connected via a local or wide area network (e.g., the Internet or a dedicated network)). For example, one or more of the operator interface 104, the imaging system interface 108, the image collector 110, the feature map generator 112, the focus analyzer 114, and the image generator 116 may be operated on one or more computers remote from the operator computer 106, remote from the imaging system 102, and / or remote from each other. In one such configuration, for example, the imaging system interface 108 may communicate with the controller 150 via a local or wide area network to acquire images from the imaging system 102 and store the images acquired in this manner in a cloud-based image data storage 118. The feature map generator 112, operating locally or in the cloud, may access the objective lens 154 information from the objective lens database 120 stored locally or in the cloud, generate a feature map, and store the feature map in the feature map data storage 102 in a local or cloud-based storage system. Image generator 116 (operating on a local server or in a cloud environment) may access feature maps stored in feature map data store 122 to form an output image.

[0082] Executable instructions may be implemented as a computer program product having instructions stored therein, which, when executed by a processing module of an electronic system, instructs the electronic system to execute the instructions. The computer program product may be selectively embodied in any non-transitory computer-readable storage medium for use or in conjunction with an instruction execution system, device, or apparatus, such as an electronic computer-based system, a processor-containing system, or other systems that can selectively obtain instructions from and execute instructions in an instruction execution system, device, or apparatus. In the context of this document, a computer-readable storage medium is any non-transitory device that can store a program for use or in conjunction with an instruction execution system, device, or apparatus. A non-transitory computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device. A non-exhaustive list of more specific examples of non-transitory computer-readable media includes: an electrical connection having one or more wires (electrical); a portable computer floppy disk (magnetic); random access (i.e., volatile) memory (electrical); read-only memory (electrical); erasable programmable read-only memory, such as flash memory (electrical); optical disk storage, such as CD-ROM, CD-R, CD-RW (optical); and digital versatile disk storage, i.e., DVD (optical).

[0083] It should also be understood that the reception and transmission of signals or data used in this document means that two or more systems, devices, components, modules or submodules can communicate with each other through signals propagating on a certain signal path. A signal can be a communication, power, data or energy signal that can transmit information, power or energy of a first system, device, component, module or submodule to a second system, device, component, module or submodule along a signal path between a first and a second system, device, component, module or submodule. The signal path can include physical, electrical, magnetic, electromagnetic, electrochemical, optical, wired or wireless connections. The signal path can also include additional systems, devices, components, modules or submodules between the first and second systems, devices, components, modules or submodules.

[0084] All references, including publications, patent applications, and patents, cited herein are hereby incorporated by reference to the same extent as if each reference were individually and specifically indicated to be incorporated by reference in its entirety.

[0085] Unless otherwise specified herein or clearly contradictory to the context, in the context of describing the present invention (especially in the context of the following claims), the use of the terms "one" and "an" and "said" and similar references are interpreted as covering the singular and plural. Unless otherwise specified herein, the reference to the numerical range herein is intended only as a shorthand method for individually referring to each individual value falling within the range, and each individual value is incorporated into the specification as if it were individually quoted herein. Unless otherwise specified herein or clearly contradictory to the context, all methods described herein can be performed in any suitable order. Unless otherwise stated, the use of any and all examples or exemplary language (e.g., "such as") provided herein is intended only to better illustrate the present disclosure and does not constitute a limitation on the scope of the present disclosure. Any language in the specification should not be interpreted as indicating that any unclaimed element is essential to the practice of the present disclosure.

[0086] In view of the above description, many modifications of the present disclosure will be obvious to those skilled in the art.It should be understood that the embodiments shown are exemplary only and should not be considered to limit the scope of the present disclosure.

Claims

1. A method of generating an output image of a sample using an imaging system, wherein: The imaging system comprises a sample holder, an image sensor, and a lens movable between a first position and a second position in a direction perpendicular to the sample holder, the method comprising the steps of: causing one or more non-transitive computing devices to execute: analyzing a plurality of focus target images of a focus target disposed on the sample holder, each focus target image having been captured when the lens was in a respective one of a first plurality of positions between the first position and the second position, analyzing the focus of each focus target image to associate a value representing the focus of an area surrounding each pixel of the focus target image, generating a feature map array, the feature map array comprising a plurality of elements and associated with the lens, for each element of the feature map array, selecting a focus target image from the plurality of focus target images having a maximum focus value associated with the coordinates of the element, and setting the value of the element to a location from the first plurality of locations associated with the selected focus target image, selecting the feature mapping array associated with the lens, wherein the feature mapping array associates coordinates of each pixel of an image generated by the image sensor with one of the first plurality of positions of the lens between the first position and the second position; receiving a plurality of images of the sample from the image sensor, wherein each of the plurality of images of the sample is captured when the lens is in a respective one of a second plurality of positions of the lens between the first position and the second position; selecting a value of the feature map array associated with a coordinate of an output image pixel of the output image; selecting a location from the second plurality of locations based on the selected value of the feature map array; selecting an image from the plurality of images of the sample associated with the selected location; and The value of the output image pixel of the output image is determined based on the pixel value of the selected image of the plurality of images of the sample corresponding to the output image pixel.

2. The method according to claim 1, further comprising the steps of: The surface equation is fitted to the feature map array to generate a feature map.

3. The method according to claim 1, further comprising the steps of: A smoothing filter is applied to the feature map array.

4. The method according to any one of the preceding claims 1 to 3, wherein: The step of generating the feature map array is performed on a first non-transitive computing device, and the step of generating the output image pixels is performed on a second non-transitive computing device, wherein the first non-transitive computing device and the second non-transitive computing device are located remotely from each other.

5. The method according to any one of the preceding claims 1 to 3, wherein: The first plurality of locations is different than the second plurality of locations.

6. The method according to any one of the preceding claims 1 to 3, wherein: The output image pixel is one of a plurality of output pixels of an output image, and each of the plurality of output pixels is associated with a corresponding coordinate of the output image, the method further comprising the steps of: generating the plurality of output pixels according to the feature map, and generating a plurality of the output images to produce a Z-stack of images representing a three-dimensional presentation of the sample.

7. A computer-implemented system for generating an output image of a sample on a sample holder using an imaging system, the imaging system comprising an image sensor and a lens movable between a first position and a second position in a direction perpendicular to the sample holder, wherein: The image sensor generates a two-dimensional pixel array, and the computer-implemented system includes: a feature map generator, wherein the feature map generator is adapted to analyze a plurality of focus target images of a focus target disposed on the sample holder, each focus target image having been captured when the lens is located in a respective one of a first plurality of positions between the first position and the second position, a focus analyzer adapted to analyze the focus of each focus target image to associate a value representative of the focus of an area surrounding each pixel of the focus target image, wherein the feature map generator is adapted to generate a feature map array, the feature map array comprising a plurality of elements and associated with the lens, wherein for each element of the feature map array, the feature map generator is adapted to select a focused target image having a maximum focus score associated with the coordinates of the element and to set the value of the element to a position in a first plurality of positions associated with the selected focused target image, an image collector operating on the processor, the image collector adapted to receive a plurality of images of the sample from the image sensor, each of the plurality of images of the sample being captured while the lens is in a corresponding one of a second plurality of positions of the lens between the first position and the second position; and An image generator, the image generator being adapted to: selecting a feature mapping array associated with the lens, wherein the feature mapping array associates coordinates of each pixel of an image generated by the image sensor with one of the first plurality of positions of the lens between the first position and the second position; selecting a value of the feature map array associated with a coordinate of an output image pixel of an output image; selecting a location from the second plurality of locations based on the selected value of the feature map array; selecting an image from the plurality of images of the sample associated with the selected location; and The value of the output image pixel of the output image is determined based on the pixel value of the selected image of the plurality of images of the sample corresponding to the output image pixel.

8. The computer-implemented system of claim 7, wherein: The feature map generator is adapted to: fitting a surface equation to the feature map array to generate a feature map, and / or A smoothing filter is applied to the feature map array to generate the feature map.

9. The computer-implemented system of claim 7, wherein: The feature map generator is adapted to operate on a first computer and the image generator is adapted to operate on a second computer, wherein the first computer and the second computer are located remotely from each other.

10. The computer-implemented system of any one of claims 7 to 9, wherein: The first plurality of locations is different than the second plurality of locations.

11. The computer-implemented system of any one of claims 7 to 9, wherein: The image generator is adapted to generate a plurality of pixels comprising an output image based on the feature map, and the image generator is adapted to generate a plurality of the output images to produce a Z-stack of images representing a three-dimensional rendering of the sample.

12. The computer-implemented system of claim 9, wherein: The imaging system is located remotely from the first computer and the second computer.

Citation Information

Patent Citations

  • System and method to correct for variation of in-focus plane across a field of view of a microscope objective

    US20200382715A1