Global feature pathological image grading method and device, electronic equipment and readable medium

By performing image block cropping and feature connection on the full-slice image, and inputting it into the classification model for slice grading, the problem of long cycle time and high false detection rate caused by manual segmentation is solved, and the efficiency and accuracy of global feature pathological image grading are improved.

CN118762219APending Publication Date: 2024-10-11HANGZHOU INNOVATION RES INST OF BEIJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410770226.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

In the existing technology, manual traversal and manual design of features are used to segment and classify cells of global characteristic pathological images, resulting in a long grading cycle of global characteristic pathological images, high false detection and missed detection rates, and easy loss of global information and local detailed information. .

Method used

Use the preset resolution to crop the image blocks of the full slice image, input the cropped image block information to the target detection network to generate the target area coordinates and confidence information, combine the intermediate features and the pooled features for feature connection, and input it to the classification model. Slice grading.

Benefits of technology

It shortens the grading cycle of global characteristic pathological images, reduces the false detection rate and missed detection rate, improves the overall nature and accuracy of the grading results, and avoids information loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762219A_ABST
    Figure CN118762219A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a global feature pathological image grading method and device, electronic equipment and a readable medium. A specific embodiment of the method comprises the steps of performing image block cutting on each acquired full-slice image according to a preset resolution to generate cut image block information, and obtaining a cut image block information set; inputting each piece of cut image block information in the cut image block information set into a preset target detection network to generate target area coordinate position information and confidence information corresponding to a target area coordinate position, and obtaining a target area coordinate position information set and a confidence information set corresponding to the target area coordinate position set; and performing slice grading on the classification result to obtain a graded slice result. According to the embodiment, the grading period of the global feature pathological image is shortened, the false drop rate and the omission rate are reduced, and the globality of the grading result of the global feature pathological image is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a method, device, electronic device, and readable medium for grading global characteristic pathological images. Background Art

[0002] Histopathological examination is the basis for reliable clinical diagnosis of cancer. Automated pathological slice image (Whole-Slide Image, WSI) analysis has been widely used in the diagnosis of various cancers such as renal cancer, cervical cancer, breast cancer, esophageal cancer, etc. Due to the characteristics of WSI slice whole image such as huge resolution and small lesion area, it is difficult to directly process the whole image. Automated analysis of WSI slices in pathology is still a challenging task. Automatically cutting images can shorten the cycle of global feature pathological image grading. In addition, active learning of the cut image set can avoid the loss of global information and local detail information, and can also effectively utilize resources. Global feature pathological image grading is a technology for grading pathological images containing global features. At present, the global feature pathological image grading usually adopts the following methods: manually designed features are used to segment and classify the image and the staff manually traverses the entire slice to diagnose suspicious lesions.

[0003] However, when the above method is adopted, the following technical problems often occur:

[0004] First, manually traversing the entire slice takes a lot of time, resulting in a long cycle for global feature pathology image grading. Using manually designed features to segment and classify cells in images can easily lead to a decrease in the detection accuracy of the target area, and also increase the false detection rate and missed detection rate, which in turn causes the results of global feature pathology image grading to lack globality.

[0005] Second, manually segmenting and classifying images may lose global information and local detail information, resulting in high errors in the results of global feature pathology image grading. The workload of image segmentation is large and resources cannot be used effectively.

[0006] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention

[0007] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0008] Some embodiments of the present disclosure propose a global characteristic pathology image grading method, device, electronic device and readable medium to solve one or more of the technical problems mentioned in the above background technology section.

[0009] In a first aspect, some embodiments of the present disclosure provide a global feature pathology image grading method, the method comprising: performing image block cropping on each acquired full slice image according to a preset resolution to generate cropped image block information and obtain a cropped image block information set; inputting each cropped image block information in the above cropped image block information set into a preset target detection network to generate target region coordinate position information and confidence information corresponding to the above target region coordinate position, to obtain a target region coordinate position information set and a confidence information set corresponding to the above target region coordinate position set; determining intermediate feature information and a pooled image block feature information set according to the above confidence information set; performing feature connection on each target region coordinate position information in the above target region coordinate position information set, each pooled image block feature information in the above pooled image block feature information set, and the above intermediate feature information to generate connected image block feature information and obtain a connected image block feature information set; determining the above connected image block feature information set as an image block feature information sequence; inputting the above image block feature information sequence into a preset classification model to obtain a classification result; performing slice grading on the above classification result to obtain a graded slice result.

[0010] In a second aspect, some embodiments of the present disclosure provide a global feature pathology image grading device, the device comprising: a cropping unit, configured to perform image block cropping on each acquired full-slice image according to a preset resolution to generate cropped image block information and obtain a cropped image block information set; a first input unit, configured to input each cropped image block information in the above cropped image block information set into a preset target detection network to generate target region coordinate position information and confidence information corresponding to the above target region coordinate position, and obtain a target region coordinate position information set and a confidence information set corresponding to the above target region coordinate position set; a first determination unit, configured to determine an intermediate feature according to the above confidence information set. a feature connection unit configured to perform feature connection on each target area coordinate position information in the target area coordinate position information set, each pooled image block feature information in the pooled image block feature information set, and the intermediate feature information to generate connected image block feature information and obtain a connected image block feature information set; a second determining unit configured to determine the connected image block feature information set as an image block feature information sequence; a second input unit configured to input the image block feature information sequence into a preset classification model to obtain a classification result; and a grading unit configured to slice and grade the classification result to obtain a graded slicing result.

[0011] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

[0012] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.

[0013] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the global characteristic pathological image grading method of some embodiments of the present disclosure, the cycle of global characteristic pathological image grading is shortened, the false detection rate and the missed detection rate are reduced, and the globality of the results of global characteristic pathological image grading is improved. Specifically, the cycle of global characteristic pathological image grading is long, resulting in large memory usage, increased false detection rate and missed detection rate, and the lack of globality of the results of global characteristic pathological image grading is caused by: manually traversing the entire slice takes a lot of time, resulting in a long cycle of global characteristic pathological image grading. Using manually designed features to segment and classify cells in the image is likely to lead to a decrease in the detection accuracy of the target area, and also to increase the false detection rate and the missed detection rate, thereby causing the lack of globality of the results of global characteristic pathological image grading. Based on this, the global characteristic pathological image grading method of some embodiments of the present disclosure, first, according to the preset resolution, each acquired full slice image is subjected to image block cropping to generate cropped image block information, and obtain a cropped image block information set. Thus, the full slice image can be subjected to image block cropping, so that the cropped image is more comprehensive, thereby shortening the cycle of global characteristic pathological image grading. Each cropped image block information in the cropped image block information set is input into a preset target detection network to generate target area coordinate position information and confidence information corresponding to the target area coordinate position, and obtain a target area coordinate position information set and a confidence information set corresponding to the target area coordinate position set. Thus, the detection accuracy of the target area can be improved. According to the confidence information set, the intermediate feature information and the pooled image block feature information set are determined. Thus, the features of the target area can be extracted to reduce the false detection rate and the missed detection rate. For each target area coordinate position information in the target area coordinate position information set, each pooled image block feature information in the pooled image block feature information set and the intermediate feature information are feature-connected to generate connected image block feature information, and obtain the connected image block feature information set. Thus, the global feature pathology image grading can be more comprehensively realized, thereby improving the globality of the results of the global feature pathology image grading. The connected image block feature information set is determined as an image block feature information sequence. Thus, the target area can be accurately detected. The image block feature information sequence is input into a preset classification model to obtain a classification result. Thus, the detection accuracy of the target area can be improved. The above classification results are sliced ​​and graded to obtain the graded slice results. Thus, the globality of the results of the global characteristic pathology image grading can be improved. Therefore, the cycle of the global characteristic pathology image grading is shortened, the false detection rate and the missed detection rate are reduced, and the globality of the results of the global characteristic pathology image grading is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0015] Figure 1 is a flowchart of some embodiments of the global feature pathology image grading method according to the present disclosure;

[0016] Figure 2 is a schematic structural diagram of some embodiments of a global characteristic pathological image grading device according to the present disclosure;

[0017] Figure 3 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0019] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0020] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0021] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0022] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0023] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0024] Figure 1The process 100 of some embodiments of the global characteristic pathology image grading method disclosed in the present invention comprises the following steps:

[0025] Step 101 , performing image block cropping on each acquired full-slice image according to a preset resolution to generate cropped image block information, thereby obtaining a cropped image block information set.

[0026] In some embodiments, the execution entity (e.g., a computing device) of the global characteristic pathology image grading method may perform image block cropping on each acquired full slice image at a preset resolution to generate cropped image block information and obtain a cropped image block information set.

[0027] Here, the preset resolution may refer to a preset resolution of 640×640. Here, the full-slice image may refer to a digital image scanned from a complete slice.

[0028] As an example, the execution subject may first divide each acquired full-slice image according to a preset resolution to obtain a divided full-slice image block set, and then crop the divided full-slice image block set to obtain a cropped image block information set.

[0029] Step 102, input each cropped image block information in the above-mentioned cropped image block information set into a preset target detection network to generate target area coordinate position information and confidence information corresponding to the above-mentioned target area coordinate position, and obtain a target area coordinate position information set and a confidence information set corresponding to the above-mentioned target area coordinate position set.

[0030] In some embodiments, the above-mentioned execution entity can input each cropped image block information in the above-mentioned cropped image block information set into a preset target detection network to generate target area coordinate position information and confidence information corresponding to the above-mentioned target area coordinate position, and obtain a target area coordinate position information set and a confidence information set corresponding to the above-mentioned target area coordinate position set.

[0031] Here, the preset target detection network may refer to a preset YoloV8 network. The preset target detection network may be used to detect the target area of ​​the image. The target area coordinate position information may refer to the coordinate position information of the target area. The target area may refer to a lesion area. The confidence information in the confidence information set may refer to the confidence information of the target area position information. The range of the confidence is [0, 1]. The confidence may characterize the accuracy of the result of the preset target detection network, wherein the higher the confidence, the more reliable the accuracy of the result of the preset target detection network.

[0032] Optionally, the preset target detection network is trained by the following steps:

[0033] The first step is to obtain a sample set of cropped image block information.

[0034] Here, obtaining a cropped image block information sample set refers to randomly obtaining a cropped image block information sample set. Here, the cropped image block information samples in the cropped image block information sample set refer to image block information obtained after image block cropping of the acquired full slice image according to a preset resolution.

[0035] In the second step, at least one cropped image block information sample corresponding to the target area in the cropped image block information sample set is labeled to obtain a labeled image block information sample group.

[0036] As an example, the execution entity may label at least one cropped image block information sample corresponding to the target area in the cropped image block information sample set by using a target detection labeling tool (eg, LabelImg) to obtain a labeled image block information sample group.

[0037] The third step is to select a labeled image block information sample from the above labeled image block information sample group.

[0038] Here, the above selection may refer to random selection.

[0039] In the fourth step, the labeled image block information samples are input into the initial preset target detection network to obtain target area coordinate position information test data and confidence information test data corresponding to the target area coordinate position.

[0040] Here, the initial preset target detection network may be a preset target detection network that has not been trained with a model.

[0041] The fifth step is to determine a first information difference value between the target area coordinate position information test data and the labeled image block information sample label included in the labeled image block information sample based on a preset image block information loss function.

[0042] Here, the image block information loss function may include but is not limited to: mean square error loss function (MSE), cross entropy loss function (CrossEntropy), etc. The first information difference value may refer to the information difference value between the target area coordinate position information test data and the labeled image block information sample label.

[0043] Step 6: Based on a preset image block information loss function, determine a second information difference value between the confidence information test data and the labeled image block information sample label included in the labeled image block information sample. The second information difference value may refer to the information difference value between the confidence information test data and the labeled image block information sample label.

[0044] In a seventh step, in response to the first information difference value being greater than or equal to a preset data threshold, adjusting network parameters of the preset target detection network.

[0045] In some embodiments, the execution subject may adjust the network parameters of the preset target detection network in response to the first information difference value being greater than or equal to a preset data threshold. Here, there is no restriction on the setting of the preset data threshold. On this basis, the difference value is passed forward from the last layer of the model by back propagation, stochastic gradient descent and other methods to adjust the parameters of each layer. Of course, as needed, the network freezing (dropout) method can also be used to keep the network parameters of some layers unchanged without adjustment, and no limitation is made to this.

[0046] In an eighth step, in response to the second information difference value being greater than or equal to a preset data threshold, adjusting network parameters of the preset target detection network.

[0047] In some embodiments, the execution subject may adjust the network parameters of the preset target detection network in response to the second information difference value being greater than or equal to a preset data threshold. Here, there is no restriction on the setting of the preset data threshold. On this basis, the difference value is passed forward from the last layer of the model by back propagation, stochastic gradient descent and other methods to adjust the parameters of each layer. Of course, as needed, the network freezing (dropout) method can also be used to keep the network parameters of some layers unchanged and not adjust them. There is no limitation on this.

[0048] Optionally, after adjusting the network parameters of the preset target detection network in response to the second information difference value being greater than or equal to a preset data threshold, the method further includes:

[0049] In the first step, in response to the first information difference value being less than the preset data threshold, the initial preset target detection network is determined as a preset target detection network.

[0050] In some embodiments, the execution subject may determine the initial preset target detection network as the preset target detection network in response to the first information difference value being less than the preset data threshold. Here, there is no limitation on the setting of the preset data threshold.

[0051] In the second step, in response to the second information difference value being less than the preset data threshold, the initial preset target detection network is determined as the preset target detection network.

[0052] Step 103: Determine the intermediate feature information and the pooled image block feature information set according to the above confidence information set.

[0053] In some embodiments, the execution entity may determine the intermediate feature information and the pooled image block feature information set based on the confidence information set.

[0054] Here, the above-mentioned intermediate feature information may refer to the feature information of the intermediate layer, and the pooled image block feature information in the above-mentioned pooled image block feature information set may refer to the feature information after image block pooling.

[0055] Optionally, the execution subject may determine the intermediate feature information and the pooled image block feature information set according to the confidence information set through the following steps:

[0056] The first step is to sort each confidence information in the above confidence information set to obtain a sorted confidence information sequence.

[0057] As an example, the execution entity may sort the confidence information in the confidence information set in descending order of confidence to obtain a sorted confidence information sequence.

[0058] In the second step, a preset number of image blocks are screened for each cropped image block information corresponding to the above sorted confidence information sequence to obtain a screened image block information set.

[0059] Here, the preset number of image blocks may refer to a preset number of image blocks. For example, the preset number of image blocks may refer to a preset number of 256 image blocks. The screening may refer to selection.

[0060] Optionally, after performing a preset number of image block screening on each cropped image block information corresponding to the sorted confidence information sequence to obtain a screened image block information set, the method further includes:

[0061] In the first sub-step, in response to determining that the number of cropped image block information corresponding to the sorted confidence information sequence is less than the preset number of image blocks, the following processing steps are performed:

[0062] Sub-step 1: determining the amount of the cropped image block information to obtain the amount of cropped image block information.

[0063] Here, the above-mentioned number of cropped image block information may refer to 200 cropped image block information.

[0064] Sub-step 2: determining the number of image block information to be added according to the number of the cropped image block information and the preset number of image blocks.

[0065] As an example, the execution subject may subtract the number of cropped image block information from the preset number of image blocks to obtain the number of image block information to be added. For example, the number of image block information to be added may refer to 56 image block information to be added.

[0066] Sub-step three: adding image block information to the cropped image block information according to the number of image block information to be added, and obtaining an added image block information set as a screened image block information set.

[0067] Here, the above-mentioned filtered image block information set may refer to the filtered 256 image block information.

[0068] The third step is to determine the intermediate feature information corresponding to the above-mentioned preset target detection network based on the above-mentioned filtered image block information set.

[0069] As an example, the execution subject may perform feature extraction on the intermediate layer of the preset target detection network to obtain intermediate layer feature information. Then, the intermediate layer feature information is standardized to obtain standardized feature information. Then, the filtered image block information set is compared with the standardized feature information to obtain a comparison result. Finally, in response to determining that the comparison result represents a consistent comparison, the standardized feature information is determined as the intermediate feature information.

[0070] The fourth step is to perform global pooling processing on the above filtered image block information set to obtain a pooled image block feature information set.

[0071] Here, the above-mentioned global pooling processing may refer to adaptive maximum pooling processing.

[0072] Step 104, performing feature connection on each target area coordinate position information in the target area coordinate position information set, each pooled image block feature information in the pooled image block feature information set, and the intermediate feature information to generate connected image block feature information, and obtain a connected image block feature information set.

[0073] In some embodiments, the above-mentioned execution entity can perform feature connection on each target area coordinate position information in the above-mentioned target area coordinate position information set, each pooled image block feature information in the above-mentioned pooled image block feature information set, and the above-mentioned intermediate feature information to generate connected image block feature information and obtain a connected image block feature information set.

[0074] Here, the above-mentioned feature connection may refer to feature concatenation.

[0075] Step 105: determine the connected image block feature information set as an image block feature information sequence.

[0076] In some embodiments, the execution entity may determine the connected image block feature information set as an image block feature information sequence.

[0077] Here, the above-mentioned image block feature information sequence may refer to a sequence of image block feature information after sorting the pieces of connected image block feature information in the connected image block feature information set.

[0078] As an example, the execution subject may sort the connected image block feature information set to obtain a sorted image block feature information set as an image block feature information sequence.

[0079] Step 106: input the above image block feature information sequence into a preset classification model to obtain a classification result.

[0080] In some embodiments, the execution entity may input the image block feature information sequence into a preset classification model to obtain a classification result.

[0081] Here, the above-mentioned preset classification model may include: a ViT (Vision Transformer) model, a global pooling layer and a multilayer perceptron (MLP). The above-mentioned preset classification model may be used to classify each image block feature information in the above-mentioned image block feature information sequence. The input of the above-mentioned preset classification model may refer to the image block feature information sequence. The output of the above-mentioned preset classification model may refer to the classification result. The above-mentioned ViT (Vision Transformer) model may be used to process a longer sequence of image block feature information sequences. The above-mentioned ViT (Vision Transformer) model may obtain global information, and more accurately focus on the correlation information between different image blocks.

[0082] Step 107, slicing and grading the above classification results to obtain graded slicing results.

[0083] In some embodiments, the execution entity may slice and grade the classification results to obtain graded slicing results.

[0084] Here, the above-mentioned slice results after classification may refer to the slice results after being divided into different levels. The above-mentioned different levels may refer to a mild level, a moderate level, and a severe level.

[0085] As an example, the execution entity may first, in response to determining that the level threshold corresponding to the classification result is greater than or equal to a preset first threshold, determine the classification result as a heavy-level slicing result. The preset first threshold may refer to 0.8. Then, in response to determining that the level threshold corresponding to the classification result is less than the preset first threshold and greater than or equal to the preset second threshold, determine the classification result as a moderate-level slicing result. The preset second threshold may refer to 0.6. Then, in response to determining that the level threshold corresponding to the classification result is less than the preset second threshold, determine the classification result as a light-level slicing result. Finally, the heavy-level slicing result, the moderate-level slicing result and the light-level slicing result are determined as graded slicing results.

[0086] Optionally, after the above “step 107”, the above method further includes:

[0087] In the first step, the acquired full-slice target image is cropped using a sliding window to obtain a cropped target image set.

[0088] As an example, the execution subject may perform a preset step length and a preset size window on the acquired full-slice target image to obtain a cropped target image set. The preset step length may be 1. The preset size window may refer to 640×640.

[0089] In the second step, the cropped target image set is input into the initial target detection network to obtain a target image region coordinate position information set and a target image confidence information set corresponding to the target image region coordinate position information set.

[0090] Here, the above-mentioned initial target detection network may refer to a deep learning network (eg, YOLOv8), which is used to identify the target position in the image and output the coordinate information and confidence information of the target.

[0091] The third step is to predict the difficulty coefficient of each target image confidence information in the above target image confidence information set to obtain the image difficulty coefficient set.

[0092] Here, the difficulty coefficient can be an indicator coefficient to measure the difficulty of the model for the image classification task.

[0093] As an example, the execution subject may predict the difficulty coefficient corresponding to each target image confidence information in the target image confidence information set through a scoring strategy to obtain an image difficulty coefficient set. The scoring strategy may be a strategy in which the higher the value corresponding to the target image confidence information, the higher the score.

[0094] The fourth step is to perform weighted moving average processing on the above image difficulty coefficient set to obtain a processed image difficulty coefficient set.

[0095] Here, the weighted moving average process described above may be used to calculate a moving average of a set of image difficulty coefficients, wherein each image difficulty coefficient is weighted according to its weight.

[0096] The fifth step is to predict the preset category probability distribution of the above cropped target image set based on the above image difficulty coefficient set to obtain a probability distribution information set.

[0097] Here, the above-mentioned preset category probability distribution is a probability estimate of the image belonging to a category with a difficulty coefficient greater than 0.7.

[0098] The sixth step is to determine the weights of the above probability distribution information set to obtain the weight set corresponding to the probability distribution information.

[0099] The seventh step is to sort the weight sets corresponding to the above probability distribution information to obtain a weight sequence corresponding to the probability distribution information, wherein the weight sequence corresponding to the above probability distribution information is a sequence in which the weights corresponding to the respective probability distribution information are sorted from large to small.

[0100] In the eighth step, data is annotated for a preset number of probability distribution information corresponding weights in the above probability distribution information corresponding weight sequence to obtain an image set corresponding to the annotated weight information.

[0101] Here, the data annotation may refer to providing a label for the image data. The label may refer to "high weight".

[0102] The ninth step is to classify the image set corresponding to the above-annotated weight information to obtain the image classification result.

[0103] The tenth step is to slice and grade the above image classification results to obtain the graded image slicing results.

[0104] Here, the above-mentioned slice grading may refer to the process of allocating the pathological slices corresponding to the image classification results to different severity levels according to the image features.

[0105] The relevant contents in the first step to the tenth step above serve as an inventive point of the present disclosure, and solve the second technical problem mentioned in the background technology: "Manual image segmentation and cell classification may lose global information and local detail information, resulting in a high error in the result of global characteristic pathology image grading. The workload of image segmentation is large, and resources cannot be used effectively." The factors that lead to the loss of global information and local detail information of global characteristic pathology image grading and the ineffective use of resources are often as follows: Manual image segmentation and cell classification may lose global information and local detail information, resulting in a high error in the result of global characteristic pathology image grading. The workload of image segmentation is large, and resources cannot be used effectively. If the above factors are solved, the possibility of losing global information and local detail information can be reduced, and the effect of effectively using resources can be achieved. In order to achieve this effect, in the first step, the acquired full-slice target image is subjected to sliding window cropping to obtain a cropped target image set. In the second step, the above cropped target image set is input into the initial target detection network to obtain a target image region coordinate position information set and a target image confidence information set corresponding to the above target image region coordinate position information set. The third step is to predict the difficulty coefficient of each target image confidence information in the above target image confidence information set to obtain an image difficulty coefficient set. In this way, the error of the result of global feature pathology image grading can be reduced. The fourth step is to perform weighted moving average processing on the above image difficulty coefficient set to obtain a processed image difficulty coefficient set. The fifth step is to predict the probability distribution of preset categories for the above cropped target image set according to the above image difficulty coefficient set to obtain a probability distribution information set. In this way, there is no need to manually segment and classify the image, thereby reducing the possibility of losing global information and local detail information. The sixth step is to determine the weight of the above probability distribution information set to obtain a weight set corresponding to the probability distribution information. The seventh step is to sort the weight set corresponding to the probability distribution information to obtain a weight sequence corresponding to the probability distribution information, wherein the weight sequence corresponding to the probability distribution information is a sequence in which the weights corresponding to the probability distribution information are sorted from large to small. The eighth step is to perform data annotation on the weights corresponding to the preset number of probability distribution information in the above probability distribution information corresponding weight sequence to obtain an image set corresponding to the labeled weight information. In this way, the workload of image segmentation can be reduced and resources can be used effectively. In the ninth step, the image set corresponding to the weight information after the annotation is classified to obtain the image classification result. In the tenth step, the image classification result is sliced ​​and graded to obtain the graded image slice result. In this way, the possibility of losing global information and local detail information is reduced, and resources can be used effectively.

[0106] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the global characteristic pathological image grading method of some embodiments of the present disclosure, the cycle of global characteristic pathological image grading is shortened, the false detection rate and the missed detection rate are reduced, and the globality of the results of global characteristic pathological image grading is improved. Specifically, the cycle of global characteristic pathological image grading is long, resulting in large memory usage, increased false detection rate and missed detection rate, and the lack of globality of the results of global characteristic pathological image grading is caused by: manually traversing the entire slice takes a lot of time, resulting in a long cycle of global characteristic pathological image grading. Using manually designed features to segment and classify cells in the image is likely to lead to a decrease in the detection accuracy of the target area, and also to increase the false detection rate and the missed detection rate, thereby causing the lack of globality of the results of global characteristic pathological image grading. Based on this, the global characteristic pathological image grading method of some embodiments of the present disclosure, first, according to the preset resolution, each acquired full slice image is subjected to image block cropping to generate cropped image block information, and obtain a cropped image block information set. Thus, the full slice image can be subjected to image block cropping, so that the cropped image is more comprehensive, thereby shortening the cycle of global characteristic pathological image grading. Each cropped image block information in the cropped image block information set is input into a preset target detection network to generate target area coordinate position information and confidence information corresponding to the target area coordinate position, and obtain a target area coordinate position information set and a confidence information set corresponding to the target area coordinate position set. Thus, the detection accuracy of the target area can be improved. According to the confidence information set, the intermediate feature information and the pooled image block feature information set are determined. Thus, the features of the target area can be extracted to reduce the false detection rate and the missed detection rate. For each target area coordinate position information in the target area coordinate position information set, each pooled image block feature information in the pooled image block feature information set and the intermediate feature information are feature-connected to generate connected image block feature information, and obtain the connected image block feature information set. Thus, the global feature pathology image grading can be more comprehensively realized, thereby improving the globality of the results of the global feature pathology image grading. The connected image block feature information set is determined as an image block feature information sequence. Thus, the target area can be accurately detected. The image block feature information sequence is input into a preset classification model to obtain a classification result. Thus, the detection accuracy of the target area can be improved. The above classification results are sliced ​​and graded to obtain the graded slice results. Thus, the globality of the results of the global characteristic pathology image grading can be improved. Therefore, the cycle of the global characteristic pathology image grading is shortened, the false detection rate and the missed detection rate are reduced, and the globality of the results of the global characteristic pathology image grading is improved.

[0107] Further references Figure 2As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a global characteristic pathological image grading method. These device embodiments are similar to Figure 1 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.

[0108] like Figure 2 As shown, the global feature pathology image grading device 200 of some embodiments includes: a cropping unit 201, a first input unit 202, a first determination unit 203, a feature connection unit 204, a second determination unit 205, a second input unit 206 and a grading unit 207. Among them, the cropping unit 201 is configured to perform image block cropping on each acquired full-slice image according to a preset resolution to generate cropped image block information and obtain a cropped image block information set; the first input unit 202 is configured to input each cropped image block information in the above cropped image block information set into a preset target detection network to generate target region coordinate position information and confidence information corresponding to the above target region coordinate position, and obtain a target region coordinate position information set and a confidence information set corresponding to the above target region coordinate position set; the first determination unit 203 is configured to determine the intermediate feature information and the pooled image block feature information set according to the above confidence information set; the feature The connection unit 204 is configured to perform feature connection on each target area coordinate position information in the target area coordinate position information set, each pooled image block feature information in the pooled image block feature information set, and the intermediate feature information to generate connected image block feature information and obtain a connected image block feature information set; the second determination unit 205 is configured to determine the connected image block feature information set as an image block feature information sequence; the second input unit 206 is configured to input the image block feature information sequence into a preset classification model to obtain a classification result; the grading unit 207 is configured to slice and grade the classification result to obtain a graded slicing result.

[0109] It is understood that the units described in the device 200 are similar to those described in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 200 and the units included therein, and will not be described in detail here.

[0110] Reference below Figure 3 , which shows a schematic structural diagram of an electronic device (such as a computing device) 300 suitable for implementing some embodiments of the present disclosure. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0111] like Figure 3As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 304. In RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, ROM 302, and RAM 304 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0112] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0113] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the functions defined in the method of some embodiments of the present disclosure are executed.

[0114] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0115] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0116] The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist independently without being assembled into the electronic device. The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: performs image block cropping on each acquired full-slice image according to a preset resolution to generate cropped image block information and obtain a cropped image block information set; inputs each cropped image block information in the above-mentioned cropped image block information set into a preset target detection network to generate target region coordinate position information and confidence information corresponding to the above-mentioned target region coordinate position, and obtains a target region coordinate position information set and a confidence information set corresponding to the above-mentioned target region coordinate position set; according to the above The confidence information set is used to determine the intermediate feature information and the pooled image block feature information set; each target area coordinate position information in the target area coordinate position information set, each pooled image block feature information in the pooled image block feature information set and the intermediate feature information are feature-connected to generate connected image block feature information and obtain a connected image block feature information set; the connected image block feature information set is determined as an image block feature information sequence; the image block feature information sequence is input into a preset classification model to obtain a classification result; and the classification result is sliced ​​and graded to obtain a graded slicing result.

[0117] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0118] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0119] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be set in a processor, for example, may be described as: a processor comprising: a cropping unit, a first input unit, a first determination unit, a feature connection unit, a second determination unit, a second input unit and a grading unit. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances. For example, the cropping unit may also be described as "a unit that crops each acquired full-slice image according to a preset resolution to generate cropped image block information and obtain a cropped image block information set".

[0120] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0121] The above descriptions are only some preferred embodiments of the present disclosure and the explanation of the technical principles used above. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. A global characteristic pathological image grading method, comprising: Performing image block cropping on each acquired full-slice image according to a preset resolution to generate cropped image block information, thereby obtaining a cropped image block information set; Inputting each cropped image block information in the cropped image block information set into a preset target detection network to generate target region coordinate position information and confidence information corresponding to the target region coordinate position, thereby obtaining a target region coordinate position information set and a confidence information set corresponding to the target region coordinate position set; Determining intermediate feature information and a pooled image block feature information set according to the confidence information set; Performing feature connection on each target area coordinate position information in the target area coordinate position information set, each pooled image block feature information in the pooled image block feature information set, and the intermediate feature information to generate connected image block feature information, thereby obtaining a connected image block feature information set; Determining the connected image block feature information set as an image block feature information sequence; Inputting the image block feature information sequence into a preset classification model to obtain a classification result; The classification results are sliced ​​and graded to obtain graded slicing results.

2. The method according to claim 1, wherein: Determining the intermediate feature information and the pooled image block feature information set according to the confidence information set includes: Sorting each confidence information in the confidence information set to obtain a sorted confidence information sequence; Screening each cropped image block information corresponding to the sorted confidence information sequence by a preset number of image blocks to obtain a screened image block information set; Determining intermediate feature information corresponding to the preset target detection network according to the filtered image block information set; Perform global pooling processing on the filtered image block information set to obtain a pooled image block feature information set.

3. The method according to claim 2, wherein: After the preset number of image blocks is screened for each cropped image block information corresponding to the sorted confidence information sequence to obtain a screened image block information set, the method further includes: In response to determining that the number of cropped image block information corresponding to the sorted confidence information sequence is less than the preset number of image blocks, performing the following processing steps: Determine the amount of the cropped image block information to obtain the amount of the cropped image block information; Determining the number of image block information to be added according to the number of cropped image block information and the preset number of image blocks; Image block information is added to the cropped image block information according to the amount of image block information to be added, to obtain an added image block information set as a screened image block information set.

4. The method according to claim 1, wherein: The preset target detection network is trained by the following steps: Obtain a sample set of cropped image block information; marking at least one cropped image block information sample corresponding to the target area in the cropped image block information sample set to obtain a marked image block information sample group; Selecting a labeled image block information sample from the labeled image block information sample group; Inputting the labeled image block information sample into an initial preset target detection network to obtain target area coordinate position information test data and confidence information test data corresponding to the target area coordinate position; Based on a preset image block information loss function, determining a first information difference value between the target area coordinate position information test data and the labeled image block information sample label included in the labeled image block information sample; Based on a preset image block information loss function, determining a second information difference value between the confidence information test data and the labeled image block information sample label included in the labeled image block information sample; In response to the first information difference value being greater than or equal to a preset data threshold, adjusting a network parameter of the preset target detection network; In response to the second information difference value being greater than or equal to a preset data threshold, adjusting a network parameter of the preset target detection network.

5. The method according to claim 4, wherein: The method further comprises: In response to the first information difference value being less than the preset data threshold, determining the initial preset target detection network as a preset target detection network; In response to the second information difference value being less than the preset data threshold, the initial preset object detection network is determined as a preset object detection network.

6. A global characteristic pathological image grading device, comprising: A cropping unit is configured to perform image block cropping on each acquired full-slice image according to a preset resolution to generate cropped image block information and obtain a cropped image block information set; A first input unit is configured to input each cropped image block information in the cropped image block information set into a preset target detection network to generate target region coordinate position information and confidence information corresponding to the target region coordinate position, and obtain a target region coordinate position information set and a confidence information set corresponding to the target region coordinate position set; A first determining unit is configured to determine the intermediate feature information and the pooled image block feature information set according to the confidence information set; a feature connection unit configured to perform feature connection on each target area coordinate position information in the target area coordinate position information set, each pooled image block feature information in the pooled image block feature information set, and the intermediate feature information to generate connected image block feature information, thereby obtaining a connected image block feature information set; A second determining unit is configured to determine the connected image block feature information set as an image block feature information sequence; A second input unit is configured to input the image block feature information sequence into a preset classification model to obtain a classification result; The grading unit is configured to slice and grade the classification results to obtain graded slicing results.

7. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.

8. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.