Focus position detection method, focus position detection device, and focus position detection program
The method and device address the issue of high-brightness regions in focus position detection by excluding these areas and calculating focus position based on non-saturated images, enhancing detection accuracy and preventing harm to live cells.
Patent Information
- Application Number
- JP2020031529
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-02-27
- Publication Date
- 2024-08-19
- Estimated Expiration
- 2040-02-27
AI Technical Summary
Existing focus position detection techniques fail to adequately account for high-brightness regions caused by dead cells or other objects in images, leading to reduced detection accuracy and the need for repeated imaging, which can harm live cells and cause fluorescence fading.
A method and device that capture multiple target images while changing the focal position, identify and exclude high-brightness areas, and calculate focus position based on images outside these regions, using a focus degree calculation to determine the in-focus position without repeating detection.
Stably detects the focus position even with high-brightness regions present, improving accuracy and avoiding repeated imaging that could harm live cells or cause fluorescence fading.
Smart Images

Figure 0007535860000008 
Figure 0007535860000007 
Figure 0007535860000009
Abstract
Description
[Technical field]
[0001] The present invention relates to a focus position detection technology that detects a focal position based on a plurality of target images acquired by imaging an object to be imaged using an imaging unit while changing the focal position along the optical axis, and particularly to a focus position detection technology that is suitable for observing target images that include high-brightness areas where the brightness is saturated. [Background technology]
[0002] For cell culture and analysis, images of samples containing cells may be used. Samples are prepared using a flat plate-shaped container with multiple wells (recesses) called a well plate or microplate, or a flat dish-shaped container with a single well called a dish. In order to capture an image of the cells, which are the object of imaging, well, it is necessary to detect the focal position and adjust the focal position. Thus, a focal position detection technique has been proposed that detects the focal position based on multiple target images acquired by imaging the object of imaging with an imaging unit while changing the focal position along the optical axis (Patent Documents 1, 2, etc.). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 7-318784 [Patent Document 2] JP 2016-223931 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, a sample may contain dead cells that are different from the intended imaging target. Images obtained by imaging such a sample may contain high-brightness areas where the brightness of pixels corresponding to dead cells is extremely high. Therefore, for images that contain high-brightness areas (see columns (a) and (b) in Figure 4 below), it may be possible to detect the focal point position after excluding the high-brightness areas, but this does not sufficiently eliminate the effects of dead cells.
[0005] Here, if the lighting elements and camera settings (e.g., light emission time and exposure time) included in the imaging unit are adjusted and the image is re-imaging, the occurrence of high-brightness areas is suppressed and the above problem is solved. However, because the imaging subject is a cell, repeated re-imaging can cause problems for the cell (phototoxicity, fluorescence fading) and image capture wait time problems. For this reason, there has been a demand to avoid repeated re-imaging in order to detect the focus position.
[0006] The present invention has been made in consideration of the above-mentioned problems, and aims to provide a focus position detection technology that can stably detect the focus position without repeating the detection operation, even when multiple target images obtained by imaging an object to be imaged using an imaging unit while changing the focus position along the optical axis contain high-brightness areas. [Means for solving the problem]
[0007] A first aspect of the present invention is a focus position detection method, comprising: Image capture target of Imaging unit A first step of capturing a plurality of target images by imaging the plurality of target images. When an area exceeding a predetermined brightness exists in some of the target images, while an area exceeding the predetermined brightness does not exist in the remaining target images, the area exceeding the predetermined brightness is regarded as a saturated area corresponding to all of the target images. The method is characterized by comprising a second step of acquiring a focus degree from an image outside the saturated region of the target image, a third step of determining a focus degree that indicates the degree of focus for each target image, and a fourth step of identifying a focus position based on a plurality of focus degrees.
[0008] In a second aspect of the present invention, a method for detecting a focus position of an object to be imaged is provided, based on a plurality of target images obtained by imaging an object to be imaged with an imaging unit while changing a focal position along an optical axis. Focus position The focus position detection device detects a focus position based on the plurality of focus degrees calculated by the focus degree calculation unit. The focus position detection unit detects a focus position based on the plurality of focus degrees calculated by the focus degree calculation unit. The focus position detection unit detects a focus position based on the plurality of focus degrees calculated by the focus degree calculation unit. The focus position detection unit detects a focus position based on the plurality of focus degrees calculated by the focus degree calculation unit. The focus position detection unit detects a focus position based on the plurality of focus degrees calculated by the focus degree calculation unit.
[0009] Furthermore, a third aspect of the present invention is a focus position detection program for causing a computer to execute the focus position detection method described above. Effect of the Invention
[0010] As described above, according to the present invention, even if multiple target images obtained by imaging an object to be imaged using an imaging unit while changing the focal position along the optical axis contain high-brightness areas, the focus position can be stably detected without repeating the detection operation. [Brief description of the drawings]
[0011] [Figure 1] 1 is a diagram showing a schematic configuration of an image pickup apparatus equipped with an embodiment of a focus position detection device according to the present invention; [Figure 2A] FIG. 2 is a top view of a well plate used in the imaging device. [Figure 2B] FIG. 2 is a perspective view of a well plate used in the imaging device. [Diagram 3] 4 is a flowchart showing a first embodiment of a focus position detection method executed in the imaging apparatus shown in FIG. [Figure 4] FIG. 4 is a diagram showing an example of a target image acquired by an imaging unit. [Diagram 5]10A and 10B are diagrams illustrating the content of a saturated region acquisition process and the relationship between an image and a saturated region that is a target of focus degree calculation. [Figure 6] 13A to 13C are diagrams illustrating the content of a saturated region acquisition process in a second embodiment of a focus position detection method according to the present invention, and the relationship between an image for which a focus degree is calculated and a saturated region. [Figure 7] 13A to 13C are diagrams illustrating the content of a saturated region acquisition process in a third embodiment of a focus position detection method according to the present invention, and the relationship between an image for which a focus degree is calculated and a saturated region. [Figure 8] 13A to 13C are diagrams illustrating a part of the steps performed in a fourth embodiment of a focus position detection method according to the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Fig. 1 is a diagram showing a schematic configuration of an imaging device equipped with a first embodiment of a focus position detection device according to the present invention. Fig. 2A and Fig. 2B are diagrams showing an example of a well plate used in the imaging device, Fig. 2A being a top view of the well plate and Fig. 2B being a perspective view thereof. 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 taken to be the vertical downward direction.
[0013] The imaging device 1 is a device for imaging live specimens 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 shown in FIG. 2A and FIG. 2B, the well plate 9 is a substantially plate-shaped specimen 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 the medium. Note that the size and number of wells targeted by the 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, the imaging device 1 can be used not only for well plates having a plurality of wells, but also for imaging cells cultured in a flat container called a dish. However, in this embodiment, the shape of the well 91 when viewed from above is described as being circular. However, the shape of the well 91 may be other shapes such as a rectangle, a rectangle with rounded corners, etc.
[0014] 1, 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. Culture medium M 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.
[0015] 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 a CPU 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 supports the sample together with the culture medium M in each well 91, and holds the well plate 9 in a substantially horizontal position.
[0016] 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.
[0017] An imaging unit 13 is provided below the well plate 9 held by the holder 11. The imaging unit 13 has an imaging optical system (not shown) disposed directly below the well plate 9, and the optical axis of the imaging optical system is oriented in the vertical direction (Z direction).
[0018] The imaging unit 13 captures an image of cells and the like in the well 91. Specifically, light emitted from the illumination unit 12 and incident on the liquid from above the well 91 illuminates the object to be imaged, and light transmitted downward from the bottom of the well 91 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.
[0019] 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 CPU 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 the vertical movement. This focus adjustment is performed based on the focal position detected by a focal position detection method described later in detail. When an image is taken with the entire well 91 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.
[0020] 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 horizontal 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.
[0021] The image signal output from the image sensor 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 CPU 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 for storing and saving image data, and a memory 145 for storing and saving programs to be executed by the CPU 141 and data generated by the CPU 141, but these may be integrated. The CPU 141 detects the focus position by performing a saturated region acquisition process, a focus degree calculation process, and a focus position identification process, which will be described later, by executing a control program stored in the memory 145. That is, the CPU 141 functions as a "saturated region acquisition unit," a "focus degree calculation unit," and a "focus position identification unit" of the present invention, and a part of the control program corresponds to an example of a "focus position detection program" of the present invention.
[0022] 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.
[0023] The control unit 14 may be a dedicated device equipped with the above hardware, or may be a general-purpose processor such as a personal computer or a workstation incorporating a control program for implementing the processing functions described below. That is, a general-purpose computer can be used as the control unit 14 of this imaging device 1. When a general-purpose processor 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.
[0024] Fig. 3 is a flowchart showing a first embodiment of a focus position detection method executed in the imaging device shown in Fig. 1. Fig. 4 is a diagram showing an example of a target image acquired by the imaging unit. The focus position detection method is realized by the CPU 141 provided in the control unit 14 executing a control program installed in advance and causing each unit of the device to perform a predetermined operation.
[0025] First, the driving mechanism 15 drives the imaging unit 13 to set the horizontal position of the imaging unit 13 so that a specific well 91, for example, a well 91 located at the center, is included in the field of view, and the imaging unit 13 is positioned at the imaging unit height H1 in the vertical direction Z so that the focal position of the objective lens 131 is a predetermined initial position. In this state, the well 91 is imaged, and image data of the target image G1 is stored in the image memory 144 (step S1). The target image G1 thus acquired may contain an image GC2 of dead cells together with an image GC1 of cells C that are originally to be imaged, as shown in (a) of FIG. 4. The brightness of the pixels constituting the image GC1 corresponds to the fluorescent light emitted from the cells C irradiated with the excitation light, and is a relatively low value. In contrast, the brightness of the pixels constituting the image GC2 may be extremely high. As a result, when attempting to detect the focal position for imaging the cells C as the imaging target, the presence of the image GC2 is one of the main causes of deterioration in detection accuracy.
[0026] Therefore, in this embodiment, after executing step S1, steps S2 to S4 are further repeatedly executed. As a result, the cells C are imaged by the imaging unit 13 while changing the distance from the imaging unit 13 to the cells C in four stages, that is, while changing the focal position along the optical axis, to obtain four target images G1 to G4 (corresponding to the "first step" of the present invention). Also, acquisition of a saturated region exceeding a predetermined brightness Lmax, that is, a saturated region acquisition process (corresponding to the "second step" of the present invention) is executed.
[0027] 5 is a diagram showing the relationship between the saturated region and the image to be calculated for focus degree and the saturated region as well as the content of the saturated region acquisition process. In the next step S2, the target image G1 is divided into a plurality of local images PG (in this embodiment, a total of 12 images in a 4×3 matrix) (step S2-1). Then, a region in which a local image PG that exceeds a predetermined brightness Lmax exists, that is, a high brightness region HR, is obtained (step S2-2). The determination of whether each local image PG exceeds the predetermined brightness Lmax can be made based on, for example, the number of pixels that exceed the predetermined brightness Lmax among the plurality of pixels that constitute the local image PG. This point is similar to that in the second embodiment described later.
[0028] Note that high-luminance local images PG exceeding a predetermined luminance Lmax are appropriately referred to as "high-luminance local images PGs." In order to clearly indicate the high-luminance region HR and the high-luminance local images PGs, the high-luminance region HR is surrounded by a thick line in FIG. 5 (S2-2), while the high-luminance local images PGs are hatched. Once the high-luminance region HR is determined in this manner, a saturated region is acquired based on the high-luminance region HR (step S2-3). This saturated region acquisition process is executed sequentially for the target images G2 to G4 following the target image G1.
[0029] In this embodiment, as shown in FIG. 5, the high brightness region HR in the target image G2 is present in a wider range than the high brightness region HR in the target image G1. In other words, the saturated region SR consisting of the high brightness region HR in the target image G2 includes the saturated region (not shown) consisting of the high brightness region HR in the target image G1. Moreover, as shown in the "Brightness distribution" column in FIG. 4, the brightness distribution of the image GC2 has a sharp profile at the focal position (imaging unit height H1), while the brightness around the contour and the entire image decreases as the image moves away from the focal position, while the base portion of the image widens. Therefore, although the brightness of the image GC2 of the dead cells contained in the target images G3 and G4 is equal to or higher than the brightness of the image GC1 of the cells C, it is highly likely to affect the detection of the focus position. Therefore, in this embodiment, the above-mentioned saturated region SR is set as a range that inhibits the detection of the focus position in each of the target images G1 to G4, and the focus degree is calculated taking the saturated region SR into consideration as described later.
[0030] On the other hand, if images of dead cells GC2 and the like are not included in any of the target images G1 to G4, the saturated region SR does not exist, and therefore it is possible to detect the focus position using the target images G1 to G4 as they are, as in the conventional technique.
[0031] Therefore, in the next step S5, it is determined whether or not a saturated region SR exists. If it is determined in step S5 that a saturated region SR does not exist, the focus degrees are calculated from the target images G1 to G4 for each of the imaging section heights H1 to H4 (step S6).
[0032] In contrast, if it is determined in step S5 that a saturated region SR exists, the image in the saturated region SR is excluded from the focus degree calculation for any of the imaging section heights H1 to H4. That is, a focus degree indicating the degree of focus is obtained from an image G1A outside the saturated region SR of the target image G1. A focus degree indicating the degree of focus is obtained from an image G2A outside the saturated region SR of the target image G2. A focus degree indicating the degree of focus is obtained from an image G3A outside the saturated region SR of the target image G3. A focus degree indicating the degree of focus is obtained from an image G4A outside the saturated region SR of the target image G4. Such a focus degree acquisition process corresponds to an example of the "third process" of the present invention.
[0033] When the calculation of the focus degree at the imaging unit heights H1 to H4 is completed in this manner, the imaging unit height with the highest focus degree is identified as the in-focus position, as in the conventional technique (step S8: fourth step).
[0034] As described above, according to the first embodiment, when a high-brightness image such as an image GC2 of dead cells is included in the target image, the image of the saturated region SR is excluded from the focus degree calculation. Moreover, as shown in FIG. 5, the image of the saturated region SR is excluded from the focus degree calculation not only for the target images G1 and G2 in which the high-brightness region HR appears, but also for all target images G1 to G4. This makes it possible to reliably eliminate the influence of dead cells and the like, and to detect the focus position more accurately. As a result, even if the high-brightness region HR is included in all or part of the target images G1 to G4, the focus position can be stably detected without repeating the detection operation.
[0035] 6 is a diagram showing the content of the saturated region acquisition process in the second embodiment of the focus position detection method according to the present invention, and the relationship between the image to be calculated for focus degree and the saturated region. The second embodiment is significantly different from the first embodiment in that the expanded high-luminance region EHR is obtained by expanding the high-luminance region HR by a predetermined amount, and the saturated region SR is determined based on the expanded high-luminance region EHR. The other configurations and operations are basically the same. Therefore, the following description will focus on the differences, and the same configurations and operations will be denoted by the same reference numerals and will not be described.
[0036] In step S2 of the second embodiment, similarly to the first embodiment, each target image G1-G4 is divided into 12 local images PG (step S2-1), and a region in which a local image PG exceeding a predetermined brightness Lmax exists, that is, a high brightness region HR is obtained (step S2-2). Following this, in the second embodiment, each high brightness region HR is expanded by a predetermined amount (step S2-4). The region after this expansion is the expanded high brightness region EHR, and a saturated region SR is obtained based on the expanded high brightness region EHR (step S2-5).
[0037] 6, when a saturated region SR exists, the image in the saturated region SR is excluded from the focus degree calculation for any of the imaging unit heights H1 to H4, as in the first embodiment. Then, the focus degree, which indicates the degree of focus, is obtained from the images G1A, G2A, G3A, and G4A outside the saturated region SR. After that, the imaging unit height with the highest focus degree is identified as the focus position, as in the conventional technology.
[0038] As described above, in the second embodiment, the same effects as those of the first embodiment can be obtained. Moreover, in response to the brightness distribution of the image GC2 having a spreading profile as shown in FIG. 4, the high brightness region HR is expanded to include the base part in the expanded high brightness region EHR and is incorporated into the saturated region SR. Therefore, the base part, that is, the image having a brightness below a predetermined brightness Lmax but sufficiently higher than the brightness of the image GC1 of the cells C, is also excluded from the focus degree calculation. As a result, the influence of dead cells and the like can be more reliably eliminated, and the focus position detection can be made more accurate.
[0039] In the second embodiment, each high luminance region HR is expanded to obtain the expanded high luminance region EHR, but an expanded high luminance region EHR may be obtained by expanding a region formed by connecting multiple high luminance regions HR (for example, a region in which two high luminance regions HR are lined up or a region in which four high luminance regions HR are clustered in FIG. 6) by a predetermined amount. This also applies to the third embodiment described below.
[0040] 7 is a diagram showing the content of the saturated region acquisition process in the third embodiment of the focus position detection method according to the present invention, and the relationship between the image to be calculated as the focus degree and the saturated region. The third embodiment is significantly different from the first embodiment in that the high brightness region HR is obtained without dividing the target image into multiple local images, and the saturated region SR is determined based on the expanded high brightness region EHR as in the second embodiment. The other configurations and operations are basically the same. Therefore, the following description will focus on the differences, and the same configurations and operations will be denoted by the same reference numerals and will not be described.
[0041] In the first and second embodiments, the saturated region SR is derived in units of local images PG, but in step S2 of the third embodiment, the saturated region SR is derived through the following steps. That is, in the first step, a region exceeding a predetermined brightness Lmax is acquired as a high brightness region HR (step S2-6). Then, the high brightness region HR is expanded by a predetermined amount to acquire an expanded high brightness region EHR (step S2-7), and further, a saturated region SR is acquired based on the expanded high brightness region EHR (step S2-8). Here, the technical significance of obtaining the expanded high brightness region EHR is that, as in the second embodiment, the foot part of the brightness distribution (a region having a brightness that is equal to or less than the predetermined brightness Lmax but is sufficiently higher than the brightness of the image GC1 of the cells, etc. C) is excluded from the focus degree calculation, thereby improving the accuracy of the focus position detection.
[0042] 7, when a saturated region SR exists, the image in the saturated region SR is excluded from the focus degree calculation for any of the imaging unit heights H1 to H4, as in the first and second embodiments. Then, the focus degree, which indicates the degree of focus, is obtained from the images G1A, G2A, G3A, and G4A outside the saturated region SR. After that, the imaging unit height with the highest focus degree is identified as the focus position, as in the conventional technology.
[0043] As described above, in the third embodiment, the same effects as those of the first and second embodiments are obtained. Moreover, in the third embodiment, only the region exceeding the predetermined brightness Lmax and the region expanded from the region are acquired as the saturated region SR, so the following effects are obtained. In the first and second embodiments, the high brightness region HR is obtained in units of local images PG, so that a region within the range of the local image PG, but sufficiently far from the region exceeding the predetermined brightness Lmax, may be recognized as a high brightness region HR. Therefore, the brightness data on which the focus degree calculation is based may be insufficient. In contrast, in the third embodiment, the brightness data of the region sufficiently far from the region exceeding the predetermined brightness Lmax (region other than the expanded high brightness region EHR) is the basis for the focus degree calculation. Therefore, the focus position can be detected based on more data.
[0044] By the way, the images G1A, G2A, G3A, and G4A excluding the saturated region SR are obtained by the first to third embodiments, but the main image contained therein is an image GC1 of cells or the like C that is fluorescently emitted by irradiating the imaging object with excitation light, and the images G1A to G4A are generally dark. Therefore, the difference between the brightness of the image GC1 and the noise is small, and it is easily affected by background noise. Therefore, the focus degree may be calculated from the images G1A to G4A as described below (fourth embodiment).
[0045] FIG. 8 is a diagram showing a schematic diagram of a part of the steps executed in a fourth embodiment of the focus position detection method according to the present invention. In the fourth embodiment, for each of the target images G1A to G4A, the target image is divided, a local focus degree (local value) for each local region is calculated, and a focus degree corresponding to the target image based on the multiple local focus degrees is calculated. Here, the processing for the target image G1A is described, and the description of the others is omitted. As shown in FIG. 4, the target image G1A is divided into multiple local regions PR in the same division manner as when the high brightness region HR was obtained, and a total of eight local regions PR are obtained. Needless to say, the division manner (number of divisions, division shape, etc.) may be different from when the high brightness region HR was obtained.
[0046] Next, a focus degree that indicates the degree of focus for each local region PR is calculated. In this specification, the focus degree calculated from the local region PR is called a "local focus degree" to distinguish it from the conventionally known focus degree, that is, the focus degree calculated from the target image G1A. That is, in this embodiment, eight local focus degrees are calculated.
[0047] The local focus degree may be a conventionally known one, for example, (1) an index value (average brightness, contrast, edge strength, etc.) according to the brightness of the pixels constituting the local region PR, (2) an index value obtained by multiplying the above index value by a coefficient according to the area or value of the local region PR, or (3) an index value analytically calculated from the brightness histogram of the pixels constituting the local region PR. In this embodiment, the brightness of the pixels constituting the target image G1A is expressed in gradations from 0 to 255, and the average brightness of each local region PR is used as the local focus degree. Therefore, as can be seen by observing the "local region" and "local focus degree" in FIG. 8 in association with each other, the local focus degree is relatively low over the entire target image G1A, and the local focus degree corresponding to the image GC1 of the cells C is slightly high.
[0048] When a plurality of local focus degrees are obtained for the target image G1A in this way, a focus degree when the imaging unit 13 is positioned at the imaging unit height H1 is calculated while performing correction according to the magnitude of the local focus degree (corresponding to an example of the "third step" of the present invention). In this embodiment, the local focus degree is multiplied by a coefficient according to the magnitude of the local focus degree to calculate a correction value. More specifically, the above eight local focus degrees are sorted in order of the degree of focus of the imaging unit 13, and the local focus degrees from the top to a certain rank (top 50%) are multiplied by a value larger than zero as a coefficient ("1" in this embodiment) to calculate a plurality of correction values, while the remaining local focus degrees are multiplied by zero as a coefficient to substantially exclude them from the correction value for calculating the focus degree. That is, the top four local focus degrees indicated by hatching in "local focus degree" in FIG. 8 are extracted as correction values, and the average value of these is obtained as the focus degree when the imaging unit 13 is positioned at the imaging unit height H1. The degrees of focus when the imaging unit 13 is positioned at imaging unit heights H2 to H4 are also found based on the target images G2A to G4A, respectively (corresponding to an example of the "third step" of the present invention).
[0049] When the focus degree is calculated for each of the imaging unit heights H1 to H4 in this way, the imaging unit height with the highest focus degree is identified as the in-focus position, as in the conventional technology (corresponding to an example of the "fourth step" of the present invention). For example, when the focus degree is distributed as shown in Fig. 8, the imaging unit height H3 showing the highest value is identified as the in-focus position.
[0050] Here, comparing the first embodiment (left end of FIG. 8) in which the focus degree is calculated as a simple average of the luminance of all pixels constituting each target image G1A-G4A, with the present embodiment (right end of FIG. 8), it can be seen that the fourth embodiment has the following advantages. In the first embodiment, the focus degree is merely calculated as a simple average, and is easily affected by background noise. Therefore, the change in the focus degree caused by the change in the imaging unit heights H1-H4 is small. In contrast, in the fourth embodiment, the focus degree is calculated for each target image G1A-G4A by excluding the area in which the local focus degree is less than the top 50%, that is, the background area that is highly likely not to include the image GC1 of the cell or the like C. Therefore, the change in the focus degree caused by the change in the imaging unit heights H1-H4 is large, and the focus position can be detected more accurately. As a result, even if the target images G1A-G4A are relatively dark, the focus position can be stably detected without repeating the detection operation.
[0051] The present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit of the present invention. For example, in the above-described embodiment, the saturated region SR is obtained each time the imaging unit 13 is positioned at the imaging unit heights H1 to H4, but the saturated region SR may be calculated collectively after the acquisition of the four target images G1 to G4 is completed.
[0052] In addition, in the above embodiment, the focus position detection operation is performed using a specific well 91 before continuously imaging cells etc. C in the well 91, but the focus position detection operation may be performed each time cells are imaged in the well 91.
[0053] In addition, in the above embodiment, the distance from the imaging unit 13 to the object to be imaged (cells, etc. C) is changed in four stages, but the number of stages of the imaging unit height is not limited to this and can be any number of stages as long as it is multiple.
[0054] In the above embodiment, the control program including the focus position detection program is stored in advance in the memory 145, but the interface unit 142 may be electrically connected to a disk drive (not shown) to read the installed program. That is, the focus position detection program recorded in an external recording medium such as a CD-ROM (=Compact Disc - Read Only Memory) or a DVD-ROM (=Digital Versatile Disk - Read Only Memory) inserted into the disk drive may be readable, and the disk drive may function as a reading unit. That is, even if the imaging device 1 cannot execute the above-mentioned focus position detection method, the focus position detection program may be installed to incorporate the focus position detection program, thereby upgrading the version to be able to execute the above-mentioned focus position detection method. Note that the focus position detection program may be read using a recording medium other than a CD-ROM or a DVD-ROM. Also, the focus position detection program may be read using a communication means. [Industrial Applicability]
[0055] The present invention can be applied to general focus position detection techniques that detect a focus position based on a plurality of target images acquired by capturing an image of an object with an imaging section while changing the focal position along the optical axis. [Explanation of symbols]
[0056] 1...Imaging device 13...Imaging unit 141...CPU (saturated area acquisition unit, focus degree calculation unit, focus position identification unit) 144…Image memory C…Cells, etc. (image subject) G1~G4…Target images G1A~G4A...(outside saturation area) images H1~H4…Imaging unit height EHR…Expanded High Brightness Region HR: High brightness range PG: Local image Z: Vertical direction
Claims
1. a first step of capturing an image of an object to be imaged with an imaging unit while changing a focal position along an optical axis to obtain a plurality of object images; a second step of acquiring, when a region exceeding a predetermined brightness exists in some of the plurality of target images while a region exceeding the predetermined brightness does not exist in the remaining target images, the region exceeding the predetermined brightness as a saturated region corresponding to all of the plurality of target images; a third step of calculating a degree of focus indicating a degree of focus from an image outside the saturated region of the target image for each of the target images; a fourth step of identifying a focus position based on the plurality of focus degrees; A focus position detection method comprising:
2. 2. The method for detecting a focus position according to claim 1, The second step comprises: Dividing the target image into a plurality of local images; determining a high luminance region corresponding to the local image that exceeds the predetermined luminance; determining the saturated region based on the high luminance region; The focus position detection method includes the steps of:
3. 2. The method for detecting a focus position according to claim 1, The second step comprises: Dividing the target image into a plurality of local images; determining a high luminance region corresponding to the local image that exceeds the predetermined luminance; A step of obtaining an expanded high luminance region by expanding the high luminance region by a predetermined amount; determining the saturated region based on the expanded high intensity region; The focus position detection method includes the steps of:
4. 4. The method for detecting a focus position according to claim 2, further comprising the steps of: The focus position detection method, in which the determination of whether the local image exceeds the predetermined brightness is performed based on the number of pixels that exceed the predetermined brightness among a plurality of pixels constituting the local image.
5. 2. The method for detecting a focus position according to claim 1, The second step comprises: determining a high luminance area exceeding the predetermined luminance; A step of obtaining an expanded high luminance region by expanding the high luminance region by a predetermined amount; determining the saturated region based on the expanded high intensity region; The focus position detection method includes the steps of:
6. A focus position detection device that detects a focus position based on a plurality of target images acquired by capturing an image of an object to be imaged by an imaging unit while changing a focus position along an optical axis, comprising: a saturated region acquisition unit that acquires, when a region exceeding a predetermined brightness exists in some of the plurality of target images while a region exceeding the predetermined brightness does not exist in the remaining target images, the region exceeding the predetermined brightness as a saturated region corresponding to all of the plurality of target images; a focus degree calculation unit that calculates a focus degree indicating a degree of focus from an image outside the saturated region of the target image for each of the target images; a focus position specifying unit that specifies the focus position based on the plurality of focus degrees calculated by the focus degree calculation unit; A focus position detection device comprising:
7. 6. A focusing position detection program that causes a computer to execute the focusing position detection method according to claim 1.
Citation Information
Patent Citations
Automatic focusing device
JP1988151180A
Automatic focusing device
JP1989157173A
Camera automatic focusing controlling system
JP1994209425A
Automatic focus detection of microscope
JP1995318784A
Imaging apparatus, method for controlling the imaging apparatus, and computer program
JP2011150281A
