Sample analyzer and cell image processing method of sample analyzer

By processing and matching images in the sample analyzer, identifying and optimizing the focusing process, the problem of focus offset and impurity interference caused by the instability of the mechanical transmission structure is solved, and high-definition analysis of the visible components of cells is achieved, improving Improve positioning accuracy and avoid cost increases.

CN112903675BActive Publication Date: 2024-09-06SHENZHEN MINDRAY BIO MEDICAL ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911120285.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-15
Publication Date
2024-09-06
Estimated Expiration
2039-12-26

AI Technical Summary

Technical Problem

When existing sample analyzers use real-time dynamic focusing technology, due to the instability of the mechanical transmission structure, the focus shifts, affecting image clarity. Direct focusing on the cell plane is easily interfered by impurities and background, resulting in unclear images. .

Method used

A sample analyzer is designed, including a counting cell, an image acquisition device and a control device. By processing the captured images, the clearest image in the field of view is obtained, the formed components are identified, and the target formed components are determined according to preset standards. , match images one by one to determine the clearest image, avoid focusing being interfered by impurities, and optimize the focusing process.

Benefits of technology

It achieves clear focus identification of the visible components of cells, avoids impurities and background interference during the focusing process, and improves image clarity and positioning accuracy without increasing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112903675B
    Figure CN112903675B
Patent Text Reader

Abstract

The present invention provides a sample analyzer and a method for processing cell images of the sample analyzer, wherein the sample analyzer comprises: a counting pool for carrying an object to be tested and providing a field of view for shooting; an image acquisition device for amplifying and photographing the object to be tested in the field of view to obtain a set of images, wherein the image acquisition device comprises: a microscope, a driving device and an imaging device; and a control device for generating control information and processing the set of images to obtain the clearest image of the target formed component in the object to be tested in the set of images. The scheme of the present invention directly performs focus identification and analysis on formed components such as cells, avoiding the problem of focusing on the field of view of shooting being disturbed by impurities and background, the formed components are displayed clearly, and only the process is optimized, which will not increase the cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a sample analyzer, and more particularly to a sample analyzer and a method for processing a cell image of the sample analyzer. Background Art

[0002] With the continuous improvement of medical technology, traditional manual microscopic examination of urine samples has gradually been replaced by fully automatic instruments. Moreover, with the increasing popularity of fully automatic instruments, higher requirements are constantly being placed on the performance of the instruments, especially the clarity and consistency of the image.

[0003] During the use of the instrument, the focus of the microscope will shift due to interference from the external environment. After the focus shifts, the image will become blurred. Especially for high-power images, the image will be unrecognizable due to blur. The current online products use real-time dynamic focusing technology to solve the above-mentioned problem of unstable image quality.

[0004] Real-time dynamic focusing technology uses the markers on the counting pool to assist in focusing. Before taking a picture of each sample, the focus operation is performed through the marker. No matter how the focal length of the microscope changes due to environmental influences, the instrument can automatically focus on the marker and focus on the cell plane based on the positional relationship between the cell plane and the marker. In this way, each image is taken after focusing, so the image always remains clear.

[0005] Although the problem of focal length offset of the microscope can be solved well by real-time dynamic focusing technology, the prerequisite for this technology to achieve the ideal effect is the stability of the Z-axis mechanical transmission structure, that is, it can ensure that the distance from the cell plane to the marker is constant. However, in fact, due to the influence of factors such as ambient temperature and self-aging, this distance will change, which will cause the real-time dynamic focusing to fail, resulting in unclear images.

[0006] Therefore, in order to solve the problem that the real-time dynamic focusing technology is subject to the stability of the mechanical transmission structure of the microscope, the cell plane can be directly focused, and the final focused image can be determined based on the focusing result of the cell plane. However, the method of directly focusing on the cell plane is easily interfered by factors such as impurities, background, and different layers of formed elements, resulting in unclear images.

[0007] Therefore, the art needs a new type of sample analyzer and a method for processing cell images of the sample analyzer to solve the above problems. Summary of the invention

[0008] The present invention is proposed to solve the above problems. According to one aspect of the present invention, a sample analyzer is provided, the sample analyzer comprising: a counting pool for carrying an object to be tested and providing a field of view for shooting; an image acquisition device for magnifying and photographing the object to be tested in the field of view to obtain a set of images, wherein the image acquisition device comprises: a microscope, the microscope comprising a stage for carrying the counting pool and an objective lens for magnifying the object to be tested in the field of view; a driving device for driving the stage to move so as to focus on the cell plane of the object to be tested; and an imaging device for taking a set of images of the magnified object to be tested in the field of view during the movement of the stage; and a control device coupled to the driving device and the imaging device for generating control information and processing the set of images to obtain the clearest image of the target tangible component in the object to be tested in the set of images.

[0009] Furthermore, the control device processes the group of images including: acquiring the clearest image of the field of view in the group of images; identifying various shaped components in the acquired image with the clearest field of view; acquiring the target shaped component from the shaped components based on preset standards; and matching the clearest image of the field of view with each image in the group of images one by one to determine the image with the clearest target shaped component from the group of images.

[0010] Furthermore, the control device is also used to control the driving device to drive the stage to move gradually from a position far away from the objective lens to a position close to the objective lens or from a position close to the objective lens to a position far away from the objective lens, so that the shooting focal lengths corresponding to the group of images captured are arranged from large to small or from small to large.

[0011] In one embodiment, the step of obtaining the target shaped ingredient from the shaped ingredients based on a preset standard includes: based on the clearest image of the visual field obtained, identifying various shaped ingredients therein, determining the contents of the various shaped ingredients, and obtaining the shaped ingredient with the largest content as the target shaped ingredient.

[0012] In one embodiment, the obtaining of the target tangible component from the tangible components based on a preset standard comprises: obtaining a priority ranking of preset tangible components; and according to the priority ranking, obtaining the tangible component with the highest priority in the group of images as the target tangible component.

[0013] In one embodiment, the obtaining of the target tangible component from the tangible components based on a preset standard comprises: receiving an input from a user, wherein the input comprises a desired tangible component determined by the user; and obtaining the desired tangible component as the target tangible component based on the input from the user.

[0014] In one embodiment, the control device is also used to: obtain the clearest images of each target shaped component from the group of images; and extract the image part where the corresponding target shaped component on each image is located and synthesize them to obtain a composite image in which all shaped components are clear.

[0015] In one embodiment, the control device processes the group of images and further includes: obtaining the number of the image with the clearest target tangible component; extracting the clearest image corresponding to the number, and performing segmentation and recognition; and outputting the clearest image and the tangible component statistics based on the clearest image.

[0016] In one embodiment, the control device processes the group of images further comprising: acquiring a shooting focal length corresponding to the image of the target tangible component with the clearest image; and storing the shooting focal length, and using the shooting focal length as a reference focal length for subsequent shooting.

[0017] In one embodiment, the sample analyzer comprises a preset standard setting device for providing a user with a choice of the preset standard.

[0018] According to another aspect of the present invention, a method for processing cell images of a sample analyzer is provided, the method comprising: obtaining an initial stage position; controlling the movement of the stage to focus on the cell plane of the object to be measured and to magnify the object to be measured; during the movement of the stage, controlling the shooting of a group of images of the magnified object to be measured; and processing the group of images to obtain the clearest image of the target shaped component in the object to be measured in the group of images.

[0019] Furthermore, the step of processing the group of images includes: obtaining the clearest image of the field of view in the group of images; identifying various tangible components in the obtained image with the clearest field of view; obtaining the target tangible component from the tangible components based on preset standards; and matching the clearest image of the field of view with each image in the group of images one by one to determine the image with the clearest target tangible component from the group of images.

[0020] Furthermore, controlling the movement of the objective stage also includes: controlling the objective stage to gradually move from a position far away from the objective lens to a position close to the objective lens or from a position close to the objective lens to gradually move to a position far away from the objective lens, so that the shooting focal lengths corresponding to the group of images captured are arranged from large to small or from small to large.

[0021] In one embodiment, the step of obtaining the target shaped ingredient from the shaped ingredients based on a preset standard includes: based on the clearest image of the visual field obtained, identifying various shaped ingredients therein, determining the contents of the various shaped ingredients, and obtaining the shaped ingredient with the largest content as the target shaped ingredient.

[0022] In one embodiment, the step of obtaining the target tangible component from the tangible components based on a preset standard comprises: obtaining a preset priority ranking of various tangible components; and according to the priority ranking, obtaining the tangible component with the highest priority in the group of images as the target tangible component.

[0023] In one embodiment, the obtaining of the target tangible component from the tangible components based on a preset standard comprises: receiving an input from a user, wherein the input comprises a desired tangible component determined by the user; and obtaining the desired tangible component as the target tangible component based on the input from the user.

[0024] In one embodiment, the method further includes: obtaining, from the group of images, images in which each target tangible component is clearest; and extracting and synthesizing the image parts in which the corresponding target tangible components on each image are located to obtain a composite image in which all tangible components are clear.

[0025] In one embodiment, the method also includes: obtaining the number of the image of the clearest target tangible component; extracting the clearest image corresponding to the number, and performing segmentation and recognition; and outputting the clearest image and the tangible component statistics based on the clearest image.

[0026] In one embodiment, the method further includes: acquiring a shooting focal length corresponding to the clearest image of the target tangible component; and storing the shooting focal length, and using the shooting focal length as a reference focal length for subsequent shooting.

[0027] In one embodiment, the method further includes: receiving a user's selection of the preset standard, and acquiring the target tangible component based on the selected preset standard.

[0028] According to another aspect of the present invention, there is provided a computer-readable storage medium, comprising computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, can execute the method as described above.

[0029] According to the sample analyzer and the method for processing cell images of the sample analyzer according to the embodiments of the present invention, the formed elements such as cells are directly focused, identified and analyzed, thereby avoiding the problem of focusing on the shooting field of view being disturbed by impurities and background. The formed elements are displayed clearly, and only the process is optimized without causing an increase in cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The above and other purposes, features and advantages of the present invention will become more apparent by describing the embodiments of the present invention in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0031] Figure 1 A schematic flow chart showing a method for processing a cell image of a sample analyzer according to an embodiment of the present invention;

[0032] Figure 2 A diagrammatic schematic diagram showing a control device processing a group of images according to an embodiment of the present invention;

[0033] Figure 3 is a graph showing the relationship between the Q value and the coordinates of an image according to an embodiment of the present invention;

[0034] Figure 4 Based on Figure 3 A schematic diagram of the clearest image in the field of view obtained by the curve graph;

[0035] Figure 5 A flowchart showing the steps of a method for processing a cell image of a sample analyzer according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical scheme and advantages of the present invention more obvious, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described herein. Based on the embodiments of the present invention described in the present invention, all other embodiments obtained by those skilled in the art without creative work should fall within the protection scope of the present invention.

[0037] As mentioned above, the current real-time dynamic focusing technology of microscopes is interfered by different layers of formed elements when focusing directly on the cell plane, resulting in unclear images.

[0038] In order to obtain clear captured images, the present invention provides a sample analyzer, including a counting pool, an image acquisition device and a control device, wherein the control device processes a group of captured images to obtain the clearest image of the target tangible components in the object to be tested in the group of images.

[0039] In order to obtain clear captured images, the present invention also provides a method for processing cell images of a sample analyzer, wherein a group of captured images are processed to obtain the clearest image of the target shaped components in the object to be tested in the group of images.

[0040] The sample analyzer and the cell image processing method of the sample analyzer directly focus on the cells and other formed elements themselves for identification and analysis, avoiding the problem of focusing on the shooting field of view being disturbed by impurities and background, and the cell position is clear and the positioning is more accurate.

[0041] The sample analyzer and the method for processing cell images of the sample analyzer according to the present invention will be described in detail below in conjunction with specific embodiments.

[0042] Embodiment 1

[0043] This embodiment provides a sample analyzer 100. Figure 1 As shown, Figure 1 FIG. 1 is a schematic structural diagram of a sample analyzer 100 according to an embodiment of the present invention.

[0044] Reference Figure 1 According to the present embodiment, the sample analyzer 100 may include a counting pool 10, an image acquisition device 20, and a control device 30. The sample analyzer 100 may be any analyzer known in the art, such as a urine formed component analyzer, a blood analyzer, etc., and the present invention is not limited thereto. The following description is made by taking a urine formed component analyzer as an example.

[0045] The counting pool 10 is used to carry samples to be tested, such as urine samples, blood samples or other body fluid samples. In addition, the counting pool 10 is also used to provide a field of view for shooting. Corresponding to the urine formed component analyzer, the following is an example of a urine sample. The urine sample contains various formed elements, such as red blood cells, white blood cells, white blood cell clusters, bacteria, epithelial cells, crystals, casts, mucus threads, sperm, etc., and also contains various impurities.

[0046] The image acquisition device 20 is used to magnify and photograph the object under test in the shooting field of view to obtain a set of images. Specifically, the image acquisition device 20 may include: a microscope 22, a driving device 24 and an imaging device 26.

[0047] The microscope 22 may include a stage 222 for carrying the counting pool 10, and an objective lens 224 for magnifying and photographing the object to be measured in the field of view. During use, the stage 222 and / or the objective lens 224 may be driven by the driving device 24 to move to a predetermined position, thereby completing the focusing operation. It should be understood that the microscope 22 may also include any other components known to those skilled in the art, such as an eyepiece, a light source lamp, a base, etc., and the present invention is not limited thereto.

[0048] The driving device 24 is coupled to the microscope 22, and is used to drive the stage 222 and / or the objective lens 224 to move so as to focus on the cell plane of the object to be measured. In actual use, in order to facilitate disassembly and maintenance, preferably, the driving device 24 drives the stage 222 to move so as to focus on the cell plane of the object to be measured. Specifically, the driving device 24 may include a driving circuit and a stepping motor.

[0049] The imaging device 26 is installed above the objective lens 224 of the microscope 22, and is used to capture a group of magnified images of the object under test in the field of view during the movement of the stage 222, and transmit the images to the control device 30. The imaging device 26 may include any imaging device known in the art, such as various CCD cameras, CMOS cameras, etc., which are not limited in the present invention.

[0050] The control device 30 is coupled to the driving device 24 and the imaging device 26 , and is configured to generate control information and transmit the control information to the driving device 24 and the imaging device 26 to control the driving device 24 and the imaging device 26 .

[0051] Specifically, the control device 30 transmits the control information to the driving device 24, and the driving device 24 drives the stage 222 to move according to the control information to focus on the cell plane of the object to be measured. If the initial stage position is outside the reference focal length, the driving device 24 can drive the stage 222 to gradually move toward the objective lens 224 for focusing; if the initial stage position is within the reference focal length, the driving device 24 can drive the stage 222 to gradually move away from the objective lens 224 for focusing. In this way, the shooting focal lengths corresponding to a group of images captured during the movement of the stage 222 can be arranged in order from large to small or from small to large.

[0052] During the process of driving the stage 222 to move, the control device 30 controls the imaging device 26 to capture a group of images of the object to be measured, so that the focal lengths corresponding to the group of images are arranged from large to small or from small to large.

[0053] Furthermore, the control device 30 also receives a group of images captured by the imaging device 26, and processes the group of images to obtain the clearest image of the target tangible components in the object to be measured in the group of images.

[0054] refer to Figure 1 and Figure 2 , Figure 1 A flowchart showing steps of processing a group of images by the control device 30 according to an embodiment of the present invention is shown. Figure 2 FIG. 2 is a diagrammatic illustration of a control device 30 processing a group of images according to an embodiment of the present invention. Figure 1 , illustratively, the step of the control device 30 processing the set of images may include:

[0055] Step S1: Get a set of images (such as Figure 2 The clearest image in the field of view (as shown in a) Figure 2 (as shown in b in the figure).

[0056] Exemplarily, a method for obtaining the clearest image in the field of view from the set of images may include: for each image in the set of images, calculating the sum of the squares of the differences in the grayscale values ​​of each pixel of each image in the x and y directions and summing them up to obtain the Q value of the image, that is, Q = ∑(dx^2+dy^2), where dx and dy are the differences in the grayscale values ​​of the image in the x and y directions, respectively; and selecting the image with the largest Q value as the clearest image in the field of view.

[0057] refer to Figure 3 and Figure 4 , Figure 3 is a graph showing the relationship between the Q value and the coordinates of an image according to an embodiment of the present invention, Figure 4 Based on Figure 3 The method of selecting the image with the largest Q value as the image with the clearest view area may include: drawing the relationship between the Q value and the coordinates of each image in the set of images into a curve (such as Figure 3 As shown), the coordinate represented by the abscissa can be the image number, which can be represented by the number of steps the stepper motor moves from the initial position; the image corresponding to the abscissa of the peak value of the curve (i.e., the maximum Q value) is selected as the clearest image in the field of view (such as Figure 4 The position of the stage corresponding to the clearest image can be used as the reference position of the stage for the next focus test.

[0058] Step S2: Identify various visible components (such as Figure 2 Indicated by the various ellipses on b in ). Wherein, various shaped elements may include, for example, red blood cells, white blood cells, squamous epithelial cells, urine protein, urobilinogen, urobilirubin, urine ketone bodies, etc. Wherein, various shaped elements may be identified by methods known in the art, for example, segmentation methods based on edge detection, etc., which are not limited by the present invention. The process of identifying various shaped elements by using a segmentation method based on edge detection may be: first grayscale processing the image to obtain a grayscale image, then using an edge detection algorithm to identify the edges of various components in the image, then segmenting the various components based on the detected edges, and obtaining the shaped elements therein according to the size, grayscale, etc. of the various components. Exemplarily, the edge detection algorithm may include any edge detection algorithm known in the art, for example, a differential edge detection algorithm, a Roberts edge detection algorithm, a Sobel edge detection algorithm, a Prewitt edge detection algorithm, a Laplace edge detection algorithm, a LOG edge detection algorithm, a Canny edge detection algorithm, etc., which are not limited by the present invention.

[0059] Step S3: Obtain target tangible components (such as Figure 2 (as shown in c in FIG. 1 ). The target tangible component may be a tangible component required by a user or a tangible component with the largest content, etc. Exemplarily, the user may include a primary physician, an analyst, a patient, etc.

[0060] The sample analyzer 100 may include a preset standard setting device (not shown) for providing the user with a choice of preset standards. For example, the user may select a standard based on the maximum content of a tangible component, or may select a standard based on priority sorting, or may directly select one or more desired tangible components, etc.

[0061] In one embodiment, a method for obtaining a target shaped ingredient from various shaped ingredients based on preset standards may include: based on the clearest image of the visual field obtained, identifying various shaped ingredients therein, determining the content of the various shaped ingredients, and obtaining the shaped ingredient with the largest content as the target shaped ingredient.

[0062] In another embodiment, the method for obtaining a target tangible component from various tangible components based on a preset standard may include: obtaining a priority ranking of preset tangible components; and according to the priority ranking, obtaining the tangible component with the highest priority ranking contained in a group of captured images as the target tangible component. The priority ranking may be preset by the user, or provided as a default setting according to the type of test item, etc., which is not limited by the present invention.

[0063] In another embodiment, a method for obtaining a target tangible component from various tangible components based on a preset standard may include: receiving an input from a user, wherein the input may include a desired tangible component determined by the user; and based on the input from the user, obtaining the desired tangible component as the target tangible component. The input may be in any form known in the art. For example, a preset standard setting device may provide options for tangible components, and the user may click to select the tangible component if the user needs it. For another example, a preset standard setting device may provide an input text box, and the user may enter the desired tangible component in the text box. The present invention is not limited to this.

[0064] It should be understood that the above embodiments are merely exemplary and are not intended to be limiting, and may also include other methods for obtaining target tangible ingredients from various tangible ingredients based on preset standards, which is not limited in the present invention.

[0065] Step S4: Match the clearest image in the field of view with each image in the group of images taken above one by one, so as to determine the image with the clearest target tangible component from the group of images (such as Figure 2 d and e in Fig.

[0066] Furthermore, the control device 30 may further process the acquired image of the target tangible component with the clearest image as follows: obtain the serial number of the image of the target tangible component with the clearest image (such as Figure 2 f in the figure); extract the clearest image corresponding to the number, and perform segmentation and recognition; and output the clearest image and the tangible component statistics based on the clearest image. Exemplarily, since the shooting focal lengths corresponding to the images are arranged in order (from large to small, or from small to large), the position coordinates of the stage corresponding to the time when the image is shot can be used as the number of the image. At this time, the number of the clearest image obtained is the position coordinates of the stage corresponding to the clearest image.

[0067] Exemplarily, the control device 30 can further process the group of images as follows: respectively obtain the clearest images of each target shaped component from the group of images; and extract the image part where the corresponding target shaped component on each image is located and synthesize them to obtain a composite image in which all shaped components are clear.

[0068] Exemplarily, the control device 30 may further process the set of images as follows: obtaining the shooting focal length corresponding to the image of the target visible component with the clearest image; and storing the shooting focal length, and using the shooting focal length as a reference focal length for subsequent shooting. Exemplarily, since when the position of the objective lens is fixed, the shooting focal length has a one-to-one correspondence with the coordinates of the shooting position where the stage is located, the coordinates of the shooting position may be stored in an actual application.

[0069] Embodiment 2

[0070] This embodiment provides a method 200 for processing a cell image of a sample analyzer. Figure 5 , Figure 5 A flow chart showing the steps of a method 200 for processing a cell image of a sample analyzer according to an embodiment of the present invention is shown.

[0071] like Figure 5 As shown, the cell image processing method 200 of the sample analyzer according to the embodiment of the present invention may include the following steps:

[0072] Step 210: Obtain the initial stage position.

[0073] The initial stage position may be a relative position to the objective lens, that is, whether the initial stage position is within or outside the reference focal length. The reference focal length may be a preset empirical value, or may be determined based on the focal length measured last time, etc., which is not limited in the present invention.

[0074] Step 230: Control the movement of the stage to focus on the cell plane of the object to be measured and magnify the object to be measured.

[0075] If the initial stage position is outside the reference focal length, the stage can be controlled to gradually move toward the objective lens for focusing; if the initial stage position is within the reference focal length, the stage can be controlled to gradually move away from the objective lens for focusing. In this way, the focal lengths corresponding to a group of images captured during the stage movement can be arranged in order from large to small or from small to large.

[0076] Step 250: During the movement of the stage, control the capturing of a group of magnified images of the object to be measured.

[0077] Any imaging device known in the art may be used for shooting, for example, various CCD cameras, CMOS cameras, etc., and the present invention is not limited thereto.

[0078] Step 270: Process the set of images to obtain the clearest image of the target tangible component in the object under test in the set of images.

[0079] The step of processing the set of images may include:

[0080] Step S1: Obtain the clearest image in the visual field of a group of images.

[0081] Exemplarily, a method for obtaining the clearest image in the field of view from the set of images may include: for each image in the set of images, calculating the sum of the squares of the differences in the grayscale values ​​of each pixel of each image in the x and y directions and summing them up to obtain the Q value of the image, that is, Q = ∑(dx^2+dy^2), where dx and dy are the differences in the grayscale values ​​of the image in the x and y directions, respectively; and selecting the image with the largest Q value as the clearest image in the field of view.

[0082] Among them, the method of selecting the image with the largest Q value as the clearest image in the field of view can be referred to Figure 3 and Figure 4 , I will not go into details here.

[0083] Step S2: Identify various shaped elements in the acquired clearest image of the visual field. Among them, various shaped elements may include, for example, red blood cells, white blood cells, squamous epithelial cells, urine protein, urobilinogen, urine bilirubin, urine ketone bodies, etc. Among them, the identification of various shaped elements may adopt methods known in the art, such as segmentation methods based on edge detection, etc., which are not limited by the present invention. The process of identifying various shaped elements using a segmentation method based on edge detection can be: first grayscale the image to obtain a grayscale image, then use an edge detection algorithm to identify the edges of various components in the image, and then segment the various components based on the detected edges, and obtain the shaped elements therein according to the size, grayscale, etc. of the various components. Exemplarily, the edge detection algorithm may include any edge detection algorithm known in the art, such as a differential edge detection algorithm, a Roberts edge detection algorithm, a Sobel edge detection algorithm, a Prewitt edge detection algorithm, a Laplace edge detection algorithm, a LOG (Laplacian of Gaussian) edge detection algorithm, a Canny edge detection algorithm, etc., but the present invention is not limited to this.

[0084] Step S3: Obtaining a target tangible ingredient from various tangible ingredients based on a preset standard. The target tangible ingredient may be a tangible ingredient required by a user or a tangible ingredient with the largest content, etc. Exemplarily, the user may include a primary physician, an analyst, a patient, etc.

[0085] In one embodiment, a method for obtaining a target shaped ingredient from various shaped ingredients based on preset standards may include: based on the clearest image of the visual field obtained, identifying various shaped ingredients therein, determining the content of the various shaped ingredients, and obtaining the shaped ingredient with the largest content as the target shaped ingredient.

[0086] In another embodiment, the method for obtaining a target tangible component from various tangible components based on a preset standard may include: obtaining a priority ranking of preset tangible components; and according to the priority ranking, obtaining the tangible component with the highest priority ranking contained in a group of captured images as the target tangible component. The priority ranking may be preset by the user, or provided as a default setting according to the type of test item, etc., which is not limited by the present invention.

[0087] In another embodiment, a method for obtaining a target tangible component from various tangible components based on a preset standard may include: receiving an input from a user, wherein the input may include a desired tangible component determined by the user; and based on the input from the user, obtaining the desired tangible component as the target tangible component. The input may be in any form known in the art. For example, a preset standard setting device may provide options for tangible components, and the user may click to select the tangible component if the user needs it. For another example, a preset standard setting device may provide an input text box, and the user may enter the desired tangible component in the text box. The present invention is not limited to this.

[0088] It should be understood that the above embodiments are merely exemplary and are not intended to be limiting, and may also include other methods for obtaining target tangible ingredients from various tangible ingredients based on preset standards, which is not limited in the present invention.

[0089] Step S4: Match the clearest image in the field of view with each image in the group of images taken above one by one, so as to determine the clearest image of the target tangible component from the group of images.

[0090] Furthermore, method 200 may also include: further processing the acquired image of the target tangible component with the clearest clarity: acquiring the number of the image of the target tangible component with the clearest clarity; extracting the clearest image corresponding to the number, and performing segmentation and recognition; and outputting the clearest image and the tangible component statistics based on the clearest image. Exemplarily, since the shooting focal lengths corresponding to the images are arranged in order (from large to small, or from small to large), the position coordinates of the corresponding stage when the image is shot can be used as the image number, and the number of the clearest image acquired at this time is the position coordinates of the stage corresponding to the clearest image.

[0091] Exemplarily, method 200 may also include: further processing the set of images as follows: obtaining from the set of images the images in which each target shaped component is clearest; and extracting the image parts in which the corresponding target shaped components on each image are located and synthesizing them to obtain a composite image in which all shaped components are clear.

[0092] Exemplarily, the method 200 may further include: further processing the set of images as follows: obtaining a shooting focal length corresponding to an image of the target visible component with the clearest image; and storing the shooting focal length, and using the shooting focal length as a reference focal length for subsequent shooting. Exemplarily, since when the position of the objective lens is fixed, the shooting focal length has a one-to-one correspondence with the coordinates of the shooting position where the stage is located, the coordinates of the shooting position may be stored in an actual application.

[0093] Embodiment 3

[0094] The present embodiment provides a computer-readable medium having a computer program stored thereon, and the computer program executes the method described in the above embodiment when it is running. Any tangible, non-temporary computer-readable medium can be used, including magnetic storage devices (hard disks, floppy disks, etc.), optical storage devices (CD-ROMs, DVDs, Blu-ray discs, etc.), flash memory and / or the like. These computer program instructions can be loaded onto a general-purpose computer, a special-purpose computer, or other programmable data processing device to form a machine, so that these instructions executed on a computer or other programmable data processing device can generate a device that implements a specified function. These computer program instructions can also be stored in a computer-readable memory, which can instruct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory can form a manufactured product, including an implementation device that implements a specified function. The computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable device can provide steps for implementing the specified function.

[0095] Technical effects of the present invention:

[0096] 1) The solution of the present invention only optimizes the process. All instruments on sale can achieve performance improvement through the method of this solution without increasing costs.

[0097] 2) This solution directly focuses on, identifies and analyzes formed elements such as cells, avoiding the problem of focusing on the shooting field of view being disturbed by impurities and background. The formed elements are displayed clearly and the position positioning is more accurate.

[0098] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present invention thereto. Various changes and modifications may be made therein by one of ordinary skill in the art without departing from the scope and spirit of the present invention. All such changes and modifications are intended to be included within the scope of the present invention as required by the appended claims.

[0099] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0100] Similarly, it should be understood that in order to streamline the present invention and help understand one or more of the various inventive aspects, in the description of the exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, the method of the present invention should not be interpreted as reflecting the following intention: the claimed invention requires more features than the features explicitly stated in each claim. More specifically, as reflected in the corresponding claims, the inventive point is that the corresponding technical problem can be solved with less than all the features of a single disclosed embodiment. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present invention.

[0101] It will be understood by those skilled in the art that, except for mutually exclusive features, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this specification may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose.

[0102] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.

[0103] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.

[0104] The above is only a specific embodiment of the present invention or an explanation of a specific embodiment. The protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. The protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A sample analyzer, characterized in that: The sample analyzer comprises: Counting pool, used to hold the object to be measured and provide a field of view for shooting; An image acquisition device is used to magnify and photograph the object under test in the field of view to obtain a set of images, wherein the image acquisition device comprises: A microscope, comprising a stage for carrying the counting cell and an objective lens for magnifying the object to be measured in the field of view; A driving device, used for driving the stage to move so as to focus on the cell plane of the object to be measured; and an imaging device, used for capturing a group of magnified images of the object to be measured in the field of view during the movement of the stage; and A control device is coupled to the driving device and the imaging device, and is used to generate control information and process the set of images to obtain a clearest image of the target shaped component in the object under test among the set of images, wherein processing the set of images includes: Acquire the target tangible component from the image with the clearest visual field in the group of images; and The clearest image in the visual field is matched with each image in the group of images one by one, so as to determine the clearest image of the target tangible component from the group of images.

2. The sample analyzer according to claim 1, characterized in that: Wherein obtaining the target tangible component from the image with the clearest visual field in the set of images comprises: Acquire the clearest image in the field of view among the set of images; Identify various shaped elements in the acquired image of the clearest field of view; and The target tangible ingredient is obtained from the various tangible ingredients based on a preset standard.

3. The sample analyzer according to claim 2, characterized in that: The control device is also used to control the driving device to drive the stage to move gradually from a position far away from the objective lens to a position close to the objective lens or from a position close to the objective lens to a position far away from the objective lens, so that the shooting focal lengths corresponding to the set of images captured are arranged from large to small or from small to large.

4. The sample analyzer according to claim 2, characterized in that: Wherein, obtaining the target tangible component from the tangible component based on the preset standard comprises: The contents of the various formed ingredients are determined, and the formed ingredient with the largest content is obtained as the target formed ingredient.

5. The sample analyzer according to claim 2, characterized in that: Wherein, obtaining the target tangible component from the tangible component based on the preset standard comprises: Obtaining a priority ranking of pre-set tangible elements; and According to the priority sorting, a tangible component with the highest priority sorting included in the group of images is acquired as the target tangible component.

6. The sample analyzer according to claim 2, characterized in that: Wherein, obtaining the target tangible component from the tangible component based on the preset standard comprises: receiving input from a user, the input comprising a desired tangible component determined by the user; and Based on the input from the user, the desired tangible ingredient is acquired as the target tangible ingredient.

7. The sample analyzer according to claim 2, characterized in that: The control device is also used for: Obtaining, from the group of images, images of each target having the clearest visible components; and The image parts where the corresponding target tangible components on each image are located are extracted and synthesized to obtain a synthesized image in which all tangible components are clear.

8. The sample analyzer according to claim 2, characterized in that: The control device further includes: Obtaining the serial number of the image with the clearest visible component of the target; Extracting the clearest image corresponding to the number, and performing segmentation and recognition; and The clearest image and tangible component statistics based on the clearest image are output.

9. The sample analyzer according to claim 2, characterized in that: The control device further includes: Acquire the shooting focal length corresponding to the clearest image of the target visible component; and store the shooting focal length, and use the shooting focal length as a reference focal length for subsequent shooting.

10. The sample analyzer according to claim 2, characterized in that: The sample analyzer comprises a preset standard setting device for providing a user with a choice of the preset standard.

11. A method for processing cell images of a sample analyzer, characterized in that: The method comprises: Get the initial stage position; Controlling the movement of the stage to focus on the cell plane of the object to be measured and to magnify the object to be measured; During the movement of the stage, controlling the capturing of a group of magnified images of the object to be measured; and The set of images is processed to obtain a clearest image of the target shaped component in the object under test among the set of images, wherein the processing of the set of images includes: Acquire the target tangible component from the image with the clearest visual field in the group of images; and The clearest image in the visual field is matched with each image in the group of images one by one, so as to determine the clearest image of the target tangible component from the group of images.

12. The method according to claim 11, characterized in that Wherein obtaining the target tangible component from the image with the clearest visual field in the set of images comprises: Acquire the clearest image in the field of view among the set of images; Identify various shaped elements in the acquired image of the clearest field of view; and The target tangible ingredient is obtained from the various tangible ingredients based on a preset standard.

13. The method according to claim 12, characterized in that Controlling the movement of the stage further includes: controlling the stage to gradually move from a position far from the objective lens to a position close to the objective lens or from a position close to the objective lens to a position far from the objective lens, so that the focal lengths corresponding to the group of images captured are arranged from large to small or from small to large.

14. The method according to claim 12, characterized in that Wherein, obtaining the target tangible component from the tangible component based on the preset standard comprises: The contents of the various formed ingredients are determined, and the formed ingredient with the largest content is obtained as the target formed ingredient.

15. The method according to claim 12, characterized in that Wherein, obtaining the target tangible component from the tangible component based on the preset standard comprises: Obtaining the preset priority ranking of various tangible elements; and According to the priority sorting, a tangible component with the highest priority sorting included in the group of images is acquired as the target tangible component.

16. The method according to claim 12, characterized in that Wherein, obtaining the target tangible component from the tangible component based on the preset standard comprises: receiving input from a user, the input comprising a desired tangible component determined by the user; and Based on the input from the user, the desired tangible ingredient is acquired as the target tangible ingredient.

17. The method according to claim 12, characterized in that The method further comprises: Obtaining, from the group of images, images of each target having the clearest visible components; and The image parts where the corresponding target tangible components on each image are located are extracted and synthesized to obtain a synthesized image in which all tangible components are clear.

18. The method according to claim 12, characterized in that The method further comprises: Obtaining the serial number of the image with the clearest visible component of the target; Extracting the clearest image corresponding to the number, and performing segmentation and recognition; and The clearest image and tangible component statistics based on the clearest image are output.

19. The method according to claim 12, characterized in that The method further includes: acquiring a shooting focal length corresponding to the clearest image of the target visible component; and storing the shooting focal length, and using the shooting focal length as a reference focal length for subsequent shooting.

20. The method according to claim 12, characterized in that The method further includes: receiving a user's selection of the preset standard, and acquiring the target tangible component based on the selected preset standard.

21. A computer-readable storage medium comprising computer-executable instructions, characterized in that: When the computer executable instructions are executed by a processor, the method according to any one of claims 11 to 20 can be performed.