A high-concentration detection method using droplet digital PCR

By calculating the histogram of grayscale and radius probability density of the droplets, two positive points screenings were performed, and the threshold of the droplets was updated, which solved the problem of lower detection concentration and missed detection caused by uneven optical paths, and improved the droplet-type digital PCR detection capability and concentration dynamic range.

CN114038506BActive Publication Date: 2024-11-08PILOT GENE TECH HANGZHOU CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111320265.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-09
Publication Date
2024-11-08
Estimated Expiration
2041-11-09

AI Technical Summary

Technical Problem

In the optical path system with a large field of view, spherical lenses cause uneven optical paths, reducing the maximum detection concentration of the sample, and the phenomenon of false detection and missed detection increases with the increase in the number of positives, resulting in an increase in the analysis error of digital PCR quantitative and qualitative digital PCR big.

Method used

By obtaining the original droplet grayscale images of different exposure times and different concentration gradients, identifying the droplet position, calculating the grayscale probability density histogram and radius probability density histogram of the local analysis area of ​​the droplet, and using the moment conservation threshold method to calculate the pixel threshold value and the radius threshold, perform two positive point screenings to update the droplet threshold to reduce the impact of uneven optical path on the picture.

Benefits of technology

The droplet digital PCR detection concentration is improved, the concentration dynamic range is expanded, false detection and missed detection are reduced, and the threshold judgment error introduced by noise and high bright spots is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114038506B_ABST
    Figure CN114038506B_ABST
Patent Text Reader

Abstract

The present application discloses a high-concentration detection method for droplet digital PCR, including: identifying the position of droplets in the original droplet grayscale image; selecting a local analysis area of ​​the droplet, and calculating the grayscale probability density histogram and radius probability density histogram corresponding to the local analysis area of ​​the droplet; calculating the pixel threshold and radius threshold corresponding to the local analysis area of ​​the droplet by the moment conservation threshold method; performing a first positive point screening on the droplet according to the pixel threshold and radius threshold; selecting a droplet limited analysis area, performing a second positive point screening on the droplet, and updating the threshold of the droplet identified as positive; calculating the average threshold of all droplets, and using the updated droplet threshold and average threshold to update the grayscale value of the droplet; generating a droplet grayscale histogram, obtaining the threshold for dividing the droplet into negative and positive, and re-dividing the droplet into negative and positive. This method can improve the detection concentration of droplet digital PCR and expand the concentration dynamic range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a droplet digital PCR high-concentration detection method. Background Art

[0002] Polymerase Chain Reaction (PCR) is a technology that amplifies specific DNA fragments in vitro. Digital PCR accurately determines the number of gene copies based on the principle of polymerase chain reaction, and realizes qualitative and quantitative analysis of gene mutations. The droplet digital PCR system uses droplets obtained by separating oil and water phases as micro-reaction units, dilutes and disperses DNA or RNA samples into tens of thousands or even millions of independent reaction units, and each reaction unit contains (or does not contain) one or more target molecules (DNA or RNA templates). The micro-reaction units are laid flat in a single layer in the chip, and the chip is placed in a temperature rise and fall system. Molecular template PCR amplification is performed on the target sequences of all micro-reaction units. During the amplification process, the fluorescence intensity of the micro-reaction units continues to increase. After the amplification is completed, the CCD or CMOS camera collects the fluorescent probe signal used to mark the specific gene fragment in the optical imaging system, and judges the positive or negative of the micro-reaction unit based on the strength of the fluorescent signal. Finally, the concentration of nucleotides in the sample is detected based on statistical analysis (Poisson distribution). Digital PCR does not rely on the cycle threshold of the amplification curve, is not affected by the amplification efficiency, and can directly read the number of DNA molecules. It is an absolute quantitative technology for nucleic acid molecules.

[0003] However, in the optical path system with a large field of view, the lens rate in the central area of ​​the spherical lens is high, and the farther away from the center, the lower the lens rate, resulting in uneven optical path, reducing the maximum detection concentration of the sample, and the lens manufacturing process is complex, and the filter yield of a specific band is low. Factors such as reagent concentration, chip material, droplet size, droplet fusion, and random distribution of droplet points affect the strength of the droplet fluorescence value, resulting in false detection and missed detection of positive droplets. As the number of positives increases (i.e., the concentration increases), the false detection and missed detection of positive droplets will become more serious, and the quantitative and qualitative analysis errors of digital PCR will increase. During the amplification process, the chip may experience localized uneven heating, resulting in weak fluorescence values ​​of the real micro-reaction wells. As the number of positives increases (i.e., the concentration increases), the histogram distribution of negative fluorescence values ​​and positive fluorescence values ​​will have a peak, and the peaks and valleys divided by the threshold cannot be formed, resulting in incorrect selection of positive and negative thresholds. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a droplet digital PCR high concentration detection method, which can reduce the impact of uneven light path on the image, improve the droplet digital PCR detection concentration, and expand the droplet digital PCR concentration dynamic range. The specific scheme is as follows:

[0005] A droplet digital PCR high-concentration detection method, comprising:

[0006] Acquire original droplet grayscale images with different exposure times and different concentration gradients, and identify the droplet position in the original droplet grayscale image;

[0007] Taking any droplet position as the center and the set local analysis range value as the radius, select a droplet local analysis area, and calculate the grayscale probability density histogram and radius probability density histogram corresponding to the droplet local analysis area respectively;

[0008] Utilizing the grayscale probability density histogram and the radius probability density histogram, respectively calculating the pixel threshold and radius threshold corresponding to the local analysis area of ​​the droplet by using the moment conservation threshold method;

[0009] Performing a first positive point screening on the droplets according to the calculated pixel threshold and radius threshold;

[0010] Taking the position of the droplet tentatively determined as negative as the center and the set limited analysis range value as the radius, a droplet limited analysis area is selected, the droplet is screened for positive points for the second time, and the threshold of the droplet determined as positive is updated; the limited analysis range value is smaller than the local analysis range value;

[0011] Calculating an average threshold of all droplets, and updating the grayscale value of the droplets using the updated threshold of the droplets and the calculated average threshold;

[0012] A droplet grayscale histogram is generated according to the updated droplet grayscale values, a threshold for dividing droplets into negative and positive is obtained on the generated droplet grayscale histogram, and the droplets are re-divided into negative and positive according to the obtained threshold.

[0013] Preferably, in the above-mentioned droplet digital PCR high-concentration detection method provided by an embodiment of the present invention, calculating the grayscale probability density histogram corresponding to the local analysis area of ​​the droplet includes:

[0014] Counting the grayscale histogram of the local analysis area of ​​the droplet;

[0015] Find the minimum grayscale value and the maximum grayscale value from the grayscale histogram;

[0016] According to the grayscale values ​​between the minimum grayscale value and the maximum grayscale value in the grayscale histogram and their corresponding pixel numbers, as well as the total number of droplets in the droplet local analysis area, the probability density of the grayscale value is calculated to generate a grayscale probability density histogram.

[0017] Preferably, in the above-mentioned droplet digital PCR high-concentration detection method provided in an embodiment of the present invention, the pixel threshold corresponding to the local analysis area of ​​the droplet is calculated by using the grayscale probability density histogram through the moment conservation threshold method, including:

[0018] Calculate the first-order moment, second-order moment and third-order moment of the grayscale histogram according to the values ​​in the grayscale probability density histogram;

[0019] Calculating a first reference value according to the first-order moment, the second-order moment and the third-order moment of the grayscale histogram;

[0020] After the grayscale values ​​traverse the grayscale probability density histogram from the minimum grayscale value to the maximum grayscale value in sequence, if there is a probability density value of the grayscale probability density histogram greater than the first reference value, the grayscale value corresponding to the probability density value is used as the pixel threshold corresponding to the local analysis area of ​​the droplet.

[0021] Preferably, in the above-mentioned droplet digital PCR high-concentration detection method provided by an embodiment of the present invention, calculating the radius probability density histogram corresponding to the local analysis area of ​​the droplet includes:

[0022] Find the surrounding droplets except the central droplet in the local analysis area of ​​the droplet, and calculate the radius histogram corresponding to the position of the central droplet; the radius value in the radius histogram is the distance between the surrounding droplets and the central droplet;

[0023] Find the maximum radius value and the minimum radius value from the radius histogram;

[0024] According to the radius values ​​between the minimum radius value and the maximum radius value in the radius histogram and their corresponding pixel numbers, as well as the total number of droplets in the droplet local analysis area, the probability density of the radius value is calculated to generate a radius probability density histogram.

[0025] Preferably, in the above-mentioned droplet digital PCR high-concentration detection method provided in an embodiment of the present invention, the radius probability density histogram is used to calculate the radius threshold corresponding to the local analysis area of ​​the droplet by the moment conservation threshold method, including:

[0026] Calculate the first-order moment, the second-order moment and the third-order moment of the radius histogram according to the values ​​in the radius probability density histogram;

[0027] Calculating a second reference value according to the first-order moment, the second-order moment and the third-order moment of the radius histogram;

[0028] After the radius values ​​traverse the radius probability density histogram in sequence from the minimum radius value to the maximum radius value, if there is a probability density value of the radius probability density histogram greater than the second reference value, the radius value corresponding to the probability density value is used as the radius threshold corresponding to the local analysis area of ​​the droplet.

[0029] Preferably, in the above-mentioned droplet digital PCR high-concentration detection method provided in an embodiment of the present invention, the droplets are screened for positive points for the first time according to the calculated pixel threshold and the radius threshold, including:

[0030] Calculate the average value of the grayscale values ​​in the local analysis area of ​​the droplet that are less than or equal to the pixel threshold, and count the maximum pixel value of the surrounding droplets in the local analysis area of ​​the droplet that are less than or equal to the pixel threshold;

[0031] Calculating an average value of radius values ​​within the local analysis area of ​​the droplet that are less than or equal to the radius threshold;

[0032] If the difference between the original radius of the droplet and the calculated average value of the radius value is greater than a first preset value, and the ratio between the original gray value of the droplet and the calculated average value of the gray value is less than a second preset value, the droplet is temporarily determined to be negative, and the average between the calculated average value of the gray value and the maximum pixel value is used as the threshold of the droplet;

[0033] If the difference between the original radius of the droplet and the calculated average value of the radius value is not greater than the first preset value, or the ratio between the original grayscale value of the droplet and the calculated average value of the grayscale value is not less than the second preset value, and the ratio between the original grayscale value of the droplet and the calculated maximum pixel value is not less than the set contrast parameter, then the droplet is provisionally determined to be positive; otherwise, the droplet is provisionally determined to be negative, and the mean between the calculated average value of the grayscale value and the maximum pixel value is used as the threshold of the droplet.

[0034] Preferably, in the above-mentioned droplet digital PCR high-concentration detection method provided in an embodiment of the present invention, a second positive point screening is performed on the droplets, and the threshold of the droplets identified as positive is updated, including:

[0035] According to the first screening result, dividing the positive droplet set and the negative droplet set in the defined analysis area;

[0036] Calculating the average values ​​of the grayscale values ​​of the positive droplet set and the negative droplet set respectively, and calculating the minimum grayscale value in the positive droplet set;

[0037] If the sum of the average value of the grayscale values ​​of the positive droplet set and the average value of the grayscale values ​​of the negative droplet set is less than 2 times the difference between the original grayscale values ​​of the droplets in the limited analysis area and the third preset value, and the difference between the original grayscale values ​​of the droplets in the limited analysis area and the average value of the grayscale values ​​of the negative droplet set is greater than the third preset value, the droplet is determined to be positive, and the threshold of the droplet is updated to the average value of the thresholds corresponding to the droplets included in the positive droplet set and the negative droplet set;

[0038] The product of the difference between the average value of the grayscale value of the positive droplet set and the minimum grayscale value in the positive droplet set and the fourth preset value is taken as the product value. If the original grayscale value of the droplet in the positive droplet set is greater than the difference between the average value of the grayscale value of the positive droplet set and the product value, the droplet is determined to be positive, and the threshold of the droplet is updated to the average value of the thresholds corresponding to the droplets contained in the positive droplet set and the negative droplet set.

[0039] Preferably, in the above-mentioned droplet digital PCR high-concentration detection method provided by an embodiment of the present invention, the threshold for dividing droplets into negative and positive is obtained on the generated droplet grayscale histogram, including:

[0040] Count the positive grayscale histogram and negative grayscale histogram respectively;

[0041] Calculating the threshold division upper limit value using the positive grayscale histogram;

[0042] Calculating the threshold division lower limit value using the negative grayscale histogram;

[0043] According to the threshold division upper limit value and the threshold division lower limit value, the thresholds for dividing droplets into negative and positive are calculated in the generated droplet grayscale histogram.

[0044] Preferably, in the above-mentioned droplet digital PCR high-concentration detection method provided in an embodiment of the present invention, re-dividing the droplets into negative and positive according to the acquired threshold value includes:

[0045] If the gray value of the updated droplet is greater than or equal to the acquired threshold, the droplet is reclassified as positive;

[0046] If the gray value of the updated droplet is less than the acquired threshold, the droplet is reclassified as negative.

[0047] Preferably, in the above-mentioned droplet digital PCR high-concentration detection method provided in the embodiment of the present invention, after updating the threshold of the droplets identified as positive, it also includes:

[0048] Plot the fitted surface of the light path according to the updated threshold of the droplet.

[0049] It can be seen from the above technical scheme that a droplet digital PCR high-concentration detection method provided by the present invention includes: obtaining original droplet grayscale images with different exposure times and different concentration gradients, and identifying the droplet position in the original droplet grayscale image; taking any droplet position as the center and a set local analysis range value as the radius, selecting a droplet local analysis area, and respectively calculating a grayscale probability density histogram and a radius probability density histogram corresponding to the droplet local analysis area; using the grayscale probability density histogram and the radius probability density histogram, respectively calculating the pixel threshold and radius threshold corresponding to the droplet local analysis area by the moment conservation threshold method; according to the calculated pixel threshold and Radius threshold, perform the first positive point screening on the droplets; take the position of the droplet temporarily determined as negative as the center, and take the set limited analysis range value as the radius, select the droplet limited analysis area, perform the second positive point screening on the droplet, and update the threshold of the droplets determined as positive; the limited analysis range value is less than the local analysis range value; calculate the average threshold of all droplets, and use the updated droplet threshold and the calculated average threshold to update the droplet gray value; generate a droplet grayscale histogram based on the updated droplet grayscale value, obtain the threshold for dividing the droplet into negative and positive on the generated droplet grayscale histogram, and re-divide the droplets into negative and positive according to the obtained threshold.

[0050] The above-mentioned droplet digital PCR high-concentration detection method provided by the present invention calculates the threshold value based on the droplet radius information, limits the range of droplets involved in the calculation, and screens the droplets for positive points twice to update the droplet threshold value to finally update the droplet grayscale value. The updated droplet grayscale value reduces the impact of uneven light path on the image, prevents false detection and missed detection of positive droplets due to factors such as droplet fusion and random distribution of droplet points. The entire algorithm analyzes the fluorescence value of the droplet based on the principle of normal histogram statistics, and also reduces the threshold judgment error introduced by noise and highlights. In this way, the droplet digital PCR detection concentration can be improved by adjusting the local analysis range value, and the dynamic range of the droplet digital PCR concentration can be expanded. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0052] Figure 1 A flow chart of a droplet digital PCR high-concentration detection method provided in an embodiment of the present invention;

[0053] Figure 2A schematic diagram of a local analysis area of ​​a droplet provided by an embodiment of the present invention;

[0054] Figure 3 A grayscale histogram of a local analysis area of ​​a droplet provided by an embodiment of the present invention;

[0055] Figure 4 A comparison diagram of the original droplet grayscale image and the optical path fitting surface provided by an embodiment of the present invention;

[0056] Figure 5 A one-dimensional scatter plot of droplet fluorescence values ​​provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. 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.

[0058] The present invention provides a droplet digital PCR high concentration detection method, such as Figure 1 As shown, the following steps are included:

[0059] S101, obtaining original droplet grayscale images with different exposure times and different concentration gradients, and identifying droplet positions in the original droplet grayscale images.

[0060] In practical applications, first, under stable imaging system conditions, original droplet grayscale images with different exposure times and different concentration gradients are taken. Then, based on the taken original droplet grayscale images, positive samples containing complete droplets are intercepted, normalized to the same size of 24*24, and Gaussian filtering is performed on the positive samples. In addition, negative samples that do not contain droplets or contain droplet areas less than 1 / 3 are intercepted, and the size of negative samples is larger than that of positive samples.

[0061] Next, extract the LBP features of the sample; specifically, let the coordinate point (x, y) represent the sample position of size 24*24, P(x, y) represents the pixel value of the position, where 1≤x, y≤22; take the point (x, y) as the center, compare the grayscale values ​​of the eight adjacent pixels with the threshold value P(x, y), if the surrounding pixel values ​​are greater than the threshold value P(x, y), then the position of the pixel point is marked as 1, otherwise it is 0. The 8 points in the eight-neighborhood can generate an 8-bit binary number (usually converted to a decimal number, namely LBP code, a total of 256 types), that is, the LBP value of the point (x, y); traverse the pixel points at other positions, generate a total of 484 LBP values, and combine the LBP values ​​to generate the sample LBP features.

[0062] After extracting the LBP features of the sample, a linear weighted strong classifier is generated according to the Adaboost algorithm, and multiple strong classifiers form a cascade classifier; finally, the original droplet grayscale image is imported into the cascade classifier model generated after training to identify droplets. i The position (pos_x i , pos_y i ) and the original radius R i , where 0≤i≤N droplets ,N droplets Indicates the total number of droplets, pos_x i and pos_y i Represents the i-th droplet Droplets i The horizontal and vertical coordinates of .

[0063] S102 , taking any droplet position as the center and the set local analysis range value as the radius, select a droplet local analysis area, and calculate the grayscale probability density histogram and radius probability density histogram corresponding to the droplet local analysis area.

[0064] by Figure 2 For example, select Droplets i , with Droplets i The position (pos_x i , pos_y i ) as the center, and with the set local analysis range value area_radius (such as area_radius = 160) as the radius, select the local analysis area of ​​the droplet. Then, calculate the gray probability density histogram C corresponding to the local analysis area of ​​the droplet respectively k and radius probability density histogram U k .

[0065] S103 , using the grayscale probability density histogram and the radius probability density histogram, respectively calculate the pixel threshold and radius threshold corresponding to the local analysis area of ​​the droplet through the moment conservation threshold method.

[0066] In practical applications, according to the grayscale probability density histogram C k The pixel threshold value Histom corresponding to the local analysis area of ​​the droplet is calculated by the moment conservation threshold method. i_gray _Th i ; According to the radius probability density histogram U k The value in is used to calculate the radius threshold Histom corresponding to the local analysis area of ​​the droplet by the moment conservation threshold method. i_radius _Th i .

[0067] S104 , performing a first positive point screening on the droplets according to the calculated pixel threshold and radius threshold.

[0068] S105. Taking the position of the droplet tentatively determined as negative as the center and the set limited analysis range value as the radius, select the droplet limited analysis area, perform a second positive point screening on the droplet, and update the threshold of the droplet determined as positive; the limited analysis range value is smaller than the local analysis range value.

[0069] In the present invention, the droplets that are tentatively determined to be negative after step S104 are selected. m , where 0≤m≤N droplets , N droplets Indicates the total number of droplets. m The position (pos_x m , pos_y m ) as the center, with the limited analysis range value limited_scope as the radius, where limit_scope is less than area_radius, for example, limit_scope = area_radius*0.7, select the droplet limited analysis area. In the droplet limited analysis area, perform a second positive point screening on the droplets, calculate the threshold of each droplet, and update the threshold Threashold of the droplets identified as positive m .

[0070] S106 , calculating the average threshold of all droplets, and updating the grayscale value of the droplets using the updated threshold of the droplets and the calculated average threshold.

[0071] Specifically, the average threshold of all droplets is calculated Threashold k Droplets m The threshold corresponding to the droplets contained in .

[0072] Select Droplets i , where 0≤i≤N droplets , N droplets Represents the total number of droplets. Where G_V i Droplets i Updated grayscale value, Threshold i The threshold value of the droplet after the update corresponds to the threshold value updated in step S105. m Droplet Threshold i Indicates the change of the light path according to the droplet threshold Threshold iThe light path background surface can be fitted. Indicates the intensity of the gray value of the droplet image, which is related to the reagent concentration and exposure time. i The updated droplet pixel value can reduce the impact of uneven light path on the image.

[0073] S107 , generating a droplet grayscale histogram according to the updated droplet grayscale values, obtaining a threshold for dividing droplets into negative and positive on the generated droplet grayscale histogram, and re-dividing the droplets into negative and positive according to the obtained threshold.

[0074] In the above step, a droplet grayscale histogram is generated according to the grayscale value of the updated droplet, which may specifically include: traversing all updated droplets, and calculating the droplet grayscale histogram Histom droplets_gray , with grayscale as the horizontal axis and the number of pixels as the vertical axis, NUM_DROPLETS represents the number of droplets with pixel value G_V in all droplets, 0≤G_V≤255. Next, the peaks and valleys of negative and positive divisions are formed on the droplet grayscale histogram to facilitate the selection of thresholds in order to re-divide the droplets into negative and positive.

[0075] In the above-mentioned droplet digital PCR high-concentration detection method provided in an embodiment of the present invention, the threshold is calculated based on the droplet radius information, the range of droplets participating in the calculation is limited, and the droplets are screened for positive points twice to update the threshold of the droplets to finally update the grayscale value of the droplets. The updated grayscale value of the droplets reduces the impact of uneven light path on the image, and prevents false detection and missed detection of positive droplets due to factors such as droplet fusion and random distribution of droplet points. The entire algorithm analyzes the fluorescence value of the droplets based on the principle of normal histogram statistics, and also reduces the threshold judgment error introduced by noise and highlights. In this way, the droplet digital PCR detection concentration can be improved by adjusting the local analysis range value, and the dynamic range of the droplet digital PCR concentration can be expanded.

[0076] It should be noted that when executing step S101, a linearly weighted strong classifier is generated according to the Adaboost algorithm. In the process of forming a cascade classifier with multiple strong classifiers, the following may be specifically included: for a given droplet, the positive and negative sample sets (x1, y1), (x2, y2), ..., (x i ,y i ),…,(x n ,y n ), where x i represents the i-th sample, y i =0 means it is a negative sample, y i =1 indicates that it is a positive sample, and n indicates the total number of positive and negative samples;

[0077] Initialize the weights, represents the weight of positive samples, l is the total number of positive samples; represents the weight of positive and negative samples, m is the total number of negative samples; normalized weight, Among them, 0≤t≤T, T represents the number of weak classifiers; for each feature f0, train the corresponding weak classifier h f0 , calculate h f0 The weighted error rate of t The classifier is taken as the optimal classifier h t , ε t =min∑w i |h(x i )-y i |; Update weights, in, ε i =0 means x i is correctly divided, otherwise it is wrongly divided;

[0078] The final strong classifier generated is: in,

[0079] When training multiple strong classifiers to form a cascade classifier, the minimum recognition rate and maximum false positive rate of each level of strong classifier are defined as d and f respectively, and the false positive rate of the cascade classifier is defined as F. 目标 ; Definition D i and F i Respectively represent the recognition rate and error rate of the cascade classifier, n i represents the number of weak categories contained in the i-th strong category, P represents the positive sample set, N represents the negative sample set, initialize i=0, D0=1.0, F0=1.0;

[0080] When F i >F 目标 When , the iteration is as follows:

[0081] i=i+1;

[0082] n i =0,F i =F i-1 ;

[0083] When F i >f*F i-1 When , the processing is: i =n i +1;

[0084] Under the conditions of P and N, n is obtained based on the adaboost algorithm training i The strong classifier of weak classifiers; evaluate the current cascade classification D iand F i ; Reduce the threshold of the strong classifier of the i-th layer so that D i At least equal to d*D i-1 ;

[0085] Let N be an empty set; if F i >F 目标 , then use the current cascade classifier to evaluate the negative samples and put the misidentified samples in the negative samples.

[0086] In specific implementation, in the above-mentioned droplet digital PCR high-concentration detection method provided in an embodiment of the present invention, step S102 calculates the grayscale probability density histogram corresponding to the local analysis area of ​​the droplet, which may specifically include: first, counting the grayscale histogram of the local analysis area of ​​the droplet; then, finding the minimum grayscale value and the maximum grayscale value from the grayscale histogram; thereafter, according to the grayscale value between the minimum grayscale value and the maximum grayscale value in the grayscale histogram and the corresponding number of pixels, as well as the total number of droplets in the local analysis area of ​​the droplet, calculate the probability density of the grayscale value to generate a grayscale probability density histogram.

[0087] Specifically, the local analysis area of ​​the statistical droplets is Droplets i Grayscale histogram Histom i_gray ,The histogram has the gray level as the horizontal coordinate and the number of pixels as the vertical coordinate. NUM_I_GRAY(G) indicates the number of droplets with gray value G in this area. Figure 3 As shown. The grayscale values ​​of all droplets in this circular area are counted, and the maximum grayscale value is set to gray max , the minimum gray value is set to gray min , 0≤gray min ≤ gray max ≤255.0≤i≤N droplets , where N droplets Represents the total number of droplets.

[0088] Droplets i The position (pos_x i , pos_y i ) is the center, and the local distribution range value area_radius is the radius. The maximum grayscale value and the minimum grayscale value in this circular area are gray max and gray min , the probability density of the gray value G is Where Num represents the total number of droplets in this circular area, n G Indicates the number of pixels with gray value G, gray min ≤G≤gray max ; Calculate the grayscale probability density histogram Ck =p G , where gray min ≤k≤gray max &&k=G。

[0089] Furthermore, in a specific implementation, in the above-mentioned droplet digital PCR high-concentration detection method provided in an embodiment of the present invention, step S103 uses a grayscale probability density histogram to calculate the pixel threshold corresponding to the local analysis area of ​​the droplet by using a moment conservation threshold method. Specifically, it may include: first, according to the numerical value in the grayscale probability density histogram, the first-order moment, second-order moment and third-order moment of the grayscale histogram are calculated; then, according to the first-order moment, second-order moment and third-order moment of the grayscale histogram, a first reference value is calculated; thereafter, after the grayscale values ​​traverse the grayscale probability density histogram in sequence from the minimum grayscale value to the maximum grayscale value, if there is a probability density value of the grayscale probability density histogram greater than the first reference value, the grayscale value corresponding to the probability density value is used as the pixel threshold corresponding to the local analysis area of ​​the droplet.

[0090] Specifically, the first-order moment of the grayscale histogram is calculated as:

[0091] The second-order moment of the grayscale histogram is calculated as:

[0092] The third-order moment of the grayscale histogram is calculated as:

[0093] Calculate the first reference value: p_refer = (z1-M1 i ) / (z1-z0), where:

[0094]

[0095]

[0096] c1=(-M3 i +M2 i *M1 i ) / (M2 i -M1 i *M1 i );

[0097] c0=(-M2 i +M3 i *M1 i ) / (M2 i -M1 i *M1 i ).

[0098] Gray value from gray min to gray maxTraverse the grayscale probability density histogram in sequence, if there is C k > p_refer, then Histom i_gray _Th i = k, where gray min ≤k≤gray max .

[0099] Similarly, in specific implementation, in the above-mentioned droplet digital PCR high-concentration detection method provided in an embodiment of the present invention, step S102 calculates the radius probability density histogram corresponding to the local analysis area of ​​the droplet, which may specifically include: first, find the surrounding droplets other than the central droplet in the local analysis area of ​​the droplet, and count the radius histogram corresponding to the position of the central droplet; the radius value in the radius histogram is the distance between the surrounding droplets and the central droplet; then, find the maximum radius value and the minimum radius value from the radius histogram; thereafter, according to the radius value between the minimum radius value and the maximum radius value in the radius histogram and the corresponding number of pixels, as well as the total number of droplets in the local analysis area of ​​the droplet, calculate the probability density of the radius value to generate a radius probability density histogram.

[0100] Specifically, first, assume that the droplets i The position (pos_x i , pos_y i ), if satisfied Droplets j Droplets in the center i The area of ​​​​G is 0≤G≤255.

[0101] Update the radius, NUM_I_RADIUS(R) represents the number of droplets with radius R in this area, where 5<R≤12, Histom i_radius Indicates the central droplet position (pos_x i , pos_y i ) corresponding to the radius histogram.

[0102] Then, droplets i The position (pos_x i , pos_y i ) as the center, with the local distribution range value area_radius as the radius, the maximum radius and minimum radius value in this circle are radius max and radius min , the probability density of radius value R is Where Num represents the total number of droplets in this circular area, n R Indicates the number of pixels with radius value R, radiusmin ≤R≤radius max ; Calculate radius probability density histogram U k =p R , where radius min ≤k≤radius max &&k=R。

[0103] Furthermore, in a specific implementation, in the above-mentioned droplet digital PCR high-concentration detection method provided in an embodiment of the present invention, step S103 uses the radius probability density histogram to calculate the radius threshold corresponding to the local analysis area of ​​the droplet by using the moment conservation threshold method, which may specifically include: first, according to the numerical values ​​in the radius probability density histogram, the first-order moment, second-order moment and third-order moment of the radius histogram are calculated; then, according to the first-order moment, second-order moment and third-order moment of the radius histogram, a second reference value is calculated; thereafter, after the radius values ​​traverse the radius probability density histogram in sequence from the minimum radius value to the maximum radius value, if there is a probability density value of the radius probability density histogram greater than the second reference value, the radius value corresponding to the probability density value is used as the radius threshold corresponding to the local analysis area of ​​the droplet.

[0104] Specifically, the first-order moment of the radius histogram is calculated as:

[0105] Calculate the second moment of the radius histogram as:

[0106] The third moment of the radius histogram is calculated as:

[0107] Calculate the second reference value: Pr_refer = (zr1-MR1 i ) / (zr1-zr0), where:

[0108]

[0109]

[0110] cr1=(-MR3 i +MR2 i *MR1 i ) / (MR2 i -MR1 i *MR1 i );

[0111] cr0=(-MR2 i +MR3 i *MR1 i ) / (mR2 i -MR1 i *MR1 i ).

[0112] The radius value is from radius min To radius max Traverse the radius probability density histogram in sequence, if there is U k >Pr_refer, then Histom i_radius _Th i = k, where radius min ≤k≤radius max .

[0113] In specific implementation, in the above-mentioned droplet digital PCR high-concentration detection method provided by the embodiment of the present invention, step S104 performs a first positive point screening on the droplet according to the calculated pixel threshold and radius threshold, which may specifically include: calculating the average value of the grayscale value less than or equal to the pixel threshold in the local analysis area of ​​the droplet, and at the same time counting the maximum pixel value of the surrounding droplets less than or equal to the pixel threshold in the local analysis area of ​​the droplet; calculating the average value of the radius value less than or equal to the radius threshold in the local analysis area of ​​the droplet;

[0114] If the difference between the original radius of the droplet and the average value of the calculated radius value is greater than the first preset value, and the ratio between the original gray value of the droplet and the average value of the calculated gray value is less than the second preset value, the droplet is temporarily determined to be negative, and the average between the average value of the calculated gray value and the maximum pixel value is used as the threshold of the droplet;

[0115] If the difference between the original radius of the droplet and the average value of the calculated radius value is not greater than the first preset value, or the ratio between the original grayscale value of the droplet and the average value of the calculated grayscale value is not less than the second preset value, and the ratio between the original grayscale value of the droplet and the calculated maximum pixel value is not less than the set contrast parameter con_ratio (such as con_ratio = 1.1), then the droplet is temporarily determined to be positive; otherwise, the droplet is temporarily determined to be negative, and the mean between the calculated average grayscale value and the maximum pixel value is used as the threshold of the droplet.

[0116] Specifically, first, droplets i The position (pos_x i , pos_y i ) as the center, with area_radius as the radius, calculate the area within this area that is less than or equal to Histom i_gray _Th i The average gray value: At the same time, count the number of cells in this area that are less than or equal to Histom i_gray _Th i The maximum pixel value of the droplet is Among them G j Droplets i The corresponding image position (pos_x i , pos_y i ) gray value, this droplet satisfies And G j <Histom i_gray _Th i .

[0117] Then, droplets i The position (pos_x i , pos_y i ) as the center, with area_radius as the radius, calculate the area within this area that is less than or equal to Histom i_radius _Th i Average of the radius values:

[0118] When the first preset value is 2.5 and the second preset value is 1.5, if the droplets i The conditions for meeting Setting Droplets_class i =-1, Droplets_class i -1 means the droplet is temporarily identified as negative, and the droplets are updated. i The threshold value is:

[0119] if or and Droplets i Determined positive, Droplets_class i = 1, the default value of con_ratio is 1.1, otherwise the droplet is temporarily identified as negative, Droplets_class i = -1, update the threshold of this droplet to

[0120] In specific implementation, in the above-mentioned droplet digital PCR high-concentration detection method provided by the embodiment of the present invention, step S105 performs a second positive point screening on the droplets and updates the threshold of the droplets identified as positive, which may specifically include: dividing the positive droplet set (i.e., positive sample set) and the negative droplet set (i.e., negative sample set) in the limited analysis area according to the first screening result; calculating the average grayscale value of the positive droplet set and the negative droplet set respectively, and calculating the minimum grayscale value in the positive droplet set;

[0121] If the sum of the average grayscale values ​​of the positive droplet set and the average grayscale values ​​of the negative droplet set is less than twice the difference between the original grayscale values ​​of the droplets in the limited analysis area and the third preset value, and the difference between the original grayscale values ​​of the droplets in the limited analysis area and the average grayscale values ​​of the negative droplet set is greater than the third preset value, then the droplet is determined to be positive, and the threshold of the droplet is updated to the average value of the thresholds corresponding to the droplets included in the positive droplet set and the negative droplet set;

[0122] The product of the difference between the average grayscale value of the positive droplet set and the minimum grayscale value in the positive droplet set and the fourth preset value is taken as the product value. If the original grayscale value of the droplet in the positive droplet set is greater than the difference between the average grayscale value of the positive droplet set and the product value, the droplet is determined to be positive, and the threshold of the droplet is updated to the average value of the thresholds corresponding to the droplets contained in the positive droplet set and the negative droplet set.

[0123] Specifically, traverse the surrounding droplets, if the droplets n The position is (pos_x n , pos_y n ), and satisfies abs(pos_x m -pos_x n )+abs(pos_y m -pos_y n )<limited_scope. When Droplets_class n = 1, then add this droplet to Droplets m Positive sample set When Droplets_class n = -1, then add this droplet to Droplets m Negative sample set in, and Droplets m Positive sample set and negative sample set.

[0124] Among them G k Represents the positive sample set Gray value corresponding to the droplet in the middle, N_pos represents Droplets m The size of the collection. Among them G l Represents the negative sample set Gray value corresponding to the droplet in the middle, N_neg represents the droplets m The size of the set. Calculate the positive sample set The minimum gray value in

[0125] When the third preset value is 5, if Then we identify Droplets m is positive, Droplets_class m =1, Update Threashold k Droplets m The threshold corresponding to the droplets included in the positive and negative sample sets.

[0126] When the fourth preset value is 0.25, if the positive sample set Gray value corresponding to the droplet in the middle Then we identify Droplets m is positive, Droplets_class m =1, Update

[0127] In a specific implementation, in the above-mentioned droplet digital PCR high-concentration detection method provided in an embodiment of the present invention, after executing step S105 to update the threshold of droplets identified as positive, it can also include: drawing a fitting surface of the light path according to the updated threshold of the droplets.

[0128] It should be noted that the droplet threshold Threashold i Represents the change of the optical path according to the droplet threshold Threashold i The light path background surface can be fitted to eliminate the influence of light path inhomogeneity. m , where 0≤m≤N droplets , N droplets Indicates the total number of droplets. m Corresponding Threashold m Draw the fitting surface of the light path, the surface fitting diagram is as follows Figure 4 as shown on the right.

[0129] In specific implementation, in the above-mentioned droplet digital PCR high-concentration detection method provided in an embodiment of the present invention, step S107 obtains the threshold for negative and positive division of droplets on the generated droplet grayscale histogram, which can specifically include: respectively counting the positive grayscale histogram and the negative grayscale histogram; using the positive grayscale histogram to calculate the threshold division upper limit value; using the negative grayscale histogram to calculate the threshold division lower limit value; based on the threshold division upper limit value and the threshold division lower limit value, calculate the threshold for negative and positive division of droplets in the generated droplet grayscale histogram.

[0130] Specifically, the positive grayscale histogram of the droplets with Droplets_class of 1 is counted. NUM_POS(G_V) represents the number of droplets with a grayscale value of G_V whose Droplets_class is 1. The minimum grayscale value of this positive grayscale histogram is expressed as The gray value corresponding to the maximum peak is:

[0131] The average value of the positive grayscale histogram is:

[0132]

[0133]

[0134]

[0135] In addition, the negative grayscale histogram of the droplets with Droplets_class of -1 is counted. NUM_NEG(G_V) represents the number of droplets with a grayscale value of G_V whose Droplets_class is -1. The maximum grayscale value of this negative grayscale histogram is expressed as The gray value corresponding to the maximum peak is:

[0136] The average value of the negative grayscale histogram is:

[0137]

[0138]

[0139]

[0140] The fluorescence classification threshold is in NUM_DROPLETS(k) represents the number of droplets with pixel value k among all droplets.

[0141] Furthermore, in a specific implementation, in the above-mentioned droplet digital PCR high-concentration detection method provided in an embodiment of the present invention, step S107 reclassifies the droplets into negative and positive according to the acquired threshold value, and specifically may include: if the grayscale value of the updated droplet is greater than or equal to the acquired threshold value, then the droplet is reclassified as positive; if the grayscale value of the updated droplet is less than the acquired threshold value, then the droplet is reclassified as negative.

[0142] Calculated threshold based Select Droplets i , where 0≤i≤N droplets , Ndroplets Indicates the total number of droplets. Updated droplets i The gray value is G_V i ,if Droplets i is positive, Droplets_class i =1; otherwise Droplets i Negative, Droplets_class i = -1, one-dimensional scatter plot of droplet fluorescence value is shown in Figure 5 shown.

[0143] It should be pointed out that the maximum detection concentration of the droplet is different for different area_radius values. When area_radius = 160, the droplet concentrations of 12 test samples are tested as shown in Table 1, where the concentration of test sample 6 is 15193.69 copies / μl. The test results of the gradient sparse sample concentration are shown in Table 2, and the dynamic range is 6logs. In other words, the maximum detection concentration of the droplet digital PCR in the present invention can reach 15,000 copies / μl, and the dynamic range of the detection concentration is 6logs.

[0144] Table 1

[0145]

[0146]

[0147] Table 2

[0148]

[0149]

[0150] It should be noted that, in the present invention, the contrast parameter con_ratio and the local analysis range value area_radius are set. By adjusting the contrast parameter con_ratio, positive droplets with uneven amplification can be distinguished. The updated fluorescence value will form negative and positive peaks and valleys on the histogram, which is convenient for threshold selection. The maximum detection concentration of droplets can be increased by adjusting the local analysis range value area_radius. After testing, when area_radius is 160 pixels, the maximum detection concentration is 15,000 copies / μl.

[0151] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0152] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0153] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0154] In summary, a droplet digital PCR high-concentration detection method provided by an embodiment of the present invention includes: obtaining original droplet grayscale images with different exposure times and different concentration gradients, identifying the droplet position in the original droplet grayscale image; taking any droplet position as the center and a set local analysis range value as the radius, selecting a droplet local analysis area, and respectively calculating a grayscale probability density histogram and a radius probability density histogram corresponding to the droplet local analysis area; using the grayscale probability density histogram and the radius probability density histogram, respectively calculating the pixel threshold and radius threshold corresponding to the droplet local analysis area by using the moment conservation threshold method; according to the calculated pixel threshold and radius threshold value, perform the first positive point screening for the droplets; take the position of the droplet temporarily determined as negative as the center and the set limited analysis range value as the radius, select the droplet limited analysis area, perform the second positive point screening for the droplets, and update the threshold of the droplets determined as positive; the limited analysis range value is less than the local analysis range value; calculate the average threshold of all droplets, and use the updated droplet threshold and the calculated average threshold to update the droplet gray value; generate a droplet grayscale histogram based on the updated droplet grayscale value, obtain the threshold for dividing the droplets into negative and positive on the generated droplet grayscale histogram, and re-divide the droplets into negative and positive according to the obtained threshold. The above method calculates the threshold based on the droplet radius information, limits the range of droplets involved in the calculation, screens the droplets twice for positive points to update the droplet threshold, and finally updates the droplet grayscale value. The updated droplet grayscale value reduces the impact of uneven light path on the image, prevents false detection and missed detection of positive droplets due to factors such as droplet fusion and random distribution of droplet points. The entire algorithm analyzes the fluorescence value of the droplet based on the principle of normal histogram statistics, and also reduces the threshold judgment error introduced by noise and highlights. In this way, the detection concentration of the droplet digital PCR can be improved by adjusting the local analysis range value, and the dynamic range of the droplet digital PCR concentration can be expanded.

[0155] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0156] The above is a detailed introduction to the droplet digital PCR high-concentration detection method provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A droplet digital PCR high concentration detection method, characterized in that: include: Acquire original droplet grayscale images with different exposure times and different concentration gradients, and identify the droplet position in the original droplet grayscale image; Taking any droplet position as the center and the set local analysis range value as the radius, select a droplet local analysis area, and calculate the grayscale probability density histogram and radius probability density histogram corresponding to the droplet local analysis area respectively; Utilizing the grayscale probability density histogram and the radius probability density histogram, respectively calculating the pixel threshold and radius threshold corresponding to the local analysis area of ​​the droplet by using the moment conservation threshold method; Performing a first positive point screening on the droplets according to the calculated pixel threshold and radius threshold; Taking the position of the droplet tentatively determined as negative as the center and the set limited analysis range value as the radius, select the droplet limited analysis area, perform a second positive point screening on the droplet, and update the threshold of the droplet determined as positive; The limited analysis range value is smaller than the local analysis range value; Calculating an average threshold of all droplets, and updating the grayscale value of the droplets using the updated threshold of the droplets and the calculated average threshold; Generate a droplet grayscale histogram according to the updated droplet grayscale value, obtain a threshold for dividing droplets into negative and positive on the generated droplet grayscale histogram, and re-divide the droplets into negative and positive according to the obtained threshold; According to the calculated pixel threshold and radius threshold, the droplets are screened for positive points for the first time, including: Calculate the average value of the grayscale values ​​in the local analysis area of ​​the droplet that are less than or equal to the pixel threshold, and count the maximum pixel value of the surrounding droplets in the local analysis area of ​​the droplet that are less than or equal to the pixel threshold; Calculating an average value of radius values ​​within the local analysis area of ​​the droplet that are less than or equal to the radius threshold; If the difference between the original radius of the droplet and the calculated average value of the radius value is greater than a first preset value, and the ratio between the original gray value of the droplet and the calculated average value of the gray value is less than a second preset value, the droplet is temporarily determined to be negative, and the average between the calculated average value of the gray value and the maximum pixel value is used as the threshold of the droplet; If the difference between the original radius of the droplet and the calculated average value of the radius value is not greater than the first preset value, or the ratio between the original gray value of the droplet and the calculated average value of the gray value is not less than the second preset value, and the ratio between the original gray value of the droplet and the calculated maximum pixel value is not less than the set contrast parameter, then the droplet is tentatively determined to be positive; otherwise, the droplet is tentatively determined to be negative, and the mean between the calculated average value of the gray value and the maximum pixel value is used as the threshold of the droplet; Among them, the droplets are screened for positive points for the second time, and the threshold of the droplets identified as positive is updated, including: According to the first screening result, dividing the positive droplet set and the negative droplet set in the defined analysis area; Calculating the average values ​​of the grayscale values ​​of the positive droplet set and the negative droplet set respectively, and calculating the minimum grayscale value in the positive droplet set; If the sum of the average value of the grayscale values ​​of the positive droplet set and the average value of the grayscale values ​​of the negative droplet set is less than 2 times the difference between the original grayscale values ​​of the droplets in the limited analysis area and the third preset value, and the difference between the original grayscale values ​​of the droplets in the limited analysis area and the average value of the grayscale values ​​of the negative droplet set is greater than the third preset value, the droplet is determined to be positive, and the threshold of the droplet is updated to the average value of the thresholds corresponding to the droplets included in the positive droplet set and the negative droplet set; The product of the difference between the average value of the grayscale value of the positive droplet set and the minimum grayscale value in the positive droplet set and the fourth preset value is taken as the product value. If the original grayscale value of the droplet in the positive droplet set is greater than the difference between the average value of the grayscale value of the positive droplet set and the product value, the droplet is determined to be positive, and the threshold of the droplet is updated to the average value of the thresholds corresponding to the droplets contained in the positive droplet set and the negative droplet set.

2. The droplet digital PCR high concentration detection method according to claim 1, characterized in that: Calculating a grayscale probability density histogram corresponding to the local analysis area of ​​the droplet, including: Counting the grayscale histogram of the local analysis area of ​​the droplet; Find the minimum grayscale value and the maximum grayscale value from the grayscale histogram; According to the grayscale values ​​between the minimum grayscale value and the maximum grayscale value in the grayscale histogram and their corresponding pixel numbers, as well as the total number of droplets in the droplet local analysis area, the probability density of the grayscale value is calculated to generate a grayscale probability density histogram.

3. The droplet digital PCR high concentration detection method according to claim 2, characterized in that: Utilizing the grayscale probability density histogram, the pixel threshold corresponding to the local analysis area of ​​the droplet is calculated by the moment conservation threshold method, including: Calculate the first-order moment, second-order moment and third-order moment of the grayscale histogram according to the values ​​in the grayscale probability density histogram; Calculating a first reference value according to the first-order moment, the second-order moment and the third-order moment of the grayscale histogram; After the grayscale values ​​traverse the grayscale probability density histogram from the minimum grayscale value to the maximum grayscale value in sequence, if there is a probability density value of the grayscale probability density histogram greater than the first reference value, the grayscale value corresponding to the probability density value is used as the pixel threshold corresponding to the local analysis area of ​​the droplet.

4. The droplet digital PCR high concentration detection method according to claim 3, characterized in that: Calculating a radius probability density histogram corresponding to the local analysis area of ​​the droplet, including: Find the surrounding droplets except the central droplet in the local analysis area of ​​the droplet, and calculate the radius histogram corresponding to the position of the central droplet; the radius value in the radius histogram is the distance between the surrounding droplets and the central droplet; Find the maximum radius value and the minimum radius value from the radius histogram; According to the radius values ​​between the minimum radius value and the maximum radius value in the radius histogram and their corresponding pixel numbers, as well as the total number of droplets in the droplet local analysis area, the probability density of the radius value is calculated to generate a radius probability density histogram.

5. The droplet digital PCR high concentration detection method according to claim 4, characterized in that: Utilizing the radius probability density histogram, calculating the radius threshold corresponding to the local analysis area of ​​the droplet by using the moment conservation threshold method, including: Calculate the first-order moment, the second-order moment and the third-order moment of the radius histogram according to the values ​​in the radius probability density histogram; Calculating a second reference value according to the first-order moment, the second-order moment and the third-order moment of the radius histogram; After the radius values ​​traverse the radius probability density histogram in sequence from the minimum radius value to the maximum radius value, if there is a probability density value of the radius probability density histogram greater than the second reference value, the radius value corresponding to the probability density value is used as the radius threshold corresponding to the local analysis area of ​​the droplet.

6. The droplet digital PCR high concentration detection method according to claim 1, characterized in that: The thresholds for dividing droplets into negative and positive are obtained on the generated droplet grayscale histogram, including: Count the positive grayscale histogram and negative grayscale histogram respectively; Calculating the threshold division upper limit value using the positive grayscale histogram; Calculating the threshold division lower limit value using the negative grayscale histogram; According to the threshold division upper limit value and the threshold division lower limit value, the thresholds for dividing droplets into negative and positive are calculated in the generated droplet grayscale histogram.

7. The droplet digital PCR high concentration detection method according to claim 6, characterized in that: Reclassify droplets as negative and positive based on the obtained thresholds, including: If the gray value of the updated droplet is greater than or equal to the acquired threshold, the droplet is reclassified as positive; If the gray value of the updated droplet is less than the acquired threshold, the droplet is reclassified as negative.

8. The droplet digital PCR high concentration detection method according to claim 1, characterized in that: After updating the threshold for droplets considered positive, also include: Plot the fitted surface of the light path according to the updated threshold of the droplet.