CN110763679A - Image acquisition method and device, microscope system and computer readable storage medium - Google Patents

Image acquisition method and device, microscope system and computer readable storage medium Download PDF

Info

Publication number
CN110763679A
CN110763679A CN201911054545.XA CN201911054545A CN110763679A CN 110763679 A CN110763679 A CN 110763679A CN 201911054545 A CN201911054545 A CN 201911054545A CN 110763679 A CN110763679 A CN 110763679A
Authority
CN
China
Prior art keywords
image
target
focal plane
sample
fitting
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
CN201911054545.XA
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.)
Hunan Aivin Medical Technology Co Ltd
Original Assignee
Hunan Aivin Medical Technology 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 Hunan Aivin Medical Technology Co Ltd filed Critical Hunan Aivin Medical Technology Co Ltd
Priority to CN201911054545.XA priority Critical patent/CN110763679A/en
Publication of CN110763679A publication Critical patent/CN110763679A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications

Abstract

The application provides a method, a device, a microscope system and a computer readable storage medium for image acquisition, which are applied to the microscope system, wherein the method comprises the steps of controlling a low-power objective lens to acquire a first image of a sample to be detected on a fitting focal plane when the sample to be detected is of a preset sample type, wherein the first image comprises a target main body of the sample to be detected; acquiring a target position of a target subject in a first image; controlling the high-power objective lens to respectively acquire a second image on the fitting focal plane and a plurality of preset planes parallel to the fitting focal plane based on the target position; and determining the target image from the plurality of second images according to the definition information corresponding to each second image. The method comprises the steps of collecting a second image on each of a plurality of parallel surfaces of a fitting focal plane, and determining a target image from the plurality of second images according to definition information corresponding to each second image. The target image with higher definition is used as the microscopic image, so that the microscopic image quality can be improved, and the microscopic efficiency is improved.

Description

Image acquisition method and device, microscope system and computer readable storage medium
Technical Field
The present application relates to the field of sample identification and image processing technologies, and in particular, to an image acquisition method and apparatus, a microscope system, and a computer-readable storage medium.
Background
In the process of disease diagnosis and scientific research, a specimen to be detected is often required to be sampled and filmed, a microscopic examination method is adopted to observe, analyze and judge a sample image under a high-power or low-power microscope, and a microscopic examination result of sample identification is provided. Human excreta, secretions, exfoliated cells or human tissues, animal tissues, and even plant cells can be used as objects for microscopic examination.
However, due to the reasons that the processing precision of the sample container is not smooth enough, the counting plate is placed obliquely, and the counting plate shakes during the mechanical transmission process, targets in all the visual field areas are not necessarily on the same horizontal plane, so that the quality of the collected microscopic image is poor, the microscopic examination efficiency is affected, and the target omission is easily caused.
Disclosure of Invention
The embodiment of the application provides an image acquisition method, an image acquisition device, a microscope system and a computer readable storage medium, which can optimize the microscopic examination image quality and improve the microscopic examination efficiency.
An image acquisition method applied to a microscope system, wherein the microscope system comprises a low-power objective lens and a high-power objective lens, and the method comprises the following steps:
when a sample to be detected is a preset sample type, controlling the low-power objective lens to collect a first image of the sample to be detected on a fitting focal plane, wherein the first image comprises a target main body of the sample to be detected;
acquiring a target position of the target subject in the first image;
based on the target position, controlling the high-power objective lens to respectively acquire a second image on the fitting focal plane and a plurality of preset planes parallel to the fitting focal plane; the second image includes the target subject;
and determining a target image from the plurality of second images according to the definition information corresponding to each second image.
In one embodiment, the controlling the high power objective lens to acquire a second image in each of the fitting focal plane and a plurality of preset planes parallel to the fitting focal plane includes: and controlling the high-power objective lens to be in the fitting focal plane and a plurality of second images are respectively collected on the preset plane, the preset plane is distributed on the first side and the second side of the fitting focal plane in parallel, and the first side and the second side are different sides.
In one embodiment, the determining a target image from a plurality of second images according to the sharpness information corresponding to each second image includes:
acquiring a position area of the target subject in each second image;
determining a definition value of the target subject in each second image according to the position area of the target subject;
and determining a second image where the target subject corresponding to the maximum definition value is located as the target image.
In one embodiment, the determining a target image from a plurality of second images according to the sharpness information corresponding to each second image includes:
acquiring a definition value of each second image;
and determining the second image corresponding to the maximum definition value as the target image.
In one embodiment, the controlling the low power objective lens to acquire the first image of the sample to be measured on the fitting focal plane includes:
dividing the sample to be detected in the fitting focal plane into a plurality of visual field areas;
and controlling the low-power objective lens to collect each field of view region on the fitting focal plane according to a preset path so as to acquire the first image.
In one embodiment, before controlling the low power objective to acquire the first image of the entire image acquisition area of the sample to be measured on the fitting focal plane, the method further includes:
acquiring at least three areas to be focused of the sample to be measured in a plane to be focused, and acquiring the position and the focal length of each area to be focused, wherein the at least three areas to be focused are not on the same straight line;
and determining the fitted focal plane according to the positions and focal lengths of at least three regions to be focused.
In one embodiment, the determining the fitted focal plane according to the positions and focal lengths of at least three regions to be focused includes: and fitting the fitted focal plane according to the positions and focal lengths of at least three regions to be focused based on a least square method.
An image acquisition apparatus comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for controlling the low-power objective lens to acquire a first image of a sample to be detected on a fitting focal plane when the sample to be detected is a preset sample type, and the first image comprises a target main body of the sample to be detected;
the acquisition module is used for acquiring a target position of the target main body in the first image;
the second acquisition module is used for controlling the high-power objective lens to respectively acquire a second image on the fitting focal plane and a plurality of preset planes parallel to the fitting focal plane based on the target position; the second image includes the target subject;
and the determining module is used for determining a target image from the plurality of second images according to the definition information corresponding to each second image.
A microscope system comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the image acquisition method.
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 image acquisition method as described.
The image acquisition method is applied to a microscope system, the microscope system comprises a low-power objective lens and a high-power objective lens, and the method comprises the following steps: when a sample to be detected is a preset sample type, controlling the low-power objective lens to collect a first image of the sample to be detected on a fitting focal plane, wherein the first image comprises a target main body of the sample to be detected; acquiring a target position of the target subject in the first image; based on the target position, controlling the high-power objective lens to respectively acquire a second image on the fitting focal plane and a plurality of preset planes parallel to the fitting focal plane; the second image includes the target subject; and determining a target image from the plurality of second images according to the definition information corresponding to each second image. The method comprises the steps of collecting a second image on each of a plurality of parallel surfaces of a fitting focal plane, and determining a target image from the plurality of second images according to definition information corresponding to each second image. The target image with higher definition is used as the microscopic image, the microscopic image quality can be improved, the microscopic efficiency is improved, and the probability of missing detection of the target is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an exemplary environment in which an image capture method may be implemented;
FIG. 2 is a flow diagram of a method of image acquisition in one embodiment;
FIG. 3 is a flowchart of steps performed in one embodiment to determine a target image from a plurality of second images based on sharpness information corresponding to each second image;
FIG. 4 is a flowchart illustrating steps performed in a further embodiment to determine a target image from a plurality of second images based on sharpness information associated with each of the second images;
FIG. 5 is a flowchart illustrating steps in one embodiment for controlling a low power objective lens to acquire a first image of a sample to be measured at a fitted focal plane;
FIG. 6 is a block diagram of an embodiment of an image capturing device;
fig. 7 is a schematic view of the internal structure of the microscope system in one embodiment.
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.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first image may be referred to as a second image, and similarly, a second image may be referred to as a first image, without departing from the scope of the present application. The first image and the second image are both images, but they are not the same image.
Fig. 1 is a schematic diagram of an application environment of an image acquisition method in an embodiment. The image capturing method provided by the present application is applied to a microscope system, as shown in fig. 1, the microscope system 10 includes a low power objective lens 110 and a high power objective lens 120, and the image capturing method includes: and when the sample to be detected is of a preset sample type, controlling the low-power objective lens to collect a first image of the sample to be detected on the fitting focal plane, wherein the first image comprises a target main body of the sample to be detected. A target position of a target subject in a first image is acquired. And controlling the high-power objective lens to respectively acquire a second image on the fitting focal plane and a plurality of preset planes parallel to the fitting focal plane based on the target position. The second image includes a target subject. And determining the target image from the plurality of second images according to the definition information corresponding to each second image. According to the method, the target image with high definition is used as the microscopic image, the microscopic image quality can be improved, the microscopic efficiency is improved, and the target missing probability is reduced.
Fig. 2 is a flowchart of an image capturing method in an embodiment, as shown in fig. 2, the image capturing method is applied to a microscope system, and includes steps 202 to 208.
Step 202, when the sample to be detected is of a preset sample type, controlling the low-power objective lens to collect a first image of the sample to be detected on the fitting focal plane, wherein the first image comprises a target main body of the sample to be detected.
The sample type may be set according to the form or concentration of the sample to be detected, and for example, the sample type may include: blood samples, secretion samples, urine samples, stool samples, and the like. The fitting focal plane refers to a plane which is fitted according to the corresponding relation between the position and the focal length of each focusing area of the sample to be measured, and a sample image comprising most of target main bodies can be acquired on the fitting focal plane.
Specifically, the sample type of the sample to be detected is obtained by identifying a label on the sample container through a lens; and the morphological characteristic parameters of the sample to be detected can be subjected to image recognition. When the sample to be detected is a secretion sample, a urine sample or a feces sample, the height of the objective table of the microscope system can be adjusted to enable the low-power objective lens to acquire a first image on the fitting focal plane, wherein the first image comprises a target main body of the sample to be detected. For example, if the sample to be tested is urine and the target subject of the sample to be tested is white blood cells, the low power objective lens collects a first image including at least one white blood cell on a preset fitting focal plane.
And step 204, acquiring the target position of the target main body in the first image.
The first image may be composed of a plurality of regions, each region is traversed, and the target subject in each region is searched and identified, so as to determine the position information of each target subject, and the target position may be marked by a plane coordinate (x, y).
Specifically, after the low-power objective lens finds the target main body from the first image, the target position where the found target main body is located is accurately positioned, so that the high-power objective lens collects the basis of the second image in a high-power amplification mode.
And step 206, controlling the high-power objective lens to respectively acquire a second image on the fitting focal plane and a plurality of preset planes parallel to the fitting focal plane based on the target position. The second image includes a target subject.
Any two planes in the preset planes and the fitting focal plane are parallel, and the distance between any two planes can be micron-sized or millimeter-sized, so that the self-defined setting can be realized.
Specifically, the high power objective lens is adjusted to a target position according to the target position of the target body, and the center of the field of view of the high power objective lens corresponds to the target position. When only one target body is provided, the center of the visual field of the high-power objective lens is aligned with the target position; when the target body is multiple, the center of the visual field of the high power objective lens is aligned with the target position of each target body in turn, and the action is executed for multiple times. And the high-power objective lens collects a second image of the sample to be detected on the fitting focal plane and respectively collects the second image of the sample to be detected on a plurality of preset planes parallel to the fitting intersecting plane. And each second image is a high-power amplification image, the high-power objective lens is adopted to perform high-power amplification on the target position where the target main body found from the first image is located, so that the target main body found from the first image can be accurately positioned, and one high-power amplified second image is collected on the fitting focal plane and the plurality of preset row planes respectively.
And 208, determining a target image from the plurality of second images according to the definition information corresponding to each second image.
The definition information corresponding to the second image may be a definition value of the whole second image, or may be a definition value of a preset region in the second image, where the preset region may be a region where the target subject is located, or the preset region may be a central region, an edge region, or the like according to the second image, and is not limited herein.
Specifically, a second image after high-power amplification is respectively collected on the fitting focal plane and the parallel plane thereof, and the definition information corresponding to each second image is obtained. Determining the target image according to the definition information corresponding to each second image means that: and taking the second image with the definition information meeting the preset condition as a target image. The corresponding preset condition can be that the definition value is maximum, and also can be that the definition value meets the definition threshold value and the number of target main bodies is maximum, wherein the definition threshold value is set by an engineer according to actual requirements in a self-defined mode. After the target image is determined, the target main body in the target image can be identified, and the detection result of the sample to be detected is obtained from the target image. The detection result may include information such as name, kind, size, number, form, etc. of the target subject.
The image acquisition method is applied to a microscope system, the microscope system comprises a low-power objective lens and a high-power objective lens, when a sample to be detected is of a preset sample type, the low-power objective lens is controlled to acquire a first image of the sample to be detected on a fitting focal plane, and the first image comprises a target main body of the sample to be detected. A target position of a target subject in a first image is acquired. And controlling the high-power objective lens to respectively acquire a second image on the fitting focal plane and a plurality of preset planes parallel to the fitting focal plane based on the target position. The second image includes a target subject. And determining the target image from the plurality of second images according to the definition information corresponding to each second image. The method comprises the steps of collecting a second image on each of a plurality of parallel surfaces of a fitting focal plane, and determining a target image from the plurality of second images according to definition information corresponding to each second image. The target image with higher definition is used as the microscopic image, the microscopic image quality can be improved, the microscopic efficiency is improved, and the probability of missing detection of the target is reduced.
In one embodiment, controlling the high power objective lens to acquire a second image in each of the fitting focal plane and a plurality of predetermined planes parallel to the fitting focal plane includes: and controlling the high-power objective lens to respectively acquire a second image on the fitting focal plane and a plurality of preset planes, wherein the preset planes are distributed on the first side and the second side of the fitting focal plane in parallel, and the first side and the second side are different sides.
Specifically, the plurality of preset planes are all parallel to the fitting focal plane. And the plurality of preset planes are distributed on two different sides of the fitting focal plane. For example, one or more predetermined planes may be provided on each of the first and second sides of the fitted focal plane. The number of the preset planes of the first side and the second side may be equal or unequal. The distance between any two of the plurality of preset planes and the fitting focal plane may be equal, that is, the first step length is set as the distance, and the plurality of preset planes are set on the first side and the second side of the fitting focal plane with the first step length as the distance. Of course, the distance between any two planes of the plurality of preset planes and the fit focal plane may not be equal, and is not limited herein. And controlling the high-power objective lens to collect a second image of a sample to be detected on the fitting focal plane, collecting second images of the sample to be detected on a plurality of preset planes by the high-power objective lens, and determining a target image from the plurality of second images according to the definition information of the collected second images.
FIG. 3 is a flowchart illustrating steps performed in one embodiment to determine a target image from a plurality of second images based on sharpness information associated with each second image. As shown in fig. 3, the step 302 to the step 306 are included to determine the target image from the plurality of second images according to the sharpness information corresponding to each second image.
Step 302, acquiring the position area of the target subject in each second image.
Specifically, the high power objective lens is controlled to respectively collect second images of a sample to be detected on the fitting focal plane and the plurality of preset planes, and the position area where the target main body is located in each second image is obtained. In terms of distance, the working process is as follows: if the number of the preset planes is N (N is a positive integer greater than 1), the number of the corresponding second images is N + 1; the target subject in each of the N +1 second images is identified according to the morphological parameters of the target subject, and the coordinates of the area where the target subject is located in each second image (the coordinates are one describing one area) are determined. The position area may be a regular pattern covering the target body, such as a square, rectangle, circle, or the like, or an irregular area outlined according to the contour of the target body.
And step 304, determining the definition value of the target subject in each second image according to the position area of the target subject.
Specifically, the position area where the target subject is located in each second image includes a plurality of pixel points, and the definition value of the target subject in each second image is obtained. The process may be, for example: in each second image, taking the square sum of the gray differences of two adjacent pixels in the position area where the target subject is located as the definition of the target subject in each second image by using a Brenner gradient function; the Tenengrad gradient function can also adopt a Sobel operator to respectively extract gradient values in the horizontal direction and the vertical direction in a position area where each second image target body is located as definition values of the target body, and the higher the gradient value is, the clearer the corresponding image area is; the index of the definition measurement can also be the average gray value of the image processed by the Sobel operator, and the larger the average gray value of the image is, the clearer the image is. The above description is for illustration purposes only, and the definition value acquisition manner illustrated herein is not limited to the embodiment of the present application.
And step 306, determining the second image where the target subject is located corresponding to the maximum definition value as the target image.
Specifically, the definition value of the target subject in each second image is calculated, the second images are sorted according to the definition value of the target subject, and the second image corresponding to the maximum definition value of the target subject is selected as the target image, that is, the definition value of the target subject in the target image is greater than or equal to the definition values of the target subjects in any other second images. And after the target image is determined, identifying a target main body in the target image, namely identifying the detection result of the sample to be detected according to the target image. The detection result may include information such as name, type, size, number, and form of the target subject, and is not limited herein.
FIG. 4 is a flowchart illustrating steps performed in a further embodiment to determine a target image from a plurality of second images based on sharpness information associated with each of the second images. As shown in fig. 4, the step 402 to the step 404 are included to determine the target image from the plurality of second images according to the sharpness information corresponding to each second image.
And step 402, acquiring the definition value of each second image.
Specifically, the process of obtaining the sharpness value of each second image may be, for example: taking the square sum of the gray differences of two adjacent pixels in the second image as the definition of the second image by using a Brenner gradient function; the Tenengrad gradient function can also adopt a Sobel operator to respectively extract gradient values in the horizontal direction and the vertical direction in the second image as definition values of the second image, and the higher the gradient value is, the clearer the corresponding second image area is; the index of the sharpness measurement of the second image can also be an average gray value of the image processed by the Sobel operator, and the larger the average gray value corresponding to the processed image is, the sharper the second image is. The above description is for illustration purposes only, and the definition value acquisition manner illustrated herein is not limited to the embodiment of the present application.
And step 404, determining the second image corresponding to the maximum definition value as the target image.
Specifically, the definition value of each second image is calculated, the second images are sorted according to the definition values of the second images, and the second image corresponding to the largest definition value is selected as the target image, namely the definition value of the target image is greater than or equal to the definition value of any other second image. And after the target image is determined, identifying a target main body in the target image, namely identifying the detection result of the sample to be detected according to the target image. The detection result may include information such as name, type, size, number, and form of the target subject, and is not limited herein.
FIG. 5 is a flowchart illustrating steps in one embodiment for controlling a low power objective lens to capture a first image of a sample to be measured at a fitted focal plane. As shown in fig. 5, controlling the low power objective lens to acquire a first image of the sample to be measured on the fitting focal plane includes:
and 502, dividing the sample to be measured on the fitting focal plane into a plurality of visual field areas.
Specifically, because the field of vision scope of microscope is far less than the scope of depositing the counting board of the sample that awaits measuring, when regarding the scope of counting board as the fit focal plane, need divide into a plurality of field of vision regions with the fit focal plane, the region that also means a plurality of field of vision regions concatenation of low power objective forms the complete fit focal plane of the sample that awaits measuring. The process of acquiring the sample to be measured of the fitted focal plane by the low power objective lens is as follows: the fitting focal plane can be divided into a plurality of visual field areas, the low-power objective lens collects the area images corresponding to each visual field area, and the area images collected by each visual field area are spliced into a first image.
And 504, controlling the low-power objective lens to collect each visual field area on the fitting focal plane according to a preset path so as to acquire a first image.
Specifically, the preset path refers to a path of the low power objective lens traversing each field of view region, and the path may be: the low-power objective lens traverses each visual field area according to a preset path without limitation. The fitting focal plane is divided into a plurality of visual field areas, the low-power objective lens collects area images corresponding to the visual field areas according to a preset path, and the plurality of area images collected in the visual field areas are spliced with the corresponding preset path to form a first image.
It should be understood that although the various steps in the flow charts of fig. 2-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order 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 some of the steps in fig. 2-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, before controlling the low power objective lens to acquire the first image of the entire image acquisition area of the sample to be measured on the fitted focal plane, the image acquisition method further includes: the method comprises the steps of obtaining at least three areas to be focused of a sample to be measured in a plane to be focused, and obtaining the position and the focal length of each area to be focused, wherein the at least three areas to be focused are not on the same straight line. And determining a fitted focal plane according to the positions and focal lengths of at least three regions to be focused.
Specifically, the plane to be focused refers to a range of a counting plate for storing a sample to be measured, and when the range of the counting plate is taken as the plane to be focused, the plane to be focused needs to be divided into a plurality of focusing areas. The focusing area comprises an area to be focused and an area not to be focused, wherein the area to be focused refers to a focusing area which is selected according to needs and is used for determining the corresponding relation between the position of each focusing area in a plane to be focused and a focal length, and the area not to be focused refers to other areas which are not selected in the plane to be focused. And when at least three areas to be focused in the plane to be focused are obtained, wherein the three selected areas to be focused are not on the same straight line. And determining the moving step length of the microscope according to the position of the microscope, and determining the corresponding relation between the position of each area to be focused and the focal length according to the moving step length of the microscope. And calculating an equation corresponding to the fitted focal plane according to the position and the focal length of each region to be focused.
In one embodiment, determining a fitted focal plane according to the positions and focal lengths of at least three regions to be focused includes: and fitting a focal plane according to the positions and focal lengths of at least three regions to be focused based on a least square method.
Specifically, according to the corresponding relationship between the position of each region to be focused and the focal length, the fitted focal plane equation of the plane to be focused can be determined by using the least square method. For example, the calculation formula for fitting the focal plane equation is F (x, y) ═ a × x + b × y + c, where a, b, and c are coefficients of the focal plane equation, and can be calculated according to the position and focal length of each region to be focused.
Fig. 6 is a block diagram of an embodiment of an image capturing apparatus, which includes a first capturing module 602, an obtaining module 604, a second capturing module 606, and a determining module 608.
The first acquiring module 602 is configured to, when the sample to be detected is a preset sample type, control the low power objective lens to acquire a first image of the sample to be detected on the fitting focal plane, where the first image includes a target main body of the sample to be detected.
The sample type may be set according to the form or concentration of the sample to be detected, and for example, the sample type may include: blood samples, secretion samples, urine samples, stool samples, and the like. The fitting focal plane refers to a plane which is fitted according to the corresponding relation between the position and the focal length of each focusing area of the sample to be measured, and a sample image comprising most of target main bodies can be acquired on the fitting focal plane.
Specifically, the sample type of the sample to be detected is obtained by identifying a label on the sample container through a lens; and the morphological characteristic parameters of the sample to be detected can be subjected to image recognition. When the sample to be detected is a secretion sample, a urine sample, a stool sample, or the like, the first acquisition module 602 may enable the low power objective lens to acquire a first image on the fitting focal plane by adjusting a height of a stage of the microscope system, where the first image includes a target subject of the sample to be detected. For example, if the sample to be tested is urine and the target subject of the sample to be tested is white blood cells, the low power objective lens collects a first image including at least one white blood cell on a preset fitting focal plane.
The obtaining module 604 is configured to obtain a target position where the target subject is located in the first image.
The first image may be composed of a plurality of regions, each region is traversed, and the target subject in each region is searched and identified, so as to determine the position information of each target subject, and the target position may be marked by a plane coordinate (x, y).
Specifically, after the low power objective lens finds the target subject from the first image, the obtaining module 604 accurately locates the target position where the found target subject is located, so as to obtain the basis for acquiring the second image by the high power objective lens through high power amplification.
And a second collecting module 606, configured to control the high power objective to collect a second image on the fitting focal plane and each of a plurality of preset planes parallel to the fitting focal plane based on the target position. The second image includes a target subject.
Any two planes in the preset planes and the fitting focal plane are parallel, and the distance between any two planes can be micron-sized or millimeter-sized, so that the self-defined setting can be realized.
Specifically, the second collecting module 606 adjusts the high power objective lens to the target position according to the target position of the target main body, and makes the center of the field of view of the high power objective lens correspond to the target position. When only one target body is provided, the center of the visual field of the high-power objective lens is aligned with the target position; when the target body is multiple, the center of the visual field of the high power objective lens is aligned with the target position of each target body in turn, and the action is executed for multiple times. And the high-power objective lens collects a second image of the sample to be detected on the fitting focal plane and respectively collects the second image of the sample to be detected on a plurality of preset planes parallel to the fitting intersecting plane. And each second image is a high-power amplification image, the high-power objective lens is adopted to perform high-power amplification on the target position where the target main body found from the first image is located, so that the target main body found from the first image can be accurately positioned, and one high-power amplified second image is collected on the fitting focal plane and the plurality of preset row planes respectively.
The determining module 608 is configured to determine the target image from the plurality of second images according to the sharpness information corresponding to each second image.
The definition information corresponding to the second image may be a definition value of the whole second image, or may be a definition value of a preset region in the second image, where the preset region may be a region where the target subject is located, or the preset region may be a central region, an edge region, or the like according to the second image, and is not limited herein.
Specifically, a second image after high-power amplification is respectively collected on the fitting focal plane and the parallel plane thereof, and the definition information corresponding to each second image is obtained. The determining module 608 determines, according to the sharpness information corresponding to each second image, that the target image is: and taking the second image with the definition information meeting the preset condition as a target image. The corresponding preset condition can be that the definition value is maximum, and also can be that the definition value meets the definition threshold value and the number of target main bodies is maximum, wherein the definition threshold value is set by an engineer according to actual requirements in a self-defined mode. After the target image is determined, the target main body in the target image can be identified, and the detection result of the sample to be detected is obtained from the target image. The detection result may include information such as name, kind, size, number, form, etc. of the target subject.
The image acquisition device is applied to a microscope system, the microscope system comprises a low-power objective lens and a high-power objective lens, when a sample to be detected is of a preset sample type, the image acquisition device utilizes a first acquisition module 602 to control the low-power objective lens to acquire a first image of the sample to be detected on a fitting focal plane, and the first image comprises a target main body of the sample to be detected. The target position of the target subject in the first image is acquired using the acquisition module 604. And controlling the high power objective lens to respectively acquire a second image on the fitting focal plane and a plurality of preset planes parallel to the fitting focal plane based on the target position by using a second acquisition module 606. The second image includes a target subject. The determining module 608 is utilized to determine the target image from the plurality of second images according to the sharpness information corresponding to each second image. The device takes the target image with higher definition as the microscopic image, can improve the microscopic image quality, improve the microscopic efficiency and reduce the probability of missing detection of the target.
The division of the modules in the image capturing device is only for illustration, and in other embodiments, the image capturing device may be divided into different modules as needed to complete all or part of the functions of the image capturing device.
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.
Fig. 7 is a schematic view of the internal structure of the microscope system in one embodiment. As shown in fig. 7, the microscope system includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor is used to provide computational and control capabilities to support the operation of the entire microscope system. The memory is used for storing data, programs and the like, and the memory stores at least one computer program which can be executed by the processor to realize the wireless network image acquisition method suitable for the microscope system provided in the embodiment of the application. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor for implementing an image acquisition method provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The network interface may be an ethernet card or a wireless network card, etc. for communicating with an external microscope system. The microscope system may be a mobile phone, a tablet computer, or a personal digital assistant or a wearable device, etc.
The implementation of each module in the image acquisition apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
Any reference to memory, storage, database, or other medium used by embodiments of the present application may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
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 present application. 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 applied to a microscope system including a low power objective lens and a high power objective lens, the method comprising:
when a sample to be detected is a preset sample type, controlling the low-power objective lens to collect a first image of the sample to be detected on a fitting focal plane, wherein the first image comprises a target main body of the sample to be detected;
acquiring a target position of the target subject in the first image;
based on the target position, controlling the high-power objective lens to respectively acquire a second image on the fitting focal plane and a plurality of preset planes parallel to the fitting focal plane; the second image includes the target subject;
and determining a target image from the plurality of second images according to the definition information corresponding to each second image.
2. The method of claim 1, wherein the controlling the high power objective lens to acquire one second image in each of the fitted focal plane and a plurality of predetermined planes parallel to the fitted focal plane comprises:
and controlling the high-power objective lens to be in the fitting focal plane and a plurality of second images are respectively collected on the preset plane, the preset plane is distributed on the first side and the second side of the fitting focal plane in parallel, and the first side and the second side are different sides.
3. The method according to claim 1, wherein determining the target image from the plurality of second images according to the sharpness information corresponding to each of the second images comprises:
acquiring a position area of the target subject in each second image;
determining a definition value of the target subject in each second image according to the position area of the target subject;
and determining a second image where the target subject corresponding to the maximum definition value is located as the target image.
4. The method according to claim 1, wherein determining the target image from the plurality of second images according to the sharpness information corresponding to each of the second images comprises:
acquiring a definition value of each second image;
and determining the second image corresponding to the maximum definition value as the target image.
5. The method of claim 1, wherein controlling the low power objective lens to acquire the first image of the sample to be measured on the fitted focal plane comprises:
dividing the sample to be detected in the fitting focal plane into a plurality of visual field areas;
and controlling the low-power objective lens to collect each field of view region on the fitting focal plane according to a preset path so as to acquire the first image.
6. The method of any one of claims 1 to 5, wherein before controlling the low power objective lens to acquire the first image of the entire imaging area of the sample to be measured on the fitted focal plane, the method further comprises:
acquiring at least three areas to be focused of the sample to be measured in a plane to be focused, and acquiring the position and the focal length of each area to be focused, wherein the at least three areas to be focused are not on the same straight line;
and determining the fitted focal plane according to the positions and focal lengths of at least three regions to be focused.
7. The method of claim 6, wherein determining the fitted focal plane from the positions and focal lengths of at least three of the regions to be focused comprises:
and fitting the fitted focal plane according to the positions and focal lengths of at least three regions to be focused based on a least square method.
8. An image acquisition apparatus, comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for controlling the low-power objective lens to acquire a first image of a sample to be detected on a fitting focal plane when the sample to be detected is a preset sample type, and the first image comprises a target main body of the sample to be detected;
the acquisition module is used for acquiring a target position of the target main body in the first image;
the second acquisition module is used for controlling the high-power objective lens to respectively acquire a second image on the fitting focal plane and a plurality of preset planes parallel to the fitting focal plane based on the target position; the second image includes the target subject;
and the determining module is used for determining a target image from the plurality of second images according to the definition information corresponding to each second image.
9. A microscope system comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the image acquisition method according to any one 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 according to any one of claims 1 to 7.
CN201911054545.XA 2019-10-31 2019-10-31 Image acquisition method and device, microscope system and computer readable storage medium Pending CN110763679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911054545.XA CN110763679A (en) 2019-10-31 2019-10-31 Image acquisition method and device, microscope system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911054545.XA CN110763679A (en) 2019-10-31 2019-10-31 Image acquisition method and device, microscope system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110763679A true CN110763679A (en) 2020-02-07

Family

ID=69335136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911054545.XA Pending CN110763679A (en) 2019-10-31 2019-10-31 Image acquisition method and device, microscope system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110763679A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112986239A (en) * 2021-02-05 2021-06-18 爱威科技股份有限公司 Layered image collection method and device, computer equipment and storage medium
CN113837079A (en) * 2021-09-24 2021-12-24 苏州贝康智能制造有限公司 Automatic focusing method and device for microscope, computer equipment and storage medium
WO2022041149A1 (en) * 2020-08-28 2022-03-03 苏州迈瑞科技有限公司 Urine analyzer, method for detecting bacteria in urine, and storage medium
CN114967100A (en) * 2022-08-02 2022-08-30 杭州德适生物科技有限公司 Chromosome karyotype analysis micro-shooting device and parameter correction method thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100309306A1 (en) * 2006-03-01 2010-12-09 Hamamatsu Photonics K.K. Image acquiring apparatus, image acquiring method, and image acquiring program
CN102216954A (en) * 2008-01-18 2011-10-12 海默库伊公司 Method and apparatus for analysis of particles in a liquid sample
CN103534628A (en) * 2011-02-01 2014-01-22 体质医学股份有限公司 Fast auto-focus in microscopic imaging
CN105067520A (en) * 2015-07-28 2015-11-18 爱威科技股份有限公司 Microscopic examination identification method and apparatus
CN105241811A (en) * 2015-09-30 2016-01-13 爱威科技股份有限公司 Multilevel focusing automatic image acquisition method and system thereof
CN107644425A (en) * 2017-09-30 2018-01-30 湖南友哲科技有限公司 Target image choosing method, device, computer equipment and storage medium
CN108345085A (en) * 2017-01-25 2018-07-31 广州康昕瑞基因健康科技有限公司 Focus method and focusing system
CN109239900A (en) * 2018-11-07 2019-01-18 华东师范大学 A kind of full-automatic quick focusing method for the big visual field acquisition of microscopic digital image

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100309306A1 (en) * 2006-03-01 2010-12-09 Hamamatsu Photonics K.K. Image acquiring apparatus, image acquiring method, and image acquiring program
CN102216954A (en) * 2008-01-18 2011-10-12 海默库伊公司 Method and apparatus for analysis of particles in a liquid sample
CN103534628A (en) * 2011-02-01 2014-01-22 体质医学股份有限公司 Fast auto-focus in microscopic imaging
CN105067520A (en) * 2015-07-28 2015-11-18 爱威科技股份有限公司 Microscopic examination identification method and apparatus
CN105241811A (en) * 2015-09-30 2016-01-13 爱威科技股份有限公司 Multilevel focusing automatic image acquisition method and system thereof
CN108345085A (en) * 2017-01-25 2018-07-31 广州康昕瑞基因健康科技有限公司 Focus method and focusing system
CN107644425A (en) * 2017-09-30 2018-01-30 湖南友哲科技有限公司 Target image choosing method, device, computer equipment and storage medium
CN109239900A (en) * 2018-11-07 2019-01-18 华东师范大学 A kind of full-automatic quick focusing method for the big visual field acquisition of microscopic digital image

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022041149A1 (en) * 2020-08-28 2022-03-03 苏州迈瑞科技有限公司 Urine analyzer, method for detecting bacteria in urine, and storage medium
CN112986239A (en) * 2021-02-05 2021-06-18 爱威科技股份有限公司 Layered image collection method and device, computer equipment and storage medium
CN113837079A (en) * 2021-09-24 2021-12-24 苏州贝康智能制造有限公司 Automatic focusing method and device for microscope, computer equipment and storage medium
CN114967100A (en) * 2022-08-02 2022-08-30 杭州德适生物科技有限公司 Chromosome karyotype analysis micro-shooting device and parameter correction method thereof

Similar Documents

Publication Publication Date Title
CN110763679A (en) Image acquisition method and device, microscope system and computer readable storage medium
CN111524137B (en) Cell identification counting method and device based on image identification and computer equipment
CN113962975B (en) System for carrying out quality evaluation on pathological slide digital image based on gradient information
JP5461630B2 (en) Method for determining focus position and vision inspection system
CN114037637B (en) Image data enhancement method and device, computer equipment and storage medium
CN110763678A (en) Pathological section interpretation method and system
CN111899246B (en) Slide digital information quality detection method, device, equipment and medium
CN111105415A (en) White blood cell large-field-of-view image detection system and method based on deep learning
CN111257329A (en) Smartphone camera defect detection method and detection system
CN110909646A (en) Digital pathological section image acquisition method and device, computer equipment and storage medium
CN110837809A (en) Blood automatic analysis method, blood automatic analysis system, blood cell analyzer, and storage medium
CN112464802B (en) Automatic identification method and device for slide sample information and computer equipment
CN110927158B (en) Image acquisition method and device, microscope system and computer readable storage medium
JP4938428B2 (en) Specimen image creation method and apparatus
US20220148160A1 (en) Method For Analyzing Biological-Tissue Image And System For Analyzing Biological-Tissue Image
CN110738658B (en) Image quality evaluation method
CN110793965A (en) Image acquisition method and device, microscope system and computer readable storage medium
CN109859218B (en) Pathological graph key area determination method and device, electronic equipment and storage medium
US20040252876A1 (en) Method and system for classifying slides using scatter plot distribution
CN112363309B (en) Automatic focusing method and system for pathological image under microscope
CN115601564A (en) Colloid contour detection method and system based on image recognition
US10482314B2 (en) Automatic calculation for ploidy classification
CN112233060A (en) Method and device for screening abnormal samples of digital pathological images, computer equipment and storage medium
CN109708585A (en) A kind of measurement of unmarked extensometer dynamic and system of view-based access control model tracking
CN110658618A (en) Method and device for fitting and focusing sample image, computer equipment and storage medium

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