CN114584662A - Image acquisition method and device, computer equipment and storage medium - Google Patents

Image acquisition method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114584662A
CN114584662A CN202011374649.1A CN202011374649A CN114584662A CN 114584662 A CN114584662 A CN 114584662A CN 202011374649 A CN202011374649 A CN 202011374649A CN 114584662 A CN114584662 A CN 114584662A
Authority
CN
China
Prior art keywords
focus position
sample image
motion compensation
microscope
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011374649.1A
Other languages
Chinese (zh)
Inventor
陈齐文
王雪峰
许德鹏
石义康
张裕剑
袁云东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Reetoo Biotechnology Co Ltd
Original Assignee
Shenzhen Reetoo Biotechnology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Reetoo Biotechnology Co Ltd filed Critical Shenzhen Reetoo Biotechnology Co Ltd
Priority to CN202011374649.1A priority Critical patent/CN114584662A/en
Publication of CN114584662A publication Critical patent/CN114584662A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00408Display of information to the user, e.g. menus
    • H04N1/00469Display of information to the user, e.g. menus with enlargement of a selected area of the displayed information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/024Details of scanning heads ; Means for illuminating the original
    • H04N1/02409Focusing, i.e. adjusting the focus of the scanning head
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/04Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Automatic Focus Adjustment (AREA)
  • Microscoopes, Condenser (AREA)

Abstract

The application relates to an image acquisition method, an image acquisition device, computer equipment and a storage medium. The method comprises the following steps: under a first magnification, sample image acquisition is carried out on a detection sample in a microscope to obtain a reference sample image set; determining a reference focus position and a region-of-interest set corresponding to the detection sample based on the reference sample image set; adjusting the magnification of the microscope to be a second magnification, calculating according to the reference focus position to obtain a first focus position corresponding to the current region of interest, and acquiring a sample image according to the first focus position to obtain a first sample image; updating the current region of interest, and determining a second focus position corresponding to the current region of interest according to the reference focus position; determining motion compensation information according to a difference between the first focus position and the second focus position; and controlling the microscope to perform motion compensation based on the motion compensation information, and acquiring a sample image according to the second focus position. By adopting the method, the image acquisition efficiency can be improved.

Description

Image acquisition method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an image acquisition method and apparatus, a computer device, and a storage medium.
Background
With the development of scientific technology, there are many cases where a sample needs to be tested, for example, in the medical field, blood can be tested by dropping blood on a slide glass and placing the slide glass on a microscope stage for testing.
In the conventional technology, the microscope needs to be manually adjusted, for example, the height of an object stage is adjusted, and after the microscope is accurately adjusted, a camera is reused for image acquisition, so that the image acquisition efficiency is low.
Disclosure of Invention
In view of the above, it is necessary to provide an image capturing method, an apparatus, a computer device and a storage medium capable of improving image capturing efficiency.
A method of image acquisition, the method comprising: under a first magnification, sample image acquisition is carried out on a detection sample in a microscope to obtain a reference sample image set; determining a reference focus position corresponding to the detection sample based on the reference sample image set, and determining a region of interest set corresponding to the detection sample based on the reference sample image set; adjusting the magnification of the microscope to be a second magnification, calculating according to the reference focus position to obtain a first focus position corresponding to the current region of interest, and acquiring a sample image according to the first focus position to obtain a first sample image; updating the current region of interest, and determining a second focus position corresponding to the current region of interest according to the reference focus position; determining motion compensation information according to a difference between the first focus position and the second focus position; and controlling the microscope to perform motion compensation based on the motion compensation information, and acquiring a sample image according to the second focus position from the position after the motion compensation to obtain a second sample image.
An image acquisition apparatus, the apparatus comprising: the reference sample image set acquisition module is used for acquiring a sample image of a detection sample in the microscope under a first magnification factor to obtain a reference sample image set; a focus and region-of-interest obtaining module, configured to determine a reference focus position corresponding to the detection sample based on the reference sample image set, and determine a region-of-interest set corresponding to the detection sample based on the reference sample image set; the first sample image obtaining module is used for adjusting the multiple of the microscope to be a second magnification, calculating according to the reference focus position to obtain a first focus position corresponding to the current region of interest, and acquiring a sample image according to the first focus position to obtain a first sample image; the second focus position determining module is used for updating the current region of interest and determining a second focus position corresponding to the current region of interest according to the reference focus position; a motion compensation information obtaining module, configured to determine motion compensation information according to a difference between the first focus position and the second focus position; and the first motion compensation module is used for controlling the microscope to perform motion compensation based on the motion compensation information, and acquiring a sample image according to the second focus position from the position after the motion compensation to obtain a second sample image.
In some embodiments, the focus and region of interest acquisition module comprises: a planned scanning area obtaining unit, configured to obtain a planned scanning area corresponding to the detection sample under a first magnification; a key focusing position set determining unit, configured to determine a key focusing position set corresponding to the planned scanning area; and the reference focus position determining unit is used for acquiring a reference sample image set corresponding to each key focus position in the key focus position set respectively, and determining the reference focus position corresponding to the key focus position according to the image definition of the reference sample image set.
In some embodiments, the reference focus position determination unit is to: controlling the microscope to move so that the current key focusing position in the key focusing position set is positioned in an observation range; controlling the microscope to move, carrying out image acquisition on the detection sample in the moving process, and determining the current reference focus position based on the acquired reference sample image set; updating the current key focusing position in the key focusing position set, and repeatedly controlling the microscope to move so that the current key focusing position in the key focusing position set is positioned in an observation range; and controlling the microscope to move, carrying out image acquisition on the detection sample in the moving process, and determining the current reference focus position corresponding to the current key focus position based on the definition of the image in the acquired reference sample image set until the key focus position in the key focus position set is updated.
In some embodiments, the apparatus further comprises: the forward information acquisition module is used for acquiring forward moving steps corresponding to a forward key focusing position and a forward reference focus position corresponding to the forward key focusing position; the second motion compensation module is used for controlling the microscope to perform motion compensation according to the forward moving step number, the forward reference focus position and the current moving step number corresponding to the current key focus position; the reference focus position determination unit is configured to: and controlling the microscope to move according to the current moving step number from the position after motion compensation, carrying out image acquisition on the detection sample in the moving process, and determining the current reference focus position based on the acquired reference sample image set.
In some embodiments, the apparatus further comprises: a field of view focus position obtaining module, configured to perform focus interpolation based on the reference focus position under the first magnification to obtain a field of view focus position corresponding to each field of view of the planned scanning area; and the image acquisition module is used for carrying out image acquisition on the detection sample based on the field of view focus position under the first magnification.
In some embodiments, the first motion compensation module is to: subtracting the first focus position from the second focus position to obtain a position difference; and obtaining the motion compensation step number and the motion compensation direction based on the position difference.
In some embodiments, the apparatus further comprises a second motion compensation module to: controlling the microscope to move a preset distance and carrying out image acquisition, and determining an acquisition focus position based on an acquired acquisition sample image set; and when the acquisition focus position is determined not to be located at the central position corresponding to the movement preset distance, performing motion compensation according to the acquisition focus position.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program: under a first magnification, sample image acquisition is carried out on a detection sample in a microscope to obtain a reference sample image set; determining a reference focus position corresponding to the detection sample based on the reference sample image set, and determining a region of interest set corresponding to the detection sample based on the reference sample image set; adjusting the magnification of the microscope to be a second magnification, calculating according to the reference focus position to obtain a first focus position corresponding to the current region of interest, and acquiring a sample image according to the first focus position to obtain a first sample image; updating the current region of interest, and determining a second focus position corresponding to the current region of interest according to the reference focus position; determining motion compensation information according to a difference between the first focus position and the second focus position; and controlling the microscope to perform motion compensation based on the motion compensation information, and acquiring a sample image according to the second focus position from the position after the motion compensation to obtain a second sample image.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of: under a first magnification, sample image acquisition is carried out on a detection sample in a microscope to obtain a reference sample image set; determining a reference focus position corresponding to the detection sample based on the reference sample image set, and determining a region of interest set corresponding to the detection sample based on the reference sample image set; adjusting the magnification of the microscope to be a second magnification, calculating according to the reference focus position to obtain a first focus position corresponding to the current region of interest, and acquiring a sample image according to the first focus position to obtain a first sample image; updating the current region of interest, and determining a second focus position corresponding to the current region of interest according to the reference focus position; determining motion compensation information according to a difference between the first focus position and the second focus position; and controlling the microscope to perform motion compensation based on the motion compensation information, and acquiring a sample image according to the second focus position from the position after the motion compensation to obtain a second sample image.
The image acquisition method, the image acquisition device, the computer equipment and the storage medium can obtain the reference focus position and the region of interest based on the reference sample image set by detection under the first magnification, the image acquisition is carried out on the interested area under the second magnification, the focus position corresponding to the interested area can be obtained by calculation according to the reference focus position, image acquisition is performed according to the focus position, the image acquisition area can be reduced by acquiring the region of interest, after the region of interest is replaced, motion compensation can be performed according to the difference of the calculated focus positions before and after the region of interest is replaced, image acquisition is performed after the motion compensation to obtain a second sample image, therefore, the distance for acquiring the sample image according to the second focus position can be reduced, and the image acquisition efficiency is improved.
Drawings
FIG. 1 is a diagram of an environment in which an image capture method may be used in some embodiments;
FIG. 2 is a schematic flow chart of an image acquisition method in some embodiments;
FIG. 3 is a schematic flow chart of the step of determining a reference focal position corresponding to a detected sample based on a set of reference sample images in some embodiments;
FIG. 4 is a schematic illustration of another region of interest and key focus positions;
fig. 5 is a schematic flowchart of a step of acquiring a reference sample image set corresponding to each key focus position in the key focus position set, and determining a reference focus position corresponding to the key focus position according to image sharpness of the reference sample image set in some embodiments;
FIG. 6 is a block diagram of an image capture device according to some embodiments;
FIG. 7 is a diagram of the internal structure of a computer device in some embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The image capturing method provided by the present application can be applied to the application environment shown in fig. 1, including the microscope 110, the image capturing device 120, and the computer device 130. The microscope 110 includes an objective lens 112, a stage 114, and an objective lens 116, a slide of a test sample to be tested is flatly placed on the stage 114, the objective lens 112 is used to focus the slide on which the test sample is dripped at different focal lengths, the eyepiece lens 116 is used to observe an image entering the objective lens 112, and an image capturing device (image sensor) 120 is disposed on the objective lens, i.e., above a lens barrel of the microscope. The computer device 130 may be, for example, a computer, and the interface of the image capturing device is connected to the computer device, and the image capturing device, such as a camera, may capture images in real time, obtain the images and display the images on the computer, so that the images of the object under the microscope may be observed on the computer in real time. The computer can be connected to the image recording device and the microscope via signals, for example via a network.
The computer device 130 may be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices.
In some embodiments, as shown in fig. 2, an image capturing method is provided, which is exemplified by the method applied to the computer device in fig. 1, and includes the following steps:
step S202, under the first magnification, sample image collection is carried out on a detection sample in the microscope, and a reference sample image set is obtained.
The first magnification is a magnification of the objective lens, and may be specifically set according to needs, and in general, the first magnification may be a smaller magnification, such as a minimum magnification in a microscope, and may be specifically set according to needs, such as 10 times.
In particular, the set of reference sample images is acquired at a first magnification. The images in the reference sample image set may be positions corresponding to the images with the highest definition, for example, the positions of the stage corresponding to the images with the highest definition, among the images obtained by capturing the respective key focus positions.
Step S204, determining a reference focus position corresponding to the detection sample based on the reference sample image set, and determining a region-of-interest set corresponding to the detection sample based on the reference sample image set.
And the reference focus position is the focus position corresponding to the detected sample under the first magnification. The reference focus position may be multiple, for example, a scanning area may be planned on a slide for detecting a sample, a key focus point in the planned scanning area may be determined, the objective lens may be kept still, and the stage may be moved in a vertical direction, so as to obtain a position where the most clear focus point is observed, that is, a position where the stage corresponding to the most clear reference sample image is located, as the focus position corresponding to the focus point. For example, a rectangular scanning region may be defined on a slide glass, the rectangular scanning region may be divided into a plurality of sub-regions, for example, sub-regions larger than 4, intersections between the regions are key focus points, a1, a2, … … aN, and N is the number of the key focus points, and when N points, a1, a2, and … … aN, are observed, the stage height may be continuously adjusted, and imaging may be performed to acquire a stage position corresponding to the sharpest image among images captured at the focus points as a reference focus position. Thereby obtaining focus positions corresponding to a1, a2 and … … aN respectively.
The region of interest set includes a plurality of regions of interest, and the region of interest can be obtained by performing region of interest identification on the reference sample image, for example, by performing identification through an artificial intelligence-based model. It is also possible to acquire an image region including a specific image feature as the region of interest.
Specifically, the stage of the microscope can be controlled by the computer device to move, and the image shooting device is controlled to shoot the image of the detection sample under the first magnification to obtain a reference sample image set, so that the stage position corresponding to the clearest image in the reference sample image set shot to the focus point is obtained and used as the reference focus position.
And S206, adjusting the magnification of the microscope to be a second magnification, calculating according to the reference focus position to obtain a first focus position corresponding to the current region of interest, and acquiring a sample image according to the first focus position to obtain a first sample image.
The second magnification is a magnification of the objective lens, and may be specifically set as needed, and generally, the second magnification is larger than the first magnification, and may be, for example, 100 times. The current region of interest is the region of interest currently viewed by the objective lens. The first focus position is calculated to enable the most clear stage position of the current region of interest to be observed. The first focus position is obtained by performing interpolation according to the reference focus position, for example, the computer device may calculate which region of the current region of interest seen under the 100 times objective lens is in the first magnification, and then perform interpolation through the reference focus position and the interpolation method to calculate the focus position of the current region of interest at the second magnification. The focal position can be expressed in terms of the number of stage movements of the microscope.
In particular, the computer device may adjust the magnification of the objective lens of the microscope to the second magnification, for example, switch from the first magnification of 10 times to the second magnification of 100 times. And then controlling the objective table of the microscope to move to an initial focusing position corresponding to the second magnification, if the field of view corresponding to the initial focusing position comprises an interested area, calculating to obtain which area the position is in the field of view of the objective lens with 10 times, and calculating the focus position corresponding to the initial focusing position, namely the first focus position, by an interpolation method. After the first focus position is obtained, the object stage can be controlled to move towards the direction of the first focus position, the object stage can be ensured to pass through the first focus position, image acquisition can be carried out in the moving process, for example, a camera is in a real-time continuous shooting state, shot pictures are stored in a corresponding folder, the definition of each picture is obtained through definition algorithm calculation, and a picture with the highest definition is recorded and stored. Therefore, the clearest picture corresponding to the current region of interest can be obtained. The stage movement range may be determined according to the objective lens focusing range of the second magnification, the objective lens focusing range may be represented by the number of stage movement steps S3 in the vertical direction, and the stage movement toward the first focus position may be S3 steps.
And step S208, updating the current region of interest, and determining a second focus position corresponding to the current region of interest according to the reference focus position.
Specifically, after the first sample image is obtained by shooting, the switching of the region of interest is performed, that is, the current region of interest is switched to the next region of interest. Similarly to the calculation of the first focus position, the second focus position is calculated, and the stage position of the sharpest current region of interest can be observed. The second focal position is also obtained by performing interpolation according to the reference focal position, for example, the computer device may calculate which region of the field of view of the objective lens with the first magnification is the current region of interest seen under the objective lens with the magnification of 100 times, and then perform interpolation through the reference focal position and the interpolation method to calculate the focal position corresponding to the current region of interest as the second focal position.
In step S210, motion compensation information is determined according to a difference between the first focus position and the second focus position.
The motion compensation information may include a motion step number and a motion direction. The direction of movement may be upward or downward. The difference may be represented by a difference in position of the second focus position minus the first focus position, e.g. the second focus position and the first focus position may be represented by steps. The first focus position may be subtracted from the second focus position to obtain a motion compensated step count and a motion compensated direction based on the position difference. If the difference obtained is positive, indicating that the second focus position is above the first focus position, an upward movement of the stage, i.e. towards the objective lens, is required, the number of steps of the movement being the absolute value of the difference. If the difference is negative, this means that the second focus position is below the first focus position and the stage needs to be moved downwards, i.e. away from the objective lens, in steps of the absolute value of the difference.
Specifically, the computer device may subtract the first focus position from the second focus position, determine a motion step number and a motion direction from the obtained difference, and perform motion compensation according to the motion step number and the motion direction.
And step S212, controlling the microscope to perform motion compensation based on the motion compensation information, and acquiring a sample image according to the second focus position from the position after the motion compensation to obtain a second sample image.
Specifically, after obtaining the number of movement steps and the movement direction, the stage of the microscope may be controlled to move the number of movement steps toward the movement direction. After the motion compensation is completed, the stage may be controlled to move continuously toward the direction close to the second focal point, for example, the stage may be controlled to move by a step number S3 corresponding to the focusing range of the objective lens at the second magnification, and image acquisition is performed, the image is stored in a corresponding folder, the sharpness of the photograph in the folder is calculated, and the image with the highest sharpness is used as the second sample image.
In some embodiments, when the difference between the first focal position and the second focal position is smaller than the preset threshold, the step of acquiring the sample image according to the second focal position to obtain the second sample image may be directly performed without performing motion compensation. The preset threshold may be set as desired, and may be, for example, 10 steps. And when the current region of interest is replaced next time, the motion compensation information obtained by the calculation is superposed with the motion compensation information obtained by the calculation according to the same method next time, and then motion compensation is carried out.
In some embodiments, when it is determined that the direction of motion compensation is the same as the direction of the second focus position and the difference between the first focus position and the second focus position is smaller than the preset threshold, motion compensation may not be performed, the number of motion compensation steps is added to the number of original steps of sample image acquisition to obtain a target number of sample image acquisition steps, and the stage is controlled to move the target number of sample image acquisition steps to perform sample image acquisition to obtain a second sample image.
It can be understood that when the number of the regions of interest is greater than 2, the current region of interest may be continuously updated until the region of interest is completely updated. For each current region of interest, a step of motion compensation based on the difference in focus position may be performed. For example, a third focal point position corresponding to the current region of interest is obtained, and motion compensation information is determined based on a difference between the third focal point position and the second focal point position and motion compensation is performed.
In the image acquisition method, the reference sample image set can be obtained by detection under the first magnification, the reference focus position and the region of interest are obtained based on the reference image set, the region of interest is subjected to image acquisition under the second magnification, the focus position corresponding to the region of interest can be obtained by calculation according to the reference focus position, image acquisition is carried out according to the focus position, the image acquisition region can be reduced by acquiring through the region of interest, after the region of interest is replaced, motion compensation can be carried out according to the difference of the calculated focus positions before and after the region of interest is replaced, and image acquisition is carried out after the motion compensation to obtain the second sample image, so that the distance for acquiring the sample image according to the second focus position can be reduced, and the image acquisition efficiency is improved.
In some embodiments, as shown in fig. 3, determining the reference focus position corresponding to the detection sample based on the reference sample image set includes:
step S302, under the first magnification, a planning scanning area corresponding to the detection sample is obtained.
The planned scanning area is a planned area for scanning a slide corresponding to the detection sample, and can be set according to a preset rule. For example, it may be a rectangular area of a predetermined size.
Specifically, the slide to be tested may be placed flat on the stage of the microscope, the computer device may be connected to the camera, the microscope may be initialized, the X, Y, Z axis of the microscope may be moved to the opto-coupler position, the objective lens may be switched to a first magnification, e.g., 10 times, and then a rectangular local area may be defined as the planned scan area.
Step S304, determining a key focus position set corresponding to the planning scanning area.
In particular, the set of critical focus positions may comprise a plurality of focus positions, e.g. critical points in the planned scan area may be considered as focus points. For example, for a rectangle, the rectangular region may be divided into a plurality of sub-regions, for example, at least 9 sub-regions, and the intersection between the sub-regions is used as a key focus position, i.e., an anchor point. For example, as shown in FIG. 4, the large circle points represent key focus locations and the small circle points represent regions of interest.
Step S306, acquiring a reference sample image set corresponding to each key focusing position in the key focusing position set, and determining a reference focus position corresponding to the key focusing position according to the image definition of the reference sample image set.
Specifically, after the key focus position set is obtained, the clearest position of observing each key focus position can be obtained as the reference focus position. For example, the stage may be moved to capture an image of the key focus position, and a stage position corresponding to an image with the highest image resolution in the reference sample image at the key focus position obtained by the capturing may be acquired as the reference focus position.
In the embodiment of the application, a planned scanning area corresponding to a detection sample is obtained under a first magnification, a key focusing position set corresponding to the planned scanning area is determined, a reference focus position corresponding to each key focusing position in the key focusing position set is determined, and focus positions corresponding to a plurality of focusing points can be obtained, so that the focus positions can be calculated to obtain the focus positions of each view field in the planned scanning area under different magnifications by referring to the focus positions.
In some embodiments, after obtaining the first magnification, focus interpolation may be performed based on the reference focus position at the first magnification to obtain view focus positions corresponding to respective views of the planned scan area; and under the first magnification, carrying out image acquisition on the detection sample based on the focus position of the visual field.
Specifically, after the reference focus position is obtained, the focus coordinate values of other intermediate fields under the first magnification are calculated according to the obtained reference focus coordinate values and an interpolation method, the fields are switched based on the obtained focus coordinate values, the stage is moved to the focus position corresponding to the field, and one or more pictures are taken, so that sample areas of other fields can be rapidly taken, and it is not necessary to take pictures while moving in each sample area, and the clearest picture is selected for storage. For example, after obtaining focus coordinate values corresponding to a1, a2 and … … aN respectively under a 10-fold objective lens, the focus positions corresponding to other fields of view under the 10-fold objective lens can be obtained by interpolation calculation, and then the image capturing is performed by switching to each field of view and moving directly to the corresponding focus position.
In some embodiments, as shown in fig. 5, acquiring a reference sample image set corresponding to each key focus position in the key focus position set, and determining a reference focus position corresponding to a key focus position according to the image sharpness of the reference sample image set includes:
step S502, controlling the microscope to move so that the current key focusing position in the key focusing position set is positioned in the observation range;
step S504, controlling the microscope to move, carrying out image acquisition on the detection sample in the moving process, and determining the current reference focus position corresponding to the current key focusing position based on the definition of the image in the acquired reference sample image set;
step S506, judging whether the key focusing positions in the key focusing position set are updated;
step S508, the current key focus position in the set of key focus positions is updated.
Step S510, a reference focus position set is obtained.
The key focusing position set is provided with a plurality of key focusing positions which can be sequentially used as the current key focusing position, the objective lens is aligned to the current key focusing position for image acquisition, and the current reference focus position is determined based on the acquired image set. For example, assuming that the vertical direction is the Z axis and N key focus positions of a1, a2 and … … aN exist, the stage motion may be controlled such that the starting point a1 is exposed under the lens of the microscope, the point where a1 is located is taken as the zero point in the vertical direction, then the coarse focus of the microscope is adjusted under the objective lens with the first magnification factor, for example, 10 times, and the stage moves to the initial focus position along the Z axis direction according to the preset focus position, and then the stage moves vertically upward at a constant speed along the Z axis direction for a preset number of steps s1, where the preset number of steps ensures that the stage passes through the focus position. In the moving process, the camera is in a real-time continuous shooting state, and shot pictures are stored in the corresponding folder. The computer device obtains the definition of each picture through algorithm calculation, records a picture with the highest definition, and calculates the position of the objective table corresponding to the picture as a focus coordinate value ff1 corresponding to a1, wherein the focus coordinate value can be represented by step number, and the shot picture is matched with the motion step number to form a linear relation. After the focus position corresponding to a1 is obtained, updating the current key focus position in the key focus position set, and repeatedly controlling the microscope to move, so that the current key focus position in the key focus position set is located in the observation range; and controlling the microscope to move, carrying out image acquisition on the detection sample in the moving process, and determining the current reference focus position based on the acquired reference sample image set until the key focus position is updated. For example, the starting point a2 may be used as the current key focus position, and exposed under a microscope lens, the focus position corresponding to a2 is obtained by referring to the focus position obtaining manner of a1, and then a3 and a4 are sequentially used as the current key focus position until the reference focus position corresponding to aN is obtained, so as to form a reference node position set.
In some embodiments, controlling the microscope to move and performing image acquisition on the detection sample during the movement, and before determining the current reference focal position based on the acquired reference sample image set, further includes: acquiring forward moving steps corresponding to the forward key focusing position and a forward reference focus position corresponding to the forward key focusing position; controlling the microscope to perform motion compensation according to the forward moving steps, the forward reference focus position and the current moving steps corresponding to the current key focus position; the method comprises the following steps of controlling a microscope to move and carrying out image acquisition on a detection sample in the moving process, wherein the step of determining the current reference focus position based on an acquired reference sample image set comprises the following steps: and controlling the microscope to move according to the current moving step number from the position after the motion compensation, carrying out image acquisition on a detection sample in the moving process, and determining the current reference focus position based on the acquired reference sample image set.
The forward key focus position refers to a key focus position before the current key focus position, for example, when a2 is the current key focus position, a1 is the forward key focus position of a 2. The forward shift step number is the number of steps the forward key focus position is shifted in determining the reference focus position, e.g., the s1 steps.
The forward reference focus position is the reference focus position corresponding to the forward key focus position, e.g., reference focus position ff1 corresponding to a 1. The current moving step number corresponding to the current key focusing position is a preset step number, for example, when image capturing is performed on the current key focusing position a2, the moving step number is a preset step number S2. Wherein the current moving step number is smaller than the forward moving step number, i.e., S2 is smaller than S1. After obtaining the forward moving step number, the forward reference focus position, and the current moving step number corresponding to the current key focus position, the microscope may be controlled to perform motion compensation, so that the focus position is located in the middle of the moved position when the focus position is moved by step number S2, that is, when the stage of the microscope is controlled to move according to the current moving step number, the focus is located in the middle of the moved position. The formula of the motion compensation can be (s1-ff1-s2/2), the moving direction can be upward movement or downward movement, namely, the movement is towards the direction of the objective lens or away from the objective lens, the movement is determined according to the positive and negative of the step number obtained by the motion compensation formula, and after the motion compensation, the current position is s2/2 steps away from the forward reference focus position corresponding to the forward key focus position. After motion compensation, image acquisition may be performed starting from the motion compensated position. Since the focus coordinate corresponding to the forward key focus position is ff1, for the current key focus position, the corresponding focus position should be near ff1, after the motion compensation is performed by moving (s1-ff1-s2/2) steps, the distance between the object stage and the focus position is about s2/2 steps, so that when the object stage moves by s2 steps after the motion compensation, the focus position is about the middle position when the object stage moves by s2 steps, the calculation of the focus is more accurate, and the number of moving steps can be saved.
For example, after determining the focus position ff1 of a1, the computer device can control the stage motion to expose the starting point a2 under the microscope lens, adjust the coarse focus of the microscope, and then control the stage to move (s1-ff1-s2/2) in the Z-axis direction for motion compensation, after which the slide is located above the focus. And then adjusting the coarse focusing of the microscope, and controlling the object stage to move downwards at a constant speed in the Z-axis direction for s2 steps, wherein s2 is smaller than s 1. In the moving process, the camera is in a real-time continuous shooting state, and shot pictures are stored in the corresponding folder. The definition of each picture is calculated through an algorithm, the picture with the highest definition is recorded, a corresponding focus coordinate value ff2 is calculated, and after the movement is finished, the position of the slide is below the focus. It can be understood that, for a3 to aN, the compensation may also be performed by referring to the motion compensation method corresponding to a2, and a focus coordinate value ff4 is obtained, and ff1, ff2, and … … ffN are used as reference focus positions, which are not described herein again.
In some embodiments, updating the current region of interest, and before determining the second focus position corresponding to the current region of interest according to the reference focus position, further includes: controlling the microscope to move a preset distance and carrying out image acquisition, and determining an acquisition focus position based on an acquired acquisition sample image set; and when the position of the acquisition focus is determined not to be located at the central position corresponding to the movement preset distance, performing motion compensation according to the position of the acquisition focus.
Specifically, the acquisition focus position is a focus position to which the sample image is acquired. The preset distance may be set as desired. After the acquisition sample image set is obtained, the position of the objective table corresponding to the image with the highest definition in the acquisition sample image set can be obtained and used as the acquisition focus position, whether the acquisition focus position is located at the center position of the moving section with fixed distance or not is judged, if not, the objective table can be moved for motion compensation, and the acquisition focus position is located in the middle of the distance after the motion compensation and the position before the movement preset distance. Therefore, the image acquisition device can pass through the position of the focus, the definition of the image before the focus is gradually improved, and the definition of the image after the focus is gradually reduced, so that the position corresponding to the image with the highest definition can be obtained as the focus position, and the accuracy of the obtained angle position is improved. After the motion compensation, the region of interest can be switched, and the position of the second focus corresponding to the current region of interest is determined according to the reference focus position
The method provided by the embodiment of the present application is described below by taking the first magnification as 10 times and the second magnification as 100 times as an example, and includes the following steps:
1. a planned scan area is acquired on the slide.
Specifically, a slide of a sample to be tested is placed flat on a stage. The camera is connected above the microscope lens cone, the camera interface is connected into the computer, and the camera can shoot in real time, so that the object under the microscope can be observed on the computer in real time to form an image.
2. And determining a key focusing position set corresponding to the planning scanning area.
Specifically, the rectangular region may be divided into a plurality of sub-regions, for example, at least 9 sub-regions, and the intersection point between the sub-regions may be used as an anchor point.
3. And determining the reference focus position corresponding to each key focus position in the key focus position set.
Specifically, the stage motion can be controlled to expose the starting point a1 under the lens of the microscope, the point a1 is taken as the zero point in the vertical direction, the slide is located below the focal point, then the coarse focusing of the microscope is adjusted under the objective lens of 10 times, the stage moves to the initial focusing position along the Z-axis direction according to the preset focal point position, and then the stage moves vertically upwards at a constant speed along the Z-axis direction for S1 steps, wherein the step of S1 movement ensures that the movement passes through the focal point position. In the moving process, the camera is in a real-time continuous shooting state, and shot pictures are stored in the corresponding folder. The definition of each picture is obtained through algorithm calculation, the picture with the highest definition is recorded, and the actual position, namely the focus position, of the clearest picture is obtained through calculation of the computer equipment, so that the corresponding focus coordinate value ff1 is obtained. After the movement is finished, the slide is positioned above the focus. The computer device controls the stage to continue moving so that the starting point a2 is exposed under the lens of the microscope, and after adjusting the coarse focus of the microscope, the stage is moved (s1-ff1-s2/2) in the Z-axis direction so that the movement is finished and the slide is positioned above the focus. And (5) continuously adjusting the coarse focusing of the microscope by the computer equipment, and moving the object stage vertically downwards at a constant speed along the Z-axis direction for s2 steps, wherein s2 is smaller than s 1. In the moving process, the camera is in a real-time continuous shooting state, and shot pictures are stored in the corresponding folder. The definition of each picture is calculated through an algorithm, the picture with the highest definition is recorded, and the corresponding focus coordinate value ff2 is calculated. After the movement is finished, the slide is positioned below the focus. And controlling the stage to move by the computer equipment, so that the starting point a3 is exposed under the microscope lens … … until the angle coordinate value corresponding to the aN is acquired. The step of obtaining the focus coordinate values ffN corresponding to the focus coordinate values ff3 to aN at 3 may refer to the step of obtaining the focus coordinate value ff2 corresponding to a2, which is not described herein again.
4. Under a first magnification, performing focus interpolation based on the reference focus position to obtain view focus positions corresponding to all views of a planning scanning area; and under the first magnification, carrying out image acquisition on the detection sample based on the focus position of the visual field.
Specifically, the coordinate values of the focal points of the other intermediate fields under the objective lens of 10 times can be calculated by an interpolation method according to the obtained coordinate values of the focal points at N positions. And the computer equipment switches the visual field according to the obtained focal coordinate value, moves the Z axis to the focal position and takes a picture. And repeating the step of switching the visual fields until all the visual fields in the rectangular area are shot under the objective lens with the magnification of 10 times.
5. And adjusting the magnification of the microscope to be a second magnification, and determining a first focus position corresponding to the current region of interest according to the reference focus position. Acquiring a sample image according to the first focus position to obtain a first sample image
Specifically, after the field of view corresponding to the 10-time objective lens is photographed, the objective lens is switched to the 100-time objective lens, and the object loading table moves to the initial focusing position of the 100-time objective lens in the Z-axis direction. Since the field of view of the 100-time objective lens is one tenth of that of the 10-time objective lens, the difference between the focal length of the field of view of the 10-time objective lens and the focal length of the field of view of the 100-time objective lens is a fixed value m, and s3 is set as the focusing range of the 40-time objective lens. It is possible to move m-s3/2 steps in the Z-axis direction (the moving direction is judged based on the positive and negative of the value) to the focusing initial position of the objective lens by 100 times. Then moving to the first region of interest, calculating to obtain the region of the position in which the field of view is 10 times that of the objective lens, and calculating the focal position of the region by an interpolation method. This focus position is denoted as n 1. And (4) vertically moving the object stage at a constant speed along the Z-axis direction for s3 steps, wherein in the moving process, the camera is in a real-time continuous shooting state, and shot pictures are stored in corresponding folders. And calculating through an algorithm to obtain the definition of each picture, and recording and storing the picture with the highest definition.
6. And updating the current region of interest, and determining a second focus position corresponding to the current region of interest according to the reference focus position.
Specifically, the region of interest may be switched, and then the focus position of the current region of interest is found based on the reference focus position, which is denoted as n 2.
7. Motion compensation information is determined based on a difference between the first focus position and the second focus position.
Specifically, the number and direction of steps to be compensated in the Z-axis direction are determined by n2-n 1.
8. And controlling the microscope to perform motion compensation based on the motion compensation information, and acquiring a sample image according to the second focus position from the position after the motion compensation to obtain a second sample image.
It should be understood that, although the steps in the above-described flowcharts are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the above-mentioned flowcharts may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or the stages is not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a part of the steps or the stages in other steps.
In some embodiments, as shown in fig. 6, there is provided an image acquisition apparatus comprising: a reference sample image set acquisition module 602, a focus and region of interest acquisition module 604, a first sample image derivation module 606, a second focus position determination module 608, a motion compensation information acquisition module 610, and a first motion compensation module 612, wherein:
a reference sample image set obtaining module 602, configured to perform sample image acquisition on a detection sample in a microscope under a first magnification to obtain a reference sample image set;
a focus and region-of-interest obtaining module 604, configured to determine a reference focus position corresponding to the detection sample based on the reference sample image set, and determine a region-of-interest set corresponding to the detection sample based on the reference sample image set;
a first sample image obtaining module 606, configured to adjust the magnification of the microscope to a second magnification, calculate a first focus position corresponding to the current region of interest according to the reference focus position, and acquire a sample image according to the first focus position to obtain a first sample image;
a second focus position determining module 608, configured to update the current region of interest, and determine a second focus position corresponding to the current region of interest according to the reference focus position;
a motion compensation information obtaining module 610, configured to determine motion compensation information according to a difference between the first focus position and the second focus position;
and the first motion compensation module 612 is configured to control the microscope to perform motion compensation based on the motion compensation information, and start from a position after the motion compensation, perform sample image acquisition according to the second focus position to obtain a second sample image.
In some embodiments, the focus and region of interest acquisition module comprises: the planning scanning area obtaining unit is used for obtaining a planning scanning area corresponding to the detection sample under a first magnification; the key focusing position set determining unit is used for determining a key focusing position set corresponding to the planning scanning area; and the reference focus position determining unit is used for acquiring a reference sample image set corresponding to each key focus position in the key focus position set respectively, and determining the reference focus position corresponding to the key focus position according to the image definition of the reference sample image set.
In some embodiments, the reference focus position determination unit is to: controlling the microscope to move so that the current key focusing position in the key focusing position set is positioned in the observation range; controlling the microscope to move, carrying out image acquisition on a detection sample in the moving process, and determining the current reference focus position based on an acquired reference sample image set; updating the current key focusing position in the key focusing position set, and repeatedly controlling the microscope to move so that the current key focusing position in the key focusing position set is positioned in the observation range; and controlling the microscope to move, carrying out image acquisition on the detection sample in the moving process, and determining the current reference focus position based on the acquired reference sample image set until the key focus position in the key focus position set is updated.
In some embodiments, the apparatus further comprises: the forward information acquisition module is used for acquiring forward moving steps corresponding to the forward key focusing position and a forward reference focus position corresponding to the forward key focusing position; the second motion compensation module is used for controlling the microscope to perform motion compensation according to the forward moving steps, the forward reference focus position and the current moving steps corresponding to the current key focus position; the reference focus position determination unit is to: and controlling the microscope to move according to the current moving step number from the position after the motion compensation, carrying out image acquisition on a detection sample in the moving process, and determining the current reference focus position based on the acquired reference sample image set.
In some embodiments, the apparatus further comprises: the view focus position obtaining module is used for performing focus interpolation based on the reference focus position under a first magnification to obtain view focus positions corresponding to all views of the planning scanning area; and the image acquisition module is used for acquiring an image of the detection sample based on the focus position of the visual field under the first magnification.
In some embodiments, the first motion compensation module is to: subtracting the first focus position from the second focus position to obtain a position difference; and obtaining the motion compensation step number and the motion compensation direction based on the position difference.
In some embodiments, the apparatus further comprises a second motion compensation module to: controlling the microscope to move a preset distance and carrying out image acquisition, and determining an acquisition focus position based on an acquired acquisition sample image set; and when the position of the acquisition focus is determined not to be located at the central position corresponding to the movement preset distance, performing motion compensation according to the position of the acquisition focus.
For specific limitations of the image capturing device, reference may be made to the above limitations of the image capturing method, which are not described herein again. The modules in the image acquisition device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In some embodiments, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 7. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement an image acquisition method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In some embodiments, there is provided a computer device comprising a memory and a processor, the memory having stored therein a computer program that when executed by the processor performs the steps of: under a first magnification, sample image acquisition is carried out on a detection sample in a microscope to obtain a reference sample image set; determining a reference focus position corresponding to the detection sample based on the reference sample image set, and determining a region of interest set corresponding to the detection sample based on the reference sample image set; adjusting the multiple of the microscope to be a second magnification multiple, calculating according to the reference focus position to obtain a first focus position corresponding to the current interested area, and acquiring a sample image according to the first focus position to obtain a first sample image; updating the current region of interest, and determining a second focus position corresponding to the current region of interest according to the reference focus position; determining motion compensation information according to a difference between the first focus position and the second focus position; and controlling the microscope to perform motion compensation based on the motion compensation information, and acquiring a sample image according to the second focus position from the position after the motion compensation to obtain a second sample image.
In some embodiments, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of: under a first magnification, sample image acquisition is carried out on a detection sample in a microscope to obtain a reference sample image set; determining a reference focus position corresponding to the detection sample based on the reference sample image set, and determining a region of interest set corresponding to the detection sample based on the reference sample image set; adjusting the magnification of the microscope to be a second magnification, calculating according to the reference focus position to obtain a first focus position corresponding to the current region of interest, and acquiring a sample image according to the first focus position to obtain a first sample image; updating the current region of interest, and determining a second focus position corresponding to the current region of interest according to the reference focus position; determining motion compensation information according to a difference between the first focus position and the second focus position; and controlling the microscope to perform motion compensation based on the motion compensation information, and acquiring a sample image according to the second focus position from the position after the motion compensation to obtain a second sample image.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An image acquisition method, characterized in that the method comprises:
under a first magnification, sample image acquisition is carried out on a detection sample in a microscope to obtain a reference sample image set;
determining a reference focus position corresponding to the detection sample based on the reference sample image set, and determining a region of interest set corresponding to the detection sample based on the reference sample image set;
adjusting the magnification of the microscope to be a second magnification, calculating according to the reference focus position to obtain a first focus position corresponding to the current region of interest, and acquiring a sample image according to the first focus position to obtain a first sample image;
updating the current region of interest, and determining a second focus position corresponding to the current region of interest according to the reference focus position;
determining motion compensation information according to a difference between the first focus position and the second focus position;
and controlling the microscope to perform motion compensation based on the motion compensation information, and acquiring a sample image according to the second focus position from the position after the motion compensation to obtain a second sample image.
2. The method of claim 1, wherein the determining a reference focus position corresponding to the detection sample based on the set of reference sample images comprises:
under a first magnification, acquiring a planning scanning area corresponding to the detection sample;
determining a key focusing position set corresponding to the planning scanning area;
and acquiring a reference sample image set corresponding to each key focusing position in the key focusing position set, and determining a reference focus position corresponding to the key focusing position according to the image definition of the reference sample image set.
3. The method according to claim 2, wherein the obtaining a reference sample image set corresponding to each of the key focus positions in the key focus position set, and the determining the reference focus position corresponding to the key focus position according to the image sharpness of the reference sample image set comprises:
controlling the microscope to move so that the current key focusing position in the key focusing position set is positioned in an observation range;
controlling the microscope to move, carrying out image acquisition on the detection sample in the moving process, and determining a current reference focus position corresponding to a current key focusing position based on the definition of an image in an acquired reference sample image set;
updating the current key focusing position in the key focusing position set, and repeatedly controlling the microscope to move so that the current key focusing position in the key focusing position set is positioned in an observation range; and controlling the microscope to move, carrying out image acquisition on the detection sample in the moving process, and determining the current reference focus position corresponding to the current key focus position based on the definition of the image in the acquired reference sample image set until the key focus position in the key focus position set is updated.
4. The method of claim 3, wherein the controlling the microscope to move and perform image acquisition on the detection sample during the movement, and before determining the current reference focal position based on the acquired reference sample image set, further comprises:
acquiring forward moving steps corresponding to a forward key focusing position and a forward reference focus position corresponding to the forward key focusing position;
controlling the microscope to perform motion compensation according to the forward moving steps, the forward reference focus position and the current moving steps corresponding to the current key focusing position;
the controlling the microscope to move and acquiring the image of the detection sample in the moving process, and the determining the current reference focus position based on the acquired reference sample image set comprises:
and controlling the microscope to move according to the current moving step number from the position after motion compensation, carrying out image acquisition on the detection sample in the moving process, and determining the current reference focus position based on the acquired reference sample image set.
5. The method of claim 2, further comprising:
under the first magnification, performing focus interpolation based on the reference focus position to obtain view focus positions corresponding to all views of the planned scanning area;
and under the first magnification, performing image acquisition on the detection sample based on the field-of-view focal position.
6. The method of claim 1, wherein determining motion compensation information based on the difference between the first focus position and the second focus position comprises:
subtracting the first focus position from the second focus position to obtain a position difference;
and obtaining the motion compensation step number and the motion compensation direction based on the position difference.
7. The method according to claim 1, wherein before updating the current region of interest and determining the second focus position corresponding to the current region of interest according to the reference focus position, the method further comprises:
controlling the microscope to move a preset distance and carrying out image acquisition, and determining an acquisition focus position based on an acquired acquisition sample image set;
and when the acquisition focus position is determined not to be located at the central position corresponding to the movement preset distance, performing motion compensation according to the acquisition focus position.
8. An image acquisition apparatus, characterized in that the apparatus comprises:
the reference sample image set acquisition module is used for acquiring a sample image of a detection sample in the microscope under a first magnification factor to obtain a reference sample image set;
a focus and region-of-interest obtaining module, configured to determine a reference focus position corresponding to the detection sample based on the reference sample image set, and determine a region-of-interest set corresponding to the detection sample based on the reference sample image set;
the first sample image obtaining module is used for adjusting the multiple of the microscope to be a second magnification, calculating according to the reference focus position to obtain a first focus position corresponding to the current region of interest, and acquiring a sample image according to the first focus position to obtain a first sample image;
the second focus position determining module is used for updating the current interested area and determining a second focus position corresponding to the current interested area according to the reference focus position;
a motion compensation information obtaining module, configured to determine motion compensation information according to a difference between the first focus position and the second focus position;
and the first motion compensation module is used for controlling the microscope to perform motion compensation based on the motion compensation information, and acquiring a sample image according to the second focus position from the position after the motion compensation to obtain a second sample image.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202011374649.1A 2020-11-30 2020-11-30 Image acquisition method and device, computer equipment and storage medium Pending CN114584662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011374649.1A CN114584662A (en) 2020-11-30 2020-11-30 Image acquisition method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011374649.1A CN114584662A (en) 2020-11-30 2020-11-30 Image acquisition method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114584662A true CN114584662A (en) 2022-06-03

Family

ID=81767101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011374649.1A Pending CN114584662A (en) 2020-11-30 2020-11-30 Image acquisition method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114584662A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140063225A1 (en) * 2011-05-04 2014-03-06 The John Hopkins University Motion-compensated confocal microscope
CN109584156A (en) * 2018-10-18 2019-04-05 中国科学院自动化研究所 Micro- sequence image splicing method and device
CN110836891A (en) * 2018-08-17 2020-02-25 湖南爱威医疗科技有限公司 Method, device and equipment for realizing rapid microscopic examination and computer readable storage medium
CN111240000A (en) * 2020-03-03 2020-06-05 长春理工大学 Fluorescent microscope capable of continuously changing magnification

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140063225A1 (en) * 2011-05-04 2014-03-06 The John Hopkins University Motion-compensated confocal microscope
CN110836891A (en) * 2018-08-17 2020-02-25 湖南爱威医疗科技有限公司 Method, device and equipment for realizing rapid microscopic examination and computer readable storage medium
CN109584156A (en) * 2018-10-18 2019-04-05 中国科学院自动化研究所 Micro- sequence image splicing method and device
CN111240000A (en) * 2020-03-03 2020-06-05 长春理工大学 Fluorescent microscope capable of continuously changing magnification

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吴伟全;李元歌;王思捷;唐金凤;杨腾;吴平;: "共聚焦显微镜系统在蒿草切片样本宏观成像及微观成像中使用价值", 现代医院, no. 04, 28 April 2019 (2019-04-28) *
杨利华;赵侃;于双双;徐大维;韩星;孟军合;: "立体手术显微镜连续变焦大物镜设计", 红外与激光工程, no. 01, 25 January 2016 (2016-01-25) *

Similar Documents

Publication Publication Date Title
JP4462959B2 (en) Microscope image photographing system and method
US7248282B2 (en) Microscopy imaging system and method
JP4970869B2 (en) Observation apparatus and observation method
US10809515B2 (en) Observation method and specimen observation apparatus
JP6274794B2 (en) Information processing apparatus, information processing method, program, and image measurement apparatus
US7725019B2 (en) Apparatus and method for deciding in-focus position of imaging lens
CN103941522B (en) Focus-regulating device
JP7112863B2 (en) Information processing device, information processing method, program, and image measuring device
CN110996002B (en) Microscope focusing method, device, computer equipment and storage medium
CN101783877A (en) Image capturing device and flash image generating method
CN110910459B (en) Camera device calibration method and device and calibration equipment
CN107787463B (en) The capture of optimization focusing storehouse
CN112505910B (en) Method, system, apparatus and medium for taking image of specimen with microscope
CN112415733A (en) Method, system, apparatus and medium for controlling microscope to take sample image
JP2007003656A (en) Apparatus for determining focal position of imaging lens and method thereof
CN105208263B (en) Image processing apparatus and its control method
JP2020086152A (en) Inspection system, inspection method, and program
JP4477863B2 (en) Cell measurement support system and cell observation apparatus
JP2013246052A (en) Distance measuring apparatus
CN114578536B (en) Image acquisition method, device, computer equipment and storage medium
CN114584662A (en) Image acquisition method and device, computer equipment and storage medium
CN116567412A (en) Zoom tracking curve determination method, apparatus, computer device and storage medium
CN114518217B (en) Method for determining center distance between lenses, microscope control device, and storage medium
RU2647645C1 (en) Method of eliminating seams when creating panoramic images from video stream of frames in real-time
CN114166187A (en) Mobile terminal-based quadratic element image measuring method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination