Search

CN-121981955-A - Liquid drop counting method and device and liquid drop counting equipment

CN121981955ACN 121981955 ACN121981955 ACN 121981955ACN-121981955-A

Abstract

The embodiment of the application is suitable for the fields of biomedical technology and image processing technology, and provides a liquid drop counting method, a liquid drop counting device and liquid drop counting equipment, wherein the method comprises the steps of collecting liquid drop flow images, wherein each liquid drop flow image comprises a plurality of frames of images, and any frame of image comprises a preset region of interest; the method comprises the steps of detecting liquid drops in an interest area of a current frame image to obtain a liquid drop detection result of the current frame image, determining a count value of the liquid drops in the current frame image based on the liquid drop detection result of the current frame image and the liquid drop detection result of a previous frame image under the condition that the liquid drop detection result of the current frame image represents that the liquid drops exist in the current frame image, and counting the count value of the liquid drops in a plurality of frame images to obtain a liquid drop count result. By adopting the method, the liquid drops in the high-speed liquid drop field can be accurately counted, and repeated counting or missing counting is avoided.

Inventors

  • CHEN YUCHAO
  • ZHANG FENG

Assignees

  • 利德健康科技(广州)有限公司

Dates

Publication Date
20260505
Application Date
20251225

Claims (10)

  1. 1. A method of counting droplets, comprising: collecting a liquid drop flow image, wherein the liquid drop flow image comprises a plurality of frames of images, and any frame of image comprises a preset region of interest; performing liquid drop detection in an interest area of a current frame image to obtain a liquid drop detection result of the current frame image; Under the condition that the liquid drop detection result of the current frame image represents that liquid drops exist in the current frame image, determining the count value of the liquid drops in the current frame image based on the liquid drop detection result of the current frame image and the liquid drop detection result of the previous frame image; And counting the count value of the liquid drops in the multi-frame image to obtain a liquid drop count result.
  2. 2. The method of claim 1, wherein the acquiring a droplet flow image comprises: determining a value of a spacing between adjacent droplets in the droplet flow channel; determining an image acquisition frame rate according to the interval value; And acquiring the droplet flow images in the droplet flow channel according to the image acquisition frame rate, wherein the flowing distance of the droplets in the two adjacent frames of images acquired at the image acquisition frame rate is smaller than or equal to the interval value.
  3. 3. The method of claim 1 or 2, further comprising, after acquiring the droplet stream image: intercepting a target image from any frame image respectively, wherein the target image completely comprises the region of interest, and the size ratio of the target image to the region of interest is smaller than a preset value; And downsampling the target image.
  4. 4. A method according to claim 3, wherein the performing droplet detection in the region of interest of the current frame image to obtain the droplet detection result of the current frame image includes: performing liquid drop detection in the down-sampled target image by adopting a target detection network; And when the target image comprises a liquid drop image, determining the center coordinates of liquid drops based on the liquid drop boundary boxes output by the target detection network.
  5. 5. The method according to any one of claims 1,2 or 4, wherein the determining the count value of the droplet in the current frame image based on the droplet detection result of the current frame image and the droplet detection result of the previous frame image includes: Under the condition that the liquid drop detection result of the previous frame image represents that no liquid drop exists in the previous frame image, adding 1 to the count value of the liquid drop in the current frame image; and under the condition that the liquid drop detection result of the previous frame image represents that liquid drops exist in the previous frame image, determining the count value of the liquid drops in the current frame image according to the liquid drop direction.
  6. 6. The method of claim 5, wherein determining the count value of the drops in the current frame image based on the drop direction comprises: Determining the flow direction of the liquid drop, and determining the direction of a liquid drop coordinate vector according to the center coordinate of the liquid drop in the current frame image and the center coordinate of the liquid drop in the previous frame image; When the direction of the droplet coordinate vector is the same as the direction of the droplet, recording the count value of the droplet in the current frame image as 0; and when the direction of the droplet coordinate vector is opposite to the direction of the droplet, adding 1 to the count value of the droplet in the current frame image.
  7. 7. The method of any one of claims 1 or 2 or 4 or 6, further comprising: And under the condition that the liquid drop detection result of the current frame image represents that no liquid drop exists in the current frame image, recording the count value of the liquid drop in the current frame image as 0.
  8. 8. A drop counting device, comprising: The image acquisition module is used for acquiring liquid drop flow images, wherein each liquid drop flow image comprises a plurality of frames of images, and any frame of image comprises a preset region of interest; the liquid drop detection module is used for carrying out liquid drop detection in the interest area of the current frame image to obtain a liquid drop detection result of the current frame image; The liquid drop counting module is used for determining the count value of the liquid drops in the current frame image based on the liquid drop detection result of the current frame image and the liquid drop detection result of the previous frame image under the condition that the liquid drop detection result of the current frame image represents that the liquid drops exist in the current frame image; And the result counting module is used for counting the count value of the liquid drops in the multi-frame image to obtain a liquid drop counting result.
  9. 9. A drop counting device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, causes the drop counting device to implement the method of any one of claims 1 to 7.
  10. 10. A computer program product comprising a computer program which, when run, causes the method of any one of claims 1 to 7 to be performed.

Description

Liquid drop counting method and device and liquid drop counting equipment Technical Field The embodiment of the application belongs to the technical fields of biomedicine and image processing, and particularly relates to a liquid drop counting method, a liquid drop counting device and liquid drop counting equipment. Background Drop count is generally a process of identifying discrete, tiny-volume liquid units, which has important applications in many scientific, industrial and everyday lives. For example, in microfluidic experiments and industrial droplet production, droplet count statistics are one of the core requirements. In the prior art, statistics on the number of liquid drops are mainly realized through a traditional image processing method. For example, droplet detection may be implemented based on threshold segmentation, edge detection, or connected domain analysis, thereby counting the number of droplets. However, this method has certain limitations. When dense droplets or partial overlapping of droplets in an image exist, missing detection or false detection is likely to occur. In addition, because edge detection and connected domain analysis are required, the method is sensitive to illumination change, and stability of statistical results is difficult to ensure. In the prior art, a two-class network can be used to count the number by determining whether a droplet is present in the critical region of interest (region of interest, ROI). However, the method cannot distinguish different liquid drops in adjacent frame images, and the situation of repeated counting easily occurs in a high-density or high-speed flow field scene, so that the accuracy of a statistical result cannot be ensured. Disclosure of Invention In view of this, embodiments of the present application provide a method, an apparatus, and a device for counting droplets, which are used to accurately count droplets in a high-speed droplet field, so as to improve the accuracy of the result of the droplet counting. A first aspect of an embodiment of the present application provides a droplet counting method, including: collecting a liquid drop flow image, wherein the liquid drop flow image comprises a plurality of frames of images, and any frame of image comprises a preset region of interest; performing liquid drop detection in an interest area of a current frame image to obtain a liquid drop detection result of the current frame image; Under the condition that the liquid drop detection result of the current frame image represents that liquid drops exist in the current frame image, determining the count value of the liquid drops in the current frame image based on the liquid drop detection result of the current frame image and the liquid drop detection result of the previous frame image; And counting the count value of the liquid drops in the multi-frame image to obtain a liquid drop count result. In one possible implementation manner of the embodiment of the present application, the capturing the droplet flow image includes: determining a value of a spacing between adjacent droplets in the droplet flow channel; determining an image acquisition frame rate according to the interval value; And acquiring the droplet flow images in the droplet flow channel according to the image acquisition frame rate, wherein the flowing distance of the droplets in the two adjacent frames of images acquired at the image acquisition frame rate is smaller than or equal to the interval value. In a possible implementation manner of the embodiment of the present application, after the acquisition of the droplet flow image, the method further includes: intercepting a target image from any frame image respectively, wherein the target image completely comprises the region of interest, and the size ratio of the target image to the region of interest is smaller than a preset value; And downsampling the target image. In one possible implementation manner of the embodiment of the present application, the performing the droplet detection in the region of interest of the current frame image to obtain a droplet detection result of the current frame image includes: performing liquid drop detection in the down-sampled target image by adopting a target detection network; And when the target image comprises a liquid drop image, determining the center coordinates of liquid drops based on the liquid drop boundary boxes output by the target detection network. In one possible implementation manner of the embodiment of the present application, the determining the count value of the droplet in the current frame image based on the droplet detection result of the current frame image and the droplet detection result of the previous frame image includes: Under the condition that the liquid drop detection result of the previous frame image represents that no liquid drop exists in the previous frame image, adding 1 to the count value of the liquid drop in the current frame image; and under