IMAGE PROCESSING METHOD, IMAGE PROCESSING APPARATUS AND IMAGING APPARATUS
The image processing method addresses the issue of overlapping objects by adjusting focal positions and calculating multiple sharpness and reference values, resulting in clear focused images of complex distributions.
Patent Information
- Application Number
- JP2020157369
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-09-18
- Publication Date
- 2024-09-19
- Estimated Expiration
- 2040-09-18
AI Technical Summary
Existing image processing techniques fail to clearly display multiple objects distributed in a complicated manner, leading to issues like overlapping and blurring when generating focused images from multiple captured images.
An image processing method that adjusts the focal position in multiple stages to capture images, calculates individual sharpness and correction sharpness values, and determines multiple image reference values for each pixel, combining these to generate a focused image.
The method effectively creates a focused image where each object is clearly displayed, even when objects are intricately distributed, by using multiple image reference values and correction sharpness to enhance clarity.
Smart Images

Figure 0007554083000011 
Figure 0007554083000004 
Figure 0007554083000005
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing method, an image processing device, and an imaging device for generating a focused image based on a plurality of captured images. [Background technology]
[0002] Images of samples containing cells are sometimes used for cell culture and analysis. Samples are prepared using flat containers with multiple wells (recesses) called well plates or microplates, or flat dish-shaped containers with a single well called dishes. The cells to be imaged are held in the wells together with culture fluid. When recording images of such samples containing cells, as the cells are distributed at various depths in the fluid, images are taken multiple times with different focal positions in the depth direction, and the multiple images obtained are combined to create a focused image.
[0003] For example, Patent Document 1, previously disclosed by the applicant of this application, describes a technique for creating a focused image from multiple images captured while changing the focus position. This technique generates a focused image that does not look unnatural in the spatial direction by adding weighting calculations based on spatial distance and sharpness to a synthesis method using pixel reference values that indicate the focus position. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent No. 6301416 Summary of the Invention [Problem to be solved by the invention]
[0005] Incidentally, multiple cells are distributed in a complex manner within a well. In other words, two cells may be far apart in the height direction, but overlap when viewed in a plan view. In this case, when the above technology is used, one pixel uses only one image reference value, so the weighting of the cell that is the target of the image reference value becomes strong, and there is a problem that chipping occurs in the overlapping part with other cells, as shown in the lower left part of Figure 3, which will be explained later.
[0006] The present invention has been made in consideration of the above-mentioned problems, and has an object to provide an image processing method, an image processing device, and an imaging device that are capable of creating a focused image in which each object is clearly depicted, even when multiple objects are distributed in a complex manner. [Means for solving the problem]
[0007] A first aspect of the present invention is an image processing method for generating a focused image based on a plurality of captured images, the method comprising the steps of: (a) capturing an image of an object while changing a focus position along an optical axis in N steps (where N is a natural number equal to or greater than 2) to obtain N captured images each composed of a plurality of pixels; (b) determining, for each pixel, one or M (where M is a natural number equal to or greater than 2 and less than N) image reference values each being the number of the captured image to be referenced as a luminance value of each coordinate of the focused image, and correction sharpness factors; (c) calculating, for each coordinate, a luminance value based on the image reference value and the correction sharpness factor; and (d) combining the calculated luminance values to generate a focused image, the step (b) comprising the steps of: (b-1) calculating sharpness at each focus position to obtain N individual sharpness factors; and (b-2) determining the correction sharpness factor and the image reference value from the N individual sharpness factors. In step (b-2), M correction sharpness indices and M image reference values are obtained from the N individual sharpness indices for each pixel. It is characterized by the following. A second aspect of the present invention is an image processing method for generating a focused image based on a plurality of captured images, comprising the steps of: (a) capturing an image of an object while changing a focus position along an optical axis in N steps (where N is a natural number equal to or greater than 2) to obtain N captured images made up of a plurality of pixels; (b) determining, for each pixel, one or M image reference values, which are the numbers of the captured images to be referenced as luminance values for each coordinate of the focused image, and correction sharpness values (where M is a natural number equal to or greater than 2 and less than N); and (c) determining, for each coordinate, the image reference values and and (d) a step of generating a focused image by combining the calculated luminance values. The step (b) includes, for each pixel, (b-1) a step of calculating sharpness at each focus position to obtain N individual sharpness indices, and (b-2) a step of determining a correction sharpness factor and an image reference value from the N individual sharpness indices. In the step (b-2), for each pixel, a correction sharpness factor and an image reference value are determined from the highest individual sharpness factor and the next highest individual sharpness factor having a sharpness equal to or greater than a threshold value among the N individual sharpness indices. It is characterized by the following.
[0008] In addition, the present invention Third aspectan image processing device that generates a focused image based on a plurality of captured images, the image processing device including: an image storage unit that stores captured images composed of a plurality of pixels obtained by capturing an object while changing the focus position along an optical axis in N steps (where N is a natural number equal to or greater than 2); a sharpness calculation unit that calculates sharpness at each focus position for each pixel to calculate N individual sharpnesses and calculates one or M correction sharpnesses (where M is a natural number equal to or greater than 2 and less than N); an image reference value determination unit that determines, for each pixel, an image reference value that is the number of the captured image to be referenced as a luminance value of each coordinate of the focused image in correspondence with the correction sharpness; a luminance value calculation unit that calculates a luminance value for each coordinate based on the image reference value and the correction sharpness; and a focused image generation unit that combines the calculated luminance values to generate a focused image. The sharpness calculation unit calculates M correction sharpness factors from the N individual sharpness factors for each pixel, and the image reference value determination unit determines M image reference values from the N individual sharpness factors for each pixel. It is characterized by the following. A fourth aspect of the present invention is an image processing device that generates a focused image based on a plurality of captured images, comprising: an image storage unit that stores captured images made up of a plurality of pixels acquired by capturing an object while changing a focus position along an optical axis in N stages (where N is a natural number equal to or greater than 2); a sharpness calculation unit that calculates sharpness at each focus position for each pixel to calculate N individual sharpnesses and calculates one or M correction sharpnesses (where M is a natural number equal to or greater than 2 and less than N) from the N individual sharpnesses; and a correction sharpness calculation unit that calculates a correction sharpness for each pixel at each coordinate of the focused image corresponding to the correction sharpness. The system includes an image reference value determination unit that determines an image reference value, which is the number of the captured image to be referenced as a brightness value, a brightness value calculation unit that calculates a brightness value for each coordinate based on the image reference value and a correction sharpness, and a focused image generation unit that combines the calculated brightness values to generate a focused image.The sharpness calculation unit calculates a correction sharpness for each pixel from the highest individual sharpness and a next individual sharpness having a sharpness equal to or greater than a threshold value among N individual sharpnesses, and the image reference value determination unit determines an image reference value for each pixel from the highest individual sharpness and the next individual sharpness.
[0009] Furthermore, the present invention Fifth aspect is an imaging device characterized by having the above-mentioned image processing device, an imaging unit that images an object, an illumination unit that emits light toward the object, and a moving mechanism that changes the focal position of the imaging unit along the optical axis.
[0010] In the invention configured in this manner, the sharpness at each focus position is calculated as an individual sharpness, and then one or M (where M is a natural number greater than or equal to 2 and less than N) correction sharpness factors are calculated from the individual sharpness factors, and an image reference value is determined. Then, a luminance value is calculated for each pixel based on the image reference value and the correction sharpness factor, and a focused image is generated by combining these luminance values. Effect of the Invention
[0011] As described above, according to the present invention, even when a plurality of objects are distributed in a complex manner, it is possible to create a focused image in which each object is clearly depicted. [Brief description of the drawings]
[0012] [Figure 1]FIG. 1 is a diagram showing an example of a well plate used in the present invention. [Diagram 2] 1 is a diagram showing a schematic configuration of an embodiment of an imaging device according to the present invention; [Diagram 3] 1A and 1B are diagrams illustrating a focused image obtained by a conventional technique and a focused image obtained by the present embodiment. [Figure 4] 1 is a block diagram conceptually showing functions realized by a processing unit in a first embodiment of an image processing device according to the present invention. [Diagram 5] 4 is a flowchart showing a flow of processing realized by a calculation processing unit. [Figure 6] 3 is a diagram for explaining the processing contents realized by a calculation processing unit. FIG. [Figure 7] FIG. 2 is a diagram illustrating an example of processing contents realized by a calculation processing unit. [Figure 8A] FIG. 11 is a diagram for explaining an image processing method performed in a second embodiment of the image processing device according to the present invention. [Figure 8B] FIG. 11 is a diagram for explaining an image processing method performed in a second embodiment of the image processing device according to the present invention. [Figure 9] FIG. 11 is a diagram for explaining an image processing method performed in a third embodiment of an image processing device according to the present invention. [Figure 10] FIG. 13 is a diagram for explaining an image processing method performed in a fourth embodiment of the image processing device according to the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Preferred embodiments of the present invention will be described below with reference to the drawings. In the following, the "image processing device" of the present invention will be described as an imaging device that images a set well plate. The "image processing method" of the present invention will be described as being executed in the imaging device.
[0014] FIG. 1 is a diagram showing an example of a well plate used in the present invention. Specifically, FIG. 1 is a perspective view of a well plate 9. The well plate 9 is a substantially plate-shaped sample container having a plurality of wells 91. For example, a transparent resin that transmits light is used as the material of the well plate 9. A plurality of wells 91 are regularly arranged on the upper surface of the well plate 9. The wells 91 hold a plurality of cells to be imaged together with a culture medium. In this embodiment, the shape of the well 91 in the top view is described as being circular. However, the shape of the well 91 may be other shapes such as a rectangle or a rectangle with rounded corners. Here, in order to unify the directions in each figure, an XYZ orthogonal coordinate system is set as shown in FIG. 1. For example, the XY plane can be considered as the horizontal plane, and the Z axis as the vertical axis. In the following, the (-Z) direction is considered to be vertically downward.
[0015] FIG. 2 is a diagram showing a schematic configuration of an embodiment of an imaging device according to the present invention. This imaging device 1 is a device that images live samples such as cells, cell colonies, bacteria, etc. (hereinafter referred to as "cells, etc." and given the reference symbol C) cultured in a medium supported in a recess called a well 91 formed on the upper surface of a well plate 9 as the "object" of the present invention. Note that the size and number of wells of the well plate targeted by this imaging device 1 are not limited to these and are arbitrary, and well plates with 6 to 384 holes, for example, are commonly used. In addition, this imaging device 1 can be used not only for well plates having multiple wells, but also for imaging cells cultured in a flat container called a dish, for example.
[0016] A predetermined amount of liquid as culture medium M is poured into each well 91 of the well plate 9, and cells C, etc., cultured in this liquid under predetermined culture conditions become the subject of imaging by the imaging device 1. The culture medium may be one to which an appropriate reagent has been added, or may be one that gels after being poured in liquid form into the well 91. With this imaging device 1, for example, cells C, etc., cultured on the inner bottom surface of the well 91 can be the subject of imaging.
[0017] The imaging device 1 includes a holder 11 that holds a well plate 9, an illumination unit 12 arranged above the holder 11, an imaging unit 13 arranged below the holder 11, and a control unit 14 having an arithmetic processing unit 141 that controls the operation of each of these units. The holder 11 abuts against the peripheral portion of the lower surface of the well plate 9 that carries a sample together with a culture medium M in each well 91, and holds the well plate 9 in a substantially horizontal position.
[0018] The illumination unit 12 emits illumination light toward the well plate 9 held by the holder 11. For example, a white LED (Light Emitting Diode) can be used as a light source of the illumination light. A combination of the light source and an appropriate illumination optical system is used as the illumination unit 12. The illumination unit 12 illuminates cells and the like in wells 91 provided in the well plate 9 from above.
[0019] An imaging unit 13 is provided below the well plate 9 held by the holder 11. An imaging optical system (not shown) is disposed in the imaging unit 13 directly below the well plate 9, and the optical axis of the imaging optical system is oriented in the vertical direction (Z direction). Fig. 2 is a side view, and the up-down direction in the figure represents the vertical direction.
[0020] The imaging unit 13 captures an image of cells and the like in the well 9. Specifically, light emitted from the illumination unit 12 and incident on the liquid from above the well 9 illuminates the object to be imaged, and light transmitted downward from the bottom surface of the well 9 is incident on the light receiving surface of the imaging element 132 via an imaging optical system including an objective lens 131 of the imaging unit 13. An image of the object to be imaged formed on the light receiving surface of the imaging element 132 by the imaging optical system is captured by the imaging element 132. The imaging element 132 is an area image sensor having a two-dimensional light receiving surface, and for example, a CCD sensor or a CMOS sensor can be used.
[0021] The imaging unit 13 can be moved in the horizontal direction (XY direction) and the vertical direction (Z direction) by a mechanical control unit 146 provided in the control unit 14. Specifically, the mechanical control unit 146 operates the drive mechanism 15 based on a control command from the arithmetic processing unit 141 to move the imaging unit 13 in the horizontal direction, whereby the imaging unit 13 moves in the horizontal direction relative to the well 91. Furthermore, focus adjustment is performed by moving in the vertical direction. When an image is taken with one well 91 entirely contained within the imaging field of view, the mechanical control unit 146 positions the imaging unit 13 in the horizontal direction so that the optical axis coincides with the center of the well 91.
[0022] Furthermore, when the driving mechanism 15 moves the imaging unit 13 in the horizontal direction, it moves the illumination unit 12 integrally with the imaging unit 13 as shown by the dotted arrow in the figure. That is, the illumination unit 12 is disposed so that its optical center substantially coincides with the optical axis of the imaging unit 13, and moves in conjunction with the imaging unit 13 when the imaging unit 13 moves in the horizontal direction. As a result, no matter which well 91 is being imaged, the center of that well 91 and the optical center of the illumination unit 12 are always positioned on the optical axis of the imaging unit 13, and the illumination conditions for each well 91 can be kept constant, thereby maintaining good imaging conditions.
[0023] An image signal output from the imaging element 132 of the imaging unit 13 is sent to the control unit 14. That is, the image signal is input to an AD converter (A / D) 143 provided in the control unit 14 and converted into digital image data. The arithmetic processing unit 141 functions as an image processing unit that performs appropriate image processing based on the received image data. The control unit 14 further has an image memory 144 that functions as an image storage unit for storing and saving image data, and a memory 145 for storing and saving programs to be executed by the arithmetic processing unit 141 and data generated by the arithmetic processing unit 141, but these may be integrated. The arithmetic processing unit 141 performs various arithmetic processing described later by executing a control program stored in the memory 145.
[0024] Additionally, the control unit 14 is provided with an interface (IF) unit 142. The interface unit 142 has a user interface function of receiving operation input from the user and presenting information such as processing results to the user, as well as a function of exchanging data with an external device connected via a communication line. To realize the user interface function, the interface unit 142 is connected to an input receiving unit 147 that receives operation input from the user and a display unit 148 that displays and outputs messages to the user, processing results, and the like.
[0025] The control unit 14 may be a dedicated device equipped with the above hardware, or may be a general-purpose processing device such as a personal computer or a workstation with a control program installed therein for implementing the processing functions described below. That is, a general-purpose computer device can be used as the control unit 14 of this imaging device 1. When a general-purpose processing device is used, it is sufficient for the imaging device 1 to have the minimum control functions required to operate each unit such as the imaging unit 13.
[0026] FIG. 3 is a diagram showing a schematic diagram of a focused image obtained by a conventional technique and a focused image obtained by the present embodiment. For example, as shown in the partial enlarged view in FIG. 2, a plurality of cells C in a well 91 may be separated from each other in the vertical direction (height direction) Z, but may overlap in a plan view. Here, it is assumed that two cells C are present in the imaging field of the imaging unit 13 for the well 91 to be imaged. Hereinafter, the cell C on the left side in the partial enlarged view is referred to as the first cell C1, and the cell C on the right side is referred to as the second cell C2. When the well 91 is imaged while changing the focal position of the imaging unit 13 in N steps, for example, five steps, five captured images CI0 to CI4 are obtained, for example, as shown in the upper part of FIG. 3. In the example of FIG. 3, the first cell C1 is most in focus in the captured image CI0 at the focal position H0, and the second cell C2 is most in focus in the captured image CI4 at the focal position H4. In addition, in an image CI2 captured at the focal position H2, the cells C1 and C2 are shown partially overlapping each other.
[0027] When the conventional technology described in Patent Document 1 is applied to the five captured images CI0 to CI4 thus obtained to create a focused image AI, the following problems may occur. In the conventional technology, the sharpness is calculated for each pixel of each captured image CI0 to CI4. Then, the image reference value is determined for each coordinate by comparing the sharpness between corresponding pixels of the captured images CI0 to CI4. In this manner, only one image reference value is determined for one pixel. Therefore, the weighting of the cell C1 that is the target of the image reference value among the two cells C1 and C2 that overlap in planar view becomes stronger. As a result, as shown in the lower left part of the figure, chipping or the like may occur in the overlapping portion of the cells C1 and C2.
[0028] In contrast, in this embodiment, as described below in detail, multiple image reference values are selected for each pixel, and synthesis is performed based on the correction sharpness, so that a focused image AI in which the cells C1 and C2 are clearly displayed can be created, as shown in the lower left part of the figure. Below, a first embodiment of the image processing device and image processing method according to the present invention will be described in detail with reference to Figures 4 to 7.
[0029] FIG. 4 is a block diagram conceptually showing functions realized by the arithmetic processing unit in the first embodiment of the image processing device according to the present invention. The arithmetic processing unit 141 has an imaging control unit 141a and an image processing unit 141b. The imaging control unit 141a controls the operation of the illumination unit 12, the imaging unit 13, and the driving mechanism 15 according to a control program for imaging stored in advance in the memory 145. As a result, the imaging process of the cells C held in each well 91 of the well plate 9 progresses, and for example, five captured images CI0 to CI4 are acquired for each well 91 as shown in FIG. 3 and stored in the image memory 144. Note that the imaging process is the same as the conventional technology described in Patent Document 1, so a description of the imaging process will be omitted here.
[0030] On the other hand, the image processing unit 141b executes the image processing shown in FIG. 5 according to a control program for image processing previously stored in the memory 145. An individual sharpness calculation unit b1 that calculates sharpness for each pixel; A correction sharpness calculation unit b2 that calculates M correction sharpness factors for each pixel; An image reference value determination unit b3 determines M image reference values, which are the numbers of the captured images CI0 to CI4 to be referenced as the luminance value of each coordinate of the focused image AI for each pixel; A luminance value calculation unit b4 calculates a luminance value for each coordinate based on M image reference values and M correction sharpness factors; a focused image generating unit b5 that combines the calculated luminance values to generate a focused image AI; The specific processing performed by each of these units is as follows.
[0031] Fig. 5 is a flowchart showing the flow of processing realized by the arithmetic processing unit. Fig. 6 is a diagram for explaining the processing contents realized by the arithmetic processing unit. Fig. 7 is a diagram showing an example of the processing contents realized by the arithmetic processing unit.
[0032] The arithmetic processing unit 141 reads out from the image memory 144 a plurality of captured images CI0 to CI4 obtained by the above-mentioned photographing process (step ST1). Next, the individual sharpness calculation unit b1 of the arithmetic processing unit 141 calculates individual sharpness for each pixel of the plurality of captured images CI0 to CI4 (step ST2). More specifically, as shown in FIG. 6, individual sharpness S0(0,0) to S0(xmax, ymax) are calculated for each of the pixels constituting the captured image CI0. The same is true for the other captured images CI1 to CI4. Note that the dotted lines in the figure show the pixel divisions diagrammatically. Also, the "individual sharpness" in this specification is an index indicating the clarity (sharpness) of an image in the vicinity of the pixel, similar to the "sharpness" in the conventional technology. In this embodiment, the individual sharpness S0(0,0) to S4(xmax, ymax) is calculated based on the luminance change of the pixel in a certain area centered on the pixel. However, the individual sharpness may be a variance of the luminance of surrounding pixels, a maximum luminance value, a minimum luminance value, the luminance value of the pixel itself, or the like.
[0033] In the conventional technology, the sharpness is compared between corresponding pixels of a plurality of captured images CI0 to CI4, and an image reference value A is determined for each coordinate. In contrast, in this embodiment, the correction sharpness calculation unit b2 calculates M correction sharpness values while changing the x coordinate and the y coordinate from 0 to the maximum value max, and the image reference value determination unit b3 determines M image reference values (steps ST3 to ST7). In this embodiment, in order to facilitate understanding of the invention, a case in which the value M is fixed to "2" is illustrated in Figs. 5 to 7. Hereinafter, the calculation of the correction sharpness and the determination of the image reference value will be described with reference to Figs. 5 to 7.
[0034] In step ST3, as shown in Fig. 5 and Fig. 6, the correction sharpness calculation unit b2 extracts individual sharpness S0(xm,yn), S1(xm,yn), S2(xm,yn), S3(xm,yn), and S4(xm,yn) corresponding to the pixel (xm,yn) from all the individual sharpness calculated in step ST2. Then, the correction sharpness calculation unit b2 determines the highest sharpness from the extracted individual sharpness S0(xm,yn) to S4(xm,yn) as the correction sharpness S(0,xm,yn) (step ST4). Then, the image reference value determination unit b3 determines the image reference value A(0,xm,yn) corresponding to the highest correction sharpness S(0,xm,yn) (step ST5). Here, the explanation will be continued assuming that the individual sharpness indices shown in FIG. 7 are calculated in step ST2, and the coordinates (xm,yn) for which the correction sharpness is calculated are the coordinates (1,3). In this case, the correction sharpness calculation unit b2 calculates S0(1,3)=70 S1(1,3)=30 S2(1,3)=10 S3(1,3)=5 S4(1,3)=10 Then, the correction sharpness calculation unit b2 determines the individual sharpness S0(1,3) as the correction sharpness S(0,1,3), and the image reference value determination unit b3 determines the image reference value A(0,1,3) as “0”.
[0035] In this way, when the highest correction sharpness S(0, xm, yn) and image reference value A(0, xm, yn) are obtained, the correction sharpness calculation unit b2 calculates the next correction sharpness S(1, xm, yn) (step ST6). The image reference value determination unit b3 determines the image reference value A(1, xm, yn) corresponding to the correction sharpness S(1, xm, yn) (step ST7). For the above coordinates (1, 3), as shown in FIG. 7, the correction sharpness calculation unit b2 determines the individual sharpness S1(1, 3) and the next correction sharpness S(1, 1, 3) to be "30", and the image reference value determination unit b3 determines the next image reference value A(1, 1, 3) to be "1".
[0036] In this embodiment, as described above, M=2 is calculated for each pixel, i.e., the top two correction sharpness factors S(0,x,y) and S(1,x,y) are calculated, and the corresponding image reference values A(0,x,y) and A(1,x,y) are obtained. However, the value of M is not limited to this and may be 3 or more, provided that it is in a range smaller than the number N of focus positions.
[0037] Next, the luminance value calculation unit b4 of the arithmetic processing unit 141 calculates the luminance value V of each coordinate constituting the focused image based on the multiple image reference values A and the luminance values of each captured image CI0 to CI4 (step ST8). That is, the luminance value V of the corresponding coordinate of the focused image is calculated by reflecting the luminance value of the captured image CI indicated by the image reference value A of the surrounding coordinates on the luminance value of the corresponding coordinate of the captured image CI indicated by the image reference value A of each coordinate. Specifically, the luminance value calculation unit b4 calculates the luminance value V of each coordinate constituting the focused image using, for example, the following formula (1):
[0038]
number
[0039] Equation (1) means that the weighting amount of the distance and the weighting amount of the correction sharpness S are expressed by Gaussian coefficients and multiplied together. That is, the luminance value calculation unit b4 reflects the luminance values of the surrounding coordinates in the luminance value of the coordinate of interest with weighting according to the distance and the correction sharpness S, and calculates the luminance value V of each coordinate of the focused image. More specifically, the luminance value calculation unit b4 first refers to the luminance value of the corresponding coordinate of the captured image CI indicated by the image reference value A for each coordinate. Then, the luminance value is reflected in the captured image CI indicated by the image reference value A of the surrounding coordinates. At that time, the closer the coordinate is from the focused coordinate, the greater the influence of the luminance value. Also, the higher the correction sharpness S, the greater the influence of the luminance value.
[0040] Thereafter, the focused image generating unit b5 of the arithmetic processing unit 141 generates a focused image by combining the luminance values V calculated for each coordinate (step ST9). As a result, as shown in the lower right part of Fig. 3, in the focused image AI generated based on the five captured images CI0 to CI4, there are no defects in the overlapping parts of the cells C1 and C2, and both the cells C1 and C2 appear with little blurring.
[0041] As described above, M (in this embodiment, two) correction sharpness values S and image reference values A are calculated for each pixel, and a focused image AI is generated based on these values. Therefore, in the focused image AI, cells C that exist at different positions (heights) in the vertical direction (height direction) Z are clearly displayed. As a result, even if multiple cells C are distributed in a complex manner within the well 91, each cell C can be clearly identified.
[0042] As described above, in the first embodiment, the process of acquiring five captured images CI0-CI4 as shown in the upper part of Fig. 3 corresponds to an example of process (a) of the present invention. Step ST2 in Fig. 5 corresponds to an example of process (b-1) of the present invention, and steps ST3-ST7 correspond to an example of process (b-2) of the present invention, with steps ST2-ST7 corresponding to an example of process (b) of the present invention. Furthermore, steps ST8 and ST9 in Fig. 5 correspond to examples of processes (c) and (d) of the present invention, respectively.
[0043] The present invention is not limited to the above-mentioned embodiment, and various modifications can be made without departing from the spirit of the present invention. For example, in the first embodiment, the top two correction sharpness values S(0,x,y) and S(1,x,y) are calculated for each pixel from the five individual sharpness values S0 to S4 extracted, and the image reference values A(0,x,y) and A(1,x,y) are uniquely determined. In contrast, in the second embodiment of the image processing device according to the present invention, the settings of the correction sharpness value S(1,x,y) and the image reference value A(1,x,y) are partially changed as described below.
[0044] 8A and 8B are diagrams for explaining an image processing method performed in the second embodiment of the image processing device according to the present invention. For example, as shown by a circle in FIG. 8A, when the next image reference value A(1,x,y) is adjacent to the image reference value A(0,x,y) at the same coordinate, if the height direction is slightly shifted from the height at which one cell C is in focus, the image of the cell C may be blurred at the symbol R in the figure. Therefore, in order to effectively avoid this, as shown in FIG. 8B, the next (third) may be set as the image reference value A(1,x,y). For example, when the individual sharpness shown in FIG. 7 has already been calculated, the correction sharpness S(1,1,2) of the coordinate (1,2) where the image is blurred due to the above-mentioned adjacent condition may be set to the third largest individual sharpness value "50" as surrounded by a thick frame in FIG. 8B, and the image reference value A(1,x,y) may be changed from "1" to "4". In this way, a clear in-focus image AI without blurring can be obtained as shown in the figure.
[0045] In the first embodiment, regardless of the value of each individual sharpness factor, the top M sharpness factors are adopted as the correction sharpness factors and M image reference values A are determined. Here, a predetermined threshold value may be set as the adoption criterion for the correction sharpness factor (third embodiment).
[0046] 9 is a diagram for explaining an image processing method performed in the third embodiment of the image processing device according to the present invention. In this third embodiment, the individual sharpness indices S0 to S4 are calculated in the same manner as in the first embodiment. Meanwhile, in step ST3, the correction sharpness calculation unit b2 extracts the individual sharpness indices S0(xm,yn), S1(xm,yn), S2(xm,yn), S3(xm,yn), and S4(xm,yn) corresponding to the pixel (xm,yn) from all the individual sharpness indices calculated in step ST2. Subsequently, the correction sharpness calculation unit b2 determines the highest sharpness among the extracted individual sharpness indices S0(xm,yn) to S4(xm,yn) that is within a predetermined threshold value (for example, "30" or more) as the correction sharpness S(0,xm,yn) (step ST4). Following this, the image reference value determination unit b3 determines the image reference value A(0, xm, yn) corresponding to the highest correction sharpness S(0, xm, yn) (step ST5).
[0047] In this way, in the third embodiment, since the above threshold condition is added, for example, as shown in FIG. 9, there are cases where none of the extracted individual sharpness indices S0(xm,yn) to S4(xm,yn) exceeds the threshold depending on the pixel. Therefore, in this embodiment, the maximum value among the above individual sharpness indices S0(xm,yn) to S4(xm,yn) is exceptionally determined as the correction sharpness S(0,xm,yn), and the corresponding image reference value A(0,xm,yn) is determined (step ST5). For example, the individual sharpness indices S0 to S4 of pixel (xmax,ymax) in FIG. 9 are, S0(xmax,ymax)=0 S1(xmax,ymax)=0 S2(xmax,ymax)=2 S3(xmax,ymax)=1 S4(xmax,ymax)=0 Therefore, the correction sharpness calculation unit b2 sets the correction sharpness S(0, xmax, ymax) to "2", and the image reference value determination unit b3 sets the image reference value A(0, xmax, ymax) to "2".
[0048] The correction sharpness calculation unit b2 calculates the correction sharpness S(1, xm, yn) which satisfies the threshold condition and is the next highest (step ST6). The image reference value determination unit b3 determines the image reference value A(1, xm, yn) corresponding to the correction sharpness S(1, xm, yn) (step ST7). Here, for pixels which do not satisfy the threshold condition, the highest correction sharpness S(0, xm, yn) provides an exception rule, but for the next highest correction sharpness S(1, xm, yn), as shown in the figure, the correction sharpness S(1, xm, yn) is set to "0" and the image reference value A(1, xm, yn) is set to "none", and the pixels are excluded from the luminance calculation (step ST8). That is, the number of correction sharpness S and the number of image reference values A are each variable to 1 or M for each pixel. As a result, the following effects are obtained.
[0049] In the first and second embodiments, the number M of image reference values A for each pixel is fixed, and even if the sharpness is weak, it is used to calculate the brightness value V. This can cause blurred areas to be included in the focused image AI. In contrast, in the third embodiment, the number M is variable, and weak sharpness is excluded from the calculation of the brightness value V. Therefore, it is possible to prevent blurred areas from being included in the focused image AI, and create a clearer focused image AI.
[0050] In the third embodiment, the predetermined threshold value "30" is set in advance, but the threshold value may be set based on the maximum value of the individual sharpness indices S0 to S4 (FIG. 4 embodiment).
[0051] FIG. 10 is a diagram for explaining an image processing method performed in a fourth embodiment of the image processing device according to the present invention. The fourth embodiment is significantly different from the third embodiment in that, before steps ST3 to ST7 are performed, a step is included in which the maximum value of all the individual sharpness indices calculated in step ST2 is calculated, and the maximum value is multiplied by a coefficient (for example, 0.4) to set the result as the threshold value. After the threshold value setting is completed, a focused image AI is created in the same manner as in the third embodiment. In this way, in the fourth embodiment, as in the third embodiment, it is possible to suppress the inclusion of blurred regions in the focused image AI and create a clearer focused image AI.
[0052] In the above embodiment, five captured images CI0 to CI4 are obtained by photographing the object while changing the focal position in five steps along the optical axis, that is, N = 5. The value of N is not limited to 5, and may be 2 to 4 or 6 or more.
[0053] Although the brightness value V is calculated by the above formula (1), other formulas may be used instead of formula (1). The formula may be any formula that reflects the brightness values of the captured image indicated by the image reference value A of the surrounding coordinates to the brightness values of the captured image indicated by the image reference value A of each coordinate.
[0054] In the above embodiment, a single field of view is set for one well 91, and an image is captured by changing the focal position in the field of view. However, one well 91 may be divided into multiple fields of view, and multiple captured images may be acquired for each field of view while moving the imaging unit 13 between the fields of view. In this case, the above-mentioned image processing is performed for each field of view to generate a focused image, and the obtained focused images are synthesized (tiled) to generate an image of one well 91.
[0055] In the above embodiment, the cells C, which are the subject to be imaged, are held in the multiple wells 91 of the well plate 9. However, the cells C may be held in a container other than the well plate 9.
[0056] In the above embodiment, the object to be photographed is a single cell C. However, the object to be photographed may be a cell clump (spheroid) in which a plurality of cells are assembled three-dimensionally. The object to be photographed may also be a sample other than a cell.
[0057] In the above embodiment, the illumination unit 12 is disposed above the object to be photographed, and the imaging unit 13 is disposed below the object to be photographed. However, the illumination unit 12 may be disposed below the object to be photographed, and the imaging unit 13 may be disposed above the object to be photographed.
[0058] In the above embodiment, the focal position of the imaging unit 13 is changed by moving some of the optical components included in the optical system of the imaging unit 13. However, the focal position of the imaging unit 13 in the well 91 may be changed along the optical axis by moving the entire imaging unit 13 up and down. Also, the focal position of the imaging unit 13 with respect to the container may be changed relatively by moving the container holding the object to be photographed up and down. In other words, the "moving mechanism" in the present invention may be a mechanism for moving the entire imaging unit 13 or a mechanism for moving the container (well plate 9).
[0059] In the above embodiment, the position of the container holding the cells C is fixed, and the illumination unit 12 and the imaging unit 13 are moved in the horizontal direction. However, the positions of the illumination unit 12 and the imaging unit 13 may be fixed, and the container may be moved in the horizontal direction. [Industrial Applicability]
[0060] The present invention can be generally applied to image processing technology for generating a focused image based on a plurality of captured images, and to imaging devices that use this image processing technology. [Explanation of symbols]
[0061] 1...Imaging device 9. Well plate 12…Lighting section 13...Imaging unit 141...Computation processing unit 141a...imaging control unit 141b...Image processing unit 144...Image memory (image storage unit) A…See image AI…Focused image b1…Individual sharpness calculation section b2… Sharpness correction calculation section b3: Image reference value determination section b4…Brightness value calculation section b5…Focused image generation unit C,C1,C2…cell CI0~CI4…Photos H0~H4…focal position V: Luminance value Z: Vertical direction
Claims
1. An image processing method for generating a focused image based on a plurality of captured images, (a) acquiring N images, each of which is made up of a plurality of pixels, by photographing an object while changing a focal position along an optical axis in N steps (where N is a natural number equal to or greater than 2); (b) determining, for each pixel, one or M (where M is a natural number equal to or greater than 2 and less than N) image reference values, which are the numbers of the captured images to be referenced as the luminance values of the respective coordinates of the focused image, and correction sharpness values; (c) calculating a luminance value for each coordinate based on the image reference value and the correction sharpness factor; (d) combining the calculated luminance values to generate a focused image; The step (b) is (b-1) calculating the sharpness at each focus position to obtain N individual sharpness indices; (b-2) determining the correction sharpness factor and the image reference value from the N individual sharpness factors; In the step (b-2), the M correction sharpness indices and the M image reference values are obtained for each pixel from the N individual sharpness indices.
13. An image processing method comprising:
2. 2. The image processing method according to claim 1, In the step (b-2), the top M of the N individual sharpness indices are extracted as the correction sharpness indices for each pixel, and the numbers of the captured images corresponding to the extracted M correction sharpness indices are set as the M image reference values.
3. An image processing method for generating a focused image based on a plurality of captured images, (a) acquiring N images, each of which is made up of a plurality of pixels, by photographing an object while changing a focal position along an optical axis in N steps (where N is a natural number equal to or greater than 2); (b) determining, for each pixel, one or M (where M is a natural number equal to or greater than 2 and less than N) image reference values, which are the numbers of the captured images to be referenced as the luminance values of the respective coordinates of the focused image, and correction sharpness values; (c) calculating a luminance value for each coordinate based on the image reference value and the correction sharpness factor; (d) combining the calculated luminance values to generate a focused image; The step (b) is (b-1) calculating the sharpness at each focus position to obtain N individual sharpness indices; (b-2) determining the correction sharpness factor and the image reference value from the N individual sharpness factors; In the step (b-2), the correction sharpness and the image reference value are obtained for each pixel from the highest individual sharpness and the next individual sharpness having a sharpness equal to or greater than a threshold value among the N individual sharpnesses.
13. An image processing method comprising:
4. 4. The image processing method according to claim 3, An image processing method in which the threshold value is set to a value obtained by multiplying the maximum value of all individual sharpness indices by a constant coefficient.
5. An image processing device that generates a focused image based on a plurality of captured images, an image storage unit that stores a captured image composed of a plurality of pixels obtained by photographing an object while changing a focal position along an optical axis in N stages (where N is a natural number equal to or greater than 2); a sharpness calculation unit that calculates a sharpness at each focus position for each of the pixels to calculate N individual sharpnesses, and calculates one or M correction sharpnesses (where M is a natural number that is 2 or more and less than N) from the N individual sharpnesses; an image reference value determination unit that determines, for each pixel, an image reference value that is a number of the captured image to be referenced as a luminance value of each coordinate of a focused image in accordance with the correction sharpness; a luminance value calculation unit that calculates a luminance value for each coordinate based on the image reference value and the correction sharpness; a focused image generating unit that generates a focused image by combining the calculated luminance values; the sharpness calculation unit calculates the M correction sharpness indices from the N individual sharpness indices for each pixel; The image reference value determination unit determines the M image reference values from the N individual sharpness indices for each pixel.
13. An image processing device comprising:
6. An image processing device that generates a focused image based on a plurality of captured images, an image storage unit that stores a captured image composed of a plurality of pixels obtained by photographing an object while changing a focal position along an optical axis in N stages (where N is a natural number equal to or greater than 2); a sharpness calculation unit that calculates a sharpness at each focus position for each of the pixels to calculate N individual sharpnesses, and calculates one or M correction sharpnesses (where M is a natural number that is 2 or more and less than N) from the N individual sharpnesses; an image reference value determination unit that determines, for each pixel, an image reference value that is a number of the captured image to be referenced as a luminance value of each coordinate of a focused image in accordance with the correction sharpness; a luminance value calculation unit that calculates a luminance value for each coordinate based on the image reference value and the correction sharpness; a focused image generating unit that generates a focused image by combining the calculated luminance values; the sharpness calculation unit calculates, for each of the pixels, the correction sharpness from a highest individual sharpness and a next highest individual sharpness having a sharpness equal to or greater than a threshold value among the N individual sharpnesses; The image reference value determination unit determines the image reference value from the highest individual sharpness index and the next highest individual sharpness index for each pixel.
13. An image processing device comprising:
7. The image processing device according to claim 5 or 6, An imaging unit that captures an image of the object; An illumination unit that emits light toward the object; a moving mechanism for changing a focal position of the imaging unit along an optical axis; An imaging device comprising:
Citation Information
Patent Citations
Gas adsorbing purification method
JP1988001416A
JPP4524717B
