Microscopic image acquisition device fast focusing method and microscopic image acquisition method

By using short-wave and long-wave color component data to split the focusing process in the microscopic image acquisition device, the time-consuming problem of focusing in the existing technology is solved, fast and accurate focusing is achieved, and the efficiency of microscopic image acquisition is improved.

CN115079372BActive Publication Date: 2024-09-17SHENZHEN ANLV MEDICAL TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202210479912.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-05
Publication Date
2024-09-17
Estimated Expiration
2042-05-05

AI Technical Summary

Technical Problem

When the existing microscopic image acquisition device acquires multiple microscopically magnified digital images within the imaging target area, it is limited by the difference in camera field of view and flatness, resulting in a long time-consuming focusing process, especially at high magnifications where the focusing efficiency is low. It is difficult to meet the needs of AI computing.

Method used

By utilizing the short-wave and long-wave color component data in the digital image, the focusing process is split into two stages. The short-wave and long-wave color component data are used to calculate the sharpness value, and the moving speed of the microscopic imaging component is adjusted to achieve fast focusing.

Benefits of technology

It significantly improves the focusing efficiency, reduces the focusing time, avoids focusing oscillation, improves the image acquisition efficiency of multi-field microscopic imaging components, and is suitable for acquiring a large number of microscopic magnified digital images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115079372B
    Figure CN115079372B
Patent Text Reader

Abstract

The microscopic image acquisition device fast focusing method and the microscopic image acquisition method include two stages of focusing process; namely, the first stage of short-wave focusing process based on short-wave color component data, if the clarity value of the real-time microscopically magnified digital image reaches the set first clarity value range, the microscopic imaging component reaches the first target position at this time; the second stage of focusing process based on long-wave color component data, or the second stage of focusing process directly moving the focal length difference distance to the target position, the clarity value of the real-time microscopically magnified digital image falls into the set second clarity value range, and the microscopic imaging component reaches the second target position at this time; the fast focusing process is completed. Performing fast focusing in stages can complete the focusing process faster and more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of microscopic image acquisition, and in particular to the technical field of a fast focusing method for a microscopic image acquisition device and a microscopic image acquisition method. Background Art

[0002] In the prior art, when using microscopically magnified digital images to perform statistical calculations on image information, clear image information within the entire range of the imaging target area is required. When the microscopic image acquisition device acquires multiple microscopically magnified digital images within the imaging target area, the sample area corresponding to the microscopically magnified imaging is limited due to the camera's field of view; usually the area of ​​a single imaging is very small, and in order to acquire a microscopically magnified digital image within the entire imaging target area, it is usually necessary to split a large imaging target area into multiple small imaging target areas, and acquire a clear microscopically magnified digital image of each small target imaging area.

[0003] Due to the influence of the flatness of the imaging target area, when performing microscopic magnification imaging on small imaging target areas in multiple different regions, it is also necessary to adjust the distance between the microscopic imaging component and each small imaging target area, that is, a regional focusing process is required to obtain a clear digital image in each small imaging target area.

[0004] When the focus target of the microscopic imaging component is transferred from one small imaging target area to another small imaging target area, due to the influence of the error of the horizontal or longitudinal moving device and the flatness between different small imaging target areas, a focusing process is required after each adjustment of the small imaging target area. Since the spacing on the imaging optical axis caused by the flatness between two adjacent small imaging target areas and the error of the horizontal moving device is usually very small, the step size and speed of the spacing adjustment in the direction of the optical axis cannot be too fast, otherwise it is easy to cause an oscillation adjustment process near the focus; if the step size is large, it is very easy to overfocus, especially when the magnification of the microscopic imaging component is larger, it is necessary to control the step size within a reasonable range, otherwise it will oscillate constantly near the focus, overfocus once adjusted, and underfocus once retracted; usually a process of trying a reasonable step size is required, and such a convergence process is very time-consuming; especially when a large number of microscopic magnified digital images are to be obtained for AI calculations, such focusing efficiency cannot meet the application requirements.

[0005] The deviation of the spacing on the imaging optical axis caused by the flatness and horizontal movement device errors between two adjacent small imaging target areas may be positive or negative. Therefore, when the microscopic imaging component migrates from the focal interval of a small imaging target area to the focal interval of another small imaging target area adjacent to it, at the beginning, it is unknown in which direction to move for focusing, and it will also take a trial process to know in which direction to adjust the position of the microscopic imaging component on the optical axis when focusing. Such a trial process is also very time-consuming. When a large number of pictures need to be obtained, it is extremely inefficient.

[0006] It is very necessary to explore a fast focusing method that can be applicable to the above-mentioned scenarios, so as to obtain a sufficient number of clear microscopic magnified digital images in the imaging target area in the shortest possible time. Summary of the invention

[0007] The technical problem to be solved by the present application is to avoid the above-mentioned deficiencies of the prior art, and a method for quickly focusing a microscopic image acquisition method and a microscopic image acquisition device are proposed. By cleverly utilizing at least two different wavelength color component data in a digital image, the focusing process is split into two stages, which can effectively improve the focusing efficiency and shorten the time of a single focusing, thereby greatly improving the efficiency of acquiring a large number of microscopically magnified digital images; especially when splitting multiple fields of view to acquire multiple groups of microscopically magnified digital images by moving a microscopic imaging component, the problem of focusing oscillation when the microscopic imaging component switches different fields of view for focusing can be avoided, thereby greatly improving the image acquisition efficiency of the multi-field of view microscopic imaging component.

[0008] The technical solution of the present application to solve the above-mentioned problem is a method for fast focusing of a microscopic image acquisition device, comprising the following steps: step A: in the process of the microscopic imaging component moving from a first starting position to a first target position, the microscopic imaging component moves to the first target position at a first speed, and acquires a real-time microscopically enlarged digital image during the movement; using the short-wave color component data of the real-time microscopically enlarged digital image as the basis for calculating the clarity value, calculating the clarity value of the real-time microscopically enlarged digital image; judging whether the clarity value of the real-time microscopically enlarged digital image falls within a set first clarity value range, and if it does not fall within the set first clarity value range, determining whether the clarity value of the real-time microscopically enlarged digital image falls within a set first clarity value range; and determining whether the clarity value of the real-time microscopically enlarged digital image falls within a set first clarity value range. The microscopic imaging component continues to move at the first speed until the clarity value of the real-time microscopically enlarged digital image reaches the set first clarity value range, and the microscopic imaging component reaches the first target position at this time; step B: during the movement of the microscopic imaging component from the first target position to the second target position, the microscopic imaging component moves toward the second target position at the second speed, and acquires the real-time microscopically enlarged digital image during the movement; the long-wave color component data of the real-time microscopically enlarged digital image is used as the basis for calculating the clarity value, the clarity value of the real-time microscopically enlarged digital image is calculated, and it is determined whether the clarity value of the real-time microscopically enlarged digital image falls within the set first clarity value range. The second definition value range is set. If it does not fall into the set second definition value range, the microscopic imaging component continues to move at the second speed until the definition value of the real-time microscopically magnified digital image falls into the set second definition value range, and at this time, the microscopic imaging component reaches the second target position; the second speed of movement of the microscopic imaging component is less than the first speed of movement of the microscopic imaging component; in step A: when calculating the definition value, obtain the definition value change value of two microscopically magnified digital images at a set interval; when the definition value change value is greater than or equal to the set threshold value, determine that the definition value of the real-time microscopically magnified digital image at that moment falls into the set In step B, two different clarity value calculation methods are used when calculating the clarity value, namely, a first clarity value calculation method and a second clarity value calculation method; the first clarity value calculation method is used to obtain a first clarity value change value of two microscopically enlarged digital images at a set interval; the second clarity value calculation method is used to obtain a second clarity value change value of two microscopically enlarged digital images at a set interval; when the product of the first clarity value change value and the second clarity value change value is negative, it is determined that the clarity value of the real-time microscopically enlarged digital image at that moment falls within the set second clarity value range.

[0009] The technical solution of the present application to solve the above-mentioned problem can also be a method for quickly focusing a microscopic image acquisition device, comprising the following steps: step A: in the process of the microscopic imaging component moving from a first starting position to a first target position, the microscopic imaging component moves to the first target position at a first speed, and a real-time microscopically enlarged digital image is acquired during the movement, and the short-wave color component data of the real-time microscopically enlarged digital image is used as a basis for calculating the clarity value, and the clarity value of the real-time microscopically enlarged digital image is calculated, and it is determined whether the clarity value of the real-time microscopically enlarged digital image falls within a set first clarity value range. If the clarity value of the real-time microscopically enlarged digital image reaches the set first clarity value range, the microscopic imaging component reaches the first target position at this time. The method comprises the steps of: step C: moving the microscopic imaging component at a second speed from the first target position to a first distance to reach a second target position; the second target position of the microscopic imaging component corresponds to the focus position of the long-wave color light in the microscopic image acquisition device; the first distance is the focal length difference, which is the focal length difference of the long-wave color light in the microscopic image acquisition device minus the focal length of the short-wave color light in the microscopic image acquisition device; the second speed is less than the first speed; in step A: when calculating the clarity value, obtaining the clarity value change value of two microscopically enlarged digital images at a set interval; when the clarity value change value is greater than or equal to the set threshold value, determining that the clarity value of the real-time microscopically enlarged digital image at that moment falls within the set first clarity value range.

[0010] Step B also includes step D, in which the microscopic imaging component moves at a third speed from the second target position to a set distance to reach a third target position.

[0011] The microscopic image acquisition device based on the invention comprises a main controller, a microscopic imaging component, a driving component and an illumination light source component; the imaging target area is arranged between the illumination light source component and the microscopic imaging component; the microscopic imaging component is used to acquire a microscopically magnified digital image within the imaging target area; the microscopic imaging component is connected to the driving component, and the driving component controls the distance of the microscopic imaging component relative to the imaging target area; the driving component is electrically connected to the main controller, and the driving component receives instructions from the main controller, drives the microscopic imaging component to move along the imaging optical axis, and adjusts the distance of the microscopic imaging component relative to the imaging target area for focusing, so that the microscopic imaging component acquires a clear microscopically magnified digital image; the microscopic imaging component comprises a lens component and a camera component which are combined and move together.

[0012] The illumination light source assembly can output at least two illumination light beams for illuminating the imaging target area, a first illumination light beam and a second illumination light beam; the first illumination light beam is a light beam with a first central wavelength; the second illumination light beam is a light beam with a second central wavelength; the first central wavelength is smaller than the second central wavelength; the first illumination light beam is blue light, and the first central wavelength range is 455 to 492 nm; or the first illumination light beam is violet light, and the first central wavelength range is 380 nm to 440 nm; the second illumination light beam is red light, and the second central wavelength range is 622 to 780 nm; or the second illumination light beam is green light , the second central wavelength range is 492-577nm; or the second illumination beam is mixed light; in step A, the microscopically enlarged digital image data obtained by the microscopic imaging component under the irradiation of the first illumination beam is used as the short-wave color component data of the microscopically enlarged digital image; in step B, the microscopically enlarged digital image data obtained by the microscopic imaging component under the irradiation of the second illumination beam is used as the long-wave color component data of the microscopically enlarged digital image; in step C, the second target position of the microscopic imaging component is the focusing position of the microscopic image acquisition device corresponding to the long-wave color light corresponding to the second illumination beam.

[0013] The illumination light source component is a wide-spectrum light source; the microscopic magnified digital image obtained by the microscopic imaging component under the illumination of the illumination light source component is an R / G / B three-channel microscopic magnified digital image containing multiple color component information; in step A, B channel color component data is obtained from the R / G / B three-channel microscopic magnified digital image, which is used as short-wave color component data of the microscopic magnified digital image; in step B, R channel color component data or G channel color component data R / G / B three-channel microscopic magnified digital image is obtained from the R / G / B three-channel microscopic magnified digital image, which is used as long-wave color component data of the microscopic magnified digital image.

[0014] When the magnification of the lens assembly in the microscopic imaging assembly is 40 times, the range of the first speed is: 10 μm / S to 100 μm / S; the range of the second speed is: 0.1 μm / S to 1 μm / S.

[0015] Before step A, step G is further provided. In step G, the microscopic imaging component moves from the original starting position to the first starting position at an initial speed, acquires a sampled microscopically magnified digital image during the movement, and uses the short-wave color component data of the sampled microscopically magnified digital image as a basis for calculating the clarity value to calculate the clarity value of the real-time microscopically magnified digital image; determines whether the difference in clarity values ​​between two consecutive sampled microscopically magnified digital images is greater than a set threshold; if the difference in clarity values ​​between two consecutive sampled microscopically magnified digital images is not greater than the set threshold, the microscopic imaging component continues to move to the first starting position; if the difference in clarity values ​​between two consecutive sampled microscopically magnified digital images is not greater than the set threshold, the microscopic imaging component continues to move to the first starting position; The difference in clarity value of the microscopically magnified digital image is greater than the set threshold value, the microscopic imaging component reaches the first starting position, and step G ends; when the magnification of the lens in the microscopic imaging component is 40 times, the range of the initial speed is: 2142.8μm / S~8571.4μm / S; or in step G, the microscopic imaging component moves a set distance from the original starting position to the first starting position at the initial speed, and the microscopic imaging component reaches the first starting position, and step G ends; when the magnification of the lens in the microscopic imaging component is 40 times, the range of the initial speed is: 2142.8μm / S~8571.4μm / S.

[0016] The first clarity value calculation method uses the Brenner gradient function to calculate the clarity value; the second clarity value calculation method uses the Vollath function to calculate the clarity value.

[0017] The technical solution of the present application to solve the above-mentioned problem can also be a microscopic image acquisition method, comprising the following steps: Step R: select a part of the imaging target area, and divide the imaging target area of ​​the part into N1 primary fields of view; the range size of each primary field of view is set to a different size or the same size, and N1 is a natural number greater than or equal to 2; Step S: divide the imaging target area corresponding to each primary field of view into M2 secondary fields of view; the range size of each secondary field of view is set to a different size or the same size, and M2 is a natural number greater than or equal to 2; Step T: based on the above-mentioned fast focusing method of the microscopic image acquisition device, select any first-level field of view, and quickly focus on the imaging target area corresponding to any secondary field of view in the first-level field of view as the target; Step U: after completing the fast focusing step of step T, obtain a microscopic magnified digital image of the secondary field of view; move the microscopic imaging component horizontally to sequentially obtain microscopic magnified digital images of other secondary fields of view in the selected first-level field of view; Step Step V: Move the microscopic imaging component along the optical axis to return the microscopic imaging component to the first target position; Step W: Move the microscopic imaging component horizontally, select another primary field of view, take the imaging target area corresponding to any secondary field of view in the primary field of view as the target, and move the microscopic imaging component along the optical axis for rapid focusing; when rapidly focusing, adopt step B in the rapid focusing method of the above-mentioned microscopic image acquisition device; or when rapidly focusing, adopt step C in the rapid focusing method of the above-mentioned microscopic image acquisition device; Step X: After completing the rapid focusing step of step W, obtain a microscopically magnified digital image of the secondary field of view; Move the microscopic imaging component horizontally to sequentially obtain microscopically magnified digital images of other secondary fields of view in the selected primary field of view; Step Y: Move the microscopic imaging component along the optical axis to return the microscopic imaging component to the first target position; Step Z: Repeat step W, step X and step Y in sequence until the microscopically magnified digital images of all secondary fields of view of all primary fields of view are obtained.

[0018] The microscopic image acquisition device includes a main controller, a microscopic imaging component, a driving component and an illumination light source component; the imaging target area is arranged between the illumination light source component and the microscopic imaging component; the microscopic imaging component is used to acquire a microscopically enlarged digital image within the imaging target area; the microscopic imaging component is connected to the driving component, and the driving component controls the distance of the microscopic imaging component relative to the imaging target area; the driving component is electrically connected to the main controller, and the driving component receives instructions from the main controller, drives the microscopic imaging component to move along the imaging optical axis, and adjusts the distance of the microscopic imaging component relative to the imaging target area, so that the microscopic imaging component acquires a clear microscopically enlarged digital image; at the same time, the driving component receives instructions from the main controller, drives the microscopic imaging component to move in a two-dimensional plane along the imaging surface, so that the microscopic imaging component acquires microscopically enlarged digital images of different imaging target areas; the microscopic imaging component includes a lens component and a camera component that are combined and move together.

[0019] The size of the imaging target area is 12 mm×14 mm; an area not less than one quarter of the imaging target area is selected and divided into N1 primary fields of view; the microscopic magnification range of the microscopic imaging component is 20 times to 100 times.

[0020] N1 is equal to 16; the value range of M2 is 25 to 54.

[0021] The digital image acquired by the microscopic imaging component contains 3088×2064 pixels; the size of the digital image acquired by the microscopic imaging component is 1.28mm×0.86mm.

[0022] Compared with the prior art, one of the beneficial effects of the present application is that, if the relevant parameters of the microscopic imaging component in the microscopic magnification imaging system are determined, its theoretical focal length is often fixed; however, when light of different wavelengths passes through the microscopic imaging component, due to the refraction of light in the microscopic imaging component, a dispersion effect will be produced, and the dispersion will cause the actual focusing positions of light of different wavelengths in the microscopic magnification imaging system to be different, that is, light of different wavelengths has different focal lengths in the microscopic magnification imaging system, that is, in the same microscopic image acquisition device, the focal length of short-wavelength light in the microscopic magnification imaging system is shorter; the technical solution in the present application cleverly utilizes the above principle, and utilizes at least two different wavelength color component data in the digital image to split the focusing process into two stages. The process is as follows: the first section is from the first starting position to the first target position, and the second section is from the first target position to the second target position; in the first focusing stroke, the short-wavelength color component data is used to calculate the image clarity value, and the image clarity value settlement result is used to determine whether the microscopic imaging component has reached the first target position, and the first target position is the focal position of the short-wavelength light in the microscopic magnification imaging system; in the second focusing stroke, the long-wavelength color component data is used to calculate the image clarity value, and the image clarity value settlement result is used to determine whether the microscopic imaging component has reached the second target position, and the second target position is the focal position of the long-wavelength light in the microscopic magnification imaging system; in the second focusing stroke, the first target position is the starting position.

[0023] Compared with the prior art, the second beneficial effect of the present application is that the distance in the second focusing stroke is the focal length difference of the long-wave color light in the microscopic image acquisition device minus the focal length of the short-wave color light in the microscopic image acquisition device; in the second focusing stroke, the focal length difference of the long-wave color light in the microscopic image acquisition device is directly used, and the first target position is directly used as the starting position, and the distance of the focal length difference is moved to reach the second target position; that is, after completing the first focusing stroke, the distance of the focal length difference is directly moved to reach the second target position; in the second focusing stroke, there is no need to calculate the image clarity value, which greatly improves the calculation efficiency of the focusing process and further improves the focusing efficiency. In addition, in the second focusing stroke, the focal length difference of the long-wave color light in the microscopic image acquisition device is cleverly used to set the distance of the second focusing stroke. The distance is known, which avoids the clarity value calculation process in the process, and further improves the focusing efficiency. Compared with the prior art, the third beneficial technical effect of the present application is that, in the first focusing stroke, as long as the microscopic imaging component moves at a suitable first speed, the risk of overfocusing is very small. Therefore, in the first focusing stroke, the microscopic imaging component can adopt a larger movement speed and quickly move to the first target position; in the second focusing stroke, the first target position is used as the starting position; in an actual microscopic image acquisition device, the distance from the first target position to the second target position is very small; therefore, the microscopic imaging component adopts a second speed to move in the second focusing stroke, and the second speed is less than the first speed; in this way, the first target position can be quickly approached in the first focusing stroke, and after starting at the first target position, the second target position can be approached at a slower second speed, so that the segmented focusing process can be performed more accurately and quickly.

[0024] Compared with the prior art, the fourth beneficial technical effect of the present application is that the lighting source assembly includes a first lighting source assembly and a second lighting source assembly; the first lighting source assembly is used to output a first lighting beam in a first wavelength range; the second lighting source assembly is used to output a second lighting beam in a second wavelength range; or the lighting source assembly outputs the first lighting beam and / or the second lighting beam according to an external instruction. Two light sources with different wavelengths are used for illumination, so that the digital image acquired by the microscopic image acquisition device naturally carries color component information; even if the different wavelength color component data in the digital image is not extracted, the corresponding wavelength color component data in the complete digital image will naturally stand out; that is, at this time, the complete digital image information under the illumination of a single light beam is equivalent to the corresponding color component data extracted under the illumination of mixed light or white light; therefore, the step of the corresponding color component data can be omitted, and the complete digital image information can be directly used for fast focusing; there is no need to extract different color data components from the digital image information, and the obtained digital image information can be directly used to judge the clarity value of the single wavelength data, so that it can more quickly judge whether the current position of the microscopic imaging assembly is close to the imaging target focus position. Since the first illumination light source component itself is a single wavelength light source, it is only necessary to directly use the digital image information to calculate and determine the clarity value. Compared with using all color components to calculate the digital image clarity value, it not only reduces the amount of calculation of the digital image clarity value, but also avoids the process of extracting different color data components; thus, it can speed up the focusing process, thereby delivering the microscopic imaging component to the target position more quickly.

[0025] Compared with the prior art, the fifth beneficial technical effect of the present application is that the first illumination beam is blue light, and the first central wavelength range is 455nm (nanometers) to 492nm, which is conventionally classified as blue light; or the wavelength range of the first light source output is 380nm to 440nm, which is conventionally classified as purple light; calculated by the magnification factor F, the focal length of the blue light and the purple light is assumed to be Pd1, and the focal length of the mixed light or the white light is assumed to be Bd1; then the microscopic imaging component can be moved at a first speed between the first starting position and the first target position; the microscopic imaging component can be moved at a second speed between the first target position and the second target position; the distance difference between the first target position and the second target position is theoretically Bd1-Pd1; that is, a segmented method can be adopted to move the microscopic imaging component at different speeds in different intervals and obtain corresponding real-time microscopic magnified digital images; the amount of data for real-time microscopic magnified digital image acquisition and calculation in the process can be reduced.

[0026] If the method of approaching the target focal length in segments is not used, a fast approach speed can be used near the first starting position to approach the target focal length; however, when approaching the target focal length, it requires a process of learning and trial and error to determine what adjustment speed to use to approach the target focal length; if the speed is too fast, it is easy to overfocus, requiring repeated adjustments, and it is easy to oscillate and adjust near the target focal length; if the speed is too slow, then the speed of approaching the target focal length is relatively slow. In the technical solution of the present application, since the difference between the focal length Rd1 of the first wavelength and the focal length Rd2 of the second wavelength is usually in the range of 2.1μm to 3.5μm; therefore, a faster speed can be used to approach from the focusing start position to the focal length Rd1 of the first wavelength without the risk of overfocusing in the process; and in the process of approaching the target focus, since the difference between the focal length Rd1 of the first wavelength and the focal length Rd2 of the second wavelength is usually in the range of um level, the second speed can be adjusted to a more suitable size within this range to get close to the target focus; not only can the second speed be adjusted to a smaller range, but it can also quickly and accurately approach the target focus, reducing the risk of overfocusing and avoiding the oscillating focusing process near the target focus.

[0027] Compared with the prior art, the sixth beneficial technical effect of the present application is that the range of the first speed is: 10μm / S~100μm / S; the range of the second speed is: 0.1μm / S~1μm / S; the difference between the first speed and the second speed is more than ten times, and the focusing process of phased movement in a nonlinear manner is very suitable for fast focusing in microscopic magnification scenarios. Such a focusing process can better reflect the advantage of fast focusing in scenarios with higher microscopic magnification.

[0028] Compared with the prior art, the seventh beneficial technical effect of the present application is that step G is set before step A, and a sampled microscopic magnified digital image is obtained when the microscopic imaging component moves from the original starting position to the first starting position at the initial speed, so that in the initial pre-focusing stage, it can approach the first starting position faster, thereby accelerating the entire focusing process.

[0029] Compared with the prior art, the eighth beneficial technical effect of the present application is to use two methods for calculating clarity values, that is, to use the hyperbola method for focusing; the overlapping interval of the two algorithms is used as the clarity value judgment interval, which can more accurately determine the correct focus position; it avoids the situation when one algorithm is used to calculate the clarity value, which is easily affected by noise and causes misjudgment of the focus interval; more importantly, it avoids the lag effect in the focusing process of a single algorithm; that is, when a single algorithm is used for focusing, a return trip is required to return to the focus position, which easily brings the spacing error of the moving parts of the return trip into the focusing process, causing oscillation adjustment near the focus. When the two algorithms in the present application are used to calculate the clarity value, and the product of the clarity value change values ​​of the two algorithms and the second clarity value change value is taken as the basis for judgment, the above problems are avoided.

[0030] In the real-time focusing algorithm of the prior art, the position point corresponding to the microscopic imaging component at the moment when the change in clarity value is the smallest is usually used as the focus. When only one method of calculating the clarity value is used, the algorithm will have a certain lag effect, that is, when the point with the smallest change in clarity value is calculated, the microscopic imaging component has often moved to the next position of the focus position. At this time, it is necessary to adjust back one step to return to the focus position; in the microscopic image acquisition device, the adjustment of the microscopic imaging component is very precise. The larger the microscope magnification, the higher the precision requirement for the distance adjusted in each step. When the microscopic imaging component moves along the light When the axis direction is adjusted in one direction, the precision gradient of each step can be guaranteed; however, when the position of the microscopic imaging component needs to be adjusted in the opposite direction, due to the accumulation of the error of the previous positive movement distance, when the reverse direction is called back, such accumulated error will offset part of the step length of the adjustment back. Due to the uncertainty of the accumulated error distance, the distance of the callback is also uncertain. If the distance of the adjustment back is too small, it cannot return to the focus position, and it is still in the over-focus position after the callback. If the adjustment back is too large, it returns to the under-focus position before the focus. The uncertainty of the accumulated error makes it very easy for fine-tuning near the focus to oscillate back and forth, which makes focusing very time-consuming.

[0031] Compared with the prior art, the ninth beneficial technical effect of the present application is that a wide spectrum light source is used to illuminate the microscopic magnification area, so that the microscopic image acquisition device can obtain rich color image data; based on the microscopic imaging principle that short-wavelength light has a shorter focal length than long-wavelength light in the microscopic magnification imaging system, and cleverly using the color data components of different channels in the digitized image, the short-wave color data is extracted to judge the clarity value, which can more quickly judge whether the current position of the microscopic imaging component is close to the imaging target focus position. Since only the short-wave color data is needed to calculate the clarity value of the digitized image, compared with using all color components to calculate the clarity value of the digitized image, the amount of calculation of the clarity value is greatly reduced; thus, the first focusing speed can be accelerated, so that the microscopic imaging component can be delivered to the first position more quickly.

[0032] Compared with the prior art, the tenth beneficial technical effect of the present application is that the imaging target area is graded and divided by using the secondary field of view, so that the area size of the secondary field of view matches the imaging field of view and the magnification of the camera component; each primary field of view can be quickly focused separately, while each secondary field of view in each primary field of view is not focused separately; the focus plane of the secondary field of view in the central area is used to quickly acquire microscopically enlarged digital images of all secondary fields of view under the same primary field of view, eliminating the focusing process of each secondary field of view; each primary field of view can be quickly focused separately, which can well solve the image focusing quality problem caused by the focusing plane deviation caused by the flatness of the imaging target area and the movement of the microscopic imaging component, and ensure that each primary field of view can quickly acquire a clear microscopically enlarged digital image on the accurate focal plane; it not only ensures the matching of the imaging area size and the camera field of view, but also takes into account the focusing efficiency; in this way, a low-cost ordinary camera can also be used to complete the rapid acquisition of microscopically enlarged digital images of all target areas. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a schematic block diagram of a microscopic image acquisition device;

[0034] Figure 2 It is a schematic diagram of the composition of the optical related parts in the microscopic image acquisition device;

[0035] Figure 3 is a schematic diagram of the wavelengths of three colors of light. Figure 3 The three curves from left to right in the figure are schematic diagrams of the wavelength ranges of the three monochromatic lights: blue, green and red;

[0036] Figure 4 is a schematic diagram of a mixed light based on blue, green and red three-color light; the mixed light in this application can be Figure 4 Any mixed light can be used as long as the central wavelength of the mixed light is smaller than the wavelength of the short-wave color;

[0037] Figure 5 Schematic diagram of the focal lengths of two different central wavelengths of light under the same lens assembly; Rd1 is the focal length of short-wave light; Rd2 is the focal length of long-wave light; reference numeral 610 is a lens assembly;

[0038] Figure 6 is a schematic diagram of the moving position of the microscopic imaging component;

[0039] Figure 7 It is a schematic diagram of the process of movement of the microscopic imaging component;

[0040] Figure 8 is a detailed schematic diagram of a process of moving a microscopic imaging assembly from a first starting position to a first target position;

[0041] Fig. 9 is a detailed schematic diagram of the process of moving the microscopic imaging assembly from a first target position to a second target position;

[0042] Fig.10 is another schematic diagram of a process of moving a microscopic imaging assembly from a first target position to a second target position;

[0043] Fig.11 This is one of the schematic diagrams of the clarity value calculation process during the focusing process; the horizontal axis in the figure is the distance between the microscopic imaging component and the imaging target area, that is, the sampling time axis, and the vertical axis is the clarity value; Fig.11 The curve on the left is the Brenner gradient function used to calculate the clarity value curve, referred to as the B curve; the curve on the right is the Vollath function used to calculate the clarity value curve, referred to as the V curve;

[0044] Fig.12 This is the second schematic diagram of the clarity value calculation process during focusing. Fig.11 A local enlarged schematic diagram near the vertical axis;

[0045] Fig.13 1 is a schematic diagram of the imaging target area; in the figure, reference numeral 100 is the imaging target area, including the chip base carrying the cell suspension; reference numeral 200 is the cell suspension tiling area, and reference numeral 300 is the selected primary field of view target imaging area;

[0046] Fig.14 It is a schematic diagram of the primary field of view of the imaging target area; Fig.13 The primary field of view target imaging area 300 is divided into 16 primary fields of view 310;

[0047] Fig.15Schematic diagram of the hierarchical field of view of the imaging target area; in the figure, the first-level field of view target imaging area 300 is divided into 16 first-level fields of view 310; one of the first-level fields of view 310 is further divided into 25 second-level fields of view 510;

[0048] Fig.16 yes Fig.15 A partial enlarged view of a primary field of view, wherein the primary field of view is divided into 25 secondary fields of view 510;

[0049] Fig.17 is a schematic flow chart of a method for acquiring a microscopic image;

[0050] Fig.18 and Fig.19 are two microscopic magnified digital images used for calculating the clarity value in step A;

[0051] Fig. 20 and Fig.21 These are the two microscopic magnified digital images used in step B to calculate the clarity value. DETAILED DESCRIPTION

[0052] The implementation methods of the present application are further described in detail below in conjunction with the accompanying drawings.

[0053] like Figure 1 and Figure 2 In an embodiment of a microscopic image acquisition device shown, it includes a main controller, a microscopic imaging component, a driving component and an illumination light source component; the imaging target area is arranged between the illumination light source component and the microscopic imaging component; the microscopic imaging component is used to acquire a microscopically magnified digital image of the imaging target area; the microscopic imaging component is connected to the driving component, and the driving component controls the distance of the microscopic imaging component relative to the imaging target area; the driving component is electrically connected to the main controller, and the driving component receives instructions from the main controller to drive the microscopic imaging component to move along the imaging optical axis and adjust the distance of the microscopic imaging component relative to the imaging target area so that the microscopic imaging component acquires a clear microscopically magnified digital image; the microscopic imaging component includes a lens component and a camera component that are combined together and move together.

[0054] Figure 2In the figure, reference numeral 600 is a microscopic imaging assembly, reference numeral 620 is a camera assembly, reference numeral 610 is a lens assembly; reference numeral 100 is a target imaging area; reference numeral 700 is an illumination light source assembly; lens assembly 610 is disposed above the imaging target area and is used to form a microscopic magnified image of the imaging target area; camera assembly 620 is used to obtain digital image information of the microscopic magnified image. Illumination light source assembly 700 can output at least two illumination beams for illumination of the imaging target area according to the control instruction given by the main controller, a first illumination beam and a second illumination beam; the first illumination beam is a beam of a first central wavelength; the second illumination beam is a beam of a second central wavelength; the first central wavelength is smaller than the second central wavelength.

[0055] like Figure 5 As shown in FIG. 1 , it is a schematic diagram of the focal lengths of two different central wavelengths of light under the same lens assembly; Rd1 is the focal length of short-wave light; Rd2 is the focal length of long-wave light; reference numeral 610 is a lens assembly; Figure 5 It can be seen that under the same lens component, the longer the wavelength of light, the greater its focal length. Figures 6 to 10 As shown, in an embodiment of a method for fast focusing of a microscopic image acquisition device, step G, step A and step B are included. In another embodiment of a method for fast focusing of a microscopic image acquisition device, only step A and step B may be included. Step G is provided before step A, in which the microscopic imaging component moves from the original starting position to the first starting position at an initial speed, and a sampled microscopically enlarged digital image is acquired during the movement, and the short-wave color component data of the sampled microscopically enlarged digital image is used as a basis for calculating the clarity value to calculate the clarity value of the real-time microscopically enlarged digital image; it is determined that the difference in clarity values ​​of two consecutive sampled microscopically enlarged digital images is greater than the set clarity value difference; if the difference in clarity values ​​of two consecutive sampled microscopically enlarged digital images is not greater than the set clarity value difference, the microscopic imaging component continues to move to the first starting position; if the difference in clarity values ​​of two consecutive sampled microscopically enlarged digital images is greater than the set clarity value difference, the microscopic imaging component reaches the first starting position, and step G ends.

[0056] Step A: During the process of the microscopic imaging component moving from the first starting position to the first target position, the microscopic imaging component moves toward the first target position at a first speed, and during the movement, a real-time microscopically magnified digital image is acquired, and the short-wave color component data of the real-time microscopically magnified digital image is used as a basis for calculating the clarity value, and the clarity value of the real-time microscopically magnified digital image is calculated to determine whether the clarity value of the real-time microscopically magnified digital image falls within a set first clarity value range. If the clarity value of the real-time microscopically magnified digital image reaches the set first clarity value range, the microscopic imaging component reaches the first target position.

[0057] In step A: when calculating the clarity value, a clarity value calculation method is used to obtain the clarity value change value of the two microscopically enlarged digital images at the set interval; when the clarity value change value is greater than or equal to the set threshold, it is determined that the clarity value of the real-time microscopically enlarged digital image at this moment falls within the set first clarity value range. When calculating the clarity value at this time, any clarity value algorithm in the prior art can be used, or any one of the first clarity value calculation method and the second clarity value calculation method as in step B can be used; using the first clarity value calculation method, the first clarity value change value of the two microscopically enlarged digital images at the set interval is obtained; or using the second clarity value calculation method, the second clarity value change value of the two microscopically enlarged digital images at the set interval is obtained; when any one of the first clarity value change value or the second clarity value change value or both are greater than or equal to the set threshold, it is determined that the clarity value of the real-time microscopically enlarged digital image at this moment falls within the set first clarity value range.

[0058] In the specific Fig.18 and Fig.19 In the embodiment shown, the two microscopically magnified digital images are T1 and T2 respectively; based on the grayscale value, the clarity values ​​are calculated using the B function and the V function respectively; regardless of the B function or the V function, the clearer the image, the greater the clarity value; the clarity values ​​of the V function are Tv1=-1039 and Tv2=699 respectively, and the clarity value change value △Tv=Tv2-Tv1=1738; the clarity values ​​of the B function are Tb1=5482 and Tb2=10012 respectively, and the clarity value change value is △Tb=Tb2-Tb1=4530. When △Tv≥3000, or △Tb≥3000, that is, any one of the clarity value changes reaches the predetermined threshold range, or both clarity value changes reach the predetermined threshold range, it is considered that the clarity value of the real-time micro-magnified digital image has fallen into the set first clarity value range; it is judged that the initial position of fine focus is found, that is, the microscopic imaging component reaches the first target position at this time; the coarse focus is completed, and the fine focus process will be started next to find the latest clear focal plane. The first clarity value range is set by selecting the corresponding threshold range of any one of the clarity value calculation functions. The predetermined threshold range can be adjusted according to different clarity calculation methods and actual application scenarios. Only the case where the clarity value change △Tb or the clarity value change △Tv is greater than zero is taken to avoid the influence of clarity fluctuations caused by some interference factors in the process on clarity judgment.

[0059] like Figure 8As shown, step A includes: step A1: the main controller controls the driving component to drive the microscopic imaging component to move at a first speed. During the movement, the microscopic imaging component obtains a first sequence of real-time microscopic magnified digital images at the first imaging speed; step A2: obtaining short-wave color component data of the first sequence of real-time microscopic magnified digital images; step A3: using the short-wave color component data of the first sequence of real-time microscopic magnified digital images obtained in step A2 as a basis for calculating the clarity value, calculating whether the clarity value of the real-time microscopic magnified digital image meets the set first clarity value range, if not falling into the set first clarity value range, returning to step A1, until the clarity value of the real-time microscopic magnified digital image falls into the set first clarity value range, that is, when the microscopic imaging component reaches the first target position, step A is terminated.

[0060] Step B: in the process of the microscopic imaging component moving from the first target position to the second target position, the microscopic imaging component moves toward the second target position at a second speed, and in the process of moving, a real-time microscopically magnified digital image is obtained, and the long-wave color component data of the real-time microscopically magnified digital image is used as a basis for calculating the clarity value, and the clarity value of the real-time microscopically magnified digital image is calculated, and it is determined whether the clarity value of the real-time microscopically magnified digital image falls within a set second clarity value range. If the clarity value of the real-time microscopically magnified digital image falls within the set second clarity value range, the microscopic imaging component reaches the second target position at this time; the second speed at which the microscopic imaging component moves is less than the first speed at which the microscopic imaging component moves.

[0061] like Fig. 9 As shown, step B includes: step B1: the main controller controls the driving component to drive the microscopic imaging component to move at a second speed. During the movement, the microscopic imaging component obtains a second sequence of real-time microscopic magnified digital images at the second imaging speed; step B2: obtaining long-wave color component data of the second sequence of real-time microscopic magnified digital images; step B3: using the long-wave color component data of the second sequence of real-time microscopic magnified digital images obtained in step B2 as a basis for calculating the clarity value of the microscopic magnified digital image, calculating whether the clarity value of the real-time microscopic magnified digital image meets the set second clarity value range, and if it falls within the set second clarity value range, returning to step B1 until the clarity value of the real-time microscopic magnified digital image falls within the set second clarity value range, that is, when the microscopic imaging component reaches the second target position, step B is terminated.

[0062] In some embodiments not shown in the drawings, the illumination light source assembly includes a first illumination light source assembly and a second illumination light source assembly; the first illumination light source assembly is used to output a first illumination light beam in a first wavelength range; the second illumination light source assembly is used to output a second illumination light beam in a second wavelength range. The illumination light source assembly can output at least two illumination light beams for illumination of the imaging target area, the first illumination light beam and the second illumination light beam; the first illumination light beam is a light beam of a first central wavelength; the second illumination light beam is a light beam of a second central wavelength; the first central wavelength is smaller than the second central wavelength; in step A, the microscopically magnified digital image data obtained by the microscopic imaging assembly under the irradiation of the first illumination light beam is used as the short-wave color component data of the microscopically magnified digital image; in step B, the microscopically magnified digital image data obtained by the microscopic imaging assembly under the irradiation of the second illumination light beam is used as the long-wave color component data of the microscopically magnified digital image.

[0063] In some embodiments not shown in the drawings, the illumination light source assembly 700 can also emit more kinds of illumination light beams, such as Figure 3 The three colors of red, green and blue are shown as illumination beams; Figure 4 The color mixing schematic diagram shown correspondingly demonstrates that the lighting source assembly 700 can also control whether the three colors of red, green and blue lighting beams are output simultaneously to obtain a mixed beam of the target color according to the control instructions from the main controller.

[0064] In some embodiments not shown in the drawings, the first illumination beam is blue light, and the first central wavelength range is 455nm~492nm; the second illumination beam is red light, and the second central wavelength range is 622nm~780nm; or the second illumination beam is green light, and the second central wavelength range is 492~577nm; or the second illumination beam is mixed light.

[0065] In some embodiments not shown in the drawings, the first illumination beam is purple light, and the first central wavelength range is 380nm to 440nm; the second illumination beam is red light, and the second central wavelength range is 622nm to 780nm; or the second illumination beam is green light, and the second central wavelength range is 492nm to 577nm; or the second illumination beam is mixed light.

[0066] In some embodiments not shown in the accompanying drawings, the illumination light source component is a wide-spectrum light source; the microscopically enlarged digital image acquired by the microscopic imaging component under the illumination of the illumination light source component is an R / G / B three-channel microscopically enlarged digital image containing multiple color component information; in step A, B channel color component data is acquired from the R / G / B three-channel microscopically enlarged digital image and used as short-wave color component data of the microscopically enlarged digital image; in step B, R channel color component data or G channel color component data R / G / B three-channel microscopically enlarged digital image is acquired from the R / G / B three-channel microscopically enlarged digital image and used as long-wave color component data of the microscopically enlarged digital image.

[0067] In some embodiments not shown in the drawings, the magnification of the lens assembly in the microscopic imaging assembly ranges from 20 times to 100 times. When the magnification of the lens in the microscopic imaging assembly is 40 times, the initial speed ranges from 2142.8 μm / S to 8571.4 μm / S (micrometers per second); the first speed ranges from 10 μm / S to 100 μm / S; the second speed ranges from 0.1 μm / S to 1 μm / S. The first speed and the second speed can be fixed speeds or variable speeds; that is, the first speed or the second speed can be a continuously variable speed; of course, the first speed or the second speed can also be a fixed speed.

[0068] In some embodiments of the fast focusing method for a microscopic image acquisition device not shown in the accompanying drawings, in step B: when calculating the clarity value, two different clarity value calculation methods are used, namely a first clarity value calculation method and a second clarity value calculation method; using the first clarity value calculation method, a first clarity value change value of two microscopically magnified digital images at a set interval is obtained; using the second clarity value calculation method, a second clarity value change value of the two microscopically magnified digital images at the set interval is obtained; when the product of the first clarity value change value and the second clarity value change value is negative, it is determined that the clarity value of the real-time microscopically magnified digital image at that moment falls within the set first clarity value range or the set second clarity value range.

[0069] like Fig.11 and Fig.12As shown, the curve on the left of the figure is the curve obtained by calculating the clarity value using the Brenner gradient function in the first clarity value calculation method; the curve on the right of the figure is the curve obtained by calculating the clarity value using the Vollath function in the second clarity value calculation method. For the microscopic image acquisition device, when the focus plane is directly facing, the acquired image details are the richest, which is manifested in that the adjacent eigenvalues ​​change greatly in grayscale value; the image pixels in the defocused state overlap with each other, the imaging contour is smooth, the details are partially lost, and the image is blurred, which is manifested in that the adjacent eigenvalues ​​change less in grayscale value. In the process of the image changing from blurry to clear, the adjacent grayscale values ​​change from small to large and then to small, and "climb" to the top of the mountain and then "go downhill". Using these image characteristics, the clarity value is evaluated based on the grayscale value change gradient of the image pixels. That is, the peak point of the grayscale value can be used to judge whether the clarity value is optimal.

[0070] The first definition value change value and the second definition value change value may be the definition value difference between two consecutive pictures, or the definition value difference between two pictures at a set interval. Both the two pictures are microscopically magnified digital images obtained by the microscopic imaging component.

[0071] For different clarity value algorithms, the set thresholds corresponding to the absolute values ​​of the first clarity value change value and the second clarity value change value may be different. In different focusing stages, the set thresholds corresponding to the absolute values ​​of the first clarity value change value and the second clarity value change value may be different. The range of the set threshold in the shortwave focusing process of the first stage can be wider. The range of the set threshold in the focusing process of the second stage can be narrower, that is, the clarity value requirement is higher. Requiring that the absolute value of the first clarity value change value and the absolute value of the second clarity value change value are both greater than or equal to the set threshold, reduces the influence of noise and disturbance in the clarity value calculation, and avoids some fearless oscillations and pseudo-focus planes.

[0072] In some embodiments not shown in the drawings, the first definition value calculation method uses the Brenner gradient function to calculate the definition value; the second definition value calculation method uses the Vollath function to calculate the definition value. The calculation formula using the Brenner gradient function is: D(f) = ∑ y ∑ x |f(x+2,y)-f(x,y)| 2 ; Where f(x, y) represents the grayscale value of the pixel (x, y) corresponding to image f, and D(f) is the result of the image clarity calculation. The calculation formula using the Vollath function is: D(f) = ∑ y ∑ x f(x, y)*f(x+1, y)-M*N*μ 2; where μ is the average grayscale value of the entire image, and M and N are the image width and height, respectively. Of course, in some embodiments not shown, other algorithms may also be used to calculate and evaluate the clarity value.

[0073] like Fig.11 and Fig.12 , which is a schematic diagram of the calculation process of two clarity value algorithms; the ordinate is the clarity value, and the abscissa is the distance between the microscopic imaging component and the imaging target area; Fig.11 The curve on the left is the B curve, which is abbreviated as the clarity value curve calculated by the Brenner gradient function; the curve on the right is the V curve, which is abbreviated as the clarity value curve calculated by the Vollath function; the BP line is located at the peak point of the B curve, at which time it is considered that the distance between the microscopic imaging component and the imaging target area is such that the imaging target area is within the depth of field corresponding to the focal length, that is, finding the BP point means that the focus between the microscopic imaging component and the imaging target area is completed; the VP line is located at the peak point of the V curve; at this time, it is considered that the distance between the microscopic imaging component and the imaging target area is such that the imaging target area is within the depth of field corresponding to the focal length, that is, finding the VP point means that the focus between the microscopic imaging component and the imaging target area is completed.

[0074] However, in practical applications, if a single clarity value calculation algorithm is used, when finding the peak of a curve, the microscope imaging component has often moved forward a certain distance, so it often stays at the current position. When the step length of the microscope imaging component moving forward is appropriate, the current position is also within the depth of field range of the current focal length; if the step length of the microscope imaging component moving forward is long, overfocus will occur and it needs to be adjusted back; however, when adjusting back, since the initial stage usually moves in one direction, the travel error is accumulated in this direction; the callback process has a lot of uncertainty due to the influence of the accumulated error, which may cause the risk of overfocus and underfocus; this will cause repeated adjustments and oscillations near the focus, wasting adjustment time.

[0075] Furthermore, when the microscopic imaging component and the imaging target area are far apart, that is, at the starting stage of the B curve or the V curve; and when the microscopic imaging component and the imaging target area are close to each other, that is, at the peak stage of the B curve or the V curve, the numerical change amplitude of the clarity value is often relatively small. In these stages, if affected by external noise or noise in the digital image processing process, some small peak disturbances are likely to occur in these platform periods. Using the peak or inflection point of a single curve for judgment may result in some misjudgment.

[0076] Fig.12 yes Fig.11A local enlarged view of the starting position close to the vertical axis shows that in the initial stage, there are some small peak points on the B curve or the V curve that are prone to cause interference and misjudgment. In the present application, two algorithms are used to calculate the corresponding clarity value change values ​​under the two algorithms, namely the first clarity value change value and the second clarity value change value. When the first clarity value change value and the second clarity value change value are both greater than or equal to the set threshold, and the product of the first clarity value change value and the second clarity value change value is negative, it is determined that the clarity value of the real-time microscopically magnified digital image at that moment falls within the set first clarity value range or the set second clarity value range. Setting the condition that the first clarity value change value and the second clarity value change value are both greater than or equal to the set threshold can avoid Fig.12 Such a small disturbance.

[0077] Step B is followed by step D: the microscopic imaging component moves a set distance from the second target position to the third target position at a third speed. The set distance can be an empirical value. That is, after the hyperbolic focus finds the interval between the BP line and the VP line, especially when the threshold value for setting the clarity value is relatively wide, the empirical distance can be moved forward from the second target position to obtain a clearer focus position, and the empirical distance is less than the distance between the BP line and the VP line, or the empirical distance is less than half of the distance between the BP line and the VP line. In actual operation, in order to avoid shock caused by overfocus, a more conservative threshold for setting the clarity value is usually selected, so it is preferred to be underfocused, so after reaching the second target position, it can continue to move an empirical distance. The empirical distance will also be within the allowable depth of field of the microscopic imaging component.

[0078] like Fig.11 The depth of field range corresponding to the focal length is locked between the BP line and the VP line in the image. This algorithm, on the one hand, avoids the problem that the single curve focus search is easily affected by noise, and on the other hand, it also avoids the problem of return adjustment. It only needs to fall into the range where the target focus is located, rather than seeking a single peak point of the clarity value. Although the calculation formulas and applied data of the two clarity value calculation methods are different, the general trend of the result judgment of the clarity value is consistent, but at the same time there are some differences, which can also eliminate the influence of some random errors, making the clarity value calculation more inclusive and more suitable for rapid focusing in the process of obtaining microscopic magnified digital images.

[0079] Specifically, in one embodiment, the microscopic imaging component moves downward according to a set step length driven by a motor, and takes a picture every time it moves a step length, thereby obtaining multiple microscopically magnified digital images; two microscopically magnified digital images that are adjacent or have a set interval are selected.

[0080] like Fig. 20 and Fig.21These are two microscopically magnified digital images used for clarity value calculation in step B. The two microscopically magnified digital images are T3 and T4 respectively; their clarity values ​​are calculated using grayscale values ​​using B function and V function respectively; the clarity values ​​of the V function are Tv3 and Tv4 respectively, and the clarity value change value △Tv=Tv4-Tv3; the clarity values ​​of the B function are Tb3 and Tb4 respectively, and the clarity value change value is △Tb=Tb4-Tb3. The clarity values ​​of the two microscopically magnified digital images are calculated synchronously using Vollath function and Brenner gradient function.

[0081] right Fig. 20 , the clarity value calculated by Brenner function is Tb3=11082, and the clarity value calculated by Vollath function is Tv3=54740. Fig.21 , the clarity value calculated by Brenner function is Tb4=16157, and the clarity value calculated by Vollath function is Tv4=49831. △Tb=Tb4-Tb3=5075; △Tv=Tv4-Tv3=-4909; △Tb×△Tv<0; that is Fig.21 The clarity value calculated by the Brenner function is subtracted Fig. 20 The sign of the sharpness value calculated by the Brenner function is Fig.21 The clarity value calculated by the Vollath function is subtracted Fig. 20 When the sign of the clarity value calculated by the Vollath function is opposite, that is, when the change direction of the clarity value of the Brenner function is opposite to that of the Vollath function, it is considered that the clarity value of the real-time microscopic magnified digital image falls into the second clarity value range. At this time, it is determined that the precise focus plane is found, and the focus is stopped and the photo is taken. The hyperbola, that is, the two clarity value calculation functions, can participate in the calculation and judgment at the same time, which can filter out the misrecognition caused by the gray value oscillation during the climbing process, and misjudge the small clarity value disturbance as the maximum gray value, that is, the clearest position.

[0082] like Figures 6 to 8 as well as Fig.10 As shown, in another embodiment of a fast focusing method for a microscope image acquisition device, step A and step C are included.

[0083] Step A: During the process of the microscopic imaging component moving from the first starting position to the first target position, the microscopic imaging component moves toward the first target position at a first speed, and during the movement, a real-time microscopically magnified digital image is acquired, and the short-wave color component data of the real-time microscopically magnified digital image is used as a basis for calculating the clarity value, and the clarity value of the real-time microscopically magnified digital image is calculated to determine whether the clarity value of the real-time microscopically magnified digital image falls within a set first clarity value range. If the clarity value of the real-time microscopically magnified digital image reaches the set first clarity value range, the microscopic imaging component reaches the first target position.

[0084] Step C: the microscopic imaging component moves at a second speed from the first target position to a first distance to reach a second target position; the second target position of the microscopic imaging component corresponds to the focus position of the long-wave color light in the microscopic image acquisition device; the first distance is the focal length difference, which is the focal length difference of the long-wave color light in the microscopic image acquisition device minus the focal length of the short-wave color light in the microscopic image acquisition device; the second speed is less than the first speed.

[0085] Step A includes: step A1: the main controller controls the driving component to drive the microscopic imaging component to move at a first speed. During the movement, the microscopic imaging component obtains a first sequence of real-time microscopic magnified digital images at the first imaging speed; step A2: obtaining short-wave color component data of the first sequence of real-time microscopic magnified digital images; step A3: using the short-wave color component data of the first sequence of real-time microscopic magnified digital images obtained in step A2 as a basis for calculating the clarity value, calculating whether the clarity value of the real-time microscopic magnified digital image meets the set first clarity value range, if it does not fall within the set first clarity value range, returning to step A1 until the clarity value of the real-time microscopic magnified digital image falls within the set first clarity value range, that is, when the microscopic imaging component reaches the first target position, step A is terminated.

[0086] The illumination light source component in the microscopic image acquisition device is a wide-spectrum light source; the microscopic magnified digital image acquired by the microscopic imaging component under the illumination of the illumination light source component is an R / G / B three-channel microscopic magnified digital image containing multiple color component information; in step A, B channel color component data is acquired from the R / G / B three-channel microscopic magnified digital image and used as short-wave color component data of the microscopic magnified digital image.

[0087] Or based on the illumination light source assembly in the microscopic image acquisition device, the illumination light source assembly can output at least two illumination light beams for illuminating the imaging target area, the first illumination light beam and the second illumination light beam; the first illumination light beam is a light beam with a first central wavelength; the second illumination light beam is a light beam with a second central wavelength; the first central wavelength is smaller than the second central wavelength; in step A, the microscopically magnified digital image data acquired by the microscopic imaging assembly under the irradiation of the first illumination light beam is used as the short-wave color component data of the microscopically magnified digital image; in step C, the second target position of the microscopic imaging assembly is the focusing position of the microscopic image acquisition device corresponding to the long-wave color light corresponding to the second illumination light beam.

[0088] like Fig.17 In an embodiment of a microscopic image acquisition method shown, the following steps are included: step R: select a part of the imaging target area, and divide the imaging target area of ​​the part into N1 primary fields of view; the range size of each primary field of view is set to a different size or the same size, and N1 is a natural number greater than or equal to 2; step S: divide the imaging target area corresponding to each primary field of view into M2 secondary fields of view; the range size of each secondary field of view is set to a different size or the same size, and M2 is a natural number greater than or equal to 2; step T: based on the above-mentioned fast focusing method of the microscopic image acquisition device, select any first-level field of view, and quickly focus on the imaging target area corresponding to the most central secondary field of view in the first-level field of view; step U: after completing the fast focusing step of step T, obtain a microscopic magnified digital image of the secondary field of view; horizontally move the microscopic imaging component to sequentially obtain microscopic magnified digital images of other secondary fields of view in the selected first-level field of view; step V: along the optical axis Step W: horizontally move the microscopic imaging component, select another primary field of view, take the imaging target area corresponding to the most central secondary field of view in the primary field of view as the target, and move the microscopic imaging component along the optical axis direction for rapid focusing; when rapidly focusing, adopt step B in the rapid focusing method of the above-mentioned microscopic image acquisition device; or when rapidly focusing, adopt step C in the rapid focusing method of the above-mentioned microscopic image acquisition device; Step X: after completing the rapid focusing step of step W, obtain a microscopically magnified digital image of the secondary field of view; horizontally move the microscopic imaging component, and sequentially obtain microscopically magnified digital images of other secondary fields of view in the selected primary field of view; Step Y: move the microscopic imaging component along the optical axis direction, and return the microscopic imaging component to the first target position; Step Z: repeat step W, step X and step Y in sequence until the microscopically magnified digital images of all secondary fields of view of all primary fields of view are obtained.

[0089] In an embodiment of a microscopic image acquisition method, the size of the imaging target area is 12mm×14mm; a quarter of the imaging target area is selected and divided into 16 primary fields of view; the microscopic magnification range of the microscopic imaging component is 40 times. The value range of M2 is between 25 and 54. In a specific embodiment, M2 can be 25; N1 is 15. In the microscopic image acquisition method, the number of pixels contained in the digital image acquired by the microscopic imaging component is 3088×2064; the size of the digital image acquired by the microscopic imaging component is 1.28mm×0.86mm. The secondary field of view of each field of view is imaged for 15 primary fields of view. If a secondary field of view is divided into 25 secondary fields of view, a total of 15×25=375 microscopically enlarged digital images are generated; if a secondary field of view is divided into 25 secondary fields of view, a total of 15×25=375 microscopically enlarged digital images are generated; if a secondary field of view is divided into 54 secondary fields of view, a total of 15×54=810 microscopically enlarged digital images are generated.

[0090] The microscopic image acquisition device, method and rapid focusing method thereof include a two-stage focusing process; namely, a first-stage short-wave focusing process based on short-wave color component data, if the clarity value of the real-time microscopically magnified digital image reaches the set first clarity value range, the microscopic imaging component reaches the first target position; a second-stage focusing process based on long-wave color component data, or a second-stage focusing process directly moving to the target position by the focal length difference, if the clarity value of the real-time microscopically magnified digital image falls into the set second clarity value range, the microscopic imaging component reaches the second target position, and the rapid focusing process is completed. Rapid focusing in stages can complete the focusing process faster and more accurately.

[0091] Based on the principle that light of different wavelengths has different focal lengths in a microscopic magnification imaging system, that is, in the same microscopic image acquisition device, the focal length of short-wavelength light in the microscopic magnification imaging system is shorter; at least two different wavelength color component data in the digital image are cleverly used to split the focusing process into two sections; from the first starting position to the first target position is the first section, and from the first target position to the second target position is the second section; in the first focusing stroke, the short-wavelength color component data is used to calculate the image clarity value, and the image clarity value settlement result is used to determine whether the microscopic imaging component has reached the first target position, and the first target position is the focal length position of the short-wavelength light in the microscopic magnification imaging system; in the second focusing stroke, the long-wavelength color component data is used to calculate the image clarity value, and the image clarity value settlement result is used to determine whether the microscopic imaging component has reached the second target position, and the second target position is the focal length position of the long-wavelength light in the microscopic magnification imaging system; in the second focusing stroke, the first target position is used as the starting position. When the characteristics of the optical system, i.e. the microscopic imaging component composed of the lens component and the camera component, remain unchanged, a short-wavelength light source (such as blue light, purple light, etc.) is selected to focus, and then a fixed physical distance is walked to find the focus plane under white light; this can effectively avoid the travel error caused by the need to return when the product is focused in the longitudinal direction; after focusing at a short wavelength, the distance moved for focusing under white light or other mixed light is smaller than the distance moved under green light or red light, which can reduce the error caused by longitudinal movement. There is no need for the return movement of the microscopic imaging component, nor is there any need to calculate the focus clarity value between the first target position and the second target position.

[0092] The serial numbers such as first and second in this application are only for the convenience of expression and do not necessarily indicate the order relationship in terms of size and time sequence. The letter serial numbers of the steps are also only for the convenience of expression and do not necessarily indicate the order relationship in terms of time sequence.

[0093] like Figures 1 to 21 The above descriptions are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A fast focusing method for a microscopic image acquisition device, characterized in that: The following steps are included: Step A: during the movement of the microscopic imaging component from the first starting position to the first target position, the microscopic imaging component moves toward the first target position at a first speed, and a real-time microscopic magnified digital image is acquired during the movement; The clarity value of the real-time microscopically magnified digital image is calculated by taking the short-wave color component data of the real-time microscopically magnified digital image as the basis for calculating the clarity value; Determining whether the clarity value of the real-time microscopically magnified digital image falls within a set first clarity value range; if it does not fall within the set first clarity value range, the microscopic imaging component continues to move at a first speed until the clarity value of the real-time microscopically magnified digital image reaches the set first clarity value range, and at this time, the microscopic imaging component reaches a first target position; Step B: during the movement of the microscopic imaging component from the first target position to the second target position, the microscopic imaging component moves toward the second target position at a second speed, and acquires a real-time microscopically magnified digital image during the movement; taking the long-wave color component data of the real-time microscopically magnified digital image as the basis for calculating the clarity value, the clarity value of the real-time microscopically magnified digital image is calculated, and it is determined whether the clarity value of the real-time microscopically magnified digital image falls within the set second clarity value range; if it does not fall within the set second clarity value range, the microscopic imaging component continues to move at the second speed until the clarity value of the real-time microscopically magnified digital image falls within the set second clarity value range, at which time the microscopic imaging component reaches the second target position; the second speed at which the microscopic imaging component moves is less than the first speed at which the microscopic imaging component moves; In step A: when calculating the clarity value, obtaining the clarity value change value of two microscopically magnified digital images at a set interval; when the clarity value change value is greater than or equal to a set threshold, determining that the clarity value of the real-time microscopically magnified digital image at that moment falls within a set first clarity value range; In step B: when calculating the clarity value, two different clarity value calculation methods are used, namely, a first clarity value calculation method and a second clarity value calculation method; using the first clarity value calculation method, a first clarity value change value of two microscopically magnified digital images at a set interval is obtained; using the second clarity value calculation method, a second clarity value change value of two microscopically magnified digital images at a set interval is obtained; when the product of the first clarity value change value and the second clarity value change value is negative, it is determined that the clarity value of the real-time microscopically magnified digital image at that moment falls within the set second clarity value range.

2. A fast focusing method for a microscopic image acquisition device, characterized in that: The following steps are included: Step A: in the process of the microscopic imaging component moving from the first starting position to the first target position, the microscopic imaging component moves toward the first target position at a first speed, and in the process of moving, a real-time microscopically enlarged digital image is acquired, and the short-wave color component data of the real-time microscopically enlarged digital image is used as a basis for calculating the clarity value, and the clarity value of the real-time microscopically enlarged digital image is calculated, and it is determined whether the clarity value of the real-time microscopically enlarged digital image falls within a set first clarity value range. If the clarity value of the real-time microscopically enlarged digital image reaches the set first clarity value range, the microscopic imaging component reaches the first target position at this time; Step C: the microscopic imaging component moves at a second speed from the first target position to a first distance to reach a second target position; the second target position of the microscopic imaging component corresponds to the focus position of the long-wave color light in the microscopic image acquisition device; The first distance is a focal length difference, which is the focal length difference of the long-wave color light in the microscopic image acquisition device minus the focal length of the short-wave color light in the microscopic image acquisition device; the second speed is less than the first speed; In step A: when calculating the clarity value, obtain the clarity value change value of two microscopically magnified digital images at a set interval; when the clarity value change value is greater than or equal to a set threshold, determine that the clarity value of the real-time microscopically magnified digital image at that moment falls within the set first clarity value range.

3. The fast focusing method of a microscopic image acquisition device according to claim 1, characterized in that: Step B also includes step D, Step D: The microscopic imaging assembly moves at a third speed from the second target position to a set distance to reach a third target position.

4. The fast focusing method of a microscopic image acquisition device according to claim 1 or 2, characterized in that: The microscopic image acquisition device based on the invention comprises a main controller, a microscopic imaging component, a driving component and an illumination light source component; the imaging target area is arranged between the illumination light source component and the microscopic imaging component; the microscopic imaging component is used to acquire a microscopically enlarged digital image of the imaging target area; The microscopic imaging assembly is connected to the driving assembly, and the driving assembly controls the distance of the microscopic imaging assembly relative to the imaging target area; the driving assembly is electrically connected to the main controller, and the driving assembly receives instructions from the main controller to drive the microscopic imaging assembly to move along the imaging optical axis, and adjusts the distance of the microscopic imaging assembly relative to the imaging target area for focusing, so that the microscopic imaging assembly can obtain a clear microscopic magnified digital image; the microscopic imaging assembly includes a lens assembly and a camera assembly that are combined together and move together.

5. The fast focusing method of a microscopic image acquisition device according to claim 4, characterized in that: The illumination light source assembly can output at least two illumination light beams for illuminating the imaging target area, a first illumination light beam and a second illumination light beam; the first illumination light beam is a light beam with a first central wavelength; the second illumination light beam is a light beam with a second central wavelength; the first central wavelength is smaller than the second central wavelength; The first illumination beam is blue light, and the first central wavelength range is 455 to 492 nm; or the first illumination light beam is violet light, and the first central wavelength range is 380nm to 440nm; The second illumination beam is red light, and the second central wavelength range is 622-780nm; or the second illumination light beam is green light, and the second central wavelength range is 492-577 nm; or the second illumination beam is mixed light; In step A, the microscopically enlarged digital image data acquired by the microscopic imaging component under the illumination of the first illumination light beam is used as the short-wave color component data of the microscopically enlarged digital image; In step B, the microscopically enlarged digital image data acquired by the microscopic imaging component under the illumination of the second illumination light beam is used as the long-wave color component data of the microscopically enlarged digital image; In step C, the second target position of the microscopic imaging assembly corresponds to the focus position of the second illumination light beam corresponding to the long-wave color light in the microscopic image acquisition device.

6. The fast focusing method of a microscopic image acquisition device according to claim 4, characterized in that: The illumination light source component is a broad spectrum light source; the microscopic magnified digital image obtained by the microscopic imaging component under the illumination of the illumination light source component is an R / G / B three-channel microscopic magnified digital image containing multiple color component information; In step A, the B channel color component data is obtained from the R / G / B three-channel microscopically enlarged digital image, and used as the short-wave color component data of the microscopically enlarged digital image; In step B, R channel color component data or G channel color component data R / G / B three-channel microscopically enlarged digital image is obtained from the R / G / B three-channel microscopically enlarged digital image and used as long-wave color component data of the microscopically enlarged digital image.

7. The fast focusing method of a microscopic image acquisition device according to claim 4, characterized in that: When the magnification of the lens assembly in the microscopic imaging assembly is 40 times, The range of the first speed is: 10μm / S~100μm / S; The range of the second speed is: 0.1 μm / S to 1 μm / S.

8. The fast focusing method of a microscopic image acquisition device according to claim 4, characterized in that: Before step A, step G is also provided. In step G, the microscopic imaging component moves from the original starting position to the first starting position at an initial speed, and acquires a sampled microscopically magnified digital image during the movement, and uses the short-wave color component data of the sampled microscopically magnified digital image as a basis for calculating the clarity value, and calculates the clarity value of the real-time microscopically magnified digital image; Determine whether the difference in clarity between two consecutive sampled micro-magnified digital images is greater than a set threshold; If the difference in clarity between two consecutive sampled microscopically magnified digital images is not greater than the set threshold, the microscopic imaging component continues to move toward the first starting position; if the difference in clarity between two consecutive sampled microscopically magnified digital images is greater than the set threshold, the microscopic imaging component reaches the first starting position, and step G ends; when the magnification of the lens in the microscopic imaging component is 40 times; the range of the initial speed is: 2142.8μm / S~8571.4μm / S; Or in step G, the microscopic imaging component moves a set distance from the original starting position to the first starting position at an initial speed, and the microscopic imaging component reaches the first starting position, and step G ends; when the magnification of the lens in the microscopic imaging component is 40 times; the range of the initial speed is: 2142.8μm / S~8571.4μm / S.

9. The fast focusing method of a microscopic image acquisition device according to claim 1, characterized in that: In the first definition value calculation method, the Brenner gradient function is used to calculate the definition value; The second definition value calculation method uses the Vollath function to calculate the definition value.

10. A method for acquiring a microscopic image, characterized in that: The following steps are involved: Step R: Select a part of the imaging target area, and divide the imaging target area into N1 primary fields of view; the range size of each primary field of view is set to a different size or the same size, and N1 is a natural number greater than or equal to 2; Step S: Divide each primary field of view corresponding to the imaging target area into M2 secondary fields of view; the range size of each secondary field of view is set to be different or the same, and M2 is a natural number greater than or equal to 2; Step T: Based on the fast focusing method for a microscopic image acquisition device according to any one of claims 1 to 2, any one primary field of view is selected, and a target imaging area corresponding to any one secondary field of view in the primary field of view is used as a target for fast focusing; Step U: after completing the rapid focusing step of step T, obtaining a microscopically magnified digital image of the secondary field of view; horizontally moving the microscopic imaging component to sequentially obtain microscopically magnified digital images of other secondary fields of view in the selected primary field of view; Step V: moving the microscopic imaging assembly along the optical axis direction to return the microscopic imaging assembly to the first target position; Step W: horizontally move the microscopic imaging component, select another primary field of view, take the imaging target area corresponding to any secondary field of view in the primary field of view as the target, and move the microscopic imaging component along the optical axis direction for rapid focusing; During rapid focusing, step B of the rapid focusing method for a microscopic image acquisition device as claimed in claim 1 is adopted; or when fast focusing, adopt step C of the fast focusing method of the microscopic image acquisition device as claimed in claim 2; Step X: after completing the rapid focusing step of step W, obtaining a microscopically magnified digital image of the secondary field of view; horizontally moving the microscopic imaging component to sequentially obtain microscopically magnified digital images of other secondary fields of view in the selected primary field of view; Step Y: moving the microscopic imaging assembly along the optical axis direction to return the microscopic imaging assembly to the first target position; Step Z: Repeat step W, step X and step Y in sequence until the microscopic magnified digital images of all secondary fields of view of all primary fields of view are obtained.

11. The microscopic image acquisition method according to claim 10, characterized in that: The microscopic image acquisition device comprises a main controller, a microscopic imaging component, a driving component and an illumination light source component; the imaging target area is arranged between the illumination light source component and the microscopic imaging component; the microscopic imaging component is used to acquire a microscopically enlarged digital image of the imaging target area; The microscopic imaging component is connected to the driving component, and the driving component controls the distance of the microscopic imaging component relative to the imaging target area; the driving component is electrically connected to the main controller, and the driving component receives instructions from the main controller to drive the microscopic imaging component to move along the imaging optical axis and adjust the distance of the microscopic imaging component relative to the imaging target area so that the microscopic imaging component can obtain a clear microscopic magnified digital image; At the same time, the driving component receives instructions from the main controller and drives the microscopic imaging component to move in a two-dimensional plane along the imaging surface, so that the microscopic imaging component obtains microscopically enlarged digital images of different imaging target areas; the microscopic imaging component includes a lens component and a camera component that are combined together and move together.

12. The microscopic image acquisition method according to claim 10, characterized in that: The size of the imaging target area is 12 mm×14 mm; an area not less than one quarter of the imaging target area is selected and divided into N1 primary fields of view; the microscopic magnification range of the microscopic imaging component is 20 times to 100 times.

13. The microscopic image acquisition method according to claim 10, characterized in that: N1 is equal to 16; the value range of M2 is 25 to 54.

14. The microscopic image acquisition method according to claim 10, characterized in that: The digital image acquired by the microscopic imaging component contains 3088×2064 pixels; the size of the digital image acquired by the microscopic imaging component is 1.28mm×0.86mm.

Citation Information

Patent Citations

  • Multispectral microscopic imaging rapid and active focus system and method

    CN106303242A

  • Microscope focusing method and device, and microscope device

    CN110727096A

  • Automatic focusing method of microscope

    CN112099217A

  • High-precision microscopic image automatic focusing method and system, and computer equipment

    CN112995517A

  • Microscope

    JP1999264937A