A portable leukocyte subtype detection device and method

Through the portable leukocyte subtype detection device and DBSCAN clustering algorithm, the problems of insufficient sample volume, slow counting speed and high equipment cost in the existing technology are solved, rapid and accurate leukocyte subtype detection is achieved, and the automation and detection of detection are improved. Accuracy.

CN114252385BActive Publication Date: 2024-10-25JIANGSU KONSUNG BIOMEDICAL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111540084.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-16
Publication Date
2024-10-25
Estimated Expiration
2041-12-16

AI Technical Summary

Technical Problem

Existing portable white blood cell counting methods have problems such as insufficient sample volume, fluorescent dyes that are harmful to the human body, slow counting speed, insufficient automation of equipment, cumbersome operations, high costs, and large counting errors.

Method used

A portable leukocyte subtype detection device is used, including a sampling unit, a lighting unit, an optical microscope unit, an image acquisition unit, an image processing unit and a result display unit. Multi-layer plane images are acquired through an optical microscope and combined with the DBSCAN clustering algorithm to detect leukocyte subtypes. identification and counting.

Benefits of technology

It achieves fast, accurate and convenient detection of leukocyte subtypes, avoids the problems of sample dilution and waiting for sedimentation, reduces equipment costs, and improves the automation and accuracy of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114252385B_ABST
    Figure CN114252385B_ABST
Patent Text Reader

Abstract

A portable leukocyte subclass detection device and method, comprising: preparing a blood sample to be detected; placing the blood sample in the sample injection unit so as to push the sample injection unit into the portable leukocyte subclass detection device; starting the lighting unit to illuminate the test piece; collecting sample data magnified by an optical microscope unit in real time; and performing particle analysis and counting on the particle image obtained by the image acquisition unit and displaying the counting result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of detection technology, and in particular to a portable leukocyte subtype detection device and method. Background Art

[0002] White blood cell analysis in routine blood tests is an essential means of clinically distinguishing bacterial and viral infections and the severity of infection. Clinically, patients are often guided to take medication based on white blood cell count results. Portable white blood cell counters can obtain accurate diagnostic information in the shortest time at the place closest to the patient, which is conducive to timely diagnosis, monitoring and treatment of diseases, and has time and space advantages that large instruments do not have.

[0003] For portable white blood cell counting systems, the existing technologies mainly include the following: ① Patent US5585246, ② WO97 / 02482 discloses a method of using fluorescent dyes and coordination complexes to mark white blood cells, laser excitation, and measuring fluorescence to determine the number of white blood cells; ③ Patent CN105228749A proposes a chip-based, fluorescence-based image counting method. This method first adds fluorescent dyes to the blood sample, and laser excitation is used to obtain white blood cell fluorescence image data. Finally, the data is transmitted back to the computer, and the computer uses threshold conversion and watershed segmentation to obtain the cell area and count the obtained white blood cell image; ④ "Lab on a chip" 2013 Issue 13, Volume 7, Pages 1257-1266 proposes a white blood cell counting and classification method based on a microfluidic channel. This method designs a microfluidic channel, and the sample is first mixed evenly with the fluorescent dye. When passing through the microfluidic channel, it is triggered by the laser to produce red and green fluorescence. Finally, the number of cells is obtained by analyzing the red and green light characteristics emitted by different white blood cells; ⑤US7086778B2, ⑥US2014 / 0024107A1 proposed a cell counting device based on the electrical impedance method, which forms a pulse signal by analyzing the voltage change to obtain the number of cells; ⑦CN101137904B, ⑧CN103471980B proposed a chip-type blood cell analysis device, which uses electrical impedance, high-frequency conductivity and laser scattering detection technology to count and classify white blood cells; ⑨CA2772376A1, ⑩US20140024107A1⑪CN102216954 improves the image focusing method, integrates cell information on multiple focal planes, and reduces the missed detection caused by a single focal plane; ⑫WO2016 / 050755A2 uses a hemolytic agent to decompose red blood cells, a dye to stain white blood cells, and an image threshold to segment the white blood cell area, and the white blood cell concentration of the blood sample is evaluated by counting the number of white blood cell areas.

[0004] In summary, ①②③④ fluorescent dye method. Mainly based on the fluorescence effect produced by specific laser excitation when white blood cells interact with certain fluorescent dyes to obtain the number of white blood cells; ⑤⑥ electrical impedance method. The sample cells pass through a charged pore, and the pulse signal is formed by analyzing the voltage change to obtain the number of cells; ⑦⑧ electrical impedance + laser scattering method. First, the red blood cells are removed by using a hemolytic agent, and then the sample cells pass through one or more laser beams and charged pores. Finally, the number and size of white blood cells are estimated by analyzing the light scattering signal and impedance changes; ⑨⑩⑪⑫ optical microscope method. By taking low-power microscope images of white blood cells, the image processing is used to segment the cell area to count the number of cells. The portable particle analysis device proposed in the present invention also belongs to the microscope image method, but compared with the method and device described in ⑨⑩⑪⑫, it has certain optimizations and improvements.

[0005] In the prior art, ①②③④ are fluorescence excitation methods. The number of white blood cells is obtained by using the interaction between white blood cells and certain fluorescent dyes, and specific laser excitation produces a fluorescence effect, but there are still the following disadvantages: 1) The blood sample analyzed is less than 10ul, and the blood sample is diluted with diluent during analysis. The sample volume is too small to accurately represent the overall situation; 2) The fluorescent dye is complex and the excitation light is harmful to the human body; 3) The white blood cells need to be counted when they are at the bottom of the capillary, and the counting waiting time is long and the speed is slow; 4) The instrument is not automated enough: Patent ③ needs to be used with a computer, and real-time detection of white blood cells cannot be achieved. Its image analysis module is located in the computer software. ⑤⑥ are electrical impedance methods. The sample cells pass through a charged pore, and a pulse signal is formed by analyzing the voltage change to obtain the number of cells. This method requires manual separation of white blood cells before counting. Although the equipment is portable and low-cost, it cannot be operated by non-professionals, and the initial white blood cell separation operation is cumbersome. ⑦⑧ adopts the impedance + laser scattering method, and uses the combination of fluorescence signal, light scattering signal and impedance change (Coulter effect) to detect and count white blood cells through the analyzer. In this method, the blood sample needs to be mixed with a dedicated reagent, and a precise photomultiplier tube and flow channel need to be configured to enhance the instrument's detection accuracy. Although patents ⑦⑧ have simplified the device structure as much as possible to enhance the portability of the instrument, the instrument is still not portable enough, and this method is technically complex and costly, and is not suitable for home use. ⑨⑩ Although the image method is adopted, like ⑤⑥, white blood cells need to be separated first, and the operation is cumbersome. ⑪⑫ first adds hemolytic agent and dye to the blood sample, lyses the red blood cells, and obtains a low-power microscope image of the stained white blood cells; the difference is that ⑪ uses an automatic focusing device to obtain cells at the focus position. Although the identification of white blood cell subclasses is achieved, the device structure is complex and the equipment cost is high; ⑫ obtains a single-layer image under a 4x microscope, and then obtains the number of white blood cells through a fixed threshold algorithm. Although the WBC image is significantly enhanced, the fixed threshold algorithm cannot segment the aggregated cells and the WBC count error is large. Summary of the invention

[0006] The object of the present invention is to provide a portable leukocyte subtype detection device and method to solve the above problems.

[0007] The embodiment of the present invention is achieved as follows:

[0008] In one aspect of an embodiment of the present invention, a portable leukocyte subtype detection device is provided, comprising:

[0009] A sample injection unit, used for carrying a test piece containing a blood sample;

[0010] an illumination unit configured to illuminate the test sheet after the sample introduction unit is pushed into the portable leukocyte subclass detection device;

[0011] An optical microscope unit, comprising a microscope capable of moving up and down, wherein the microscope can obtain a first number of layers of plane images in the suspension vessel;

[0012] An image acquisition unit, used for collecting the sample data magnified by the microscope in real time;

[0013] The image processing unit is used to perform particle analysis and counting on the particle image acquired by the image acquisition unit.

[0014] The result display unit is used to display the counting result of the image processing unit.

[0015] Optionally, the optical microscope unit includes a stepping motor device, and the motor drives the microscope to move up and down to obtain at least 300 layers of plane images in the suspension vessel.

[0016] Optionally, the optical magnification of the optical microscope unit is 1.5-10 times, and the number of lens elements is less than 5.

[0017] Optionally, the image acquisition unit is a CCD or a CMOS.

[0018] Optionally, the effective pixel of the image acquisition unit is not less than 2M.

[0019] Optionally, the image processing unit is configured to perform image area enhancement, particle area focus identification, focused particle segmentation, ROI area feature sequence construction, particle unsupervised clustering identification counting and concentration correction.

[0020] Optionally, the result display unit is an LED display screen.

[0021] Another aspect of the embodiments of the present invention further provides a portable leukocyte subtype detection method, comprising:

[0022] preparing blood samples for testing;

[0023] placing the blood sample in the sampling unit so that the sampling unit is pushed into the portable leukocyte subtype detection device;

[0024] Start the lighting unit to illuminate the test piece;

[0025] Real-time acquisition of sample data magnified by the optical microscope unit;

[0026] After the image acquisition unit acquires the particle image, the particle analysis and counting are performed and the counting result is displayed.

[0027] Optionally, after the image acquisition unit acquires the particle image, the image is sent to the image processing unit for particle analysis and counting, and the image processing unit is configured to perform image area enhancement, particle area focus recognition, focused particle segmentation and ROI area feature extraction, particle unsupervised clustering recognition counting and concentration correction;

[0028] Image enhancement includes: according to the characteristics of the instrument image, using Gaussian filtering and morphological opening operation reconstruction to complete the removal of interfering substances in the image to be analyzed and the enhancement of the ROI area;

[0029] The particle region focus recognition and segmentation include: after the image is enhanced, the grayscale mean threshold is first used to remove the image without ROI area; with the image plane as the xy axis and the image depth as the vertical axis, the ROI area is segmented by combining the maximum inter-class variance method to construct the ROI region image sequence; the peak value of each depth ROI image is extracted, and the depth of the layer is used as the variable and the peak value as the dependent variable to establish the depth-grayscale value Gaussian curve model; the depth corresponding to the peak value of the curve is the layer where the ROI is focused, and the peak width of the curve is the vertical height of the ROI area; the image of the ROI focus and the vertical height of the ROI are obtained to complete the particle region focus recognition and height feature acquisition; for the identified focus area, fuzzy C-means clustering is used to complete the precise extraction of the ROI region boundary;

[0030] ROI region feature extraction and subclass counting include:

[0031] According to the ROI boundary information, the ROI area and circularity are obtained, and combined with the height features extracted in the previous step, a 3D space vector point is constructed. The density-based DBSCAN (Density-Based Spatial Clustering of Applications with Noise) clustering algorithm finally completes the counting of white blood cell subclasses:

[0032] For a given data set D = { x (1) , x (2) , ...,x (m)}, for x (j) ∈ D ,That ε Neighborhood contains D Zhongyu x (j) The distance is no greater than ε All samples of: ; ε The minimum number of samples in the neighborhood MinPts, if x (j) of ε The neighborhood contains at least MinPts samples, |N ε (x (j) )|≥MinPts, then x (j) is a core object; if x (j) lie in x (i) of ε In the neighborhood, and x (i) is a core object, then it is called x (j) Depend on x (i) Density directness; density directness relations usually do not satisfy symmetry unless x (j) It is also a core object; x (i) and x (j) , if there is a sample sequence p 1 , p 2 , ..., p n ,in p 1 = x (i) , p n = x (j) , p 1 , p 2 , ..., p n-1 are core objects and p i+1 from p i The density is directly x (j) Depend on x(i) Density reachable; density reachable relation satisfies directness but not symmetry; x (i) and x (j) , if exists x (k) Make x (i) and x (j) All by x (k) The density can reach x (i) and x (j) Density connected; the density connected relationship satisfies the symmetry of the largest density connected sample set derived from the density reachable relationship C ,cluster C Satisfies the following two properties:

[0033] x (i) ∈ C , x (j) ∈ C → x (i) and x (j) Density connected;

[0034] x (i) ∈ C , x (j) Depend on x (i) Density can reach → x (j) ∈ C ;

[0035] The specific implementation process is as follows:

[0036] a. Construct 3D spatial point features based on the ROI area, circularity and height, initialize feature point data, and assign 0 attributes to all points, indicating that the point has not been visited yet;

[0037] b. Based on the white blood cell sample data, obtain the coordinates of the center points of neutrophils, lymphocytes, and other cell points, and initialize the cluster core object p 1 , p 2 and p 3 ;

[0038] c. Create a cluster core object p1 , p 2 and p 3 The corresponding cluster C 1、 C 2、 C 3 ;

[0039] d. For C 1 For each object in , if there is an unlabeled category, it is marked as C 1 ;

[0040] e. For C 1 For each object in the class, the unlabeled points in its neighborhood and the density-connected point set density-reachable points are all labeled as categories. C 1 ;

[0041] f. Repeat until C 1 All categories in are labeled;

[0042] g. Return to c and start looking for the next cluster until all points are marked.

[0043] Optionally, after obtaining the number of particles, the concentration L of each type of particle can be obtained by the following formula: ;in, is the number of particles of each type obtained by DBSCAN clustering, ω is the optical magnification, A is the number of image pixels, H is the height of the microfluidic chip, and M is the actual length of each pixel in the image.

[0044] Optionally, the counting result is displayed on an LED display screen in a display unit. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0046] Figure 1 A flow chart of a portable leukocyte subtype detection method of the present invention;

[0047] Figure 2 This is a schematic diagram of a portable leukocyte subtype detection device;

[0048] Figure 3 is the peak Gaussian fitting result;

[0049] Figure 4 It is the three-dimensional DBSCAN clustering result. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0051] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] Please refer to Figures 1 to 4 The present invention proposes a portable leukocyte subtype detection method, system and device for quickly, accurately and conveniently counting the number of leukocyte subtypes in human peripheral blood. Figure 1 As shown, the specific implementation example is Figure 2 The technical solution is mainly described as follows:

[0053] Sample preparation

[0054] A disposable capillary tube draws 10μl of the patient's fingertip blood, adds it to a container containing reagents and mixes it evenly. The reagents are composed of hemolytic agents and dyes, and are stored in a reagent microtube in a dry state. Hemolytic agents are used to lyse red blood cells in blood samples, reduce red blood cell interference, and simplify the distinction and identification of white blood cells in samples; dyes are used to stain white blood cells, enhance the difference between white blood cells and impurity background, and improve the accuracy of subsequent tests. After the blood sample and the reagent are fully mixed, they are added to the test piece sample slot by a pipette, and the mixed liquid will evenly fill the inner cavity of the test piece under capillary action.

[0055] Image acquisition

[0056] Place the test piece containing the blood sample in the sample injection unit and push it into the device. The lighting unit is turned on to illuminate the test piece. The image sensor is initialized and dynamically set. The software sends instructions to the CCD or CMOS to perform real-time acquisition, ISP processing and automatic image exposure of the sample data magnified by the optical microscope unit, and obtain automatically adjusted high-quality digital images as input data for the subsequent algorithm modules:

[0057] Motor 1 is fixed on the linear guide rail. The rotation of motor 1 drives the gear to move on the rack, realizing the linear movement of the sample loading test module. The test piece is pushed into the device by the sample loading unit. When the sample loading unit module moves to a certain position, the position sensor senses and sends out a command, and the motor stops at the specified position; the carrier with the test piece is equipped with a magnet device. When the motor stops at the specified position, the magnet works to make the carrier with the test piece suspended and adsorbed to the corresponding test seat, and the sample is loaded;

[0058] The optical module with the lens is fixed vertically on the linear guide rail 2. The optical module has an eccentric wheel 1 built in it, and the motor 2 is equipped with the eccentric wheel 2. The eccentric wheel 1 is in line contact with the eccentric wheel 2. The rotation of the motor 2 drives the eccentric wheel 1 in the optical module to move, so that the optical module can move vertically from top to bottom and then from bottom to top. The CMOS takes images at equal time intervals to complete the acquisition of sample images at different depths within the height range of the sample test piece. The number of images acquired is >200;

[0059] The LED module is responsible for supplying light to the test piece, ensuring the required illumination for image acquisition and clear display of white blood cells on the image.

[0060] Among them, the sample injection unit is semi-automatic sample injection; the lighting unit is LED lighting, and a light homogenizer is installed on the LED to ensure uniform distribution of light intensity; the optical magnification of the optical microscope unit is 1.5-10 times, preferably 10 times, and the lens element is <5 pieces to ensure that the stained white blood cells are clearly visible in the image; the image sensor collects the image in the image acquisition unit, and the effective pixels of the acquired image are not less than 2M.

[0061] Image processing and particle identification

[0062] After the image acquisition unit acquires the particle image, the image is sent to the image processing unit for particle analysis and counting. The image processing unit is configured to perform image area enhancement, particle area focus recognition, focused particle segmentation and ROI area feature extraction, particle unsupervised clustering recognition counting and concentration correction.

[0063] ① Image enhancement

[0064] According to the characteristics of the instrument image, Gaussian filtering and morphological opening operation reconstruction are used to remove interfering substances in the image to be analyzed and enhance the ROI area.

[0065] ② Particle area focus identification and segmentation

[0066] After the image is enhanced, the grayscale mean threshold is first used to remove images without ROI areas; the image plane is used as the xy axis and the image depth is used as the vertical axis, and the maximum inter-class variance method is used to segment the ROI area and construct the ROI area image sequence; the peak value of each depth ROI image is extracted, and the depth of the layer is used as the variable and the peak value is used as the dependent variable to establish a depth-grayscale value Gaussian curve model. The depth corresponding to the peak of the curve is the layer where the ROI is focused, and the width of the curve peak is the vertical height of the ROI area. The image of the ROI focus and the vertical height of this ROI are obtained to complete the particle area focus identification and height feature acquisition. For the identified focus area, fuzzy C-means clustering is used to complete the precise extraction of the ROI area boundary.

[0067] ③ ROI region feature extraction and subclass counting

[0068] According to the ROI boundary information, the ROI area and circularity are obtained, and combined with the height features extracted in the previous step, a 3D space vector point is constructed. The density-based DBSCAN (Density-Based Spatial Clustering of Applications with Noise) clustering algorithm finally completes the counting of white blood cell subclasses:

[0069] For a given data set D = { x (1) , x (2) , ..., x (m)}, for x (j) ∈ D ,That ε Neighborhood contains D Zhongyu x (j) The distance is no greater than ε All samples of: ; ε The minimum number of samples in the neighborhood MinPts, if x (j) of ε The neighborhood contains at least MinPts samples, |N ε (x (j) )|≥MinPts, then x (j) is a core object. x (j) lie in x (i) of ε In the neighborhood, and x (i) is a core object, then it is called x(j) Depend on x (i) Density directness. Density directness relations usually do not satisfy symmetry unless x (j) It is also a core object; x (i) and x (j) , if there is a sample sequence p 1 , p 2 , ..., p n ,in p 1 = x (i) , p n = x (j) , p 1 , p 2 , ..., p n-1 are core objects and p i+1 from p i The density is directly x (j) Depend on x (i) Density reachable. Density reachable relation satisfies directness but not symmetry; x (i) and x (j) , if exists x (k) Make x (i) and x (j) All by x (k) The density can reach x (i) and x (j) Density connected. The density connected relationship satisfies the symmetry and is the largest density connected sample set derived from the density reachable relationship. C ,cluster C Satisfies the following two properties: x (i) ∈ C , x (j) ∈ C → x (i) andx (j) Density connected;

[0070] x (i) ∈ C , x (j) Depend on x (i) Density can reach → x (j) ∈ C The specific implementation process is as follows:

[0071] a. Construct 3D spatial point features based on the ROI area, circularity and height, initialize feature point data, and assign 0 attributes to all points, indicating that the point has not been visited yet;

[0072] b. Based on the white blood cell sample data, obtain the coordinates of the center points of neutrophils, lymphocytes, and other cell points, and initialize the cluster core object p 1 , p 2 and p 3 ;

[0073] c. Create and cluster core object p 1 , p 2 and p 3 The corresponding cluster C 1、 C 2、 C 3 ;

[0074] d. For C 1 For each object in , if there is an unlabeled category, it is marked as C 1 ;

[0075] e. For C 1 For each object in the class, the unlabeled points in its neighborhood and the density-connected point set density-reachable points are all labeled as categories. C 1 ;

[0076] f. Repeat until C 1 All categories in are labeled;

[0077] g. Return to c and start looking for the next cluster until all points are marked.

[0078] Finally, count the number of Ci midpoints to complete the leukocyte subclass counting.

[0079] Leukocyte subclass concentration calculation

[0080] After obtaining the number of particles, the concentration of various particles L It can be obtained by the following formula: ;in, is the number of particles obtained by DBSCAN clustering. ω is the optical magnification, A is the number of image pixels, H is the height of the microfluidic chip, M The actual length of each pixel of the image.

[0081] 2) Results display

[0082] After the particles are counted and corrected by the image processing unit, the counting results are displayed on the display unit. The display unit is composed of an LED display screen. In order to verify the feasibility and effectiveness of the present invention, the method proposed in the present invention is used to collect 10μl hemolytic stained leukocyte images and identify the focus area. The collected image sequence is 200, the sequence depth is 150μm, the size of each sequence image is 2130×2120, and the image magnification is 10x.

[0083] Using the method proposed by the present invention, Figure 3 These are some sequential images of white blood cells after lysis and staining. Figure 4 for Figure 3 Sparse matrix image after sparseness; other cells (suspended cells such as red blood cells and platelets) and suspended particles are automatically focused and identified: the particle automatic focusing method and system based on sparse matrix proposed in the invention can not only be used for white blood cell focusing and identification, but also for the automatic focusing of suspended cell particles such as red blood cells and platelets within a certain volume: by obtaining multi-depth cell / particle sequence images (the images can be 4x, 5x, 8x, 10x, etc., and this method is effective for 100x microscope images), after obtaining the corresponding multi-depth images of suspended cells / particles such as red blood cells and platelets, the area, circularity and height features of the same particles / cells (platelets) are extracted, and the three-dimensional DBSCAN clustering is used to realize the focusing and identification of each particle. Since the sizes of each cell / particle are different, the corresponding target recognition and counting can be completed for the three-dimensional DBSCAN core center object in the method.

[0084] Compared with the existing above-mentioned technology, the present invention has the following advantages:

[0085] The eccentric wheel device is used to achieve multi-depth scanning of tiny particles at a specific height, with a simple device structure, low device cost and high portability;

[0086] Construct a three-dimensional DBSCAN clustering recognition method with a specified initial center to avoid the computational time problems caused by high-dimensional recognition and multi-dimensional features, and quickly, effectively and concisely complete the recognition and counting of leukocyte subtypes;

[0087] The method of the present invention does not need to wait for the cells to settle naturally, thus avoiding the problem of multi-cell aggregation at different z depths with the same xy plane coordinates caused by cell sinking, which affects the accuracy of high-value sample detection. The image of cells at the focal position during the natural sedimentation process can be quickly and automatically acquired, providing a basis for subsequent high-precision classification and identification of cells.

[0088] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A portable leukocyte subtype detection method, characterized in that: include: preparing blood samples for testing; placing the blood sample in a sampling unit so that the sampling unit is pushed into a portable leukocyte subtype detection device; Start the lighting unit to illuminate the test piece; Real-time acquisition of sample data magnified by the optical microscope unit; After the image acquisition unit acquires the particle image, it performs particle analysis and counting and displays the counting result; After the image acquisition unit acquires the particle image, the image is sent to the image processing unit for particle analysis and counting. The image processing unit is configured to perform image area enhancement, particle area focus recognition, focused particle segmentation and ROI area feature extraction, particle unsupervised clustering recognition counting and concentration correction; Image enhancement includes: according to the characteristics of the instrument image, using Gaussian filtering and morphological opening operation reconstruction to complete the removal of interfering substances in the image to be analyzed and the enhancement of the ROI area; The particle region focus recognition and segmentation include: after the image is enhanced, the grayscale mean threshold is first used to remove the image without ROI area; with the image plane as the xy axis and the image depth as the vertical axis, the ROI area is segmented by combining the maximum inter-class variance method to construct the ROI region image sequence; the peak value of each depth ROI image is extracted, and the depth of the layer is used as the variable and the peak value as the dependent variable to establish the depth-grayscale value Gaussian curve model; the depth corresponding to the peak value of the curve is the layer where the ROI is focused, and the peak width of the curve is the vertical height of the ROI area; the image of the ROI focus and the vertical height of the ROI are obtained to complete the particle region focus recognition and height feature acquisition; for the identified focus area, fuzzy C-means clustering is used to complete the precise extraction of the ROI region boundary; ROI region feature extraction and subclass counting include: According to the ROI boundary information, the ROI area and circularity are obtained, and combined with the height features extracted in the previous step, a 3D space vector point is constructed. The density-based DBSCAN (Density-Based Spatial Clustering of Applications with Noise) clustering algorithm finally completes the counting of white blood cell subclasses: For a given dataset D = {x(1), x(2), ..., x(m)}, for x(j)∈D, its ε neighborhood contains all samples in D whose distance to x(j) is not greater than ε: ; The minimum number of samples in the ε neighborhood is MinPts. If the ε neighborhood of x(j) contains at least MinPts samples, |Nε(x(j))|≥MinPts, then x(j) is a core object; if x(j) is in the ε neighborhood of x(i), and x(i) is a core object, then x(j) is said to be density-directly reachable from x(i); the density-directly reachable relationship usually does not satisfy the symmetry unless x(j) is also a core object; for x(i) and x(j), if there exists a sample sequence p1, p2, ..., pn, where p1 = x(i), pn = x(j), p1, p2, ..., If pn-1 are all core objects and pi+1 is directly accessible from pi, then x(j) is said to be density-reachable by x(i); the density-reachable relation satisfies directness but does not satisfy symmetry; for x(i) and x(j), if there exists x(k) such that both x(i) and x(j) are density-reachable by x(k), then x(i) and x(j) are said to be density-connected; the density-connected relation satisfies symmetry. The largest density-connected sample set C derived from the density-reachable relation, cluster C satisfies the following two properties: x(i)∈C,x(j)∈C → x(i) and x(j) are densely connected; x(i)∈C, x(j) can be reached from x(i) density → x(j)∈C; The specific implementation process is as follows: a. Construct 3D spatial point features based on the ROI area, circularity and height, initialize feature point data, and assign 0 attributes to all points, indicating that the point has not been visited yet; b. According to the white blood cell sample data, obtain the coordinates of the center points of neutrophils, lymphocytes, and other cell point intervals, and initialize the cluster core objects p1, p2, and p3; c. Create clusters C1, C2, and C3 corresponding to the cluster core objects p1, p2, and p3; d. For each object in C1, if there is an unlabeled category, it is labeled as C1; e. For each object in C1, all unlabeled points in its neighborhood and density-connected point sets with density reachable points are labeled as category C1; f. Repeat de until all categories in C1 are marked; g. Return to c and start looking for the next cluster until all points are marked.

2. The portable leukocyte subtype detection method according to claim 1, characterized in that: After obtaining the number of particles, the concentration L of each type of particle can be obtained by the following formula: ;in, is the number of particles of each type obtained by DBSCAN clustering, ω is the optical magnification, A is the number of image pixels, H is the height of the microfluidic chip, and M is the actual length of each pixel in the image.

3. A portable leukocyte subtype detection device, characterized in that: include: A sample injection unit, used for carrying a test piece containing a blood sample; an illumination unit configured to illuminate the test sheet after the sample introduction unit is pushed into the portable leukocyte subclass detection device; An optical microscope unit, comprising a microscope capable of moving up and down, wherein the microscope can obtain a first number of layers of plane images in the suspension vessel; An image acquisition unit, used for collecting the sample data magnified by the microscope in real time; An image processing unit, used for performing particle analysis and counting on the particle image acquired by the image acquisition unit; A result display unit, used for displaying the counting result of the image processing unit; After the image acquisition unit acquires the particle image, the image is sent to the image processing unit for particle analysis and counting. The image processing unit is configured to perform image area enhancement, particle area focus recognition, focused particle segmentation and ROI area feature extraction, particle unsupervised clustering recognition counting and concentration correction; Image enhancement includes: according to the characteristics of the instrument image, using Gaussian filtering and morphological opening operation reconstruction to complete the removal of interfering substances in the image to be analyzed and the enhancement of the ROI area; The particle region focus recognition and segmentation include: after the image is enhanced, the grayscale mean threshold is first used to remove the image without ROI area; with the image plane as the xy axis and the image depth as the vertical axis, the ROI area is segmented by combining the maximum inter-class variance method to construct the ROI region image sequence; the peak value of each depth ROI image is extracted, and the depth of the layer is used as the variable and the peak value as the dependent variable to establish the depth-grayscale value Gaussian curve model; the depth corresponding to the peak value of the curve is the layer where the ROI is focused, and the peak width of the curve is the vertical height of the ROI area; the image of the ROI focus and the vertical height of the ROI are obtained to complete the particle region focus recognition and height feature acquisition; for the identified focus area, fuzzy C-means clustering is used to complete the precise extraction of the ROI region boundary; ROI region feature extraction and subclass counting include: According to the ROI boundary information, the ROI area and circularity are obtained, and combined with the height features extracted in the previous step, a 3D space vector point is constructed. The density-based DBSCAN (Density-Based Spatial Clustering of Applications with Noise) clustering algorithm finally completes the counting of white blood cell subclasses: For a given dataset D = {x(1), x(2), ..., x(m)}, for x(j)∈D, its ε neighborhood contains all samples in D whose distance to x(j) is not greater than ε: ; The minimum number of samples in the ε neighborhood is MinPts. If the ε neighborhood of x(j) contains at least MinPts samples, |Nε(x(j))|≥MinPts, then x(j) is a core object; if x(j) is in the ε neighborhood of x(i), and x(i) is a core object, then x(j) is said to be density-directly reachable from x(i); the density-directly reachable relationship usually does not satisfy the symmetry unless x(j) is also a core object; for x(i) and x(j), if there exists a sample sequence p1, p2, ..., pn, where p1 = x(i), pn = x(j), p1, p2, ..., If pn-1 are all core objects and pi+1 is directly accessible from pi, then x(j) is said to be density-reachable by x(i); the density-reachable relation satisfies directness but does not satisfy symmetry; for x(i) and x(j), if there exists x(k) such that both x(i) and x(j) are density-reachable by x(k), then x(i) and x(j) are said to be density-connected; the density-connected relation satisfies symmetry. The largest density-connected sample set C derived from the density-reachable relation, cluster C satisfies the following two properties: x(i)∈C,x(j)∈C → x(i) and x(j) are densely connected; x(i)∈C, x(j) can be reached from x(i) density → x(j)∈C; The specific implementation process is as follows: a. Construct 3D spatial point features based on the ROI area, circularity and height, initialize feature point data, and assign 0 attributes to all points, indicating that the point has not been visited yet; b. According to the white blood cell sample data, obtain the coordinates of the center points of neutrophils, lymphocytes, and other cell point intervals, and initialize the cluster core objects p1, p2, and p3; c. Create clusters C1, C2, and C3 corresponding to the cluster core objects p1, p2, and p3; d. For each object in C1, if there is an unlabeled category, it is labeled as C1; e. For each object in C1, all unlabeled points in its neighborhood and density-connected point sets with density reachable points are labeled as category C1; f. Repeat de until all categories in C1 are marked; g. Return to c and start looking for the next cluster until all points are marked.

4. The portable leukocyte subtype detection device according to claim 3, characterized in that: The optical microscope unit includes a progressive motor device, which drives the microscope up and down to obtain at least 300 layers of plane images in the suspended vessel.

5. The portable leukocyte subtype detection device according to claim 3, characterized in that: The optical magnification of the optical microscope unit is 1.5-10 times, and the lens elements are less than 5 pieces.

6. The portable leukocyte subtype detection device according to claim 3, characterized in that: The image acquisition unit is CCD or CMOS.

7. The portable leukocyte subtype detection device according to claim 6, characterized in that: The effective pixel of the image acquisition unit is not less than 2M.

8. The portable leukocyte subtype detection device according to claim 3, characterized in that: The result display unit is an LED display screen.