Leukocyte detection system and detection method for peritoneal dialysis waste liquid

By providing a leukocyte detection system for peritoneal dialysis waste liquid, using liquid membrane generation, image acquisition and image recognition technology, the subjectivity and operational complexity of traditional detection methods are solved, and real-time leukocyte concentration in a home environment is achieved Detection reduces costs and improves detection efficiency.

CN119510269APending Publication Date: 2025-02-25THE FIRST AFFILIATED HOSPITAL OF HENAN UNIV OF TCM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411671695.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In the traditional leukocyte detection process, it is highly subjective, complex in operation and high cost, making it difficult to realize real-time monitoring of leukocyte concentration in peritoneal dialysis waste liquid in a home environment.

Method used

It provides a leukocyte detection system, including a liquid membrane generation module, an image acquisition module, an image recognition module and a leukocyte concentration calculation module. It realizes automated detection by generating dialysis waste liquid membrane, collecting images, identifying white blood cells and calculating concentrations.

Benefits of technology

It solves the subjectivity and operational complexity of traditional detection methods, reduces detection costs, realizes real-time leukocyte concentration detection in the home environment, and improves the efficiency and accuracy of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

The invention relates to the field of peritoneal dialysis waste liquid detection, in particular to a leukocyte detection system and method for peritoneal dialysis waste liquid, and the leukocyte detection system provided by the invention comprises a liquid membrane generation module which is used for generating a dialysis waste liquid membrane by using dialysis waste liquid; the image acquisition module is used for acquiring at least one dialysis waste liquid membrane image; the image recognition module is used for recognizing and counting white blood cells in the dialysis waste liquid membrane image; and the leukocyte concentration calculation module is used for calculating the leukocyte concentration based on the leukocyte number counting result. The problems that in the traditional peritoneal dialysis waste liquid leucocyte detection process, subjectivity is high, operation is complex, cost is high, and the peritoneal dialysis waste liquid leucocyte concentration cannot be monitored in real time generally in the family environment can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of peritoneal dialysis waste liquid detection, and in particular to a leukocyte detection system and a detection method for peritoneal dialysis waste liquid. Background Art

[0002] Peritoneal dialysis is an important medical procedure used primarily for patients with chronic kidney disease. It uses tubes implanted in the abdomen to remove waste products and excess water from the blood using the patient's peritoneum as a natural semi-permeable membrane.

[0003] During dialysis, dialysate is introduced into the peritoneal cavity to exchange substances with the blood, effectively replacing kidney function. However, the risk of infection always exists during this process, and peritonitis is a common and serious complication. Therefore, timely detection of white blood cells in dialysate is of great clinical significance.

[0004] Existing inflammation monitoring programs often rely on patients to observe the color, turbidity and odor of the dialysate themselves, or use white blood cell test strips designed for urine tests. These methods lack scientificity and accuracy in a home environment. In addition, flow cytometers and other high-end detection equipment used in professional medical institutions are expensive and complex to operate, making them difficult to popularize to patients' homes, making it difficult to meet the demand for white blood cell monitoring. Summary of the invention

[0005] In response to the needs of practical applications, the present invention provides a leukocyte detection system and method for peritoneal dialysis waste fluid, aiming to solve the problem that the traditional leukocyte detection process is highly subjective, complex to operate, and costly, making it impossible to universally realize real-time monitoring of leukocyte concentration in peritoneal dialysis waste fluid in a home environment.

[0006] In a first aspect, the present invention provides a leukocyte detection system for peritoneal dialysis wastewater, comprising: A liquid film generation module, wherein the liquid film generation module is used to generate a dialysis waste liquid membrane using dialysis waste liquid; An image acquisition module, the image acquisition module is used to acquire at least one dialysis waste liquid membrane image; An image recognition module, the image recognition module is used to recognize and count white blood cells in the dialysis waste liquid membrane image; The leukocyte concentration calculation module is used to calculate the leukocyte concentration based on the leukocyte number counting result.

[0007] Furthermore, the liquid film generating module comprises: a first liquid storage unit, the first liquid storage unit is a transparent container, the first liquid storage unit is provided with a first-first interface, a first-second interface and a first-third interface, the first-first interface is connected to a waste liquid pipeline of a peritoneal dialysis machine through a first-first pipeline, the first-second interface is connected to air through a first-second pipeline, and the first-second pipeline is provided with a first valve; The second liquid storage unit is a transparent container, the second liquid storage unit is provided with a second-first interface and a second-second interface, the second-first interface is connected to the first-third interface through a second-first pipe, a second valve is provided on the second-first pipe, the second-second interface is connected to the dialysis waste liquid tank through a second-second pipe, and in the pipeline direction from the second liquid storage unit to the dialysis waste liquid tank, the second-second pipe is sequentially provided with a third valve and a peristaltic pump.

[0008] Furthermore, the liquid film generation module further includes: A first control unit, wherein the first control unit is respectively connected to the first valve, the second valve, the third valve and the peristaltic pump by signal; In the first process of generating the dialysis waste liquid membrane, the first control unit opens the first valve and closes the second valve, so that the dialysis waste liquid accumulates in the first liquid storage unit, and opens the third valve and the peristaltic pump, so that negative pressure is formed in the second liquid storage unit; In the second process of generating the dialysis waste liquid membrane, the first control unit opens the first valve and the second valve and closes the third valve, so that the dialysis waste liquid in the first liquid storage unit is drawn into the second liquid storage unit and a dialysis waste liquid membrane is generated on the inner surface of the first liquid storage unit.

[0009] Furthermore, one end of the first second pipe away from the first second interface is connected to an air filter.

[0010] Furthermore, the image acquisition module comprises: A microscopic imaging unit is arranged at one side of the first liquid storage unit, and a camera of the microscopic imaging unit is aimed at a first outer surface of the first liquid storage unit.

[0011] Furthermore, the first outer surface is arranged on a focal plane of the camera.

[0012] Furthermore, the image acquisition module further includes: The second control unit is connected to the microscopic camera unit by signal. In the second process of generating the dialysis waste liquid membrane, the second control unit is used to control the microscopic camera unit to collect the dialysis waste liquid membrane image.

[0013] Furthermore, the image acquisition module further includes: A backlight unit, wherein the backlight unit is arranged on one side of the first liquid storage unit, the light outlet of the backlight unit is aligned with the second outer surface of the first liquid storage unit, the second outer surface coincides with the projection of the first outer surface in the light emitting direction of the backlight unit, the backlight unit is signal-connected to a second control unit, and in the second process of generating the dialysis waste liquid film, the backlight unit is turned on by the second control unit to provide background light for collecting the dialysis waste liquid film image.

[0014] Furthermore, a distance between the second outer surface and the first outer surface in a light emitting direction of a backlight unit is greater than or equal to five times an image distance of the camera.

[0015] In a second aspect, based on the leukocyte detection system for peritoneal dialysis waste fluid provided in the first aspect, the leukocyte detection method for peritoneal dialysis waste fluid provided by the present invention comprises the following steps: The liquid membrane generation module generates a dialysis waste liquid membrane using dialysis waste liquid; The image acquisition module acquires at least one dialysis waste liquid membrane image; The image recognition module recognizes and counts white blood cells in the dialysis waste liquid membrane image; The leukocyte concentration calculation module calculates the leukocyte concentration based on the leukocyte number counting result.

[0016] Furthermore, the image acquisition module acquires at least one dialysis waste liquid membrane image, comprising the following steps: At a first moment in a second process of generating the dialysis waste liquid membrane, collecting a first dialysis waste liquid membrane image; At a second moment in the second process of generating the dialysis waste liquid membrane, acquiring a second dialysis waste liquid membrane image; At a third moment in the second process of generating the dialysis waste liquid membrane, a third dialysis waste liquid membrane image is acquired.

[0017] Furthermore, the image recognition module recognizes and counts white blood cells in the dialysis waste liquid membrane image, comprising the following steps: Respectively identifying a first waste liquid height in the first dialysis waste liquid membrane image and a third waste liquid height in the third dialysis waste liquid membrane image; The leukocytes in the second effluent membrane image are identified and counted.

[0018] Furthermore, the leukocyte concentration calculation module calculates the leukocyte concentration based on the leukocyte count result, comprising the following steps: Obtaining a waste liquid height difference between the first waste liquid height and the third waste liquid height; Based on the waste liquid height difference, obtaining the total dialysis waste liquid membrane area and the total dialysis waste liquid volume corresponding to the first waste liquid height and the third waste liquid height in the first liquid storage unit; Obtaining the total extracted volume of dialysis waste liquid between the first moment to the third moment; Obtaining a dialysis waste membrane volume based on the total volume of the dialysis waste and the total extracted volume; Obtaining the thickness of the dialysis waste liquid membrane based on the volume of the dialysis waste liquid membrane and the total area of ​​the dialysis waste liquid membrane; Acquiring the visual field area of ​​the dialysis waste liquid membrane in the second dialysis waste liquid membrane image, and identifying and counting the number of white blood cells in the second dialysis waste liquid membrane image; Based on the field of view area, the thickness of the dialysis waste liquid membrane and the number of leukocytes, the leukocyte concentration in the second dialysis waste liquid membrane image is obtained.

[0019] The benefits of the leukocyte detection system and method for peritoneal dialysis waste fluid provided by the present invention are: The present invention is based on a double-chamber structure formed by a first liquid storage unit and a second liquid storage unit. The negative pressure storage of the second liquid storage unit enables the second liquid storage unit to quickly extract the dialysate waste liquid in the first liquid storage unit, thereby achieving the generation of a large-area dialysate waste liquid film on the inner wall of the first liquid storage unit. This not only solves the problem that traditional low-power pumps cannot quickly pump liquid to form a large-area water film, but also ensures that the speed and stability of the dialysate waste liquid film generation are greatly improved, effectively ensuring the high efficiency and real-time performance of white blood cell detection.

[0020] Furthermore, the present invention generates a thin film sample on the inner wall of the liquid storage container through the action of surface tension, simulating the thin film preparation under a traditional microscope without the need for complicated sample processing steps; at the same time, combined with existing image recognition technology, it achieves accurate recognition and efficient counting of white blood cells, solving the problems of strong subjectivity and complex operation in the traditional white blood cell detection process.

[0021] Furthermore, the present invention is compatible with existing peritoneal dialysis machines and can be used with simple installation operations, thereby reducing the complexity of operation and the high detection cost. At the same time, the present invention realizes the recognition and counting of white blood cells through image recognition technology, and does not come into direct contact with dialysis waste fluid, thereby reducing the risk of cross contamination and the cost of consumables, making it more economical and environmentally friendly. Moreover, the present invention is low in cost and can provide patients with real-time and automatic white blood cell concentration detection services in a home environment to better monitor their health status. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A schematic diagram of a module of a leukocyte detection system for peritoneal dialysis waste fluid provided by an embodiment of the present invention; Figure 2A schematic diagram of the connection between the leukocyte detection system provided by an embodiment of the present invention and a peritoneal dialysis machine; Figure 3 A schematic diagram of the structure of a leukocyte detection system for peritoneal dialysis waste fluid provided by an embodiment of the present invention; Figure 4 A schematic diagram of the process of generating a dialysis waste liquid membrane provided by an embodiment of the present invention; Figure 5 This is a flow chart of a method for detecting leukocytes in peritoneal dialysis waste fluid provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0023] The specific embodiments of the present invention will be described in detail below. It should be noted that the embodiments described herein are only for illustration and are not intended to limit the present invention. In the following description, a large number of specific details are set forth in order to provide a thorough understanding of the present invention. However, it is obvious to those of ordinary skill in the art that these specific details do not need to be adopted to implement the present invention. In other examples, in order to avoid confusing the present invention, known circuits, software or methods are not specifically described.

[0024] In one embodiment, see Figure 1 and Figure 2 , Figure 1 This is a schematic diagram of a module of a leukocyte detection system for peritoneal dialysis waste fluid provided by an embodiment of the present invention. Figure 2 This is a schematic diagram of the connection between the leukocyte detection system for peritoneal dialysis waste fluid provided by an embodiment of the present invention and a peritoneal dialysis machine.

[0025] like Figure 1 As shown, the leukocyte detection system for peritoneal dialysis waste liquid provided by the present invention includes: a liquid film generation module, an image acquisition module, an image recognition module and a leukocyte concentration calculation module.

[0026] like Figure 2 As shown, the leukocyte detection system C for peritoneal dialysis waste liquid is arranged on the dialysis waste liquid pipeline between the peritoneal dialysis machine A and the dialysis waste liquid tank B2, and the peritoneal dialysis machine A is also connected to the dialysis new liquid tank B1.

[0027] Furthermore, if Figure 1 As shown, the liquid film generating module is connected to the waste liquid pipeline between the peritoneal dialysis machine A and the dialysis waste liquid tank B2, and is used to generate the dialysis waste liquid film using the dialysis waste liquid.

[0028] In this embodiment, the dialysis waste liquid membrane formed by the present invention refers to a thin liquid layer formed in the liquid membrane generation module by the peritoneal dialysis waste liquid attached to the inner wall of the transparent container; the dialysis waste liquid membrane exists briefly during a specific operation process due to the surface tension of the fluid, similar to a sample slice under a microscope.

[0029] Furthermore, the image acquisition module is arranged around the liquid film generation module, and is used to acquire at least one dialysis waste liquid film image.

[0030] In this embodiment, the dialysis waste liquid membrane image described in the present invention refers to an optical image obtained by photographing the dialysis waste liquid membrane through an image acquisition module; it directly reflects the microstructure and content of the dialysis waste liquid membrane, and includes detailed visual information of white blood cells and other fine particles attached to the liquid membrane.

[0031] It is understandable that in order to realize the acquisition of dialysis waste liquid membrane images, the camera in the image acquisition module is a high-resolution microscope lens, and its pixel resolution usually needs to reach more than 16 million pixels to ensure that the fine structure in the dialysis waste liquid membrane can be clearly captured; at the same time, its magnification is suitable for observing micron-level dialysis waste liquid membranes, usually 10 to 40 times, so as to clearly display the details of the cells.

[0032] Furthermore, the image recognition module is signal-connected to the image acquisition module for recognizing and counting white blood cells in the dialysis waste liquid membrane image.

[0033] In this embodiment, the image recognition module proposed in the present invention realizes the recognition of white blood cells in the dialysis waste liquid membrane image based on the existing image recognition technology, such as the YOLO (You Only LOOK Once) series models, and the improved models of the YOLO series such as CST-YOLO and ADA-YOLO.

[0034] Furthermore, the white blood cell concentration calculation module is signal-connected to the image recognition module and is used to calculate the white blood cell concentration based on the white blood cell count result.

[0035] It is understandable that the leukocyte concentration described in the present invention refers to the number density of leukocytes in the dialysis waste fluid, which is usually expressed in units of cells / mL; this concentration value reflects the degree of aggregation of leukocytes in the dialysis waste fluid and is an important indicator for evaluating whether there is infection or inflammation during peritoneal dialysis: if a peritoneal dialysis patient develops an infection, the number of leukocytes in the dialysis waste fluid will increase significantly.

[0036] Specifically, in this embodiment, see Figure 3 , Figure 3 This is a schematic diagram of the structure of a leukocyte detection system for peritoneal dialysis waste fluid provided by an embodiment of the present invention.

[0037] like Figure 3 As shown, the liquid film generation module in the leukocyte detection system for peritoneal dialysis waste fluid provided by the embodiment of the present invention includes a first liquid storage unit 1 and a second liquid storage unit 2 .

[0038] Furthermore, the first liquid storage unit 1 is provided with a first-first interface 11, a first-second interface 12 and a first-third interface 13. The first-first interface 11 is connected to the waste liquid pipeline between the peritoneal dialysis machine A and the dialysis waste liquid tank B2 through a first-first pipeline 111, and the first-second interface 12 is connected to the air through a first-second pipeline 121. The first-second pipeline 121 is provided with a first valve 31 for controlling the conduction state between the first liquid storage unit 1 and the air.

[0039] Furthermore, the second liquid storage unit 2 is provided with a second-first interface 21 and a second-second interface 22, and the second-first interface 21 is connected to the first-third interface 13 through a second-first pipe 211; the second-first pipe 211 is provided with a second valve 32 for controlling the conduction state between the first liquid storage unit 1 and the second liquid storage unit 2, and the second-second interface 22 is connected to the dialysis waste liquid tank B2 through a second-second pipe 221; in the pipeline direction from the second liquid storage unit 2 to the dialysis waste liquid tank B2, the second-second pipe 22 is sequentially provided with a third valve 33 and a peristaltic pump 4 for controlling the conduction state between the second liquid storage unit 2 and the dialysis waste liquid tank B2.

[0040] It should be noted that, in order to collect the dialysis waste liquid film image generated by the liquid film generation module, in this embodiment, the first liquid storage unit 1 and the second liquid storage unit 2 are both transparent containers.

[0041] Specifically, the first liquid storage unit 1 and the second liquid storage unit 2 are both made of PC (Polycarbonate) material; in one or some other embodiments, the first liquid storage unit 1 and the second liquid storage unit 2 may also be made of other transparent materials.

[0042] Furthermore, in order to enable the dialysis waste liquid to better form a micrometer-scale liquid film on the PC surface, the inner wall of the liquid storage unit (especially the first liquid storage unit 1) made of PC material is also surface treated with plasma to improve its surface hydrophilicity, so that the waste liquid can be more evenly attached to the inner wall to form a stable liquid film.

[0043] In order to automatically generate dialysis waste liquid membrane, the liquid membrane generation module provided in the embodiment of the present invention also includes a first control unit, which is used to control various key components in the dialysis waste liquid membrane generation process; the dialysis waste liquid membrane generation process includes a first process and a second process.

[0044] Furthermore, the first process described in the present invention refers to the process of accumulation of dialysis waste liquid in the liquid membrane generating module, which can be represented by a time period of a specific length, or by the process of accumulation of dialysis waste liquid in the liquid membrane generating module from one marked waste liquid height to another marked waste liquid height.

[0045] Furthermore, the second process described in the present invention is a process in which the dialysis waste liquid is quickly pumped from the first liquid storage unit 1 into the second liquid storage unit 2; generally, the second process described in the present invention can be represented by another time period of a specific length, or can be represented by a process in which the dialysis waste liquid drops from a marked waste liquid height to another marked waste liquid height in the liquid membrane generation module.

[0046] Specifically, the first control unit is signal-connected to the first valve 31, the second valve 32, and the third valve 33, respectively, for controlling the first valve 31, the second valve 32, and the third valve 33 to adjust the flow path of the dialysis waste liquid; further, the first control unit is also signal-connected to the peristaltic pump 4, for controlling the peristaltic pump 4 to form a negative pressure, so as to control the flow of the dialysis waste liquid between the first liquid storage unit 1 and the second liquid storage unit 2.

[0047] In the first process, the first control unit opens the first valve 31 and closes the second valve 32, so that the dialysis waste liquid accumulates in the first liquid storage unit 1, and opens the third valve 33 and the peristaltic pump 4, so that negative pressure is formed in the second liquid storage unit 2.

[0048] In the second process, the first control unit opens the first valve 31 and the second valve 32, and closes the third valve 33, so that the dialysis waste liquid in the first liquid storage unit 1 is drawn into the second liquid storage unit 2, and a dialysis waste liquid film is generated on the inner surface of the first liquid storage unit 1.

[0049] In order to ensure that the dialysis waste liquid is not contaminated by the external environment during the detection process, this embodiment is as follows Figure 3 As shown, one end of the first second pipe 121 away from the first second interface 12 is connected to the air filter 5 .

[0050] In this embodiment, the image acquisition module in the leukocyte detection system for peritoneal dialysis waste fluid provided by the embodiment of the present invention includes: a microscopic camera unit 6 .

[0051] Furthermore, if Figure 3 As shown, the micro-camera unit 6 is disposed on one side of the first liquid storage unit 1 , and the camera of the micro-camera unit 6 is aligned with the first outer surface of the first liquid storage unit 1 .

[0052] Similarly, in order to automatically collect dialysis waste liquid membrane images, the image acquisition module provided by the present invention also includes a second control unit, which is connected to the microscopic camera unit 6 signal and is used to control the shooting timing of the microscopic camera unit 6 to ensure that the image recognition module obtains reliable detection data.

[0053] See also Figure 4 , Figure 4 A schematic diagram of the process of generating a dialysis waste liquid membrane provided in an embodiment of the present invention. Figure 4 The transition from state a to state b is the first process. When reaching state b, the height of the dialysis waste liquid in the first liquid storage unit 1 reaches the first waste liquid height H1; Figure 4 The process from state b to state c is the second process. After reaching state c, the dialysis waste liquid height in the first liquid storage unit 1 drops from the first waste liquid height H1 to the third waste liquid height H3. It can be understood that in the process from state b to state c, the second waste liquid height H2 in the first liquid storage unit 1 is between the first waste liquid height drop H1 and the third waste liquid height H3.

[0054] In the second process, the second control unit controls the microscopic imaging unit 6 to collect the dialysis waste liquid membrane image.

[0055] In this embodiment, the dialysis waste liquid membrane image specifically includes a first dialysis waste liquid membrane image, a second dialysis waste liquid membrane image and a third dialysis waste liquid membrane image.

[0056] Furthermore, the first dialysis waste liquid membrane image is a dialysis waste liquid membrane image collected at the b state moment, and the third dialysis waste liquid membrane image is a dialysis waste liquid membrane image collected at the c state moment. The first dialysis waste liquid membrane image and the third dialysis waste liquid membrane image are combined to obtain the waste liquid height difference between the b state and the c state; the second dialysis waste liquid membrane image is a dialysis waste liquid membrane image collected at any time between the b state moment and the c state moment after a time period has passed, and is used for white blood cell counting.

[0057] Furthermore, the height of the waste liquid in the first dialysis waste liquid membrane image and the third dialysis waste liquid membrane image can be obtained by respectively identifying the liquid level lines through an image recognition module based on image processing technology (such as Canny edge detection), and then calculating in combination with a known image scale mark.

[0058] It is understandable that if the second dialysis waste liquid membrane image is taken too late, the dialysis waste liquid membrane will be very thin, and the white blood cell concentration in the liquid membrane will change significantly, affecting the detection result. Therefore, the second dialysis waste liquid membrane image needs to be collected at an earlier time between state b and state c.

[0059] Therefore, it should be noted that the time interval between the above-mentioned b state moment and the moment of collecting the second dialysis waste liquid membrane image must be smaller than the time interval between the moment of collecting the second dialysis waste liquid membrane image and the c state moment, so as to ensure the accurate calculation of the subsequent white blood cell concentration in the dialysis waste liquid membrane.

[0060] In order to ensure the imaging effect of the dialysis waste liquid membrane image, in this embodiment, the image acquisition module also includes a backlight unit 7; Figure 3As shown, the backlight unit 7 is arranged on one side of the first liquid storage unit 1, the light outlet of the backlight unit 7 is aligned with the second outer surface of the first liquid storage unit 1, and the second outer surface coincides with the projection of the first outer surface in the light emitting direction of the backlight unit.

[0061] Furthermore, in order to provide background light for the dialysis waste liquid film image collection through the backlight unit 7 to obtain a clearer dialysis waste liquid film image, the backlight unit 7 is connected to the second control unit signal, and in the second process of generating the dialysis waste liquid film, the first control unit 8 turns on the backlight unit 7.

[0062] In this embodiment, in order to ensure that the dialysis waste liquid membrane on the inner wall surface corresponding to the first outer surface can be clearly imaged on the microscopic camera unit 6, the first outer surface is accurately positioned on the focal plane of the microscopic camera unit 6 to ensure clear imaging of the dialysis waste liquid membrane; at the same time, the distance between the second outer surface and the first outer surface in the light emitting direction of the backlight unit is at least greater than 5 times the image distance to ensure that the imaging of the second outer surface in the microscopic camera unit 6 is in a defocused state, which avoids the interference of the substances on the second outer surface and the corresponding inner wall surface (especially the white blood cells on the inner wall) on the identification and counting of the white blood cells on the inner wall corresponding to the first outer surface, so that the microscopic camera unit 6 can focus on the blood components on the inner wall surface corresponding to the first outer surface.

[0063] See also Figure 5 , Figure 5 The flowchart of the method for detecting leukocytes in peritoneal dialysis waste fluid provided in an embodiment of the present invention is applicable to the above-mentioned leukocyte detection system and specifically includes the following steps: S01. The liquid membrane generating module generates a dialysis waste liquid membrane using dialysis waste liquid.

[0064] S02. The image acquisition module acquires at least one dialysis waste liquid membrane image.

[0065] In this embodiment, the image acquisition module in step S02 acquires at least one dialysis waste liquid membrane image, including the following steps: S021. At a first moment in a second process of generating the dialysis waste liquid membrane, collecting a first dialysis waste liquid membrane image.

[0066] Specifically, the first moment is the b state moment mentioned above.

[0067] S022. At a second moment in the second process of generating the dialysis waste liquid membrane, collecting a second dialysis waste liquid membrane image.

[0068] Specifically, the second moment is a moment between the b state moment and the c state moment.

[0069] S023. At a third moment in the second process of generating the dialysis waste liquid membrane, collecting a third dialysis waste liquid membrane image.

[0070] Furthermore, the third moment is the above-mentioned c state moment.

[0071] It should be noted that the first time interval between the first moment and the second moment and the second time interval between the second moment and the third moment are both greater than or equal to zero; at the same time, in order to prevent the second dialysis waste liquid membrane image from being taken too late, the first time interval is less than the second time interval.

[0072] S03. The image recognition module recognizes and counts white blood cells in the dialysis waste liquid membrane image.

[0073] In this embodiment, the step S03 of identifying and counting white blood cells in the dialysis waste liquid membrane image includes the following steps: S031. Respectively identify a first waste liquid height in the first dialysis waste liquid membrane image and a third waste liquid height in the third dialysis waste liquid membrane image.

[0074] Furthermore, the image recognition technology described in step S031 may be a Canny edge detection algorithm or an image edge extraction technology such as Hough transform, so as to calculate the liquid level.

[0075] S032. Identify and count white blood cells in the second dialysis waste liquid membrane image.

[0076] Furthermore, the image recognition technology described in step S032 may be a YOLO (You Only LOOK Once) series image recognition model, or an improved image recognition model of the YOLO series such as CST-YOLO, ADA-YOLO, or other big data algorithms or models for detecting white blood cells.

[0077] S04. The leukocyte concentration calculation module calculates the leukocyte concentration based on the leukocyte number counting result.

[0078] Furthermore, the leukocyte concentration calculation module in step S04 calculates the leukocyte concentration based on the leukocyte count result, including the following steps: S041. Obtain a waste liquid height difference between the first waste liquid height and the third waste liquid height.

[0079] S042. Based on the waste liquid height difference, obtain the total dialysis waste liquid membrane area and the total dialysis waste liquid volume corresponding to the first waste liquid height and the third waste liquid height in the first liquid storage unit.

[0080] In this embodiment, the first liquid storage unit is a cylindrical liquid storage tank.

[0081] Furthermore, the total area of ​​the dialysis waste liquid membrane corresponding to the first waste liquid height and the third waste liquid height in the first liquid storage unit is the product of the waste liquid height difference and the bottom perimeter of the first liquid storage unit.

[0082] Furthermore, the total volume of dialysis waste liquid corresponding to the first waste liquid height and the third waste liquid height in the first liquid storage unit is the product of the waste liquid height difference and the bottom area of ​​the first liquid storage unit.

[0083] S043. Obtain the total extracted volume of the dialysis waste liquid between the first moment to the third moment.

[0084] In this embodiment, the total extracted volume can be obtained by setting a flow meter on the valve 32.

[0085] S044. Obtaining the dialysis waste liquid membrane volume based on the total volume of the dialysis waste liquid and the total extracted volume.

[0086] In this embodiment, the dialysis waste liquid membrane volume is the difference between the total dialysis waste liquid volume and the total extracted volume.

[0087] S045. Obtaining the thickness of the dialysis waste liquid membrane based on the volume of the dialysis waste liquid membrane and the total area of ​​the dialysis waste liquid membrane.

[0088] In this embodiment, the thickness of the dialysis waste liquid membrane is the quotient of the dialysis waste liquid membrane volume divided by the total area of ​​the dialysis waste liquid membrane.

[0089] S046. Acquire the field of view area of ​​the dialysis waste liquid membrane in the second dialysis waste liquid membrane image, and identify and count the number of white blood cells in the second dialysis waste liquid membrane image.

[0090] S047. Obtaining the concentration of white blood cells in the second dialysis waste liquid membrane image based on the field of view area, the thickness of the dialysis waste liquid membrane, and the number of white blood cells.

[0091] In this embodiment, the leukocyte concentration is equal to the product of the field of view area and the thickness of the dialysis waste liquid membrane divided by the number of the leukocytes.

[0092] In order to better reflect the health status and disease change trend of the patient, the leukocyte concentration calculation module in step S04 calculates the leukocyte concentration in the dialysis waste liquid according to the number of leukocytes in the dialysis waste liquid membrane image, and also includes the following steps: The white blood cell concentration data in the continuous multiple test results are obtained, and the average white blood cell concentration is obtained by using the multiple white blood cell concentration data; that is, this embodiment further performs multiple tests and calculates the average value to reduce the random errors that may exist in a single test and improve the accuracy of the results.

[0093] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents.

Claims

1. A leukocyte detection system for peritoneal dialysis wastewater, characterized in that: include: A liquid film generation module, wherein the liquid film generation module is used to generate a dialysis waste liquid membrane using dialysis waste liquid; An image acquisition module, the image acquisition module is used to acquire at least one dialysis waste liquid membrane image; An image recognition module, the image recognition module is used to recognize and count white blood cells in the dialysis waste liquid membrane image; The leukocyte concentration calculation module is used to calculate the leukocyte concentration based on the leukocyte number counting result.

2. The leukocyte detection system for peritoneal dialysis waste fluid according to claim 1, characterized in that: The liquid film generation module comprises: a first liquid storage unit, the first liquid storage unit is a transparent container, the first liquid storage unit is provided with a first-first interface, a first-second interface and a first-third interface, the first-first interface is connected to a waste liquid pipeline of a peritoneal dialysis machine through a first-first pipeline, the first-second interface is connected to air through a first-second pipeline, and the first-second pipeline is provided with a first valve; The second liquid storage unit is a transparent container, the second liquid storage unit is provided with a second-first interface and a second-second interface, the second-first interface is connected to the first-third interface through a second-first pipe, a second valve is provided on the second-first pipe, the second-second interface is connected to the dialysis waste liquid tank through a second-second pipe, and in the pipeline direction from the second liquid storage unit to the dialysis waste liquid tank, the second-second pipe is sequentially provided with a third valve and a peristaltic pump.

3. The leukocyte detection system for peritoneal dialysis waste fluid according to claim 2, characterized in that: The liquid film generation module further includes: A first control unit, wherein the first control unit is respectively connected to the first valve, the second valve, the third valve and the peristaltic pump by signal; In the first process of generating the dialysis waste liquid membrane, the first control unit opens the first valve and closes the second valve, so that the dialysis waste liquid accumulates in the first liquid storage unit, and opens the third valve and the peristaltic pump, so that negative pressure is formed in the second liquid storage unit; In the second process of generating the dialysis waste liquid membrane, the first control unit opens the first valve and the second valve and closes the third valve, so that the dialysis waste liquid in the first liquid storage unit is drawn into the second liquid storage unit and a dialysis waste liquid membrane is generated on the inner surface of the first liquid storage unit.

4. The leukocyte detection system for peritoneal dialysis waste fluid according to claim 3, characterized in that: One end of the first second pipe away from the first second interface is connected to the air filter.

5. The leukocyte detection system for peritoneal dialysis waste fluid according to claim 3, characterized in that: The image acquisition module comprises: A microscopic imaging unit is arranged at one side of the first liquid storage unit, and a camera of the microscopic imaging unit is aimed at a first outer surface of the first liquid storage unit.

6. The leukocyte detection system for peritoneal dialysis waste fluid according to claim 5, characterized in that: The first outer surface is arranged on a focal plane of the camera.

7. The leukocyte detection system for peritoneal dialysis waste fluid according to claim 5, characterized in that: The image acquisition module further includes: The second control unit is connected to the microscopic camera unit by signal. In the second process of generating the dialysis waste liquid membrane, the second control unit is used to control the microscopic camera unit to collect the dialysis waste liquid membrane image.

8. The leukocyte detection system for peritoneal dialysis waste fluid according to claim 7, characterized in that: The image acquisition module further includes: A backlight unit, wherein the backlight unit is arranged on one side of the first liquid storage unit, the light outlet of the backlight unit is aligned with the second outer surface of the first liquid storage unit, the second outer surface coincides with the projection of the first outer surface in the light emitting direction of the backlight unit, the backlight unit is signal-connected to a second control unit, and in the second process of generating the dialysis waste liquid film, the backlight unit is turned on by the second control unit to provide background light for collecting the dialysis waste liquid film image.

9. The leukocyte detection system for peritoneal dialysis waste fluid according to claim 8, characterized in that: The distance between the second outer surface and the first outer surface in the light emitting direction of the backlight unit is greater than or equal to 5 times the image distance of the camera.

10. A method for detecting leukocytes in peritoneal dialysis wastewater, characterized in that: The system is applicable to the leukocyte detection system for peritoneal dialysis waste fluid according to any one of claims 1 to 9, comprising the following steps: The liquid membrane generation module generates a dialysis waste liquid membrane using dialysis waste liquid; The image acquisition module acquires at least one dialysis waste liquid membrane image; The image recognition module recognizes and counts white blood cells in the dialysis waste liquid membrane image; The leukocyte concentration calculation module calculates the leukocyte concentration based on the leukocyte number counting result.