CN113570576A - Method for evaluating detection of cirrhosis index by platelet counting method - Google Patents
Method for evaluating detection of cirrhosis index by platelet counting method Download PDFInfo
- Publication number
- CN113570576A CN113570576A CN202110859107.1A CN202110859107A CN113570576A CN 113570576 A CN113570576 A CN 113570576A CN 202110859107 A CN202110859107 A CN 202110859107A CN 113570576 A CN113570576 A CN 113570576A
- Authority
- CN
- China
- Prior art keywords
- network
- prediction
- frame
- detection
- training
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000001514 detection method Methods 0.000 title claims abstract description 36
- 208000019425 cirrhosis of liver Diseases 0.000 title claims abstract description 27
- 206010016654 Fibrosis Diseases 0.000 title claims abstract description 21
- 230000007882 cirrhosis Effects 0.000 title claims abstract description 21
- 238000012549 training Methods 0.000 claims abstract description 38
- 208000037170 Delayed Emergence from Anesthesia Diseases 0.000 claims abstract description 12
- 238000000605 extraction Methods 0.000 claims abstract description 9
- 210000000601 blood cell Anatomy 0.000 claims description 22
- 210000004027 cell Anatomy 0.000 claims description 16
- 230000005764 inhibitory process Effects 0.000 claims description 12
- 238000012360 testing method Methods 0.000 claims description 7
- 230000008569 process Effects 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 5
- 238000013528 artificial neural network Methods 0.000 claims description 4
- 238000012937 correction Methods 0.000 claims description 4
- 238000001914 filtration Methods 0.000 claims description 4
- 238000012216 screening Methods 0.000 claims description 4
- 238000013526 transfer learning Methods 0.000 claims description 4
- 238000010606 normalization Methods 0.000 claims description 3
- 230000008034 disappearance Effects 0.000 abstract description 5
- 210000004369 blood Anatomy 0.000 abstract description 4
- 239000008280 blood Substances 0.000 abstract description 4
- 239000000463 material Substances 0.000 abstract description 4
- 238000011897 real-time detection Methods 0.000 abstract description 4
- 238000011160 research Methods 0.000 abstract description 4
- 239000002699 waste material Substances 0.000 abstract description 4
- 230000006872 improvement Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 208000019423 liver disease Diseases 0.000 description 2
- MXBCYQUALCBQIJ-RYVPXURESA-N (8s,9s,10r,13s,14s,17r)-13-ethyl-17-ethynyl-11-methylidene-1,2,3,6,7,8,9,10,12,14,15,16-dodecahydrocyclopenta[a]phenanthren-17-ol;(8r,9s,13s,14s,17r)-17-ethynyl-13-methyl-7,8,9,11,12,14,15,16-octahydro-6h-cyclopenta[a]phenanthrene-3,17-diol Chemical compound OC1=CC=C2[C@H]3CC[C@](C)([C@](CC4)(O)C#C)[C@@H]4[C@@H]3CCC2=C1.C1CC[C@@H]2[C@H]3C(=C)C[C@](CC)([C@](CC4)(O)C#C)[C@@H]4[C@@H]3CCC2=C1 MXBCYQUALCBQIJ-RYVPXURESA-N 0.000 description 1
- 208000007848 Alcoholism Diseases 0.000 description 1
- 102000004625 Aspartate Aminotransferases Human genes 0.000 description 1
- 108010003415 Aspartate Aminotransferases Proteins 0.000 description 1
- 241000700605 Viruses Species 0.000 description 1
- 201000007930 alcohol dependence Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015271 coagulation Effects 0.000 description 1
- 238000005345 coagulation Methods 0.000 description 1
- 238000001784 detoxification Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000011132 hemopoiesis Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 210000004185 liver Anatomy 0.000 description 1
- 230000007102 metabolic function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 208000030212 nutrition disease Diseases 0.000 description 1
- 208000019180 nutritional disease Diseases 0.000 description 1
- 210000000056 organ Anatomy 0.000 description 1
- 238000004393 prognosis Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 208000024891 symptom Diseases 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0012—Biomedical image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H50/00—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
- G16H50/20—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for computer-aided diagnosis, e.g. based on medical expert systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
- G06T2207/30056—Liver; Hepatic
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Biomedical Technology (AREA)
- Medical Informatics (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Public Health (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Epidemiology (AREA)
- Computing Systems (AREA)
- Primary Health Care (AREA)
- Databases & Information Systems (AREA)
- Quality & Reliability (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Radiology & Medical Imaging (AREA)
- Molecular Biology (AREA)
- Pathology (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Image Analysis (AREA)
- Investigating Or Analysing Biological Materials (AREA)
Abstract
The invention discloses a method for evaluating cirrhosis index detection by a platelet counting method, which comprises the steps of establishing a yolo _ v3 network structure, training a network model, outputting network prediction, and analyzing an experimental result; the invention can classify the cells with three different sizes in blood by using the yolo _ v3 network structure, and the used main network darknet _53 has excellent characteristic extraction capability, and the algorithm can be more accurately detected without gradient disappearance caused by too large depth by introducing the residual block into the deep network, thereby avoiding manual counting, reducing the waste of manpower and material resources, realizing real-time detection of the target, returning to the position and counting, and saving time for clinical research and improving the efficiency of liver cirrhosis detection.
Description
Technical Field
The invention relates to the technical field of medical diagnosis, in particular to a method for evaluating cirrhosis index detection by a platelet counting method.
Background
The liver is an organ in the body that is mainly responsible for metabolic functions and has the actions of detoxification, hematopoiesis and coagulation. And alcoholism, nutritional disorder, virus and other reasons easily cause people to suffer from various liver diseases, the early symptoms of the liver diseases are not obvious, and a plurality of tissue systems and even liver cirrhosis can be affected along with the development of the disease condition. The cirrhosis detection model is complex, has poor real-time effect, and may miss the best time for treating the patient, so a separate formula for detecting cirrhosis is generated, namely the APRI index: (AST (aspartate aminotransferase) to platelet ratio, which is an index that can efficiently and accurately identify patients with cirrhosis, and that concerns the number of platelets is of great importance for cirrhosis detection and prognosis;
the existing platelet counting algorithm is sensitive to the resolution of an image, has large influence on interference of illumination and scattering, needs a plurality of manual processing steps, can be influenced and judged by various factors, and is easy to generate the problems of gradient disappearance and gradient dispersion by using a mask-rcnn-based feature extraction network, has small target classification loss and large main position loss, so the invention provides a method for evaluating the liver cirrhosis index detection by using a platelet counting method to solve the problems in the prior art.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a method for evaluating detection of liver cirrhosis index by a platelet counting method, which can classify three cells of different sizes in blood using yolo _ v3 network structure, and uses a backbone network darknet _53 with superior feature extraction capability, and introduces a residual block in a deep network to enable an algorithm to detect more accurately without gradient disappearance due to too large depth, and simultaneously avoids manpower and material resources waste due to manual counting, so as to achieve real-time detection of target, return to position and count, and save time for clinical research and improvement of liver cirrhosis detection efficiency.
In order to realize the purpose of the invention, the invention is realized by the following technical scheme: a method of assessing cirrhosis index detection by a platelet enumeration method comprising the steps of:
step one, building a Yolo _ v3 network structure, and building a Yolo _ v3 network consisting of a backbone network Darknet _53 and a feature prediction Yolo _ head;
training a network model, namely pre-training the network model by using a COCO data set in a transfer learning mode, and then performing small sample training by using blood cells to obtain a prediction frame;
thirdly, network prediction output, namely, operating the network by using the parameters after network training, performing prediction output, inputting the original image into the network, predicting the position, the type and the probability of each cell on the original image in the network, outputting the position type probability of each cell and marking;
and step four, analyzing an experimental result, using the BCCD blood cell data set and the blood cell picture with data enhancement as a training set and a test set test network model, and obtaining a result.
The further improvement lies in that: in the first step, the trunk network Darknet _53 is a feature extraction trunk network, and is composed of five residual blocks, each of which is composed of 1,2,8,8,4 residual units, namely a DBL convolutional layer, a batch normalization layer and a linear unit with leakage correction.
The further improvement lies in that: in the first step, the feature prediction Yolo _ head is a prediction output network, and after the feature maps of three scales are input into the trunk network Darknet _53, the diversity of the receptive fields is realized, and the prediction of the three scales is output through the Yolo _ head.
The further improvement lies in that: three prior frames are provided for each grid of the feature map for each scale in the three-scale predictions, for a total of 13 × 3+26 × 3+52 × 3 — 10647 predictions.
The further improvement lies in that: the prediction process in the third step comprises the following specific steps
1) Selecting a blood cell color picture input of a BCCD data set, performing relevant processing, converting the blood cell color picture input into a format BRG which can be processed by a pytorch, and adjusting the BRG into 416 × 416;
2) sending the data to a neural network to obtain a prediction result, dividing the picture into S × S grids by the Yolo _ head network, then enabling each unit grid to be responsible for predicting a target with a central point in the grid, wherein the final prediction value of each layer is a tensor with the size of S × S3 (4+1+3), the first 3 is a dimension number which represents the number of anchors in each layer, 4 is an adjustment parameter (x, y, w, h) of the size and the central position of a boundary frame, 1 is a confidence coefficient, and 3 is a cell category number;
3) decoding the prediction result, adding corresponding x _ offset and y _ offset to each grid point to obtain a result, namely the center of the prediction frame, and calculating the position of the whole prediction frame by utilizing the combination of the prior frame, h and w;
4) finally, performing score sorting and non-maximum inhibition screening on the prediction result, filtering the anchor frame through confidence, and then removing a plurality of detection frames by using non-maximum inhibition;
5) the decoded output is the position of the actual detection target, which is marked on the original image.
The further improvement lies in that: the key for realizing non-maximum inhibition in the step 4) is to select a frame with the highest score, calculate the coincidence degree of the frame with other frames, remove the frame with the coincidence degree exceeding the IOU threshold value, return to the previous step of iteration and stop the iteration until the frame which is not lower than the currently selected frame.
The further improvement lies in that: the prediction frames obtained by training the model in the second step are divided into three conditions of a positive case, a negative case and an ignored case, the positive case is any one ground route, IOU thresholds are all calculated with all the prediction frames output by the network model, the prediction frame with the largest IOU threshold is the positive case, and the positive case generates confidence coefficient loss, detection frame loss and category loss; the negative example is that the IOU threshold values of all the group entries are smaller than the set threshold value after the positive example is removed, namely the negative example is obtained, and the negative example only has confidence coefficient loss; except for the normal case, the case that the IOU threshold value of any one group route is larger than the set threshold value is the neglected case, and the neglected case does not generate loss.
The further improvement lies in that: and in the second step, the learning attenuation strategy selected by training is fixed step attenuation, the learning rate of the fixed step attenuation at the initial stage of training is high, so that the network model is converged quickly, the learning rate at the later stage of training is low, and the network model is converged to the optimal solution better.
The invention has the beneficial effects that: the invention can classify the cells with three different sizes in blood by using the yolo _ v3 network structure, and the used main network darknet _53 has excellent characteristic extraction capability, and the algorithm can be more accurately detected without gradient disappearance caused by too large depth by introducing the residual block into the deep network, thereby avoiding manual counting, reducing the waste of manpower and material resources, realizing real-time detection of the target, returning to the position and counting, and saving time for clinical research and improving the efficiency of liver cirrhosis detection.
Drawings
FIG. 1 is a flow chart of the present invention.
Fig. 2 is a diagram of a network structure implementation architecture of yolo _ v3 according to an embodiment of the present invention.
FIG. 3 is a structural diagram of Darknet _53 according to the present invention.
Fig. 4 is a diagram of the residual block of the present invention.
Detailed Description
In order to further understand the present invention, the following detailed description will be made with reference to the following examples, which are only used for explaining the present invention and are not to be construed as limiting the scope of the present invention.
Example 1
According to fig. 1,2, 3 and 4, the present embodiment provides a method for evaluating the detection of cirrhosis index by the platelet counting method, comprising the following steps:
step one, building a Yolo _ v3 network structure, building a Yolo _ v3 network composed of a backbone network Darknet _53 and a feature prediction Yolo _ head, wherein the backbone network Darknet _53 is a feature extraction backbone network and composed of five residual blocks, each residual block is composed of 1,2,8,8 and 4 residual units, the residual units are DBL convolution layers, batch normalization layers and leakage correction linear units, the feature prediction Yolo _ head is a prediction output network, after three-dimension feature maps are input into the backbone network Darknet _53, the diversification of sense fields is realized, the prediction of three dimensions is output through the Yolo _ head, three priori frames are arranged in each grid of the feature maps of each dimension, and the total number of 13, 3, 26, 3, 52, 3 is 10647;
training a network model, wherein a learning attenuation strategy selected by training is fixed step attenuation, the learning rate of the fixed step attenuation at the initial stage of training is high, the network model is converged quickly, the learning rate at the later stage of training is low, the network model is converged to an optimal solution better, the COCO data set is used for pre-training the network model in a transfer learning mode, and then blood cells are used for carrying out small sample training to obtain a prediction frame, wherein the prediction frame is divided into three conditions of a positive case, a negative case and an neglected case:
the positive case is that any one ground route is selected, the IOU value is calculated with all the prediction boxes output by the network model, the prediction box with the largest IOU value is the positive case, and the positive case generates confidence loss, detection box loss and category loss;
the negative example is that the IOU values of all the group entries are smaller than the set threshold after the positive example is removed, and the negative example only has confidence loss;
except for the normal case, the case that the IOU value of any one group route is larger than the set threshold value is the neglected case, and the neglected case does not generate loss.
And thirdly, network prediction output, namely, using the parameters after the network training to operate the network to perform prediction output. Inputting an original image into a network, predicting the position, the type and the probability of each cell on the original image in the network, outputting the position type probability of each cell and marking, wherein the predicting process specifically comprises the following steps:
1) selecting a blood cell color picture input of a BCCD data set, performing relevant processing, converting the blood cell color picture input into a format BRG which can be processed by a pytorch, and adjusting the BRG into 416 × 416;
2) sending the data to a neural network to obtain a prediction result, dividing the network bar picture into S-S grids, then enabling each unit grid to be responsible for predicting a target with a central point in the grid, wherein the final prediction value of each layer is a tensor with the size of S-3 (4+1+3), the first 3 is a dimension number which represents the number of anchors in each layer, 4 is an adjusting parameter (x, y, w, h) of the size and the central position of a boundary frame, 1 is a confidence coefficient, and 3 is a cell type number;
3) decoding the prediction result, adding corresponding x _ offset and y _ offset to each grid point to obtain a result, namely the center of the prediction frame, and calculating the position of the whole prediction frame by utilizing the combination of the prior frame, h and w;
4) the score sorting and non-maximum inhibition screening of the final prediction result are implemented by filtering an anchor frame through confidence degrees, and then removing a plurality of detection frames by using non-maximum inhibition, wherein the key for realizing the non-maximum inhibition is to select a frame with the highest score, calculate the coincidence degree of the frame with other frames, remove the frame with the coincidence degree exceeding the IOU threshold value, return to the previous step for iteration, and stop iteration until the frame which is not lower than the currently selected frame;
5) the decoded output is the position of the actual detection target, which is marked on the original image;
and step four, analyzing an experimental result, using the BCCD blood cell data set and the blood cell picture with data enhancement as a training set and a test set test network model, and obtaining a result.
Example 2
According to fig. 1,2, 3 and 4, the present embodiment provides a method for evaluating the detection of cirrhosis index by the platelet counting method, comprising the following steps:
step one, building a Yolo _ v3 network structure, building a Yolo _ v3 network composed of a backbone network Darknet _53 and a feature prediction Yolo _ head, wherein the backbone network Darknet _53 is a feature extraction backbone network and composed of five residual blocks, each residual block is composed of 1,2,8,8 and 4 residual units, the residual units are a DBL convolution layer, a batch standardization layer and a band leakage correction linear unit, the batch standardization layer is used as a regularization method and can accelerate convergence and avoid overfitting, the difficulty of learning features is increased along with the deepening of the network, the learning process of the residual blocks is changed from directly learning features to adding certain features on the basis of the previously learned features to obtain better features, therefore, the learning target is changed from learning complete information to learning residual, so that the difficulty of learning high-quality features is greatly reduced, wherein DBL is an abbreviation for Darknetconv2D _ BN _ Leaky.
The feature prediction Yolo _ head is a prediction output network, the backbone network Darknet _53 realizes the diversity of receptive fields after inputting feature maps of three scales, the feature maps of the three scales are output through the Yolo _ head, each grid of the feature maps of each scale is provided with three priori frames, 13 x 3+26 x 3+52 x3 10647 predictions are total, each prediction is an 8-dimensional vector (4+1+3), the 8-dimensional vector contains frame coordinates (x, y, w, h), frame confidence (namely the probability that the priori frame has an object, which is a numerical value), and the probability of an object class; the smallest signature 13 x13, with the largest receptive field, may employ the larger three prior boxes, (116x90), (156x198), (373x326) suitable for detecting larger subjects. The 26 x 26 signature has a moderate receptive field, suitable for detecting medium sized objects, assigned a priori boxes of sizes (30x61), (62x45), (59x119), and the 52 x 52 signature has a priori boxes of sizes (10x13), (16x30), (33x23), having a minimal receptive field, suitable for small target object detection;
the implementation mode of the yolo _ v3 network structure is as follows: on the basis of a feature map obtained by Darknet-53, obtaining a first feature map through six DBL structures and a last convolutional layer, performing first prediction on the feature map, connecting up-sampled features with a convolutional feature tensor output by a Res8 structure from the output of a last-to-last-3 convolutional layer from back to front through one DBL structure and one up-sampling on a Y1 branch, obtaining a second feature map through the six DBL structures and the last convolutional layer, and performing second prediction on the feature map. And on the Y2 branch, the output of the 3 rd convolutional layer from back to front is subjected to one DBL structure and one upsampling, the upsampling characteristics are connected with the convolutional characteristic tensor output by the 1 st Res8 structure, a third characteristic map is obtained through six DBL structures and the last convolutional layer, and third prediction is carried out on the characteristic map.
Training a network model, wherein a learning attenuation strategy selected by training is fixed step attenuation, the learning rate of the fixed step attenuation at the initial stage of training is high, the network model is converged quickly, the learning rate at the later stage of training is low, the network model is converged to an optimal solution better, the COCO data set is used for pre-training the network model in a transfer learning mode, and then blood cells are used for carrying out small sample training to obtain a prediction frame, wherein the prediction frame is divided into three conditions of a positive case, a negative case and an neglected case:
the positive case is that any one group route is selected, the IOU value is calculated with all 10647 boxes, the prediction box with the largest IOU value is the positive case, the positive case generates confidence loss, detection box loss and category loss, and one prediction box can only be allocated to one group route;
the negative example is that the IOU threshold value of all the group entries is smaller than the set threshold value (set to 0.5) after the positive example is removed, and the negative example only has confidence loss;
except for the normal case, the case that the IOU threshold value of any one group route is greater than the set threshold value (set to 0.5) is the neglected case, and the neglected case does not generate loss;
in the final output of the network, there are three types of parameters for the output of the bounding box corresponding to each grid cell: one is the box parameter of the object, which is a total of four values, namely the coordinates of the center point of the box (x, y) and the width and height of the box (w, h); one is confidence, which is the value of the interval between [0,1 ]; the last is a set of conditional class probabilities, all values in the interval between [0,1], representing the probability.
And thirdly, network prediction output, namely, using the parameters after the network training to operate the network to perform prediction output. Inputting an original image into a network, predicting the position, the type and the probability of each cell on the original image in the network, outputting the position type probability of each cell and marking, wherein the predicting process specifically comprises the following steps:
1) selecting a blood cell color picture input of a BCCD data set, performing relevant processing, converting the blood cell color picture input into a format BRG which can be processed by a pytorch, and adjusting the BRG into 416 × 416;
2) sending the data to a neural network to obtain a prediction result, dividing the picture into S × S grids by the Yolo _ head network, then enabling each unit grid to be responsible for predicting a target with a central point in the grid, wherein the final prediction value of each layer is a tensor with the size of S × S3 (4+1+3), the first 3 is a dimension number which represents the number of anchors in each layer, 4 is an adjustment parameter (x, y, w, h) of the size and the central position of a boundary frame, 1 is a confidence coefficient, and 3 is a cell category number;
3) decoding the prediction result, adding corresponding x _ offset and y _ offset to each grid point to obtain a result, namely the center of the prediction frame, and calculating the position of the whole prediction frame by utilizing the combination of the prior frame, h and w;
4) screening the final prediction result according to score sorting and a non-maximum inhibition algorithm, filtering an anchor frame through confidence, and removing a plurality of detection frames by using non-maximum inhibition, wherein the key for realizing non-maximum inhibition is to select a frame with the highest score, calculate the contact ratio of the frame and other frames, remove the frame with the contact ratio exceeding the IOU value, return to the previous step for iteration, and stop iteration until the frame which is not lower than the currently selected frame;
5) the decoded output is the position of the actual detection target, which is marked on the original image.
And step four, analyzing the experimental result, namely extracting 328 blood cells as a training set and extracting 59 blood cells as a testing set by using the BCCD blood cell data set and 387 blood cell pictures with enhanced data.
Each iteration is performed 100 times, a model parameter is stored, total loss is an index of an error rate, the lower the total loss is, the better the total loss is, the larger the total loss is, the training set loss is 3642, the verification set loss reaches 553, but the network convergence is fast, the loss is fast, even the minimum loss is 44 of the training set, the verification set loss is 35, and finally, the parameter when epoach is 100 is selected, namely the training set loss is 44, and the verification set loss is 36.
The final experimental results were: the recall rate was 90.1% (56/62), the accuracy was 85.9% (56/65), and the platelet count was completely correct in 59 of the 45 pictures.
According to the method for evaluating the detection of the cirrhosis index by the platelet counting method, the yolo _ v3 network structure is used for classifying cells with three different sizes in blood, the used backbone network darknet _53 has excellent feature extraction capability, a residual block is introduced into a deep network, so that the algorithm is more accurately detected, gradient disappearance caused by too large depth is avoided, meanwhile, manual counting is avoided, waste of manpower and material resources is reduced, real-time detection target is achieved, positions are regressed and counted, clinical research is achieved, and the time is saved for improving the efficiency of cirrhosis detection.
The foregoing illustrates and describes the principles, general features, and advantages of the present invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.
Claims (8)
1. A method for assessing cirrhosis index detection by a platelet enumeration method, comprising the steps of:
step one, building a Yolo _ v3 network structure, and building a Yolo _ v3 network consisting of a backbone network Darknet _53 and a feature prediction Yolo _ head;
training a network model, namely pre-training the network model by using a COCO data set in a transfer learning mode, and then performing small sample training by using blood cells to obtain a prediction frame;
thirdly, network prediction output, namely, operating the network by using the parameters after network training, performing prediction output, inputting the original image into the network, predicting the position, the type and the probability of each cell on the original image in the network, outputting the position type probability of each cell and marking;
and step four, analyzing an experimental result, using the BCCD blood cell data set and the blood cell picture with data enhancement as a training set and a test set test network model, and obtaining a result.
2. A method for assessing the detection of cirrhosis index by the platelet enumeration method according to claim 1, wherein: in the first step, the trunk network Darknet _53 is a feature extraction trunk network, and is composed of five residual blocks, each of which is composed of 1,2,8,8,4 residual units, namely a DBL convolutional layer, a batch normalization layer and a linear unit with leakage correction.
3. A method for assessing the detection of cirrhosis index by the platelet enumeration method according to claim 1, wherein: in the first step, the feature prediction Yolo _ head is a prediction output network, and after the feature maps of three scales are input into the trunk network Darknet _53, the diversity of the receptive fields is realized, and the prediction of the three scales is output through the Yolo _ head.
4. A method for assessing the detection of cirrhosis index by the platelet enumeration method according to claim 3, wherein: three prior frames are provided for each grid of the feature map for each scale in the three-scale predictions, for a total of 13 × 3+26 × 3+52 × 3 — 10647 predictions.
5. The method for evaluating the detection of cirrhosis index by the platelet counting method according to claim 1, wherein the prediction process in the third step is specifically as follows:
1) selecting a blood cell color picture input of a BCCD data set, performing relevant processing, converting the blood cell color picture input into a format BRG which can be processed by a pytorch, and adjusting the BRG into 416 × 416;
2) sending the data to a neural network to obtain a prediction result, dividing the picture into S × S grids by the Yolo _ head network, then enabling each unit grid to be responsible for predicting a target with a central point in the grid, wherein the final prediction value of each layer is a tensor with the size of S × S3 (4+1+3), the first 3 is a dimension number which represents the number of anchors in each layer, 4 is an adjustment parameter (x, y, w, h) of the size and the central position of a boundary frame, 1 is a confidence coefficient, and 3 is a cell category number;
3) decoding the prediction result, adding corresponding x _ offset and y _ offset to each grid point to obtain a result, namely the center of the prediction frame, and calculating the position of the whole prediction frame by utilizing the combination of the prior frame, h and w;
4) finally, performing score sorting and non-maximum inhibition screening on the prediction result, filtering the anchor frame through confidence, and then removing a plurality of detection frames by using non-maximum inhibition;
5) the decoded output is the position of the actual detection target, which is marked on the original image.
6. The method of claim 5 for assessing the index of cirrhosis by a platelet enumeration method, wherein: the key for realizing non-maximum inhibition in the step 4) is to select a frame with the highest score, calculate the coincidence degree of the frame with other frames, remove the frame with the coincidence degree exceeding the IOU threshold value, return to the previous step of iteration and stop the iteration until the frame which is not lower than the currently selected frame.
7. A method for assessing the detection of cirrhosis index by the platelet enumeration method according to claim 1, wherein: the prediction frames obtained by training the model in the second step are divided into three conditions of a positive case, a negative case and an ignored case, the positive case is any one ground route, IOU thresholds are all calculated with all the prediction frames output by the network model, the prediction frame with the largest IOU threshold is the positive case, and the positive case generates confidence coefficient loss, detection frame loss and category loss; the negative example is that the IOU threshold values of all the group entries are smaller than the set threshold value after the positive example is removed, namely the negative example is obtained, and the negative example only has confidence coefficient loss; except for the normal case, the case that the IOU threshold value of any one group route is larger than the set threshold value is the neglected case, and the neglected case does not generate loss.
8. A method for assessing the detection of cirrhosis index by the platelet enumeration method according to claim 1, wherein: and in the second step, the learning attenuation strategy selected by training is fixed step attenuation, the learning rate of the fixed step attenuation at the initial stage of training is high, so that the network model is converged quickly, the learning rate at the later stage of training is low, and the network model is converged to the optimal solution better.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110859107.1A CN113570576B (en) | 2021-07-28 | 2021-07-28 | Method for evaluating liver cirrhosis index detection through platelet counting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110859107.1A CN113570576B (en) | 2021-07-28 | 2021-07-28 | Method for evaluating liver cirrhosis index detection through platelet counting method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113570576A true CN113570576A (en) | 2021-10-29 |
CN113570576B CN113570576B (en) | 2024-03-12 |
Family
ID=78168618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110859107.1A Active CN113570576B (en) | 2021-07-28 | 2021-07-28 | Method for evaluating liver cirrhosis index detection through platelet counting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113570576B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116883916A (en) * | 2023-09-08 | 2023-10-13 | 深圳市国硕宏电子有限公司 | Conference abnormal behavior detection method and system based on deep learning |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109816024A (en) * | 2019-01-29 | 2019-05-28 | 电子科技大学 | A kind of real-time automobile logo detection method based on multi-scale feature fusion and DCNN |
CN111460919A (en) * | 2020-03-13 | 2020-07-28 | 华南理工大学 | Monocular vision road target detection and distance estimation method based on improved YO L Ov3 |
KR102261880B1 (en) * | 2020-04-24 | 2021-06-08 | 주식회사 핀텔 | Method, appratus and system for providing deep learning based facial recognition service |
CN113076683A (en) * | 2020-12-08 | 2021-07-06 | 国网辽宁省电力有限公司锦州供电公司 | Modeling method of convolutional neural network model for substation behavior monitoring |
-
2021
- 2021-07-28 CN CN202110859107.1A patent/CN113570576B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109816024A (en) * | 2019-01-29 | 2019-05-28 | 电子科技大学 | A kind of real-time automobile logo detection method based on multi-scale feature fusion and DCNN |
CN111460919A (en) * | 2020-03-13 | 2020-07-28 | 华南理工大学 | Monocular vision road target detection and distance estimation method based on improved YO L Ov3 |
KR102261880B1 (en) * | 2020-04-24 | 2021-06-08 | 주식회사 핀텔 | Method, appratus and system for providing deep learning based facial recognition service |
CN113076683A (en) * | 2020-12-08 | 2021-07-06 | 国网辽宁省电力有限公司锦州供电公司 | Modeling method of convolutional neural network model for substation behavior monitoring |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116883916A (en) * | 2023-09-08 | 2023-10-13 | 深圳市国硕宏电子有限公司 | Conference abnormal behavior detection method and system based on deep learning |
Also Published As
Publication number | Publication date |
---|---|
CN113570576B (en) | 2024-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109102502B (en) | Pulmonary nodule detection method based on three-dimensional convolutional neural network | |
CN110675411B (en) | Cervical squamous intraepithelial lesion recognition algorithm based on deep learning | |
CN111798416B (en) | Intelligent glomerulus detection method and system based on pathological image and deep learning | |
CN112101451B (en) | Breast cancer tissue pathological type classification method based on generation of antagonism network screening image block | |
CN113361623B (en) | Medical image classification method combining lightweight CNN with transfer learning | |
CN108549912A (en) | A kind of medical image pulmonary nodule detection method based on machine learning | |
CN108305253A (en) | A kind of pathology full slice diagnostic method based on more multiplying power deep learnings | |
CN112446891A (en) | Medical image segmentation method based on U-Net network brain glioma | |
CN113269799A (en) | Cervical cell segmentation method based on deep learning | |
CN114998265A (en) | Liver tumor segmentation method based on improved U-Net | |
CN114648806A (en) | Multi-mechanism self-adaptive fundus image segmentation method | |
CN107958472A (en) | PET imaging methods, device, equipment and storage medium based on sparse projection data | |
CN113628297A (en) | COVID-19 deep learning diagnosis system based on attention mechanism and transfer learning | |
CN112862783A (en) | Thyroid CT image nodule automatic diagnosis system based on neural network | |
CN115601330A (en) | Colonic polyp segmentation method based on multi-scale space reverse attention mechanism | |
CN111814881A (en) | Marine fish image identification method based on deep learning | |
CN113570576A (en) | Method for evaluating detection of cirrhosis index by platelet counting method | |
CN114140437A (en) | Fundus hard exudate segmentation method based on deep learning | |
CN112508860B (en) | Artificial intelligence interpretation method and system for positive check of immunohistochemical image | |
CN113420793A (en) | Improved convolutional neural network ResNeSt 50-based gastric ring cell carcinoma classification method | |
CN110111307B (en) | Immune system feedback simulation system and method for immune teaching | |
CN111768420A (en) | Cell image segmentation model | |
CN114970862B (en) | PDL1 expression level prediction method based on multi-instance knowledge distillation model | |
CN115861292A (en) | Pulmonary tuberculosis infectivity discrimination method based on CT image two-dimensional projection and deep learning | |
CN111652840B (en) | Turbid screening and classifying device for X-ray chest X-ray image lung |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |