WO2022179083A1 - Image detection method and apparatus, and device, medium and program - Google Patents

Image detection method and apparatus, and device, medium and program Download PDF

Info

Publication number
WO2022179083A1
WO2022179083A1 PCT/CN2021/117801 CN2021117801W WO2022179083A1 WO 2022179083 A1 WO2022179083 A1 WO 2022179083A1 CN 2021117801 W CN2021117801 W CN 2021117801W WO 2022179083 A1 WO2022179083 A1 WO 2022179083A1
Authority
WO
WIPO (PCT)
Prior art keywords
feature map
map
lesion
probability
medical image
Prior art date
Application number
PCT/CN2021/117801
Other languages
French (fr)
Chinese (zh)
Inventor
孙辉
韩泓泽
刘星龙
黄宁
张少霆
Original Assignee
上海商汤智能科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 上海商汤智能科技有限公司 filed Critical 上海商汤智能科技有限公司
Priority to JP2022549312A priority Critical patent/JP2023518160A/en
Publication of WO2022179083A1 publication Critical patent/WO2022179083A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2415Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/25Fusion techniques
    • G06F18/253Fusion techniques of extracted features
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H30/00ICT specially adapted for the handling or processing of medical images
    • G16H30/40ICT specially adapted for the handling or processing of medical images for processing medical images, e.g. editing

Definitions

  • the present application relates to the technical field of artificial intelligence, and relates to, but is not limited to, an image detection method, apparatus, device, computer-readable storage medium, and computer program.
  • CT Computed Tomography
  • doctors can find organ lesions such as pneumonia through medical images.
  • electronic devices with processing capabilities such as computers are gradually replacing manual tasks in all walks of life.
  • the detection results of lesions in the medical images can be obtained to assist doctors in clinical practice.
  • Embodiments of the present application provide an image detection method, apparatus, device, computer-readable storage medium, and computer program.
  • An embodiment of the present application provides an image detection method, including: acquiring a medical image to be tested; performing feature extraction on the medical image to be tested to obtain a first feature map of several dimensions; using the first feature map of a preset dimension as a reference feature Figure, using the reference feature map to generate a lesion probability map, where the lesion probability map is used to represent the probability that different areas in the medical image to be tested belong to the lesion; the lesion probability map is fused with the first feature maps of several dimensions to obtain the final Fusion feature map; detection processing is performed on the final fused feature map to obtain the detection result of the lesion in the medical image to be tested.
  • a first feature map of several dimensions is obtained, and the first feature map of a preset dimension is used as a reference feature map, so that the reference feature map is used to generate a lesion probability map, And the lesion probability map is used to represent the probability that different areas in the medical image to be tested belong to the lesion, and then the lesion probability map is fused with the first feature maps of several dimensions to obtain the final fusion feature map, so the lesion probability map can be used as a global
  • the features are fused with the first feature map, so that the final fusion feature map can enhance the specificity of the lesion, and then the detection result of the lesion in the medical image to be tested can be obtained by performing detection processing through the final fusion feature map, which can improve image detection. accuracy.
  • the method before using the reference feature map to generate the lesion probability map, the method further includes: using the reference feature map to perform prediction processing to obtain a first probability value of the lesion contained in the medical image to be tested; and determining whether to perform the use of the reference feature based on the first probability value. Steps to generate a lesion probability map and subsequent steps.
  • the reference feature map for prediction processing the first probability value of the lesion contained in the medical image to be tested is obtained, and based on the first probability value, it is determined whether to execute the step of using the reference feature map to generate the lesion probability map and the subsequent steps, so as to It is beneficial to solve the problem of false positive detection results obtained when the medical image to be tested does not contain lesions, which can further improve the accuracy of image detection, and because the negative data can be pre-screened before detection, it can improve the image quality. detection efficiency.
  • determining whether to perform the step of using the reference feature map to generate the lesion probability map and subsequent steps includes: if the first probability value satisfies the first preset condition, performing the step of using the reference feature map to generate the lesion probability map step and subsequent steps; or, when the medical image to be tested is a two-dimensional medical image included in a three-dimensional medical image; based on the first probability value, determine whether to perform the step of using the reference feature map to generate the lesion probability map and the subsequent steps, The method includes: sorting the first probability values corresponding to the two-dimensional medical images in descending order, and selecting a first preset number of first probability values; performing preset processing on the preset number of first probability values to obtain the second probability value; if the second probability value satisfies the second preset condition, the step of generating the lesion probability map by using the reference feature map and the subsequent steps are performed.
  • the step of generating the lesion probability map by using the reference feature map and the subsequent steps are performed, or, in the case where the medical image to be tested is a two-dimensional medical image included in a three-dimensional medical image
  • sort the first probability values of the two-dimensional medical images in descending order select the first preset number of first probability values, and perform preset processing on the preset number of first probability values to obtain the second probability value, so that when the second probability value satisfies the second preset condition, the step of using the reference feature map to generate the probability map of the lesion and the subsequent steps are performed, which can help to pre-screen negative data before detection, thereby improving the image quality. Detection accuracy and efficiency.
  • the first preset condition includes: the first probability value is greater than or equal to the first probability threshold; the second preset condition includes: the second probability value is greater than or equal to the second probability threshold; and the preset processing is an average operation.
  • the preset process is set to average Therefore, when the first probability value is greater than or equal to the first probability threshold, the use of The step of generating a case probability map with reference to the feature map and the subsequent steps, when the second probability value is greater than or equal to the second probability threshold, the step of generating a case probability map by using the reference feature map and the subsequent steps are performed, so it can be beneficial to pre-detection before detection. Screen out negative data to improve the accuracy and efficiency of image detection.
  • the medical image to be tested does not contain a lesion.
  • the detection result can be beneficial to improve the user experience.
  • using the reference feature map to generate the lesion probability map includes: counting the gradient values of each pixel in the reference feature map with respect to the lesion, generating a class activation map, and using the class activation map as the lesion probability map.
  • a class activation map is generated to serve as the lesion probability map, which can improve the accuracy of the lesion probability map, thereby improving the accuracy of subsequent image detection.
  • fusing the lesion probability map with the first feature maps of several dimensions to obtain a final fusion feature map includes: encoding the reference feature map by using the lesion probability map to obtain a second feature map; combining the second feature map with The first feature maps of several dimensions are fused to obtain the final fused feature map.
  • a second feature map is obtained, and the second feature map is fused with the first feature maps of several dimensions to obtain the final fusion feature map.
  • the probability map is used as a global feature to participate in the feature map fusion, so that the final fusion feature map can enhance the specificity of the lesion, which can help to improve the accuracy of subsequent image detection.
  • using the lesion probability map to encode the reference feature map to obtain a second feature map comprising: comparing the pixel value of the first pixel point in the lesion probability map with the second pixel point corresponding to the first pixel point in the reference feature map Multiply the pixel values of , to obtain the pixel values of the corresponding pixel points of the second feature map.
  • the pixel value of the corresponding pixel in the second feature map is obtained, In this way, the coding processing of the reference feature map by the lesion probability map is realized, which can help to reduce the amount of calculation.
  • the second feature map is fused with the first feature maps of several dimensions to obtain the final fusion feature map, which includes: according to the order of dimensions from high to bottom, the second feature map and the first feature map of each dimension sorted in order A feature map is fused to obtain the final fused feature map.
  • the reference feature map is the first feature map with the highest dimension; according to the order of dimensions from high to bottom, the second feature map is fused with the first feature map of each dimension sorted in order to obtain the final fusion feature map, including : fuse the reference feature map with the first low-dimensional feature map to obtain a first fusion feature map with the same dimension as the first low-dimensional feature map, wherein the first low-dimensional feature map is one dimension lower than the reference feature map
  • the first feature map; the second feature map is fused with the first fusion feature map to obtain a second fusion feature map with the same dimension as the first fusion feature map; the second fusion feature map and the second low-dimensional feature are repeatedly performed.
  • the graphs are fused to obtain a new second fused feature map with the same dimension as the second low-dimensional feature map, until the first feature maps of several dimensions are fused; wherein, the second low-dimensional feature map is smaller than the current second fused feature map.
  • the first feature map with one dimension lower than the feature map; the second fused feature map obtained by the final fusion is used as the final fused feature map.
  • a first fused feature map with the same dimension as the first low-dimensional feature map is obtained, and the first low-dimensional feature map is one dimension lower than the reference feature map , and fuse the second feature map with the first fusion feature map to obtain a second fusion feature map with the same dimension as the first fusion feature map.
  • the low-dimensional feature maps are fused to obtain a new second fusion feature map with the same dimension as the second low-dimensional feature map, until the first feature maps of several dimensions are fused, and the second low-dimensional feature map is smaller than the current first feature map.
  • the second fusion feature map is one dimension lower than the first feature map, and the second fusion feature map obtained by final fusion is used as the final fusion feature map, and then the lesion probability map can be used as a global feature to couple with the decoding process of image detection, so that the final
  • the fusion feature map can enhance the specificity of the lesion, and can fully fuse the context information of the feature map to improve the accuracy and feature richness of the final fused feature map, which in turn can help improve the accuracy of subsequent image detection.
  • the detection result includes the detection area of the lesion in the medical image to be tested; the method further includes: performing organ detection on the medical image to be tested to obtain the organ area in the medical image to be tested; obtaining the lesion occupied by the detection area of the lesion in the organ area Proportion.
  • the organ region in the medical image to be tested can be obtained, and the proportion of the lesion occupied by the detection region of the lesion in the organ region can be obtained. reference information, so as to improve user experience.
  • the method further includes: preprocessing the medical image to be tested, wherein the operation of preprocessing at least includes: using a preset window value to The pixel values of the medical image are normalized to a predetermined range.
  • the medical image to be tested is preprocessed, and the preprocessing operation at least includes: using a preset window value to normalize the pixel value of the medical image to be tested to a preset range, The contrast of the medical image to be tested can be enhanced, and the accuracy of the subsequently extracted first feature map can be improved.
  • performing feature extraction on the medical image to be tested to obtain first feature maps of several dimensions including: using the feature extraction sub-network of the image detection model to perform feature extraction on the medical image to be tested to obtain first feature maps of several dimensions;
  • the lesion probability map is fused with the first feature maps of several dimensions to obtain a final fusion feature map, including: using the fusion processing sub-network of the image detection model to fuse the lesion probability map with the first feature maps of several dimensions to obtain the final Fusion feature map; performing detection processing on the final fused feature map to obtain detection results about lesions in the medical image to be tested, including: using the fusion processing sub-network of the image detection model to detect and process the final fused feature map to obtain the medical image to be tested The detection results of the lesions in .
  • the feature extraction sub-network of the image detection model to extract the features of the medical image to be tested, the first feature maps of several dimensions are obtained, and the fusion processing sub-network of the image detection model is used to combine the lesion probability map with the first feature maps of several dimensions.
  • the feature maps are fused to obtain the final fused feature map, and the fusion processing sub-network of the image detection model is used to detect and process the final fused feature map to obtain the detection results of the lesions in the medical image to be tested, so as to perform feature extraction through the image detection model. , fusion processing, and image detection tasks, which can help improve the efficiency of image detection.
  • the method further includes: acquiring a sample medical image, wherein the sample medical image includes the actual area of the lesion ; Use the feature extraction sub-network to perform feature extraction on the sample medical image, and obtain the first sample feature map of several dimensions; take the first sample feature map of the preset dimension as the reference sample feature map, and use the reference sample feature map to generate lesions
  • the sample probability map in which the lesion sample probability map is used to represent the probability that different regions of the sample medical image belong to the lesion; the fusion processing sub-network is used to fuse the lesion sample probability map with the first sample feature maps of several dimensions to obtain the final Fuse the sample feature maps; use the fusion processing sub-network to detect and process the final fused sample feature maps to obtain the detection area of the lesion in the sample medical image; use the difference between the actual area and the detection area to adjust the network parameters of the image detection model
  • a first sample feature map of several dimensions is obtained, so that the preset dimension
  • the first sample feature map is used as the reference sample feature map
  • the reference sample feature map is used to generate the lesion sample probability map
  • the lesion sample probability map is used to represent the probability that different areas of the sample medical image belong to the lesion, and then the lesion probability map is combined with the lesion probability map.
  • the first sample feature maps of several dimensions are fused to obtain the final fused sample feature map, so as to perform detection processing on the final fused sample feature map to obtain the detection area of the lesion in the sample medical image, and use the actual area and the detection area. Therefore, in the training process of the image detection model, the probability map of the lesion sample can be used as a global feature to couple with the decoding process of image detection, so that the final fusion sample feature map can strengthen the detection of lesions. Therefore, the sensitivity of the image detection model to the lesions can be enhanced, and the training speed of the model can be improved.
  • using the difference between the actual area and the detection area to adjust the network parameters of the feature extraction sub-network and the fusion processing sub-network includes: using the set similarity loss function to process the actual area and the detection area, and determine the loss value of the image detection model ; Use the loss value to adjust the network parameters of the image detection model with a preset learning rate.
  • using the set similarity loss function to process the actual area and the detection area to determine the loss value of the image detection model can ensure the accuracy of the loss value, so as to use the loss value to adjust the network of the image detection model with a preset learning rate
  • the parameters can reduce the difference between the detection area and the actual area during the training process, and improve the accuracy of the image detection model.
  • the embodiment of the present application also provides an image detection device, including an image acquisition module, a feature extraction module, an image generation module, an image fusion module and an image detection model, where the image acquisition module is configured to acquire a medical image to be tested; the feature extraction module is configured as Perform feature extraction on the medical image to be tested to obtain first feature maps of several dimensions; the image generation module is configured to use the first feature map of preset dimensions as a reference feature map, and use the reference feature map to generate a lesion probability map, wherein the lesion probability The map is used to represent the probability that different areas of the medical image to be tested belong to the lesion; the image fusion module is configured to fuse the lesion probability map with the first feature maps of several dimensions to obtain the final fusion feature map; the detection processing module is configured to The feature map is fused to perform detection processing, and the detection result of the lesion in the medical image to be tested is obtained.
  • the image acquisition module is configured to acquire a medical image to be tested
  • the feature extraction module is configured as Perform feature extraction on the medical image to be
  • An embodiment of the present application further provides an electronic device, including a memory and a processor coupled to each other, where the processor is configured to execute program instructions stored in the memory, so as to implement the image detection method in the first aspect.
  • Embodiments of the present application further provide a computer-readable storage medium, on which program instructions are stored, and when the program instructions are executed by a processor, the image detection method in the first aspect above is implemented.
  • Embodiments of the present application further provide a computer program, including computer-readable codes.
  • a processor in the electronic device executes any one of the above image detection methods.
  • first feature maps of several dimensions are obtained, and the first feature map of preset dimensions is used as a reference feature map, so as to generate a lesion probability map by using the reference feature map , and the lesion probability map is used to represent the probability that different areas of the medical image to be tested belong to the lesion, and then the lesion probability map is fused with the first feature maps of several dimensions to obtain the final fusion feature map, so the lesion probability map can be used as a global
  • the features are fused with the first feature map, so that the final fusion feature map can enhance the specificity of the lesion, and then the detection result of the lesion in the medical image to be tested can be obtained by performing detection processing through the final fusion feature map, which can improve image detection. accuracy.
  • FIG. 1 is a schematic flowchart of an embodiment of an image detection method of the present application.
  • FIG. 2 is a schematic diagram of a framework of an embodiment of an image detection model
  • FIG. 3 is a schematic flowchart of another embodiment of the image detection method of the present application.
  • FIG. 4 is a schematic flowchart of an embodiment of a training image detection model
  • FIG. 5 is a schematic frame diagram of an embodiment of an image detection apparatus of the present application.
  • FIG. 6 is a schematic diagram of a framework of an embodiment of an electronic device of the present application.
  • FIG. 7 is a schematic diagram of a framework of an embodiment of a computer-readable storage medium of the present application.
  • system and “network” are often used interchangeably herein.
  • the term “and/or” in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, and A and B exist independently B these three cases.
  • the character "/” in this document generally indicates that the related objects are an “or” relationship.
  • “multiple” herein means two or more than two.
  • FIG. 1 is a schematic flowchart of an embodiment of an image detection method of the present application. Specifically, the following steps can be included:
  • Step S11 Acquire the medical image to be tested.
  • the medical images to be tested may include CT images and nuclear magnetic resonance (Magnetic Resonance, MR) images, which are not limited herein.
  • the medical image to be tested may be an image obtained by scanning a lung area, a liver area, a heart area, etc., which is not limited here, and may be set according to actual application conditions.
  • the lung area can be scanned when the lungs need to be tested to screen for pneumonia; or the liver can be scanned when the liver needs to be tested to screen for changes in the liver Area scanning, etc., other application situations can be deduced by analogy, and will not be listed one by one here.
  • the medical image to be tested may be a two-dimensional medical image; in another implementation scenario, the medical image to be tested may also be a two-dimensional medical image included in a three-dimensional medical image, for example, a CT scan is performed on a scanned object After obtaining the three-dimensional CT data, the medical image to be tested may be a two-dimensional medical image included in the three-dimensional CT data.
  • Step S12 Perform feature extraction on the medical image to be tested to obtain a first feature map of several dimensions.
  • the medical image to be tested may also be preprocessed before the feature extraction, for example, at least a preset window value is used to normalize the pixel value of the medical image to be tested to a preset range, so that it can be The contrast of the medical image to be tested is enhanced, and the accuracy of the extracted first feature map is improved.
  • the preset window value can be set according to the scanning position. For example, when the medical image to be tested is a CT image obtained by scanning the lungs, the preset window value can be -1400 to 100 Hounsfield Unit (HU) , other parts can be set according to the actual situation, and no examples will be given here.
  • HU Hounsfield Unit
  • the preset range can be set to 0 to 1, so that when the medical image to be tested is a CT image obtained by scanning the lungs, and the preset window value is -1400 to 100 Heinz units, the pixel value can be set lower than -1400 set the pixels of the -1400 to -1400, and set the pixels with a pixel value higher than 100 to 100, and finally map the pixel values in the range of -1400 to 100 to the range of 0 to 1.
  • the preset window value and the preset range are other values, it can be deduced by analogy, and the examples will not be exemplified here.
  • an image detection model may also be pre-trained, and the image detection model may include a feature extraction sub-network, so that the feature extraction sub-network of the image detection model Feature extraction to obtain a first feature map of several dimensions.
  • Several dimensions can be one dimension or multiple dimensions, for example, two dimensions, three dimensions, etc., which are not limited here.
  • the network depth of the feature extraction sub-network is set according to the actual situation, so as to obtain different dimension of the first feature map. The higher the dimension, the larger the number of channels of the corresponding first feature map and the smaller the resolution.
  • the feature extraction sub-network may include multiple sequentially connected feature extraction sub-modules, and the feature extraction sub-module may perform processing tasks such as convolution, regularization, activation, and pooling.
  • the feature extraction sub-module may include Any one of Residual Block, Inception Block, and Dense Block is not limited here.
  • the pooling process may include any one of max pooling (Max Pooling), average pooling (Average Pooling), and a convolutional layer with a stride (Stride) of 2, which is not limited herein.
  • first feature maps from low to high dimensions can be sequentially obtained, and when the feature extraction sub-modules are executed, the number of channels is doubled and the resolution is halved.
  • the resolution of the medical image to be tested is 256*256
  • the number of channels of the first feature map extracted by the first feature extraction sub-module in FIG. 2 is 64
  • the resolution is 128*128.
  • the size of the map is uniformly expressed as the number of channels * resolution, that is, 64*128*128.
  • the size of the first feature map extracted by the second feature extraction sub-module connected in sequence is 128*64*64
  • the size of the third feature extraction is 128*64*64.
  • the size of the first feature map extracted by the submodule is 256*32*32, and the size of the first feature map extracted by the fourth feature extraction submodule is 512*16*16.
  • Step S13 using the first feature map of the preset dimension as a reference feature map, and using the reference feature map to generate a lesion probability map.
  • the lesion probability map is used to represent the probability that different regions in the medical image to be tested belong to the lesion.
  • the reference feature map may include the first feature map with the highest dimension, that is, the first feature map with a size of 512*16*16, and each pixel point in the reference feature map It can correspond to a 16*16 area in the medical image to be tested, so the pixel value of each pixel in the lesion probability map generated by the reference feature map can represent the probability that a 16*16 area in the medical image to be tested belongs to the lesion .
  • the reference feature map may also include a first feature map of other dimensions.
  • the reference feature map may also include a first feature map that is one dimension lower than the first feature map with the highest dimension, which is not limited herein.
  • the first feature map of other dimensions may also be selected with reference to the feature map, which is not limited herein.
  • a class activation map (CAM) can be generated by counting the gradient values of each pixel in the reference feature map with respect to the lesion, and the class activation map can be used as the Lesion probability map.
  • the reference feature map can be used to perform prediction processing to obtain the first probability value y c of the lesion contained in the medical image to be tested, so that by calculating the first probability value y c for each pixel of the reference feature map
  • the gradient value of in where k represents the kth reference feature map in the reference feature maps of multiple channels, and ij represents the pixel point in the ith row and the jth column in the kth reference feature map.
  • an image detection model can be pre-trained, and the image detection model includes a prediction processing sub-network, so that the prediction processing sub-network can be used to perform prediction processing on the reference feature map to obtain the first probability that the medical image to be tested contains a lesion value.
  • the prediction processing sub-network can include a global average pooling and a fully connected layer.
  • GAP Global Average Pooling
  • the reference feature map can be used for prediction processing to obtain the first probability value of the lesion contained in the medical image to be tested, and based on the first probability value, it is determined whether to use the reference feature map to generate the lesion probability Figure steps and next steps.
  • the method of using the reference feature map to perform prediction processing to obtain the first probability value may refer to the relevant description in the foregoing implementation scenario, and details are not repeated here.
  • a probability threshold can be preset, and when the first probability value is lower than the probability threshold, it can be considered that the medical image to be tested does not contain lesions, and the use of reference feature maps to generate lesions can no longer be performed.
  • the steps of the probability map and subsequent steps can greatly reduce the possibility of obtaining false positive results by still performing image detection on the medical image to be tested in this case.
  • the probability threshold can be set according to the actual application. For example, it can be set to a value lower than 20%, 30%, etc., so that the medical images to be tested that have a high probability of not containing lesions are not subjected to subsequent detection, so as to improve the detection efficiency. , and reduce the likelihood of false positive results.
  • Step S14 fuse the lesion probability map with the first feature maps of several dimensions to obtain a final fusion feature map.
  • the lesion probability map and the first feature maps of several dimensions may be fused according to the order of dimensions from high to low to obtain the final fusion feature map.
  • the reference feature map can be encoded by using the lesion probability map to obtain a second feature map, and the second feature map can be fused with the first feature maps of several dimensions to obtain the final fused feature map, thereby
  • the lesion probability map is used as a global feature to participate in the feature map fusion, so that the final fusion feature map can enhance the specificity of the lesion, which can help improve the accuracy of subsequent image detection.
  • the size of the reference feature map is 512*16*16, corresponding to each reference feature map of 512 channels, and the corresponding lesion probability map is obtained.
  • the size of the probability map is 512*16*16, and then the lesion probability map of size 512*16*16, the reference feature map of size 512*16*16, and the first feature map of size 256*32*32 can be combined , the first feature map with a size of 128*64*64, and the first feature map with a size of 64*128*128 are fused to obtain the final fusion feature map with a channel number of 1.
  • the pixel value of the first pixel in the lesion probability map can be directly compared with the pixel value of the second pixel corresponding to the first pixel in the reference feature map. Multiply to obtain the pixel value of the corresponding pixel of the second feature map.
  • a reference feature map with a size of 512*16*16 and a corresponding lesion probability map with a size of 512*16*16 can be obtained, so
  • the pixel value of the first pixel in the lesion probability map can be multiplied by the pixel value of the second pixel corresponding to the first pixel in the reference feature map of the corresponding channel to obtain the second pixel of the corresponding channel.
  • a second feature map with a size of 512*16*16 can be obtained.
  • the second feature map and the first feature map of each dimension sorted according to the above order can be arranged in the order of dimensions from high to low. Fusion is performed to obtain the final fusion feature map, which can be beneficial to fully fuse context information.
  • the reference feature map and the first low-dimensional feature map may be fused to obtain a first fused feature map with the same dimension as the first low-dimensional feature map, and the first low-dimensional feature map is a first low-dimensional feature map lower than the reference feature map.
  • Two low-dimensional feature maps are fused to obtain a new second fused feature map with the same dimension as the second low-dimensional feature map, until the first feature maps of several dimensions are fused, wherein the second low-dimensional feature map is a ratio of The first feature map that is one dimension lower than the current second fusion feature map, and the second fusion feature map obtained by final fusion can be used as the final fusion feature map.
  • the reference feature map with a size of 512*16*16 and its corresponding first low-dimensional feature map that is, the first feature with a size of 256*32*32
  • the number of channels of the reference feature map with a size of 512*16*16 can be halved and the resolution doubled, so as to adjust its size to be the same as the corresponding first low-dimensional feature map, and then Combine the adjusted reference feature map and the first low-dimensional feature map with a size of 256*32*32 into a feature map with a size of 512*32*32.
  • the number of channels can be halved to obtain The first fused feature map with the same size as the first low-dimensional feature map, that is, the first fused feature map with a size of 256*32*32. Then fuse the second feature map with a size of 512*16*16 and the first fusion feature map.
  • the fusion process you can first halve the number of channels of the second fusion feature map with a size of 256*32*32 and multiply the resolution, so as to adjust its size to be consistent with the corresponding second low-dimensional feature map, and then adjust the adjusted
  • the second fusion feature map and the corresponding second low-dimensional feature map (that is, the second feature map with a size of 128*64*64) are combined into a feature map with a size of 256*64*64.
  • the number of channels is halved, and a new second fusion feature map with the same size as the corresponding second low-dimensional feature map is obtained, that is, a second fusion feature map with a size of 128*64*64. Then perform the step of fusing the second fusion feature map with a size of 128*64*64 and the corresponding second low-dimensional feature map (ie, the second feature map with a size of 64*128*128).
  • the fusion process you can first halve the number of channels of the second fusion feature map with a size of 128*64*64 and multiply the resolution, so as to adjust its size to be consistent with the corresponding second low-dimensional feature map, and then adjust the adjusted
  • the second fusion feature map and the corresponding second low-dimensional feature map (that is, the second feature map with a size of 64*128*128) are combined into a feature map with a size of 128*128*128.
  • the same The number of channels is halved, and a new second fusion feature map with the same size as the corresponding second low-dimensional feature map is obtained, that is, a second fusion feature map with a size of 64*128*128.
  • the feature maps are all fused, so the second fused feature map with a size of 64*128*128 obtained by the final fusion can be used as the final fused feature map.
  • Other situations can be deduced by analogy, and no examples are given here.
  • an image detection model in order to improve the efficiency of fusion processing, can be pre-trained, and the image detection model includes a fusion processing sub-network, so that the fusion processing sub-network of the image detection model is used to combine the lesion probability map with the The first feature maps of several dimensions are fused to obtain the final fused feature map.
  • the fusion processing sub-network includes a plurality of sequentially connected fusion processing sub-modules, and is configured to perform fusion of the lesion probability map and the first feature maps of several dimensions, Steps to get the final fused feature map.
  • Each fusion processing sub-module can perform processing operations such as upsampling, convolution, regularization, activation, merging, convolution, regularization, and activation.
  • processing operations such as upsampling, convolution, regularization, activation, merging, convolution, regularization, and activation.
  • the upsampling process is used to Resolution doubling of higher-dimensional feature maps of size 512*16*16, resulting in feature maps of size 512*32*32; the first convolution process is used to double the resolution during fusion.
  • the number of channels of the dimensional feature map (that is, the feature map with a size of 512*32*32) is halved to obtain a feature map with the same size as the corresponding low-dimensional feature map (that is, the size is adjusted to 256*32*32);
  • the adjusted higher-dimensional feature map and its corresponding low-dimensional feature map are combined to double the number of channels, that is, the size of the combined feature map is 512*32*32
  • the second convolution process In the fusion process, the feature map obtained by doubling the number of channels obtained after merging is halved again, so that the size of the fusion feature map obtained by this fusion is the same as the size of the corresponding low-dimensional feature map, that is, the size is 256 *32*32 fused feature map.
  • Step S15 performing detection processing on the final fusion feature map to obtain a detection result about the lesion in the medical image to be tested.
  • the detection result may include the detection area of the lesion in the image to be measured.
  • a line of a preset color and a preset line type may be used to represent the detection area, which is not limited herein.
  • the medical image to be tested is a two-dimensional medical image included in the three-dimensional medical image, so the detection area detected in the two-dimensional medical image can be used to obtain the detection area of the lesion in the three-dimensional medical image, for example,
  • the detection area detected in the 2D medical image can be fused in a 3D space such as stacking, so as to obtain the detection area of the lesion in the 3D medical image, which can be set according to the actual application, which is not limited here.
  • an image detection model in order to improve the efficiency of detection processing, can be pre-trained, and the image detection model can include a fusion processing sub-network, so that the fusion processing sub-network of the image detection model can be used to fuse the final fusion feature map.
  • a detection process is performed to obtain a detection result about the lesion in the medical image to be tested.
  • the fusion processing sub-network may include, in addition to a plurality of fusion processing sub-modules connected in sequence, an activation processing sub-network connected to the last of the sequentially connected plurality of fusion processing sub-modules.
  • the activation processing sub-module is configured to convolve and activate the final fusion feature image to obtain a feature map with a channel number of 1, and normalize the feature map to obtain the detection result of the lesion.
  • the activation processing sub-module may include a sequentially connected convolution layer and an activation layer, and the activation layer may adopt a sigmoid activation function, which may be set according to actual application conditions, which is not limited here.
  • organ detection in order to provide clinical reference, organ detection can also be performed on the medical image to be tested to obtain the organ region in the medical image to be tested, so that the proportion of the lesion occupied by the detection region of the lesion in the organ region can be obtained, and then It can provide doctors with clinical reference information and improve user experience.
  • lung detection can be performed on the medical image to be tested to obtain the lobe area of the lung in the medical image to be tested, so that the proportion of the lesion occupied by the detected area of the lesion in the lobe area of the lung can be obtained.
  • Other application scenarios can be deduced by analogy, which is not limited here.
  • an organ detection model can also be pre-trained, so that the organ detection model can be used to perform organ detection on the medical image to be tested to obtain the organ region in the medical image to be tested.
  • the organ detection model may be based on U-net, fully convolutional networks (Fully Convolutional Networks, FCN), etc., which are not limited here.
  • first feature maps of several dimensions are obtained, and the first feature map of preset dimensions is used as a reference feature map, so as to generate a lesion probability map by using the reference feature map , and the lesion probability map is used to represent the probability that different areas of the medical image to be tested belong to the lesion, and then the lesion probability map is fused with the first feature maps of several dimensions to obtain the final fusion feature map, so the lesion probability map can be used as a global
  • the features are fused with the first feature map, so that the final fusion feature map can enhance the specificity of the lesion, and then the detection result of the lesion in the medical image to be tested can be obtained by performing detection processing through the final fusion feature map, which can improve image detection. accuracy.
  • FIG. 3 is a schematic flowchart of another embodiment of the image detection method of the present application. Specifically, the following steps can be included:
  • Step S31 Acquire the medical image to be tested.
  • Step S32 Perform feature extraction on the medical image to be tested to obtain first feature maps of several dimensions.
  • Step S33 using the first feature map of the preset dimension as a reference feature map, and performing prediction processing by using the reference feature map to obtain a first probability value that the medical image to be tested contains a lesion.
  • an image detection model can be pre-trained, and the image detection model includes a prediction processing sub-network, so that the prediction processing sub-network can be used to perform prediction processing on the reference feature map to obtain the first probability that the medical image to be tested contains a lesion value.
  • the prediction processing sub-network can be used to perform prediction processing on the reference feature map to obtain the first probability that the medical image to be tested contains a lesion value.
  • Step S34 Based on the first probability value, determine whether to perform the step of generating the probability map of the lesion by using the reference feature map and the subsequent steps, if yes, perform step S35, otherwise, perform step S38.
  • the first probability value when the first probability value satisfies the first preset condition, it may be determined to perform the step of generating the lesion probability map by using the reference feature map and the subsequent steps.
  • the first preset condition may include that the first probability value is greater than or equal to the first probability threshold, and the first probability threshold may be set according to practical applications, for example, may be set to 15%, 20%, 25%, etc., here Not limited.
  • the medical image to be tested is a two-dimensional medical image included in the three-dimensional medical image, so the first probability values of the two-dimensional medical image can be sorted in descending order, and the pre-set probability value can be selected
  • the number of first probability values, the preset number can be set according to the actual situation, for example, can be set to 5, 6, etc., which is not limited here.
  • Preset processing is performed on a preset number of first probability values, for example, an average operation is performed on a preset number of first probability values to obtain a second probability value, and when the second probability value satisfies the second preset condition,
  • the step of generating the lesion probability map using the reference feature map and subsequent steps may be determined to be performed.
  • the second preset condition may include that the second probability value is greater than or equal to the second probability threshold, and the second probability threshold may be set according to practical applications, for example, may be set to 15%, 20%, 25%, etc. Do limit.
  • Step S35 generating a lesion probability map using the reference feature map.
  • Step S36 fuse the lesion probability map with the first feature maps of several dimensions to obtain a final fusion feature map.
  • Step S37 Perform detection processing on the final fusion feature map to obtain a detection result about the lesion in the medical image to be tested.
  • Step S38 Prompt that the medical image to be tested does not contain a lesion.
  • the step of generating the lesion probability map using the reference feature map and subsequent steps are not to be performed, it may be determined that the medical image to be tested does not contain a lesion.
  • the first probability value of the lesion contained in the medical image to be tested is obtained, and based on the first probability value, it is determined whether to perform the step of using the reference feature map to generate the lesion probability map and subsequent steps. , which can avoid false positive detection results when the medical image to be tested does not contain lesions, which can further improve the accuracy of image detection, and because the negative data can be pre-screened before detection, it can improve image detection. s efficiency.
  • FIG. 4 is a schematic flowchart of an embodiment of training an image detection model.
  • the image detection model may be trained before using the feature extraction sub-network of the image detection model to perform feature extraction on the medical image to be tested.
  • the training steps may include:
  • Step S41 Obtain a sample medical image, wherein the sample medical image includes the actual area of the lesion.
  • the sample medical images may include CT images and MR images, which are not limited herein.
  • the sample medical image may be an image obtained by scanning a lung area, a liver area, a heart area, etc., which is not limited here, and may be specifically set according to actual application conditions.
  • the sample medical image may be a 2D medical image included in the 3D medical image.
  • the sample medical image may be a 2D medical image included in the 3D CT data.
  • dimensional medical images are examples of medical images.
  • data enhancement can also be performed on the sample medical image; in another implementation scenario, in order to improve the contrast of the sample medical image, the pixels of the sample medical image can also be enhanced by a preset window value. Values are normalized to within a preset range. For the specific setting method of the preset window value and the preset range, reference may be made to the relevant steps in the foregoing embodiments, and details are not described herein again.
  • Step S42 using the feature extraction sub-network to perform feature extraction on the sample medical image to obtain a first sample feature map of several dimensions.
  • Step S43 using the first sample feature map of the preset dimension as the reference sample feature map, and using the reference sample feature map to generate a lesion sample probability map.
  • the lesion sample probability map is used to represent the probability that different regions in the sample medical image belong to the lesion.
  • the acquisition method of the probability map of the lesion sample reference may be made to the steps of acquiring the probability map of the lesion in the foregoing embodiment, which will not be repeated here.
  • Step S44 using the fusion processing sub-network to fuse the lesion sample probability map with the first sample feature maps of several dimensions to obtain a final fused sample feature map.
  • Step S45 use the fusion processing sub-network to perform detection processing on the final fusion sample feature map to obtain a detection area related to the lesion in the sample medical image.
  • Step S46 Using the difference between the actual area and the detection area, adjust the network parameters of the image detection model.
  • a set similarity loss function can be sampled to process the actual area and the detection area to determine the loss value of the image detection model, so as to use the loss value with a preset learning rate (for example, 3e-4 ) to adjust the network parameters of the image detection model.
  • a cross-entropy loss function CE loss
  • CE loss can also be used to process the actual area and the detection area to determine the loss value of the image detection model, so as to use the loss value to use a preset learning rate (for example, 3e- 4) Adjust the network parameters of the image detection model. This is not limited.
  • the image detection model further includes a prediction processing sub-network, and the prediction processing sub-network is used to perform prediction processing on the feature map of the reference sample to obtain the predicted probability of the lesion included in the feature map of the reference sample,
  • the prediction probability can also be processed by the binary cross-entropy loss function to determine the classification loss value of the image detection model, and the loss value and classification loss of the image detection model determined by processing the actual area and the detection area The value is weighted to obtain the weighted loss value of the image detection model, and then the network parameters of the image detection model are adjusted by using the weighted loss value.
  • a training end condition may also be preset, and when the preset training end condition is satisfied, the training of the image detection model may be ended.
  • the training end condition may include any one of: the loss value is less than a preset loss threshold, and the number of training times reaches a preset number of times threshold, which is not limited herein.
  • the preset loss threshold and the preset number of times threshold may be set according to actual conditions. For example, the preset number of times threshold may be set to 1000 times, 2000 times, and so on. This is not limited.
  • methods such as Stochastic Gradient Descent (SGD), Batch Gradient Descent (BGD), Mini-Batch Gradient Descent (MBGD), etc. can be used to utilize the loss value pair
  • the network parameters of the image detection model are adjusted.
  • batch gradient descent means that all samples are used to update parameters at each iteration; stochastic gradient descent means that one sample is used to update parameters at each iteration; mini-batch gradient descent means that at each iteration When , a batch of samples is used to update the parameters, which will not be repeated here.
  • a first sample feature map of several dimensions is obtained, so as to predict
  • the first sample feature map of the dimension is set as the reference sample feature map, and the reference sample feature map is used to generate the lesion sample probability map, and the lesion sample probability map is used to represent the probability that different regions in the sample medical image belong to the lesion, and then the lesion is classified as a lesion.
  • the probability map is fused with the first sample feature map of several dimensions to obtain the final fused sample feature map, so as to perform detection processing on the final fused sample feature map to obtain the detection area of the lesion in the sample medical image, and use the actual area and detection.
  • the difference between regions can be adjusted by adjusting the network parameters of the image detection model. Therefore, in the training process of the image detection model, the probability map of the lesion sample can be used as a global feature to couple with the decoding process of image detection, so that the final fusion sample feature map can be strengthened.
  • the specificity of the lesion can enhance the sensitivity of the image detection model to the lesion, which can help improve the training speed of the model.
  • FIG. 5 is a schematic diagram of a framework of an embodiment of an image detection apparatus 50 of the present application.
  • the image detection device 50 includes an image acquisition module 51, a feature extraction module 52, an image generation module 53, an image fusion module 54 and a detection processing module 55.
  • the image acquisition module 51 is configured to acquire a medical image to be tested; the feature extraction module 52 is configured to be tested.
  • the image generation module 53 is configured to use the first feature map of a preset dimension as a reference feature map, and use the reference feature map to generate a lesion probability map, wherein the lesion probability map It is configured to represent the probability that different areas of the medical image to be tested belong to the lesion;
  • the image fusion module 54 is configured to fuse the lesion probability map with the first feature maps of several dimensions to obtain the final fusion feature map;
  • the detection processing module 55 is used for Finally, the feature map is fused for detection processing, and the detection result of the lesion in the medical image to be tested is obtained.
  • first feature maps of several dimensions are obtained, and the first feature map of preset dimensions is used as a reference feature map, so as to generate a lesion probability map by using the reference feature map , and the lesion probability map is used to represent the probability that different areas of the medical image to be tested belong to the lesion, and then the lesion probability map is fused with the first feature maps of several dimensions to obtain the final fusion feature map, so the lesion probability map can be used as a global
  • the features are fused with the first feature map, so that the final fusion feature map can enhance the specificity of the lesion, and then the detection result of the lesion in the medical image to be tested can be obtained by performing detection processing through the final fusion feature map, which can improve image detection. accuracy.
  • the image detection apparatus 50 further includes a prediction processing module, the prediction processing module is configured to perform prediction processing using the reference feature map to obtain a first probability value that the medical image to be tested contains a lesion; the image detection apparatus 50 further includes An execution determination module is configured to determine, based on the first probability value, whether to execute the step of generating a lesion probability map using the reference feature map and subsequent steps.
  • the first probability value of the lesion contained in the medical image to be tested is obtained, and based on the first probability value, it is determined whether to perform the step of using the reference feature map to generate the lesion probability map and subsequent steps, In this way, false positive detection results can be avoided when the medical image to be tested does not contain lesions, which can further improve the accuracy of image detection, and because the negative data can be pre-screened before detection, the accuracy of image detection can be improved. efficiency.
  • the execution determination module is specifically configured to, when the first probability value satisfies the first preset condition, execute the step of generating the lesion probability map by using the reference feature map and the subsequent steps;
  • the execution determination module further includes a probability selection sub-module; the probability selection sub-module is configured to select the first probability value of the two-dimensional medical image according to Sorting from large to small, and selecting the first preset number of first probability values; the execution determination module further includes a probability processing sub-module, and the probability processing sub-module is configured to perform preset processing on a preset number of first probability values to obtain the second probability value; the execution determination module further includes a determination execution sub-module, the determination sub-module is configured to execute the step of using the reference feature map to generate the lesion probability map and subsequent steps when the second probability value satisfies the second preset condition .
  • the step of using the reference feature map to generate the lesion probability map and subsequent steps are performed, or, when the medical image to be tested is a two-dimensional medical image included in a three-dimensional medical image , sorting the first probability values of the two-dimensional medical images in descending order, selecting the first preset number of first probability values, and performing preset processing on the preset number of first probability values to obtain the second probability value, so that when the second probability value satisfies the second preset condition, the step of using the reference feature map to generate the probability map of the lesion and the subsequent steps are performed, which is beneficial to pre-screening negative data before detection, thereby improving the image quality. Detection accuracy and efficiency.
  • the first preset condition includes: the first probability value is greater than or equal to the first probability threshold; the second preset condition includes: the second probability value is greater than or equal to the second probability threshold; the preset processing is an average operation .
  • the preset processing setting is an average operation, so that the calculation amount of the second probability value can be reduced, and the second probability value can accurately reflect the possibility that the three-dimensional medical image contains lesions.
  • the execution determination module is further configured to determine that the medical image to be tested does not contain a lesion when the first probability value does not satisfy the first preset condition or the second probability value does not satisfy the second preset condition.
  • the image generation module 53 is specifically configured to count the gradient values of each pixel in the reference feature map with respect to the lesion, generate a class activation map, and use the class activation map as the lesion probability map.
  • the class activation map is generated as the lesion probability map, which can improve the accuracy of the lesion probability map, which can help improve the accuracy of subsequent image detection.
  • the image fusion module 54 includes an encoding processing submodule, and the encoding processing submodule is configured to perform encoding processing on the reference feature map by using the lesion probability map to obtain the second feature map; the image fusion module 54 includes a fusion processing submodule, The fusion processing sub-module is configured to fuse the second feature map with the first feature maps of several dimensions to obtain a final fusion feature map.
  • the second feature map is obtained, and the second feature map is fused with the first feature maps of several dimensions to obtain the final fusion feature map, so it can be
  • the lesion probability map is used as a global feature to participate in the feature map fusion, so that the final fusion feature map can enhance the specificity of the lesion, which can help improve the accuracy of subsequent image detection.
  • the encoding processing sub-module is specifically configured to multiply the pixel value of the first pixel point in the lesion probability map and the pixel value of the second pixel point corresponding to the first pixel point in the reference feature map to obtain the second pixel value.
  • the fusion processing sub-module is specifically configured to fuse the second feature map with the first feature map of each dimension in order in order of dimensions from high to bottom to obtain a final fused feature map.
  • the reference feature map is the first feature map with the highest dimension;
  • the fusion processing sub-module includes a first fusion unit, and the first fusion unit is configured to fuse the reference feature map and the first low-dimensional feature map to obtain the same The first fusion feature map with the same dimension of the first low-dimensional feature map, wherein the first low-dimensional feature map is a first feature map with one dimension lower than the reference feature map;
  • the fusion processing submodule includes a second fusion unit, and the second fusion unit is configured to fuse the second feature map with the first fusion feature map to obtain a second fusion feature map with the same dimension as the first fusion feature map;
  • the fusion processing sub-module includes a third fusion unit, and the third fusion unit is configured to repeatedly perform the fusion of the second fusion feature map and the second low-dimensional feature map to obtain a new second low-dimensional feature map with the same dimension as the second low-dimensional feature map. Fusing the feature maps until the first feature maps of several dimensions are fused; wherein, the second low-dimensional feature map is the first feature map one dimension lower than the current second fused feature map;
  • the fusion processing sub-module includes a final fusion unit, and the final fusion unit is configured to use the second fusion feature map obtained by final fusion as the final fusion feature map.
  • the first fusion feature map with the same dimension as the first low-dimensional feature map is obtained, and the first low-dimensional feature map is lower than the reference feature map.
  • the second low-dimensional feature map is fused to obtain a new second fused feature map with the same dimension as the second low-dimensional feature map, until the first feature maps of several dimensions are fused, and the second low-dimensional feature map is a ratio of
  • the current second fusion feature map is one dimension lower than the first feature map
  • the second fusion feature map obtained by final fusion is used as the final fusion feature map
  • the lesion probability map can be used as a global feature to couple with the decoding process of image detection
  • the final fusion feature map can enhance the specificity of the lesion, and can fully integrate the context information of the feature map, improve the accuracy and feature richness of the final fusion feature map, and further improve the accuracy of subsequent image detection.
  • the detection result includes the detection area of the lesion in the medical image to be tested; the image detection apparatus 50 further includes an organ detection module, and the organ detection module is configured to perform organ detection on the medical image to be tested to obtain the organ in the medical image to be tested. area; the image detection apparatus 50 further includes a proportion acquisition module, which is configured to acquire the proportion of the lesion in the organ area occupied by the detection area of the lesion.
  • the organ region in the medical image to be tested can be obtained, and the proportion of the lesion occupied by the detection region of the lesion in the organ region can be obtained.
  • Clinical reference information to improve user experience.
  • the image detection apparatus 50 further includes a preprocessing module, and the preprocessing module is configured to preprocess the medical image to be tested, wherein the preprocessing operation at least includes: using a preset window value to convert pixels of the medical image to be tested. Values are normalized to within a preset range.
  • the medical image to be tested is preprocessed, and the preprocessing operation at least includes: using a preset window value to normalize the pixel value of the medical image to be tested to a preset range It can help to enhance the contrast of the medical image to be tested, and thus can help to improve the accuracy of the subsequently extracted first feature map.
  • the feature extraction module 52 is specifically configured to use the feature extraction sub-network of the image detection model to perform feature extraction on the medical image to be tested to obtain a first feature map of several dimensions;
  • the image fusion module 54 is specifically configured to use image detection
  • the fusion processing sub-network of the model fuses the lesion probability map with the first feature maps of several dimensions to obtain the final fusion feature map;
  • the detection processing module 55 is specifically configured to use the fusion processing sub-network of the image detection model to perform the final fusion feature map.
  • the detection process is performed to obtain a detection result about the lesion in the medical image to be tested.
  • the feature extraction sub-network of the image detection model to extract the features of the medical image to be tested, the first feature maps of several dimensions are obtained, and the fusion processing sub-network of the image detection model is used to combine the lesion probability map with several dimensions.
  • the first feature map is fused to obtain the final fused feature map, and the fusion processing sub-network of the image detection model is used to detect and process the final fused feature map, so as to obtain the detection result of the lesion in the medical image to be tested, so as to execute the image detection model.
  • Feature extraction, fusion processing, and image detection tasks which can help improve the efficiency of image detection.
  • the image detection apparatus 50 includes a sample image acquisition module, and the sample image acquisition module is configured to acquire a sample medical image, wherein the sample medical image includes the actual area of the lesion; the image detection apparatus 50 includes a sample feature extraction module, and the sample The feature extraction module is configured to use the feature extraction sub-network to perform feature extraction on the sample medical image to obtain a first sample feature map of several dimensions; the image detection device 50 includes a probability image generation module, and the probability image generation module is configured to preset dimensions.
  • the first sample feature map is used as a reference sample feature map, and the reference sample feature map is used to generate a lesion sample probability map, wherein the lesion sample probability map is used to represent the probability that different regions in the sample medical image belong to the lesion;
  • the image detection device 50 includes: A sample image fusion module, the sample image fusion module is configured to use a fusion processing sub-network to fuse the lesion sample probability map with the first sample feature maps of several dimensions to obtain a final fused sample feature map; the image detection device 50 includes a sample detection process.
  • the sample detection processing module is configured to use the fusion processing sub-network to perform detection processing on the final fusion sample feature map to obtain the detection area about the lesion in the sample medical image;
  • the image detection device 50 includes a training adjustment module, and the training adjustment module is configured to use the actual The difference between the region and the detection region, adjust the network parameters of the image detection model.
  • a first sample feature map of several dimensions is obtained, so as to predict
  • the first sample feature map of the dimension is set as the reference sample feature map, and the reference sample feature map is used to generate the lesion sample probability map, and the lesion sample probability map is used to represent the probability that different regions in the sample medical image belong to the lesion, and then the lesion is classified as a lesion.
  • the probability map is fused with the first sample feature map of several dimensions to obtain the final fused sample feature map, so as to perform detection processing on the final fused sample feature map to obtain the detection area of the lesion in the sample medical image, and use the actual area and detection.
  • the difference between regions can be adjusted by adjusting the network parameters of the image detection model. Therefore, in the training process of the image detection model, the probability map of the lesion sample can be used as a global feature to couple with the decoding process of image detection, so that the final fusion sample feature map can be strengthened.
  • the specificity of the lesion can enhance the sensitivity of the image detection model to the lesion, which can help improve the training speed of the model.
  • the training adjustment module includes a loss determination submodule, and the loss determination submodule is configured to process the actual area and the detection area by using the set similarity loss function to determine the loss value of the image detection model; the training adjustment module includes parameter adjustment The sub-module, the parameter adjustment sub-module is configured to use the loss value to adjust the network parameters of the image detection model with a preset learning rate.
  • FIG. 6 is a schematic diagram of a framework of an embodiment of an electronic device 60 of the present application.
  • the electronic device 60 includes a memory 61 and a processor 62 coupled to each other, and the processor 62 is configured to execute program instructions stored in the memory 61 to implement the steps of any of the image detection method embodiments described above.
  • the electronic device 60 may include, but is not limited to, a microcomputer and a server.
  • the electronic device 60 may also include mobile devices such as a notebook computer and a tablet computer, which are not limited herein.
  • the processor 62 is configured to control itself and the memory 61 to implement the steps of any of the image detection method embodiments described above.
  • the processor 62 may also be referred to as a central processing unit (Central Processing Unit, CPU).
  • the processor 62 may be an integrated circuit chip with signal processing capability.
  • the processor 62 may also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the processor 62 may be jointly implemented by an integrated circuit chip.
  • the above solution can improve the accuracy of image detection.
  • FIG. 7 is a schematic diagram of a framework of an embodiment of a computer-readable storage medium 70 of the present application.
  • the computer-readable storage medium 70 stores program instructions 701 that can be executed by the processor, and the program instructions 701 are used to implement the steps of any of the above image detection method embodiments.
  • the above solution can improve the accuracy of image detection.
  • the disclosed method and apparatus may be implemented in other manners.
  • the device implementations described above are only illustrative.
  • the division of modules or units is only a logical function division. In actual implementation, there may be other divisions.
  • units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.
  • Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed over network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this implementation manner.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium.
  • the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods of the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
  • Embodiments of the present application disclose an image detection method, device, device, computer-readable storage medium, and computer program, wherein the image detection method includes: acquiring a medical image to be tested; extracting features from the medical image to be tested to obtain several dimensions The first feature map of the first feature map; the first feature map of the preset dimension is used as the reference feature map, and the reference feature map is used to generate a lesion probability map, wherein the lesion probability map is used to indicate the probability of different regions in the medical image to be tested belong to the lesion; The lesion probability map and the first feature maps of several dimensions are fused to obtain a final fused feature map; the final fused feature map is detected and processed to obtain a detection result of the lesion in the medical image to be tested.
  • the above solution can improve the accuracy of image detection.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Multimedia (AREA)
  • Probability & Statistics with Applications (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Apparatus For Radiation Diagnosis (AREA)
  • Image Analysis (AREA)
  • Magnetic Resonance Imaging Apparatus (AREA)

Abstract

Disclosed in embodiments of the present application are an image detection method and apparatus, and a device, a computer-readable storage medium and a computer program, the image detection method comprising: acquiring a medical image to be subjected to detection; performing feature extraction on said medical image so as to obtain first feature maps of several dimensions; using a first feature map of a preset dimension as a reference feature map, and generating a lesion probability graph by using the reference feature map, wherein the lesion probability graph is used to represent the probabilities of different regions in said medical image having lesions; fusing the lesion probability graph with the first feature maps of the several dimensions so as to obtain a final fused feature map; and performing detection processing on the final fused feature map, so as to obtain a detection result of lesions in said medical image.

Description

图像检测方法、装置、设备、介质和程序Image detection method, apparatus, equipment, medium and program
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202110214861.X、申请日为2021年2月25日,名称为“图像检测方法及相关装置、设备”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202110214861.X and the filing date of February 25, 2021, entitled "Image Detection Method and Related Apparatus and Equipment", and claims the priority of the Chinese patent application. The entire contents of the patent application are incorporated herein by reference.
技术领域technical field
本申请涉及人工智能技术领域,涉及但不限于一种图像检测方法、装置、设备、计算机可读存储介质和计算机程序。The present application relates to the technical field of artificial intelligence, and relates to, but is not limited to, an image detection method, apparatus, device, computer-readable storage medium, and computer program.
背景技术Background technique
计算机断层扫描(Computed Tomography,CT)等医学图像在临床具有重要意义。例如,医生可以通过医学图像发现肺炎等器官病灶。以及随着信息技术的发展,诸如计算机等具备处理能力的电子设备逐渐在各行各业替代人工执行任务。在临床应用领域,通过利用电子设备对医学图像进行检测,从而得到医学图像中关于病灶的检测结果,以在临床中辅助医生。Medical images such as Computed Tomography (CT) are of great clinical significance. For example, doctors can find organ lesions such as pneumonia through medical images. And with the development of information technology, electronic devices with processing capabilities such as computers are gradually replacing manual tasks in all walks of life. In the field of clinical application, by using electronic equipment to detect medical images, the detection results of lesions in the medical images can be obtained to assist doctors in clinical practice.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种图像检测方法、装置、设备、计算机可读存储介质和计算机程序。Embodiments of the present application provide an image detection method, apparatus, device, computer-readable storage medium, and computer program.
本申请实施例提供了一种图像检测方法,包括:获取待测医学图像;对待测医学图像进行特征提取,得到若干个维度的第一特征图;以预设维度的第一特征图作为参考特征图,利用参考特征图生成病灶概率图,其中,病灶概率图用于表示待测医学图像中的不同区域属于病灶的概率;将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图;对最终融合特征图进行检测处理,得到待测医学图像中关于病灶的检测结果。An embodiment of the present application provides an image detection method, including: acquiring a medical image to be tested; performing feature extraction on the medical image to be tested to obtain a first feature map of several dimensions; using the first feature map of a preset dimension as a reference feature Figure, using the reference feature map to generate a lesion probability map, where the lesion probability map is used to represent the probability that different areas in the medical image to be tested belong to the lesion; the lesion probability map is fused with the first feature maps of several dimensions to obtain the final Fusion feature map; detection processing is performed on the final fused feature map to obtain the detection result of the lesion in the medical image to be tested.
因此,通过对获取得到的待测医学图像进行特征提取,从而得到若干维度的第一特征图,并以预设维度的第一特征图作为参考特征图,从而利用参考特征图生成病灶概率图,且病灶概率图用于表示待测医学图像中的不同区域属于病灶的概率,进而将病灶概率图与若干维度的第一特征图进行融合,得到最终融合特征图,故使得病灶概率图能够作为全局特征与第一特征图进行融合,使得最终融合特征图能够强化对病灶的特异性,进而再通过最终融合特征图进行检测处理而得到待测医学图像中关于病灶的检测结果时,能够提高图像检测的准确性。Therefore, by performing feature extraction on the obtained medical image to be tested, a first feature map of several dimensions is obtained, and the first feature map of a preset dimension is used as a reference feature map, so that the reference feature map is used to generate a lesion probability map, And the lesion probability map is used to represent the probability that different areas in the medical image to be tested belong to the lesion, and then the lesion probability map is fused with the first feature maps of several dimensions to obtain the final fusion feature map, so the lesion probability map can be used as a global The features are fused with the first feature map, so that the final fusion feature map can enhance the specificity of the lesion, and then the detection result of the lesion in the medical image to be tested can be obtained by performing detection processing through the final fusion feature map, which can improve image detection. accuracy.
其中,利用参考特征图生成病灶概率图之前,方法还包括:利用参考特征图进行预测处理,得到待测医学图像中包含病灶的第一概率值;基于第一概率值,确定是否执行利用参考特征图生成病灶概率图的步骤以及后续步骤。Wherein, before using the reference feature map to generate the lesion probability map, the method further includes: using the reference feature map to perform prediction processing to obtain a first probability value of the lesion contained in the medical image to be tested; and determining whether to perform the use of the reference feature based on the first probability value. Steps to generate a lesion probability map and subsequent steps.
因此,通过利用参考特征图进行预测处理,得到待测医学图像中包含病灶的第一概率值,并基于第一概率值,确定是否执行利用参考特征图生成病灶概率图的步骤以及后续步骤,从而有利于解决当待测医学图像中不包含病灶而检测得到假阳检测结果的问题,进而能够有利于进一步提高图像检测的准确性,且由于能够在检测之前预先筛除阴性数据,故能够提高图像检测的效率。Therefore, by using the reference feature map for prediction processing, the first probability value of the lesion contained in the medical image to be tested is obtained, and based on the first probability value, it is determined whether to execute the step of using the reference feature map to generate the lesion probability map and the subsequent steps, so as to It is beneficial to solve the problem of false positive detection results obtained when the medical image to be tested does not contain lesions, which can further improve the accuracy of image detection, and because the negative data can be pre-screened before detection, it can improve the image quality. detection efficiency.
其中,基于第一概率值,确定是否执行利用参考特征图生成病灶概率图的步骤以及后续步骤,包括:若第一概率值满足第一预设条件,则执行利用参考特征图生成病灶概率图的步骤以及后续步骤;或者,在待测医学图像为三维医学图像所包含的二维医学图 像的情况下;基于第一概率值,确定是否执行利用参考特征图生成病灶概率图的步骤以及后续步骤,包括:将二维医学图像对应的第一概率值按照有大到小的顺序进行排序,并选择前预设数量个第一概率值;对预设数量个第一概率值进行预设处理,得到第二概率值;若第二概率值满足第二预设条件,则执行利用参考特征图生成病灶概率图的步骤以及后续步骤。Wherein, based on the first probability value, determining whether to perform the step of using the reference feature map to generate the lesion probability map and subsequent steps includes: if the first probability value satisfies the first preset condition, performing the step of using the reference feature map to generate the lesion probability map step and subsequent steps; or, when the medical image to be tested is a two-dimensional medical image included in a three-dimensional medical image; based on the first probability value, determine whether to perform the step of using the reference feature map to generate the lesion probability map and the subsequent steps, The method includes: sorting the first probability values corresponding to the two-dimensional medical images in descending order, and selecting a first preset number of first probability values; performing preset processing on the preset number of first probability values to obtain the second probability value; if the second probability value satisfies the second preset condition, the step of generating the lesion probability map by using the reference feature map and the subsequent steps are performed.
因此,当第一概率值满足第一预设条件时,执行利用参考特征图生成病灶概率图的步骤以及后续步骤,或者,在待测医学图像为三维医学图像所包含的二维医学图像的情况下,将二维医学图像的第一概率值按照由大到小的顺序进行排序,并选择前预设数量个第一概率值,并对预设数量个第一概率值进行预设处理,得到第二概率值,从而在第二概率值满足第二预设条件时,执行利用参考特征图生成病灶概率图的步骤以及后续步骤,故能够有利于在检测之前预先筛除阴性数据,从而提高图像检测的准确性和效率。Therefore, when the first probability value satisfies the first preset condition, the step of generating the lesion probability map by using the reference feature map and the subsequent steps are performed, or, in the case where the medical image to be tested is a two-dimensional medical image included in a three-dimensional medical image Next, sort the first probability values of the two-dimensional medical images in descending order, select the first preset number of first probability values, and perform preset processing on the preset number of first probability values to obtain the second probability value, so that when the second probability value satisfies the second preset condition, the step of using the reference feature map to generate the probability map of the lesion and the subsequent steps are performed, which can help to pre-screen negative data before detection, thereby improving the image quality. Detection accuracy and efficiency.
其中,第一预设条件包括:第一概率值大于或等于第一概率阈值;第二预设条件包括:第二概率值大于或等于第二概率阈值;预设处理为平均运算。Wherein, the first preset condition includes: the first probability value is greater than or equal to the first probability threshold; the second preset condition includes: the second probability value is greater than or equal to the second probability threshold; and the preset processing is an average operation.
因此,通过将第一预设条件设置为第一概率值大于或等于第一概率阈值,通过将第二预设条件设置为第二概率值大于或等于第二概率阈值,预设处理设置为平均运算,从而能够降低第二概率值的计算量,并使得第二概率值能够准确反映三维医学图像包含病灶的可能性,故此,能够在第一概率值大于或等于第一概率阈值时,执行利用参考特征图生成病例概率图的步骤以及后续步骤,在第二概率值大于或等于第二概率阈值时,执行利用参考特征图生成病例概率图的步骤以及后续步骤,故能够有利于在检测之前预先筛除阴性数据,从而提高图像检测的准确性和效率。Therefore, by setting the first preset condition such that the first probability value is greater than or equal to the first probability threshold, and by setting the second preset condition such that the second probability value is greater than or equal to the second probability threshold, the preset process is set to average Therefore, when the first probability value is greater than or equal to the first probability threshold, the use of The step of generating a case probability map with reference to the feature map and the subsequent steps, when the second probability value is greater than or equal to the second probability threshold, the step of generating a case probability map by using the reference feature map and the subsequent steps are performed, so it can be beneficial to pre-detection before detection. Screen out negative data to improve the accuracy and efficiency of image detection.
其中,若第一概率值不满足第一预设条件或第二概率值不满足第二预设条件,则确定待测医学图像中不包含病灶。Wherein, if the first probability value does not meet the first preset condition or the second probability value does not meet the second preset condition, it is determined that the medical image to be tested does not contain a lesion.
因此,通过在第一概率值不满足第一预设条件或第二概率值不满足第二预设条件时,确定待测医学图像中不包含病灶,能够使用户及时感知待测医学图像的阴性检测结果,从而能够有利于提高用户体验。Therefore, when the first probability value does not meet the first preset condition or the second probability value does not meet the second preset condition, it is determined that the medical image to be tested does not contain a lesion, so that the user can timely perceive the negative of the medical image to be tested. The detection result can be beneficial to improve the user experience.
其中,用参考特征图生成病灶概率图,包括:统计参考特征图中各像素点关于病灶的梯度值,生成类激活图,将类激活图作为病灶概率图。Wherein, using the reference feature map to generate the lesion probability map includes: counting the gradient values of each pixel in the reference feature map with respect to the lesion, generating a class activation map, and using the class activation map as the lesion probability map.
因此,通过统计参考特征图中各像素点关于病灶的梯度值,生成类激活图,以作为病灶概率图,能够提高病灶概率图的准确性,从而能够有利于提高后续图像检测的准确性。Therefore, by counting the gradient values of each pixel in the reference feature map with respect to the lesion, a class activation map is generated to serve as the lesion probability map, which can improve the accuracy of the lesion probability map, thereby improving the accuracy of subsequent image detection.
其中,将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图,包括:利用病灶概率图对参考特征图进行编码处理,得到第二特征图;将第二特征图与若干个维度的第一特征图进行融合,得到最终融合特征图。Wherein, fusing the lesion probability map with the first feature maps of several dimensions to obtain a final fusion feature map includes: encoding the reference feature map by using the lesion probability map to obtain a second feature map; combining the second feature map with The first feature maps of several dimensions are fused to obtain the final fused feature map.
因此,通过利用病灶概率图对参考特征图进行编码处理,得到第二特征图,并将第二特征图与若干个维度的第一特征图进行融合,从而得到最终融合特征图,故能够将病灶概率图作为全局特征参与特征图融合,使得最终融合特征图能够强化对病灶的特异性,从而能够有利于提高后续图像检测的准确性。Therefore, by using the lesion probability map to encode the reference feature map, a second feature map is obtained, and the second feature map is fused with the first feature maps of several dimensions to obtain the final fusion feature map. The probability map is used as a global feature to participate in the feature map fusion, so that the final fusion feature map can enhance the specificity of the lesion, which can help to improve the accuracy of subsequent image detection.
其中,利用病灶概率图对参考特征图进行编码处理,得到第二特征图,包括:将病灶概率图中第一像素点的像素值与参考特征图中与第一像素点对应的第二像素点的像素值相乘,得到第二特征图的对应像素点的像素值。Wherein, using the lesion probability map to encode the reference feature map to obtain a second feature map, comprising: comparing the pixel value of the first pixel point in the lesion probability map with the second pixel point corresponding to the first pixel point in the reference feature map Multiply the pixel values of , to obtain the pixel values of the corresponding pixel points of the second feature map.
因此,通过将病灶概率图中第一像素点的像素值与参考特征图中与第一像素点对应的第二像素点的像素值相乘,得到第二特征图的对应像素点的像素值,从而实现病灶概率图对参考特征图的编码处理,故能够有利于降低计算量。Therefore, by multiplying the pixel value of the first pixel in the lesion probability map with the pixel value of the second pixel corresponding to the first pixel in the reference feature map, the pixel value of the corresponding pixel in the second feature map is obtained, In this way, the coding processing of the reference feature map by the lesion probability map is realized, which can help to reduce the amount of calculation.
其中,将第二特征图与若干个维度的第一特征图进行融合,得到最终融合特征图,包括:按照维度从高到底的顺序,将第二特征图与依照顺序排序的每个维度的第一特征 图进行融合,得到最终融合特征图。Among them, the second feature map is fused with the first feature maps of several dimensions to obtain the final fusion feature map, which includes: according to the order of dimensions from high to bottom, the second feature map and the first feature map of each dimension sorted in order A feature map is fused to obtain the final fused feature map.
因此,通过按照维度从高到低的顺序,将第二特征图与每个维度的第一特征图进行融合,得到最终融合特征图,能够有利于逐维度地进行特征图融合,从而能够有利于充分融合上下文信息,提高最终融合特征图的准确性和特征丰富度,进而能够有利于提高后续图像检测的准确性。Therefore, by merging the second feature map with the first feature map of each dimension in the order of dimensions from high to low to obtain the final fused feature map, it is beneficial to perform feature map fusion dimension by dimension, which can be beneficial to Fully fuse context information to improve the accuracy and feature richness of the final fused feature map, which in turn can help improve the accuracy of subsequent image detection.
其中,参考特征图为维度最高的第一特征图;按照维度从高到底的顺序,将第二特征图与依照顺序排序的每个维度的第一特征图进行融合,得到最终融合特征图,包括:将参考特征图与第一低维特征图进行融合,得到与第一低维特征图的维度相同的第一融合特征图,其中,第一低维特征图为比参考特征图低一维度的第一特征图;将第二特征图与第一融合特征图进行融合,得到与第一融合特征图的维度相同的第二融合特征图;重复执行将第二融合特征图与第二低维特征图进行融合以得到与第二低维特征图的维度相同的新的第二融合特征图,直至若干个维度的第一特征图融合完毕;其中,第二低维特征图为比当前第二融合特征图低一维度的第一特征图;将最终融合得到的第二融合特征图,作为最终融合特征图。Among them, the reference feature map is the first feature map with the highest dimension; according to the order of dimensions from high to bottom, the second feature map is fused with the first feature map of each dimension sorted in order to obtain the final fusion feature map, including : fuse the reference feature map with the first low-dimensional feature map to obtain a first fusion feature map with the same dimension as the first low-dimensional feature map, wherein the first low-dimensional feature map is one dimension lower than the reference feature map The first feature map; the second feature map is fused with the first fusion feature map to obtain a second fusion feature map with the same dimension as the first fusion feature map; the second fusion feature map and the second low-dimensional feature are repeatedly performed. The graphs are fused to obtain a new second fused feature map with the same dimension as the second low-dimensional feature map, until the first feature maps of several dimensions are fused; wherein, the second low-dimensional feature map is smaller than the current second fused feature map. The first feature map with one dimension lower than the feature map; the second fused feature map obtained by the final fusion is used as the final fused feature map.
因此,通过将参考特征图与第一低维特征图进行融合,得到与第一低维特征图的维度相同的第一融合特征图,且第一低维特征图为比参考特征图低一维度的第一特征图,并将第二特征图与第一融合特征图进行融合,得到与第一融合特征图的维度相同的第二融合特征图,从而重复执行将第二融合特征图与第二低维特征图进行融合以得到与第二低维特征图的维度相同的新的第二融合特征图,直至若干个维度的第一特征图融合完毕,且第二低维特征图为比当前第二融合特征图低一维度的第一特征图,并将最终融合得到的第二融合特征图,作为最终融合特征图,进而能够将病灶概率图作为全局特征与图像检测的解码过程耦合,使得最终融合特征图能够强化对病灶的特异性,并能够充分融合特征图上下文信息,提高最终融合特征图的准确性和特征丰富度,进而能够有利于提高后续图像检测的准确性。Therefore, by fusing the reference feature map with the first low-dimensional feature map, a first fused feature map with the same dimension as the first low-dimensional feature map is obtained, and the first low-dimensional feature map is one dimension lower than the reference feature map , and fuse the second feature map with the first fusion feature map to obtain a second fusion feature map with the same dimension as the first fusion feature map. The low-dimensional feature maps are fused to obtain a new second fusion feature map with the same dimension as the second low-dimensional feature map, until the first feature maps of several dimensions are fused, and the second low-dimensional feature map is smaller than the current first feature map. The second fusion feature map is one dimension lower than the first feature map, and the second fusion feature map obtained by final fusion is used as the final fusion feature map, and then the lesion probability map can be used as a global feature to couple with the decoding process of image detection, so that the final The fusion feature map can enhance the specificity of the lesion, and can fully fuse the context information of the feature map to improve the accuracy and feature richness of the final fused feature map, which in turn can help improve the accuracy of subsequent image detection.
其中,检测结果包括待测医学图像中病灶的检测区域;方法还包括:对待测医学图像进行器官检测,得到待测医学图像中的器官区域;获取病灶的检测区域在器官区域中所占的病灶比例。The detection result includes the detection area of the lesion in the medical image to be tested; the method further includes: performing organ detection on the medical image to be tested to obtain the organ area in the medical image to be tested; obtaining the lesion occupied by the detection area of the lesion in the organ area Proportion.
因此,通过对待测医学图像进行器官检测,从而得到待测医学图像中的器官区域,并获取病灶的检测区域在器官区域中所占的病灶比例,能够有利于利用检测结果进一步生成有利于临床的参考信息,从而能够提高用户体验。Therefore, by performing organ detection on the medical image to be tested, the organ region in the medical image to be tested can be obtained, and the proportion of the lesion occupied by the detection region of the lesion in the organ region can be obtained. reference information, so as to improve user experience.
其中,对待测医学图像进行特征提取,得到若干个维度的第一特征图之前,方法还包括:对待测医学图像进行预处理,其中,预处理的操作至少包括:利用预设窗值将待测医学图像的像素值归一化至一预设范围内。Wherein, before the feature extraction is performed on the medical image to be tested and the first feature maps of several dimensions are obtained, the method further includes: preprocessing the medical image to be tested, wherein the operation of preprocessing at least includes: using a preset window value to The pixel values of the medical image are normalized to a predetermined range.
因此,在对待测医学图像进行特征提取之前,对待测医学图像进行预处理,且预处理的操作至少包括:利用预设窗值将待测医学图像的像素值归一化至预设范围内,能够有利于加强待测医学图像对比度,从而能够有利于提高后续提取到的第一特征图的准确性。Therefore, before the feature extraction is performed on the medical image to be tested, the medical image to be tested is preprocessed, and the preprocessing operation at least includes: using a preset window value to normalize the pixel value of the medical image to be tested to a preset range, The contrast of the medical image to be tested can be enhanced, and the accuracy of the subsequently extracted first feature map can be improved.
其中,对待测医学图像进行特征提取,得到若干个维度的第一特征图,包括:利用图像检测模型的特征提取子网络对待测医学图像进行特征提取,得到若干个维度的第一特征图;将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图,包括:利用图像检测模型的融合处理子网络将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图;对最终融合特征图进行检测处理,得到待测医学图像中关于病灶的检测结果,包括:利用图像检测模型的融合处理子网络对最终融合特征图进行检测处理,得到待测医学图像中关于所述病灶的检测结果。Among them, performing feature extraction on the medical image to be tested to obtain first feature maps of several dimensions, including: using the feature extraction sub-network of the image detection model to perform feature extraction on the medical image to be tested to obtain first feature maps of several dimensions; The lesion probability map is fused with the first feature maps of several dimensions to obtain a final fusion feature map, including: using the fusion processing sub-network of the image detection model to fuse the lesion probability map with the first feature maps of several dimensions to obtain the final Fusion feature map; performing detection processing on the final fused feature map to obtain detection results about lesions in the medical image to be tested, including: using the fusion processing sub-network of the image detection model to detect and process the final fused feature map to obtain the medical image to be tested The detection results of the lesions in .
因此,通过利用图像检测模型的特征提取子网络对待测医学图像进行特征提取,得 到若干个维度的第一特征图,利用图像检测模型的融合处理子网络将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图,并利用图像检测模型的融合处理子网络对最终融合特征图进行检测处理,得到待测医学图像中关于病灶的检测结果,从而通过图像检测模型执行特征提取、融合处理、图像检测任务,进而能够有利于提高图像检测的效率。Therefore, by using the feature extraction sub-network of the image detection model to extract the features of the medical image to be tested, the first feature maps of several dimensions are obtained, and the fusion processing sub-network of the image detection model is used to combine the lesion probability map with the first feature maps of several dimensions. The feature maps are fused to obtain the final fused feature map, and the fusion processing sub-network of the image detection model is used to detect and process the final fused feature map to obtain the detection results of the lesions in the medical image to be tested, so as to perform feature extraction through the image detection model. , fusion processing, and image detection tasks, which can help improve the efficiency of image detection.
其中,利用图像检测模型的特征提取子网络对待测医学图像进行特征提取,得到若干个维度的第一特征图之前,方法还包括:获取样本医学图像,其中,样本医学图像中包含病灶的实际区域;利用特征提取子网络对样本医学图像进行特征提取,得到若干个维度的第一样本特征图;以预设维度的第一样本特征图作为参考样本特征图,利用参考样本特征图生成病灶样本概率图,其中,病灶样本概率图用于表示样本医学图像的不同区域属于病灶的概率;利用融合处理子网络将病灶样本概率图与若干个维度的第一样本特征图进行融合,得到最终融合样本特征图;利用融合处理子网络对最终融合样本特征图进行检测处理,得到样本医学图像中关于病灶的检测区域;利用实际区域和检测区域之间的差异,调整图像检测模型的网络参数。Wherein, before using the feature extraction sub-network of the image detection model to perform feature extraction on the medical image to be tested, and before obtaining the first feature maps of several dimensions, the method further includes: acquiring a sample medical image, wherein the sample medical image includes the actual area of the lesion ; Use the feature extraction sub-network to perform feature extraction on the sample medical image, and obtain the first sample feature map of several dimensions; take the first sample feature map of the preset dimension as the reference sample feature map, and use the reference sample feature map to generate lesions The sample probability map, in which the lesion sample probability map is used to represent the probability that different regions of the sample medical image belong to the lesion; the fusion processing sub-network is used to fuse the lesion sample probability map with the first sample feature maps of several dimensions to obtain the final Fuse the sample feature maps; use the fusion processing sub-network to detect and process the final fused sample feature maps to obtain the detection area of the lesion in the sample medical image; use the difference between the actual area and the detection area to adjust the network parameters of the image detection model.
因此,通过获取样本医学图像,且样本医学图像中包含病灶的实际区域,并利用特征提取子网络对样本医学图像进行特征提取,得到若干个维度的第一样本特征图,从而以预设维度的第一样本特征图作为参考样本特征图,并利用参考样本特征图生成病灶样本概率图,且病灶样本概率图用于表示样本医学图像的不同区域属于病灶的概率,进而将病灶概率图与若干维度的第一样本特征图进行融合,得到最终融合样本特征图,以对最终融合样本特征图进行检测处理,得到样本医学图像中关于病灶的检测区域,并利用实际区域与检测区域之间的差异,调整图像检测模型的网络参数,故能够在对图像检测模型的训练过程中,利用病灶样本概率图作为全局特征与图像检测的解码过程耦合,使得最终融合样本特征图能够强化对病灶的特异性,从而能够加强图像检测模型对于病灶的敏感程度,进而能够有利于提高模型的训练速度。Therefore, by acquiring a sample medical image, and the sample medical image contains the actual area of the lesion, and using the feature extraction sub-network to perform feature extraction on the sample medical image, a first sample feature map of several dimensions is obtained, so that the preset dimension The first sample feature map is used as the reference sample feature map, and the reference sample feature map is used to generate the lesion sample probability map, and the lesion sample probability map is used to represent the probability that different areas of the sample medical image belong to the lesion, and then the lesion probability map is combined with the lesion probability map. The first sample feature maps of several dimensions are fused to obtain the final fused sample feature map, so as to perform detection processing on the final fused sample feature map to obtain the detection area of the lesion in the sample medical image, and use the actual area and the detection area. Therefore, in the training process of the image detection model, the probability map of the lesion sample can be used as a global feature to couple with the decoding process of image detection, so that the final fusion sample feature map can strengthen the detection of lesions. Therefore, the sensitivity of the image detection model to the lesions can be enhanced, and the training speed of the model can be improved.
其中,利用实际区域和检测区域之间的差异,调整特征提取子网络和融合处理子网络的网络参数包括:采用集合相似度损失函数对实际区域和检测区域进行处理,确定图像检测模型的损失值;利用损失值以一预设学习率调整图像检测模型的网络参数。Among them, using the difference between the actual area and the detection area to adjust the network parameters of the feature extraction sub-network and the fusion processing sub-network includes: using the set similarity loss function to process the actual area and the detection area, and determine the loss value of the image detection model ; Use the loss value to adjust the network parameters of the image detection model with a preset learning rate.
因此,利用集合相似度损失函数对实际区域和检测区域进行处理,确定图像检测模型的损失值,能够确保损失值的准确性,从而利用损失值对以一预设学习率调整图像检测模型的网络参数,能够使得在训练过程中,降低检测区域和实际区域之间的差异,提高图像检测模型的准确性。Therefore, using the set similarity loss function to process the actual area and the detection area to determine the loss value of the image detection model can ensure the accuracy of the loss value, so as to use the loss value to adjust the network of the image detection model with a preset learning rate The parameters can reduce the difference between the detection area and the actual area during the training process, and improve the accuracy of the image detection model.
本申请实施例还提供了一种图像检测装置,包括图像获取模块、特征提取模块、图像生成模块、图像融合模块和图像检测模型,图像获取模块配置为获取待测医学图像;特征提取模块配置为对待测医学图像进行特征提取,得到若干个维度的第一特征图;图像生成模块配置为以预设维度的第一特征图作为参考特征图,利用参考特征图生成病灶概率图,其中,病灶概率图用于表示待测医学图像的不同区域属于病灶的概率;图像融合模块配置为将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图;检测处理模块配置为对最终融合特征图进行检测处理,得到待测医学图像中关于病灶的检测结果。The embodiment of the present application also provides an image detection device, including an image acquisition module, a feature extraction module, an image generation module, an image fusion module and an image detection model, where the image acquisition module is configured to acquire a medical image to be tested; the feature extraction module is configured as Perform feature extraction on the medical image to be tested to obtain first feature maps of several dimensions; the image generation module is configured to use the first feature map of preset dimensions as a reference feature map, and use the reference feature map to generate a lesion probability map, wherein the lesion probability The map is used to represent the probability that different areas of the medical image to be tested belong to the lesion; the image fusion module is configured to fuse the lesion probability map with the first feature maps of several dimensions to obtain the final fusion feature map; the detection processing module is configured to The feature map is fused to perform detection processing, and the detection result of the lesion in the medical image to be tested is obtained.
本申请实施例还提供了一种电子设备,包括相互耦接的存储器和处理器,处理器配置为执行存储器中存储的程序指令,以实现上述第一方面中的图像检测方法。An embodiment of the present application further provides an electronic device, including a memory and a processor coupled to each other, where the processor is configured to execute program instructions stored in the memory, so as to implement the image detection method in the first aspect.
本申请实施例还提供了一种计算机可读存储介质,其上存储有程序指令,程序指令被处理器执行时实现上述第一方面中的图像检测方法。Embodiments of the present application further provide a computer-readable storage medium, on which program instructions are stored, and when the program instructions are executed by a processor, the image detection method in the first aspect above is implemented.
本申请实施例还提供一种计算机程序,包括计算机可读代码,当计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行上述任意一种图像检测方法。Embodiments of the present application further provide a computer program, including computer-readable codes. When the computer-readable codes are run in an electronic device, a processor in the electronic device executes any one of the above image detection methods.
上述方案,通过对获取得到的待测医学图像进行特征提取,从而得到若干维度的第一特征图,并以预设维度的第一特征图作为参考特征图,从而利用参考特征图生成病灶概率图,且病灶概率图用于表示待测医学图像的不同区域属于病灶的概率,进而将病灶概率图与若干维度的第一特征图进行融合,得到最终融合特征图,故使得病灶概率图能够作为全局特征与第一特征图进行融合,使得最终融合特征图能够强化对病灶的特异性,进而再通过最终融合特征图进行检测处理而得到待测医学图像中关于病灶的检测结果时,能够提高图像检测的准确性。In the above solution, by performing feature extraction on the obtained medical image to be tested, first feature maps of several dimensions are obtained, and the first feature map of preset dimensions is used as a reference feature map, so as to generate a lesion probability map by using the reference feature map , and the lesion probability map is used to represent the probability that different areas of the medical image to be tested belong to the lesion, and then the lesion probability map is fused with the first feature maps of several dimensions to obtain the final fusion feature map, so the lesion probability map can be used as a global The features are fused with the first feature map, so that the final fusion feature map can enhance the specificity of the lesion, and then the detection result of the lesion in the medical image to be tested can be obtained by performing detection processing through the final fusion feature map, which can improve image detection. accuracy.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
图1是本申请图像检测方法一实施例的流程示意图;1 is a schematic flowchart of an embodiment of an image detection method of the present application;
图2是图像检测模型一实施例的框架示意图;2 is a schematic diagram of a framework of an embodiment of an image detection model;
图3是本申请图像检测方法另一实施例的流程示意图;3 is a schematic flowchart of another embodiment of the image detection method of the present application;
图4是训练图像检测模型一实施例的流程示意图;4 is a schematic flowchart of an embodiment of a training image detection model;
图5是本申请图像检测装置一实施例的框架示意图;FIG. 5 is a schematic frame diagram of an embodiment of an image detection apparatus of the present application;
图6是本申请电子设备一实施例的框架示意图;6 is a schematic diagram of a framework of an embodiment of an electronic device of the present application;
图7是本申请计算机可读存储介质一实施例的框架示意图。FIG. 7 is a schematic diagram of a framework of an embodiment of a computer-readable storage medium of the present application.
具体实施方式Detailed ways
下面结合说明书附图,对本申请实施例的方案进行详细说明。The solutions of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、接口、技术之类的具体细节,以便透彻理解本申请。In the following description, for purposes of illustration and not limitation, specific details such as specific system structures, interfaces, techniques, etc. are set forth in order to provide a thorough understanding of the present application.
本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。此外,本文中的“多”表示两个或者多于两个。The terms "system" and "network" are often used interchangeably herein. The term "and/or" in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, and A and B exist independently B these three cases. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship. Also, "multiple" herein means two or more than two.
请参阅图1,图1是本申请图像检测方法一实施例的流程示意图。具体而言,可以包括如下步骤:Please refer to FIG. 1 , which is a schematic flowchart of an embodiment of an image detection method of the present application. Specifically, the following steps can be included:
步骤S11:获取待测医学图像。Step S11: Acquire the medical image to be tested.
待测医学图像可以包括CT图像、核磁共振(Magnetic Resonance,MR)图像,在此不做限定。在一个实施场景中,待测医学图像可以是对肺部区域、肝部区域、心脏区域等扫描得到的图像,在此不做限定,具体可以根据实际应用情况进行设置。例如,当需要对肺部进行检查,以筛查是否感染肺炎时,可以对肺部区域进行扫描;或者,当需要对肝部进行检查,以筛查肝部是否发生病变时,可以对肝部区域进行扫描等等,其他应用情况可以以此类推,在此不再一一举例。The medical images to be tested may include CT images and nuclear magnetic resonance (Magnetic Resonance, MR) images, which are not limited herein. In an implementation scenario, the medical image to be tested may be an image obtained by scanning a lung area, a liver area, a heart area, etc., which is not limited here, and may be set according to actual application conditions. For example, the lung area can be scanned when the lungs need to be tested to screen for pneumonia; or the liver can be scanned when the liver needs to be tested to screen for changes in the liver Area scanning, etc., other application situations can be deduced by analogy, and will not be listed one by one here.
在一个实施场景中,待测医学图像可以是二维医学图像;在另一个实施场景中,待测医学图像还可以是三维医学图像所包含的二维医学图像,例如,对扫描对象进行CT扫描得到三维CT数据,则待测医学图像可以为三维CT数据所包含的二维医学图像。In one implementation scenario, the medical image to be tested may be a two-dimensional medical image; in another implementation scenario, the medical image to be tested may also be a two-dimensional medical image included in a three-dimensional medical image, for example, a CT scan is performed on a scanned object After obtaining the three-dimensional CT data, the medical image to be tested may be a two-dimensional medical image included in the three-dimensional CT data.
步骤S12:对待测医学图像进行特征提取,得到若干个维度的第一特征图。Step S12: Perform feature extraction on the medical image to be tested to obtain a first feature map of several dimensions.
在一个实施场景中,还可以在进行特征提取之前,对待测医学图像进行预处理,例如,至少利用预设窗值对待测医学图像的像素值进行归一化至一预设范围内,从而可以加强待测医学图像的对比度,提高提取得到的第一特征图的准确性。具体地,预设窗值可以根据扫描部位进行设置,例如,当待测医学图像为对肺部扫描得到的CT图像时,预设窗值可以是-1400至100亨氏单位(Hounsfield Unit,HU),其他部位可以根据实际 情况进行设置,在此不再一一举例。此外,预设范围可以设置为0至1,从而当待测医学图像为对肺部扫描得到的CT图像,且预设窗值为-1400至100亨氏单位时,可以将像素值低于-1400的像素置为-1400,并将像素值高于100的像素置为100,最终将-1400至100范围内的像素值映射至0至1范围内。当预设窗值、预设范围为其他数值时,可以以此类推,在此不再一一举例。In an implementation scenario, the medical image to be tested may also be preprocessed before the feature extraction, for example, at least a preset window value is used to normalize the pixel value of the medical image to be tested to a preset range, so that it can be The contrast of the medical image to be tested is enhanced, and the accuracy of the extracted first feature map is improved. Specifically, the preset window value can be set according to the scanning position. For example, when the medical image to be tested is a CT image obtained by scanning the lungs, the preset window value can be -1400 to 100 Hounsfield Unit (HU) , other parts can be set according to the actual situation, and no examples will be given here. In addition, the preset range can be set to 0 to 1, so that when the medical image to be tested is a CT image obtained by scanning the lungs, and the preset window value is -1400 to 100 Heinz units, the pixel value can be set lower than -1400 set the pixels of the -1400 to -1400, and set the pixels with a pixel value higher than 100 to 100, and finally map the pixel values in the range of -1400 to 100 to the range of 0 to 1. When the preset window value and the preset range are other values, it can be deduced by analogy, and the examples will not be exemplified here.
在一个实施场景中,为了提升特征提取的便利性,还可以预先训练一图像检测模型,图像检测模型可以包括一特征提取子网络,从而可以利用图像检测模型的特征提取子网络对待测医学图像进行特征提取,得到若干个维度的第一特征图。若干个维度可以是一个维度,也可以是多个维度,例如,两个维度、三个维度等,在此不做限定,具体根据实际情况对特征提取子网络的网络深度进行设置,从而得到不同维度的第一特征图。其中,维度越高,对应的第一特征图的通道数越大,分辨率越小。In an implementation scenario, in order to improve the convenience of feature extraction, an image detection model may also be pre-trained, and the image detection model may include a feature extraction sub-network, so that the feature extraction sub-network of the image detection model Feature extraction to obtain a first feature map of several dimensions. Several dimensions can be one dimension or multiple dimensions, for example, two dimensions, three dimensions, etc., which are not limited here. Specifically, the network depth of the feature extraction sub-network is set according to the actual situation, so as to obtain different dimension of the first feature map. The higher the dimension, the larger the number of channels of the corresponding first feature map and the smaller the resolution.
请结合参阅图2,图2是图像检测模型一实施例的框架示意图。如图2所示,特征提取子网络可以包括多个顺序连接的特征提取子模块,特征提取子模块可以执行卷积、正则、激活和池化等处理任务,具体地,特征提取子模块可以包括残差块(Residual Block)、感知块(Inception Block)、稠密块(Dense Block)中的任一者,在此不做限定。具体地,池化处理可以包括最大池化(Max Pooling)、平均池化(Average Pooling)、步长(Stride)为2的卷积层中的任一者,在此不做限定。在顺序连接的特征提取子模块执行特征提取的过程中,能够顺序得到低维度至高维度的第一特征图,并在特征提取子模块执行时,通道数翻倍且分辨率减半。例如,待测医学图像的分辨率为256*256,图2中第一个特征提取子模块提取的第一特征图的通道数为64,分辨率为128*128,为了便于描述将第一特征图的大小统一表示为通道数*分辨率,即64*128*128,顺序连接的第二个特征提取子模块提取得到的第一特征图的大小为128*64*64,第三个特征提取子模块提取得到的第一特征图的大小为256*32*32,第四个特征提取子模块提取得到的第一特征图的大小为512*16*16。当特征提取子网络为其他结构时,可以以此类推,在此不再一一举例。Please refer to FIG. 2 , which is a schematic diagram of a framework of an embodiment of an image detection model. As shown in Figure 2, the feature extraction sub-network may include multiple sequentially connected feature extraction sub-modules, and the feature extraction sub-module may perform processing tasks such as convolution, regularization, activation, and pooling. Specifically, the feature extraction sub-module may include Any one of Residual Block, Inception Block, and Dense Block is not limited here. Specifically, the pooling process may include any one of max pooling (Max Pooling), average pooling (Average Pooling), and a convolutional layer with a stride (Stride) of 2, which is not limited herein. In the process of feature extraction performed by sequentially connected feature extraction sub-modules, first feature maps from low to high dimensions can be sequentially obtained, and when the feature extraction sub-modules are executed, the number of channels is doubled and the resolution is halved. For example, the resolution of the medical image to be tested is 256*256, the number of channels of the first feature map extracted by the first feature extraction sub-module in FIG. 2 is 64, and the resolution is 128*128. The size of the map is uniformly expressed as the number of channels * resolution, that is, 64*128*128. The size of the first feature map extracted by the second feature extraction sub-module connected in sequence is 128*64*64, and the size of the third feature extraction is 128*64*64. The size of the first feature map extracted by the submodule is 256*32*32, and the size of the first feature map extracted by the fourth feature extraction submodule is 512*16*16. When the feature extraction sub-network is of other structures, it can be deduced in the same way, and no examples will be given here.
步骤S13:以预设维度的第一特征图作为参考特征图,利用参考特征图生成病灶概率图。Step S13 : using the first feature map of the preset dimension as a reference feature map, and using the reference feature map to generate a lesion probability map.
病灶概率图用于表示待测医学图像中的不同区域属于病灶的概率。仍以待测医学图像的分辨是256*256为例,参考特征图可以包括维度最高的第一特征图,即大小为512*16*16的第一特征图,参考特征图中每一像素点可以对应表示待测医学图像中一个16*16的区域,故可以利用参考特征图生成的病灶概率图中每一像素点的像素值可以表示待测医学图像中一个16*16区域属于病灶的概率。此外,参考特征图也可以包括其他维度的第一特征图,例如,参考特征图也可以包括比维度最高的第一特征图还低一维度的第一特征图,在此不做限定。在其他实施场景中,根据具体的应用情况,参考特征图还可以选取其他维度的第一特征图,在此不做限定。The lesion probability map is used to represent the probability that different regions in the medical image to be tested belong to the lesion. Still taking the resolution of the medical image to be tested as 256*256 as an example, the reference feature map may include the first feature map with the highest dimension, that is, the first feature map with a size of 512*16*16, and each pixel point in the reference feature map It can correspond to a 16*16 area in the medical image to be tested, so the pixel value of each pixel in the lesion probability map generated by the reference feature map can represent the probability that a 16*16 area in the medical image to be tested belongs to the lesion . In addition, the reference feature map may also include a first feature map of other dimensions. For example, the reference feature map may also include a first feature map that is one dimension lower than the first feature map with the highest dimension, which is not limited herein. In other implementation scenarios, according to the specific application situation, the first feature map of other dimensions may also be selected with reference to the feature map, which is not limited herein.
在一个实施场景中,为了提高病灶概率图的准确性,具体可以通过统计参考特征图中各像素点关于病灶的梯度值,从而生成类激活图(Class Activate Map,CAM),将类激活图作为病灶概率图。在一个具体的实施场景中,可以利用参考特征图进行预测处理,得到待测医学图像中包含病灶的第一概率值y c,从而通过计算第一概率值y c对于参考特征图每个像素点
Figure PCTCN2021117801-appb-000001
的梯度值
Figure PCTCN2021117801-appb-000002
其中,
Figure PCTCN2021117801-appb-000003
中的k表示多个通道的参考特征图中的第k个参考特征图,ij表示第k个参考特征图中第i行第j列个像素点。具体地,可以预先训练一图像检测模型,且图像检测模型中包含一预测处理子网络,从而可以利用预测处理子网络对参考特征图进行预测处理,得到待测医学图像中包含病灶的第一概率值。请继续结合参阅图2,预测处理子网络可以包括一全局平均池化和一全连接层,仍以待测医学 图像的分辨是256*256为例,对大小为512*16*16的参考特征图进行全局平均池化(Global Average Pooling,GAP)处理,得到大小为512*1*1的向量,并利用全连接层对该向量进行处理,得到待测医学图像中包含病灶的第一概率值。
In an implementation scenario, in order to improve the accuracy of the lesion probability map, a class activation map (CAM) can be generated by counting the gradient values of each pixel in the reference feature map with respect to the lesion, and the class activation map can be used as the Lesion probability map. In a specific implementation scenario, the reference feature map can be used to perform prediction processing to obtain the first probability value y c of the lesion contained in the medical image to be tested, so that by calculating the first probability value y c for each pixel of the reference feature map
Figure PCTCN2021117801-appb-000001
The gradient value of
Figure PCTCN2021117801-appb-000002
in,
Figure PCTCN2021117801-appb-000003
where k represents the kth reference feature map in the reference feature maps of multiple channels, and ij represents the pixel point in the ith row and the jth column in the kth reference feature map. Specifically, an image detection model can be pre-trained, and the image detection model includes a prediction processing sub-network, so that the prediction processing sub-network can be used to perform prediction processing on the reference feature map to obtain the first probability that the medical image to be tested contains a lesion value. Please continue to refer to Figure 2. The prediction processing sub-network can include a global average pooling and a fully connected layer. Still taking the resolution of the medical image to be tested as 256*256 as an example, for the reference feature with a size of 512*16*16 The image is subjected to Global Average Pooling (GAP) processing to obtain a vector with a size of 512*1*1, and the fully connected layer is used to process the vector to obtain the first probability value that the medical image to be tested contains a lesion .
在一个实施场景中,为了在检测之前预先筛除阴性数据,解决后续检测得到假阳结果的问题,即待测医学图像中并不存在病灶,但通过对待测医学图像进行检测,得到了病灶,假阳结果会对临床应用产生干扰,故可以利用参考特征图进行预测处理,得到待测医学图像中包含病灶的第一概率值,并基于第一概率值确定是否执行利用参考特征图生成病灶概率图的步骤以及后续步骤。在一个具体的实施场景中,利用参考特征图进行预测处理得到第一概率值的方式具体可以参阅前述实施场景中的相关描述,在此不再赘述。在另一个具体的实施场景中,可以预先设置一概率阈值,并在第一概率值低于概率阈值时,可以认为待测医学图像中不包含病灶,则可以不再执行利用参考特征图生成病灶概率图的步骤以及后续步骤,从而可以大大降低在此情况下仍然对待测医学图像进行图像检测而得到假阳结果的可能性。概率阈值可以根据实际应用情况进行设置,例如,可以设置为低于20%、30%等的数值,从而使得较大概率不包含病灶的待测医学图像均不进行后续的检测,以提高检测效率,并降低出现假阳结果的可能性。In one implementation scenario, in order to pre-screen negative data before detection and solve the problem of false positive results obtained in subsequent detection, that is, there is no lesion in the medical image to be tested, but the lesion is obtained by detecting the medical image to be tested. False positive results will interfere with clinical applications, so the reference feature map can be used for prediction processing to obtain the first probability value of the lesion contained in the medical image to be tested, and based on the first probability value, it is determined whether to use the reference feature map to generate the lesion probability Figure steps and next steps. In a specific implementation scenario, the method of using the reference feature map to perform prediction processing to obtain the first probability value may refer to the relevant description in the foregoing implementation scenario, and details are not repeated here. In another specific implementation scenario, a probability threshold can be preset, and when the first probability value is lower than the probability threshold, it can be considered that the medical image to be tested does not contain lesions, and the use of reference feature maps to generate lesions can no longer be performed. The steps of the probability map and subsequent steps can greatly reduce the possibility of obtaining false positive results by still performing image detection on the medical image to be tested in this case. The probability threshold can be set according to the actual application. For example, it can be set to a value lower than 20%, 30%, etc., so that the medical images to be tested that have a high probability of not containing lesions are not subjected to subsequent detection, so as to improve the detection efficiency. , and reduce the likelihood of false positive results.
步骤S14:将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图。Step S14 : fuse the lesion probability map with the first feature maps of several dimensions to obtain a final fusion feature map.
具体地,在融合的过程中,可以按照维度由高到低的顺序,将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图。在一个实施场景中,可以利用病灶概率图对参考特征图进行编码处理,得到第二特征图,并将第二特征图与若干个维度的第一特征图进行融合,得到最终融合特征图,从而将病灶概率图作为全局特征参与特征图融合,使得最终融合特征图能够强化对病灶的特异性,从而能够有利于提高后续图像检测的准确性。仍以待测医学图像的分辨是256*256为例,参考特征图的大小为512*16*16,对应于512个通道的每个参考特征图,获取到与其对应的病灶概率图,故病灶概率图的大小为512*16*16,进而可以将大小为512*16*16的病灶概率图、大小为512*16*16的参考特征图、大小为256*32*32的第一特征图、大小为128*64*64的第一特征图、大小为64*128*128的第一特征图进行融合,得到通道数为1的最终融合特征图。Specifically, in the process of fusion, the lesion probability map and the first feature maps of several dimensions may be fused according to the order of dimensions from high to low to obtain the final fusion feature map. In one implementation scenario, the reference feature map can be encoded by using the lesion probability map to obtain a second feature map, and the second feature map can be fused with the first feature maps of several dimensions to obtain the final fused feature map, thereby The lesion probability map is used as a global feature to participate in the feature map fusion, so that the final fusion feature map can enhance the specificity of the lesion, which can help improve the accuracy of subsequent image detection. Still taking the resolution of the medical image to be tested as 256*256 as an example, the size of the reference feature map is 512*16*16, corresponding to each reference feature map of 512 channels, and the corresponding lesion probability map is obtained. The size of the probability map is 512*16*16, and then the lesion probability map of size 512*16*16, the reference feature map of size 512*16*16, and the first feature map of size 256*32*32 can be combined , the first feature map with a size of 128*64*64, and the first feature map with a size of 64*128*128 are fused to obtain the final fusion feature map with a channel number of 1.
在一个具体的实施场景中,为了降低编码处理的计算量,可以直接将病灶概率图中第一像素点的像素值与参考特征图中与第一像素点对应的第二像素点的像素值相乘,得到第二特征图的对应像素点的像素值。仍以待测医学图像的分辨是256*256为例,通过上述处理,可以得到大小为512*16*16的参考特征图,以及与其对应的大小为512*16*16的病灶概率图,故对于每个通道而言,可以将病灶概率图中第一像素点的像素值与对应通道的参考特征图中与第一像素点对应的第二像素点的像素值相乘,得到对应通道第二特征图的对应像素点的像素值,通过对512个通道进行同样的处理,可以得到大小为512*16*16的第二特征图。当待测医学图像为其他分辨率的图像,或者,当参考特征图为其他大小的图像时,可以以此类推,在此不再一一举例。In a specific implementation scenario, in order to reduce the computational complexity of the encoding process, the pixel value of the first pixel in the lesion probability map can be directly compared with the pixel value of the second pixel corresponding to the first pixel in the reference feature map. Multiply to obtain the pixel value of the corresponding pixel of the second feature map. Still taking the resolution of the medical image to be tested as 256*256 as an example, through the above processing, a reference feature map with a size of 512*16*16 and a corresponding lesion probability map with a size of 512*16*16 can be obtained, so For each channel, the pixel value of the first pixel in the lesion probability map can be multiplied by the pixel value of the second pixel corresponding to the first pixel in the reference feature map of the corresponding channel to obtain the second pixel of the corresponding channel. For the pixel value of the corresponding pixel of the feature map, by performing the same processing on 512 channels, a second feature map with a size of 512*16*16 can be obtained. When the medical image to be tested is an image of other resolutions, or, when the reference feature map is an image of other sizes, it can be deduced by analogy, and no examples will be given here.
在另一个具体的实施场景中,为了提高最终融合图像的准确性和丰富度,可以按照维度从高到低的顺序,将第二特征图与依照上述顺序排序的每个维度的第一特征图进行融合,得到最终融合特征图,从而能够有利于充分融合上下文信息。具体地,可以将参考特征图与第一低维特征图进行融合,得到与第一低维特征图的维度相同的第一融合特征图,且第一低维特征图为比参考特征图低第一维度的第一特征图,并将第二特征图与第一融合特征图进行融合,得到与第一融合特征图的维度相同的第二融合特征图,进而重复执行第二融合特征图与第二低维特征图进行融合以得到与第二低维特征图的维度相同的新的第二融合特征图,直至若干个维度的第一特征图融合完毕,其中,第二低维特征图为比当前第二融合特征图低一维度的第一特征图,最终融合得到的第二融合特征图 即可作为最终融合特征图。仍以待测医学图像的分辨是256*256为例,可以将大小为512*16*16的参考特征图与其对应的第一低维特征图,即大小为256*32*32的第一特征图进行融合,融合过程中,可以先将大小为512*16*16的参考特征图通道数减半、并倍增分辨率,从而将其大小调整为与其对应的第一低维特征图相同,再将调整之后的参考特征图与大小为256*32*32的第一低维特征图合并为大小为512*32*32的特征图,为了便于后续融合,可以再将其通道数减半,得到大小与第一低维特征图相同的第一融合特征图,即大小为256*32*32的第一融合特征图。再将大小为512*16*16的第二特征图与第一融合特征图进行融合,类似地,融合过程中,可以先将大小为512*16*16的第二特征图通道数减半、并倍增分辨率,从而将其大小调整为与第一融合特征图相同,再将调整之后的第二特征图与大小为256*32*32的第一融合特征图合并为大小为512*32*32的特征图,为了便于后续融合,可以再将其通道数减半,得到大小与第一融合特征图相同的第二融合特征图,即大小为256*32*32的第二融合特征图。再执行将大小为256*32*32的第二融合特征图与对应的第二低维特征图(即大小为128*64*64的第二特征图)进行融合的步骤,类似地,融合过程中,可以先将大小为256*32*32的第二融合特征图通道数减半、并倍增分辨率,从而将其大小调整为与对应的第二低维特征图一致,再将调整后的第二融合特征图与对应的第二低维特征图(即大小为128*64*64的第二特征图)合并为大小为256*64*64的特征图,为了便于后续融合,可以再将其通道数减半,得到大小与对应的第二低维特征图相同的新的第二融合特征图,即大小为128*64*64的第二融合特征图。再执行将大小为128*64*64的第二融合特征图与对应的第二低维特征图(即大小为64*128*128的第二特征图)进行融合的步骤,类似地,融合过程中,可以先将大小为128*64*64的第二融合特征图通道数减半、并倍增分辨率,从而将其大小调整为与对应的第二低维特征图一致,再将调整后的第二融合特征图与对应的第二低维特征图(即大小为64*128*128的第二特征图)合并为大小为128*128*128的特征图,为了便于后续处理,同样再将其通道数减半,得到大小与对应的第二低维特征图相同的新的第二融合特征图,即大小为64*128*128的第二融合特征图,并且由于若干各维度的第一特征图全部融合完毕,故可以将最终融合得到的大小为64*128*128的第二融合特征图,作为最终融合特征图。其他情况可以以此类推,在此不再一一举例。In another specific implementation scenario, in order to improve the accuracy and richness of the final fused image, the second feature map and the first feature map of each dimension sorted according to the above order can be arranged in the order of dimensions from high to low. Fusion is performed to obtain the final fusion feature map, which can be beneficial to fully fuse context information. Specifically, the reference feature map and the first low-dimensional feature map may be fused to obtain a first fused feature map with the same dimension as the first low-dimensional feature map, and the first low-dimensional feature map is a first low-dimensional feature map lower than the reference feature map. One-dimensional first feature map, and fuse the second feature map with the first fused feature map to obtain a second fused feature map with the same dimension as the first fused feature map, and then repeat the execution of the second fused feature map and the first fused feature map. Two low-dimensional feature maps are fused to obtain a new second fused feature map with the same dimension as the second low-dimensional feature map, until the first feature maps of several dimensions are fused, wherein the second low-dimensional feature map is a ratio of The first feature map that is one dimension lower than the current second fusion feature map, and the second fusion feature map obtained by final fusion can be used as the final fusion feature map. Still taking the resolution of the medical image to be tested as 256*256 as an example, the reference feature map with a size of 512*16*16 and its corresponding first low-dimensional feature map, that is, the first feature with a size of 256*32*32 During the fusion process, the number of channels of the reference feature map with a size of 512*16*16 can be halved and the resolution doubled, so as to adjust its size to be the same as the corresponding first low-dimensional feature map, and then Combine the adjusted reference feature map and the first low-dimensional feature map with a size of 256*32*32 into a feature map with a size of 512*32*32. In order to facilitate subsequent fusion, the number of channels can be halved to obtain The first fused feature map with the same size as the first low-dimensional feature map, that is, the first fused feature map with a size of 256*32*32. Then fuse the second feature map with a size of 512*16*16 and the first fusion feature map. Similarly, during the fusion process, you can first halve the number of channels of the second feature map with a size of 512*16*16, And multiply the resolution to adjust its size to be the same as the first fused feature map, and then merge the adjusted second feature map with the first fused feature map of size 256*32*32 into a size of 512*32* 32 feature map, in order to facilitate subsequent fusion, the number of channels can be halved to obtain a second fused feature map with the same size as the first fused feature map, that is, a second fused feature map with a size of 256*32*32. Then perform the step of fusing the second fusion feature map with a size of 256*32*32 and the corresponding second low-dimensional feature map (ie, the second feature map with a size of 128*64*64). Similarly, the fusion process , you can first halve the number of channels of the second fusion feature map with a size of 256*32*32 and multiply the resolution, so as to adjust its size to be consistent with the corresponding second low-dimensional feature map, and then adjust the adjusted The second fusion feature map and the corresponding second low-dimensional feature map (that is, the second feature map with a size of 128*64*64) are combined into a feature map with a size of 256*64*64. The number of channels is halved, and a new second fusion feature map with the same size as the corresponding second low-dimensional feature map is obtained, that is, a second fusion feature map with a size of 128*64*64. Then perform the step of fusing the second fusion feature map with a size of 128*64*64 and the corresponding second low-dimensional feature map (ie, the second feature map with a size of 64*128*128). Similarly, the fusion process , you can first halve the number of channels of the second fusion feature map with a size of 128*64*64 and multiply the resolution, so as to adjust its size to be consistent with the corresponding second low-dimensional feature map, and then adjust the adjusted The second fusion feature map and the corresponding second low-dimensional feature map (that is, the second feature map with a size of 64*128*128) are combined into a feature map with a size of 128*128*128. In order to facilitate subsequent processing, the same The number of channels is halved, and a new second fusion feature map with the same size as the corresponding second low-dimensional feature map is obtained, that is, a second fusion feature map with a size of 64*128*128. The feature maps are all fused, so the second fused feature map with a size of 64*128*128 obtained by the final fusion can be used as the final fused feature map. Other situations can be deduced by analogy, and no examples are given here.
在又一个具体的实施场景中,为了提高融合处理的效率,可以预先训练一图像检测模型,图像检测模型中包括一融合处理子网络,从而利用图像检测模型的融合处理子网络将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图。具体地,请继续结合参阅图2,如图2所示,融合处理子网络包括多个顺序连接的融合处理子模块,配置为执行将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图的步骤。每个融合处理子模块可以执行上采样、卷积、正则、激活、合并、卷积、正则、激活等处理操作。以前述实施场景中大小为512*16*16的较高维特征图和与其对应的大小为256*32*32的低维特征图的融合过程为例,上采样处理用于在融合过程中将大小为512*16*16的较高维特征图的分辨率倍增,得到大小为512*32*32的特征图;第一个卷积处理用于在融合过程中将分辨率倍增之后的较高维特征图(即大小为512*32*32的特征图)的通道数减半,得到大小和对应的低维特征图相同的特征图(即大小调整为256*32*32);合并处理用于在融合过程中将调整之后的较高维特征图与其对应的低维特征图进行合并使其通道数倍增,即合并之后的特征图的大小为512*32*32,第二个卷积处理用于在融合过程中将合并之后所得到的通道数倍增的特征图再次减半,从而使得本次融合得到的融合特征图的大小与对应的低维特征图的大小相同,即得到大小为256*32*32的融合特征图。具体可以结合参阅前述实施场景中的相关步骤,在此不再赘述。In another specific implementation scenario, in order to improve the efficiency of fusion processing, an image detection model can be pre-trained, and the image detection model includes a fusion processing sub-network, so that the fusion processing sub-network of the image detection model is used to combine the lesion probability map with the The first feature maps of several dimensions are fused to obtain the final fused feature map. Specifically, please continue to refer to FIG. 2. As shown in FIG. 2, the fusion processing sub-network includes a plurality of sequentially connected fusion processing sub-modules, and is configured to perform fusion of the lesion probability map and the first feature maps of several dimensions, Steps to get the final fused feature map. Each fusion processing sub-module can perform processing operations such as upsampling, convolution, regularization, activation, merging, convolution, regularization, and activation. Taking the fusion process of a higher-dimensional feature map with a size of 512*16*16 and a corresponding low-dimensional feature map with a size of 256*32*32 in the aforementioned implementation scenario as an example, the upsampling process is used to Resolution doubling of higher-dimensional feature maps of size 512*16*16, resulting in feature maps of size 512*32*32; the first convolution process is used to double the resolution during fusion. The number of channels of the dimensional feature map (that is, the feature map with a size of 512*32*32) is halved to obtain a feature map with the same size as the corresponding low-dimensional feature map (that is, the size is adjusted to 256*32*32); In the fusion process, the adjusted higher-dimensional feature map and its corresponding low-dimensional feature map are combined to double the number of channels, that is, the size of the combined feature map is 512*32*32, and the second convolution process In the fusion process, the feature map obtained by doubling the number of channels obtained after merging is halved again, so that the size of the fusion feature map obtained by this fusion is the same as the size of the corresponding low-dimensional feature map, that is, the size is 256 *32*32 fused feature map. For details, reference may be made to the relevant steps in the foregoing implementation scenarios, and details are not repeated here.
步骤S15:对最终融合特征图进行检测处理,得到待测医学图像中关于病灶的检测结果。Step S15 : performing detection processing on the final fusion feature map to obtain a detection result about the lesion in the medical image to be tested.
在一个实施场景中,为了便于医生查看,检测结果可以包括待测图像中病灶的检测区域。具体地,可以采用预设颜色、预设线型的线条表示检测区域,在此不做限定。在另一个实施场景中,待测医学图像为三维医学图像所包含的二维医学图像,故可以利用二维医学图像中所检测得到的检测区域,得到三维医学图像中病灶的检测区域,例如,可以将二维医学图像中检测得到的检测区域在三维空间进行诸如堆叠等方式的融合处理,从而得到三维医学图像中病灶的检测区域,具体可以根据实际应用进行设置,在此不做限定。In an implementation scenario, for the convenience of the doctor to view, the detection result may include the detection area of the lesion in the image to be measured. Specifically, a line of a preset color and a preset line type may be used to represent the detection area, which is not limited herein. In another implementation scenario, the medical image to be tested is a two-dimensional medical image included in the three-dimensional medical image, so the detection area detected in the two-dimensional medical image can be used to obtain the detection area of the lesion in the three-dimensional medical image, for example, The detection area detected in the 2D medical image can be fused in a 3D space such as stacking, so as to obtain the detection area of the lesion in the 3D medical image, which can be set according to the actual application, which is not limited here.
在另一个实施场景中,为了提高检测处理的效率,可以预先训练一图像检测模型,图像检测模型中可以包含一融合处理子网络,从而可以利用图像检测模型的融合处理子网络对最终融合特征图进行检测处理,得到待测医学图像中关于病灶的检测结果。具体地,请继续结合参阅图2,融合处理子网络除了包括顺序连接的多个融合处理子模块之外,还可以包括与顺序连接的多个融合处理子模块中的最后一个连接的激活处理子模块,激活处理子模块配置为将最终融合特征图像经过卷积、激活处理后得到通道数为1的特征图,并对该特征图进行归一化,得到关于病灶的检测结果。具体地,激活处理子模块可以包括顺序连接的卷积层和激活层,激活层可以采用sigmoid激活函数,具体可以根据实际应用情况进行设置,在此不做限定。In another implementation scenario, in order to improve the efficiency of detection processing, an image detection model can be pre-trained, and the image detection model can include a fusion processing sub-network, so that the fusion processing sub-network of the image detection model can be used to fuse the final fusion feature map. A detection process is performed to obtain a detection result about the lesion in the medical image to be tested. Specifically, please continue to refer to FIG. 2 , the fusion processing sub-network may include, in addition to a plurality of fusion processing sub-modules connected in sequence, an activation processing sub-network connected to the last of the sequentially connected plurality of fusion processing sub-modules. module, the activation processing sub-module is configured to convolve and activate the final fusion feature image to obtain a feature map with a channel number of 1, and normalize the feature map to obtain the detection result of the lesion. Specifically, the activation processing sub-module may include a sequentially connected convolution layer and an activation layer, and the activation layer may adopt a sigmoid activation function, which may be set according to actual application conditions, which is not limited here.
在又一个实施场景中,为了提供临床参考,还可以对待测医学图像进行器官检测,得到待测医学图像中的器官区域,从而可以获取病灶的检测区域在器官区域中所占的病灶比例,进而可以为医生提供有利于临床的参考信息,提高用户体验。例如,可以对待测医学图像进行肺部检测,得到待测医学图像中肺叶区域,从而可以获取病灶的检测区域在肺叶区域所占的病灶比例。其他应用场景可以以此类推,在此不做限定。具体地,为了提高器官检测的效率,还可以预先训练一器官检测模型,从而可以利用器官检测模型对待测医学图像进行器官检测,得到待测医学图像中的器官区域。具体地,器官检测模型可以基于U-net、全卷积网络(Fully Convolutional Networks,FCN)等等,在此不做限定。In yet another implementation scenario, in order to provide clinical reference, organ detection can also be performed on the medical image to be tested to obtain the organ region in the medical image to be tested, so that the proportion of the lesion occupied by the detection region of the lesion in the organ region can be obtained, and then It can provide doctors with clinical reference information and improve user experience. For example, lung detection can be performed on the medical image to be tested to obtain the lobe area of the lung in the medical image to be tested, so that the proportion of the lesion occupied by the detected area of the lesion in the lobe area of the lung can be obtained. Other application scenarios can be deduced by analogy, which is not limited here. Specifically, in order to improve the efficiency of organ detection, an organ detection model can also be pre-trained, so that the organ detection model can be used to perform organ detection on the medical image to be tested to obtain the organ region in the medical image to be tested. Specifically, the organ detection model may be based on U-net, fully convolutional networks (Fully Convolutional Networks, FCN), etc., which are not limited here.
上述方案,通过对获取得到的待测医学图像进行特征提取,从而得到若干维度的第一特征图,并以预设维度的第一特征图作为参考特征图,从而利用参考特征图生成病灶概率图,且病灶概率图用于表示待测医学图像的不同区域属于病灶的概率,进而将病灶概率图与若干维度的第一特征图进行融合,得到最终融合特征图,故使得病灶概率图能够作为全局特征与第一特征图进行融合,使得最终融合特征图能够强化对病灶的特异性,进而再通过最终融合特征图进行检测处理而得到待测医学图像中关于病灶的检测结果时,能够提高图像检测的准确性。In the above solution, by performing feature extraction on the obtained medical image to be tested, first feature maps of several dimensions are obtained, and the first feature map of preset dimensions is used as a reference feature map, so as to generate a lesion probability map by using the reference feature map , and the lesion probability map is used to represent the probability that different areas of the medical image to be tested belong to the lesion, and then the lesion probability map is fused with the first feature maps of several dimensions to obtain the final fusion feature map, so the lesion probability map can be used as a global The features are fused with the first feature map, so that the final fusion feature map can enhance the specificity of the lesion, and then the detection result of the lesion in the medical image to be tested can be obtained by performing detection processing through the final fusion feature map, which can improve image detection. accuracy.
请参阅图3,图3是本申请图像检测方法另一实施例的流程示意图。具体而言,可以包括如下步骤:Please refer to FIG. 3 , which is a schematic flowchart of another embodiment of the image detection method of the present application. Specifically, the following steps can be included:
步骤S31:获取待测医学图像。Step S31: Acquire the medical image to be tested.
具体可以参阅前述实施例中的相关步骤。For details, refer to the relevant steps in the foregoing embodiments.
步骤S32:对待测医学图像进行特征提取,得到若干个维度的第一特征图。Step S32: Perform feature extraction on the medical image to be tested to obtain first feature maps of several dimensions.
具体可以参阅前述实施例中的相关步骤。For details, refer to the relevant steps in the foregoing embodiments.
步骤S33:以预设维度的第一特征图作为参考特征图,利用参考特征图进行预测处理,得到待测医学图像中包含病灶的第一概率值。Step S33 : using the first feature map of the preset dimension as a reference feature map, and performing prediction processing by using the reference feature map to obtain a first probability value that the medical image to be tested contains a lesion.
具体地,可以预先训练一图像检测模型,且图像检测模型中包含一预测处理子网络,从而可以利用预测处理子网络对参考特征图进行预测处理,得到待测医学图像中包含病灶的第一概率值。具体可以参阅前述实施例中的相关步骤,在此不再赘述。Specifically, an image detection model can be pre-trained, and the image detection model includes a prediction processing sub-network, so that the prediction processing sub-network can be used to perform prediction processing on the reference feature map to obtain the first probability that the medical image to be tested contains a lesion value. For details, reference may be made to the relevant steps in the foregoing embodiments, which will not be repeated here.
步骤S34:基于第一概率值,确定是否执行利用参考特征图生成病灶概率图的步骤以及后续步骤,若是,则执行步骤S35,否则执行步骤S38。Step S34: Based on the first probability value, determine whether to perform the step of generating the probability map of the lesion by using the reference feature map and the subsequent steps, if yes, perform step S35, otherwise, perform step S38.
在一个实施场景中,当第一概率值满足第一预设条件时,可以确定执行利用参考特征图生成病灶概率图的步骤以及后续步骤。具体地,第一预设条件可以包括第一概率值大于或等于第一概率阈值,第一概率阈值可以根据实际应用进行设置,例如,可以设置为15%、20%、25%等,在此不做限定。In an implementation scenario, when the first probability value satisfies the first preset condition, it may be determined to perform the step of generating the lesion probability map by using the reference feature map and the subsequent steps. Specifically, the first preset condition may include that the first probability value is greater than or equal to the first probability threshold, and the first probability threshold may be set according to practical applications, for example, may be set to 15%, 20%, 25%, etc., here Not limited.
在另一个实施场景中,待测医学图像为三维医学图像所包含的二维医学图像,故可以将二维医学图像的第一概率值按照由大到小的顺序进行排序,并选择前预设数量个第一概率值,预设数量可以根据实际情况进行设置,例如,可以设置为5个、6个等等,在此不做限定。并对预设数量个第一概率值进行预设处理,例如,对预设数量个第一概率值进行平均运算,得到第二概率值,则当第二概率值满足第二预设条件时,可以确定执行利用参考特征图生成病灶概率图的步骤以及后续步骤。具体地,第二预设条件可以包括第二概率值大于或等于第二概率阈值,第二概率阈值可以根据实际应用设置,例如,可以设置为15%、20%、25%等,在此不做限定。In another implementation scenario, the medical image to be tested is a two-dimensional medical image included in the three-dimensional medical image, so the first probability values of the two-dimensional medical image can be sorted in descending order, and the pre-set probability value can be selected The number of first probability values, the preset number can be set according to the actual situation, for example, can be set to 5, 6, etc., which is not limited here. Preset processing is performed on a preset number of first probability values, for example, an average operation is performed on a preset number of first probability values to obtain a second probability value, and when the second probability value satisfies the second preset condition, The step of generating the lesion probability map using the reference feature map and subsequent steps may be determined to be performed. Specifically, the second preset condition may include that the second probability value is greater than or equal to the second probability threshold, and the second probability threshold may be set according to practical applications, for example, may be set to 15%, 20%, 25%, etc. Do limit.
步骤S35:利用参考特征图生成病灶概率图。Step S35 : generating a lesion probability map using the reference feature map.
具体可以参阅前述实施例中的相关步骤。For details, refer to the relevant steps in the foregoing embodiments.
步骤S36:将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图。Step S36 : fuse the lesion probability map with the first feature maps of several dimensions to obtain a final fusion feature map.
具体可以参阅前述实施例中的相关步骤。For details, refer to the relevant steps in the foregoing embodiments.
步骤S37:对最终融合特征图进行检测处理,得到待测医学图像中关于病灶的检测结果。Step S37: Perform detection processing on the final fusion feature map to obtain a detection result about the lesion in the medical image to be tested.
具体可以参阅前述实施例中的相关步骤。For details, refer to the relevant steps in the foregoing embodiments.
步骤S38:提示待测医学图像中不包含病灶。Step S38: Prompt that the medical image to be tested does not contain a lesion.
当基于第一概率值确定不执行利用参考特征图生成病灶概率图的步骤以及后续步骤时,可以确定待测医学图像中不包含病灶。此外,还可以通过文字、图像、语音等方式进行提示医护人员待测医学图像中不包含病灶,在此不做限定。When it is determined based on the first probability value that the step of generating the lesion probability map using the reference feature map and subsequent steps are not to be performed, it may be determined that the medical image to be tested does not contain a lesion. In addition, it is also possible to prompt the medical staff that the medical image to be tested does not contain a lesion by means of text, image, voice, etc., which is not limited herein.
可以看出,通过利用参考特征图进行预测处理的,得到待测医学图像中包含病灶的第一概率值,并基于第一概率值确定是否执行利用参考特征图生成病灶概率图的步骤以及后续步骤,从而能够避免当待测医学图像中不包含病灶而检测得到假阳检测结果,进而能够有利于进一步提高图像检测的准确性,且由于能够在检测之前预先筛除阴性数据,故能够提高图像检测的效率。It can be seen that, by using the reference feature map for prediction processing, the first probability value of the lesion contained in the medical image to be tested is obtained, and based on the first probability value, it is determined whether to perform the step of using the reference feature map to generate the lesion probability map and subsequent steps. , which can avoid false positive detection results when the medical image to be tested does not contain lesions, which can further improve the accuracy of image detection, and because the negative data can be pre-screened before detection, it can improve image detection. s efficiency.
请参阅图4,图4是训练图像检测模型一实施例的流程示意图。具体地,图像检测模型可以在利用图像检测模型的特征提取子网络对待测医学图像进行特征提取之前进行训练,图像检测模型的网络结构可以参阅前述实施例,在此不再赘述。具体地,训练步骤可以包括:Please refer to FIG. 4 , which is a schematic flowchart of an embodiment of training an image detection model. Specifically, the image detection model may be trained before using the feature extraction sub-network of the image detection model to perform feature extraction on the medical image to be tested. For the network structure of the image detection model, reference may be made to the foregoing embodiments, which will not be repeated here. Specifically, the training steps may include:
步骤S41:获取样本医学图像,其中,样本医学图像中包含病灶的实际区域。Step S41: Obtain a sample medical image, wherein the sample medical image includes the actual area of the lesion.
样本医学图像可以包括CT图像、MR图像,在此不做限定。具体地,样本医学图像可以是对肺部区域、肝部区域、心脏区域等扫描得到的图像,在此不做限定,具体可以根据实际应用情况进行设置。在一个实施场景中,样本医学图像可以是三维医学图像中所包含的二维医学图像,例如,对扫描对象进行CT扫描得到的三维CT数据,则样本医学图像可以为三维CT数据所包含的二维医学图像。The sample medical images may include CT images and MR images, which are not limited herein. Specifically, the sample medical image may be an image obtained by scanning a lung area, a liver area, a heart area, etc., which is not limited here, and may be specifically set according to actual application conditions. In an implementation scenario, the sample medical image may be a 2D medical image included in the 3D medical image. For example, if the 3D CT data is obtained by performing a CT scan on a scanned object, the sample medical image may be a 2D medical image included in the 3D CT data. dimensional medical images.
在一个实施场景中,为了提高样本多样性,还可以对样本医学图像进行数据增强;在另一个实施场景中,为了提高样本医学图像的对比度,还可以利用预设窗值将样本医学图像的像素值归一化至预设范围内。预设窗值和预设范围的具体设置方式可以参阅前述实施例中的相关步骤,在此不再赘述。In one implementation scenario, in order to improve the diversity of samples, data enhancement can also be performed on the sample medical image; in another implementation scenario, in order to improve the contrast of the sample medical image, the pixels of the sample medical image can also be enhanced by a preset window value. Values are normalized to within a preset range. For the specific setting method of the preset window value and the preset range, reference may be made to the relevant steps in the foregoing embodiments, and details are not described herein again.
步骤S42:利用特征提取子网络对样本医学图像进行特征提取,得到若干个维度的第一样本特征图。Step S42 : using the feature extraction sub-network to perform feature extraction on the sample medical image to obtain a first sample feature map of several dimensions.
具体可以参阅前述实施例中的相关步骤。For details, refer to the relevant steps in the foregoing embodiments.
步骤S43:以预设维度的第一样本特征图作为参考样本特征图,利用参考样本特征图生成病灶样本概率图。Step S43 : using the first sample feature map of the preset dimension as the reference sample feature map, and using the reference sample feature map to generate a lesion sample probability map.
病灶样本概率图用于表示样本医学图像中的不同区域属于病灶的概率。病灶样本概率图的获取方式具体可以参阅前述实施例中关于获取病灶概率图的步骤,在此不再赘述。The lesion sample probability map is used to represent the probability that different regions in the sample medical image belong to the lesion. For details of the acquisition method of the probability map of the lesion sample, reference may be made to the steps of acquiring the probability map of the lesion in the foregoing embodiment, which will not be repeated here.
步骤S44:利用融合处理子网络将病灶样本概率图与若干个维度的第一样本特征图进行融合,得到最终融合样本特征图。Step S44 : using the fusion processing sub-network to fuse the lesion sample probability map with the first sample feature maps of several dimensions to obtain a final fused sample feature map.
具体可以参阅前述实施例中的相关步骤,在此不再赘述。For details, reference may be made to the relevant steps in the foregoing embodiments, which will not be repeated here.
步骤S45:利用融合处理子网络对最终融合样本特征图进行检测处理,得到样本医学图像中关于病灶的检测区域。Step S45 : use the fusion processing sub-network to perform detection processing on the final fusion sample feature map to obtain a detection area related to the lesion in the sample medical image.
具体可以参阅前述实施例中的相关步骤,在此不再赘述。For details, reference may be made to the relevant steps in the foregoing embodiments, which will not be repeated here.
步骤S46:利用实际区域和检测区域之间的差异,调整图像检测模型的网络参数。Step S46: Using the difference between the actual area and the detection area, adjust the network parameters of the image detection model.
在一个实施场景中,可以采样集合相似度损失函数(Dice loss)对实际区域和检测区域进行处理,确定图像检测模型的损失值,从而利用损失值以一预设学习率(例如,3e-4)调整图像检测模型的网络参数。在另一个实施场景中,还可以采用交叉熵损失函数(CE loss)对实际区域和检测区域进行处理,确定图像检测模型的损失值,从而利用损失值以一预设学习率(例如,3e-4)调整图像检测模型的网络参数。在此不做限定。在又一个实施场景中,请结合参阅图2,图像检测模型还包括预测处理子网络,预测处理子网络用于对参考样本特征图进行预测处理,得到参考样本特征图中包含病灶的预测概率,在训练过程中,还可以利用二分类交叉熵损失函数对预测概率进行处理,确定图像检测模型的分类损失值,并将对实际区域和检测区域进行处理所确定图像检测模型的损失值和分类损失值进行加权处理,得到图像检测模型的加权损失值,进而利用加权损失值对图像检测模型的网络参数进行调整。In an implementation scenario, a set similarity loss function (Dice loss) can be sampled to process the actual area and the detection area to determine the loss value of the image detection model, so as to use the loss value with a preset learning rate (for example, 3e-4 ) to adjust the network parameters of the image detection model. In another implementation scenario, a cross-entropy loss function (CE loss) can also be used to process the actual area and the detection area to determine the loss value of the image detection model, so as to use the loss value to use a preset learning rate (for example, 3e- 4) Adjust the network parameters of the image detection model. This is not limited. In yet another implementation scenario, please refer to FIG. 2 in combination, the image detection model further includes a prediction processing sub-network, and the prediction processing sub-network is used to perform prediction processing on the feature map of the reference sample to obtain the predicted probability of the lesion included in the feature map of the reference sample, In the training process, the prediction probability can also be processed by the binary cross-entropy loss function to determine the classification loss value of the image detection model, and the loss value and classification loss of the image detection model determined by processing the actual area and the detection area The value is weighted to obtain the weighted loss value of the image detection model, and then the network parameters of the image detection model are adjusted by using the weighted loss value.
在一个实施场景中,还可以预先设置一训练结束条件,在满足预设训练结束条件时,可以结束对图像检测模型的训练。具体地,训练结束条件可以包括:损失值小于一预设损失阈值、训练次数达到预设次数阈值中的任一者,在此不做限定。具体地,预设损失阈值、预设次数阈值可以根据实际情况进行设置,例如,可以将预设次数阈值设置为1000次、2000次等等。在此不做限定。In an implementation scenario, a training end condition may also be preset, and when the preset training end condition is satisfied, the training of the image detection model may be ended. Specifically, the training end condition may include any one of: the loss value is less than a preset loss threshold, and the number of training times reaches a preset number of times threshold, which is not limited herein. Specifically, the preset loss threshold and the preset number of times threshold may be set according to actual conditions. For example, the preset number of times threshold may be set to 1000 times, 2000 times, and so on. This is not limited.
在一个实施场景中,可以采用随机梯度下降(Stochastic Gradient Descent,SGD)、批量梯度下降(Batch Gradient Descent,BGD)、小批量梯度下降(Mini-Batch Gradient Descent,MBGD)等方式,利用损失值对图像检测模型的网络参数进行调整。其中,批量梯度下降是指在每一次迭代时,使用所有样本来进行参数更新;随机梯度下降是指在每一次迭代时,使用一个样本来进行参数更新;小批量梯度下降是指在每一次迭代时,使用一批样本来进行参数更新,在此不再赘述。In an implementation scenario, methods such as Stochastic Gradient Descent (SGD), Batch Gradient Descent (BGD), Mini-Batch Gradient Descent (MBGD), etc. can be used to utilize the loss value pair The network parameters of the image detection model are adjusted. Among them, batch gradient descent means that all samples are used to update parameters at each iteration; stochastic gradient descent means that one sample is used to update parameters at each iteration; mini-batch gradient descent means that at each iteration When , a batch of samples is used to update the parameters, which will not be repeated here.
可以看出,通过获取样本医学图像,且样本医学图像中包含病灶的实际区域,并利用特征提取子网络对样本医学图像进行特征提取,得到若干个维度的第一样本特征图,从而以预设维度的第一样本特征图作为参考样本特征图,并利用参考样本特征图生成病灶样本概率图,且病灶样本概率图用于表示样本医学图像中的不同区域属于病灶的概率,进而将病灶概率图与若干维度的第一样本特征图进行融合,得到最终融合样本特征图,以对最终融合样本特征图进行检测处理,得到样本医学图像中关于病灶的检测区域,并利用实际区域与检测区域之间的差异,调整图像检测模型的网络参数,故能够在对图像检测模型的训练过程中,利用病灶样本概率图作为全局特征与图像检测的解码过程耦合,使得最终融合样本特征图能够强化对病灶的特异性,从而能够加强图像检测模型对于病灶的敏感程度,进而能够有利于提高模型的训练速度。It can be seen that by obtaining the sample medical image, and the sample medical image contains the actual area of the lesion, and using the feature extraction sub-network to perform feature extraction on the sample medical image, a first sample feature map of several dimensions is obtained, so as to predict The first sample feature map of the dimension is set as the reference sample feature map, and the reference sample feature map is used to generate the lesion sample probability map, and the lesion sample probability map is used to represent the probability that different regions in the sample medical image belong to the lesion, and then the lesion is classified as a lesion. The probability map is fused with the first sample feature map of several dimensions to obtain the final fused sample feature map, so as to perform detection processing on the final fused sample feature map to obtain the detection area of the lesion in the sample medical image, and use the actual area and detection. The difference between regions can be adjusted by adjusting the network parameters of the image detection model. Therefore, in the training process of the image detection model, the probability map of the lesion sample can be used as a global feature to couple with the decoding process of image detection, so that the final fusion sample feature map can be strengthened. The specificity of the lesion can enhance the sensitivity of the image detection model to the lesion, which can help improve the training speed of the model.
请参阅图5,图5是本申请图像检测装置50一实施例的框架示意图。图像检测装置 50包括图像获取模块51、特征提取模块52、图像生成模块53、图像融合模块54和检测处理模块55,图像获取模块51配置为获取待测医学图像;特征提取模块52配置为对待测医学图像进行特征提取,得到若干个维度的第一特征图;图像生成模块53配置为以预设维度的第一特征图作为参考特征图,利用参考特征图生成病灶概率图,其中,病灶概率图配置为表示待测医学图像的不同区域属于病灶的概率;图像融合模块54配置为将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图;检测处理模块55用于对最终融合特征图进行检测处理,得到待测医学图像中关于病灶的检测结果。Please refer to FIG. 5 , which is a schematic diagram of a framework of an embodiment of an image detection apparatus 50 of the present application. The image detection device 50 includes an image acquisition module 51, a feature extraction module 52, an image generation module 53, an image fusion module 54 and a detection processing module 55. The image acquisition module 51 is configured to acquire a medical image to be tested; the feature extraction module 52 is configured to be tested. Perform feature extraction on the medical image to obtain a first feature map of several dimensions; the image generation module 53 is configured to use the first feature map of a preset dimension as a reference feature map, and use the reference feature map to generate a lesion probability map, wherein the lesion probability map It is configured to represent the probability that different areas of the medical image to be tested belong to the lesion; the image fusion module 54 is configured to fuse the lesion probability map with the first feature maps of several dimensions to obtain the final fusion feature map; the detection processing module 55 is used for Finally, the feature map is fused for detection processing, and the detection result of the lesion in the medical image to be tested is obtained.
上述方案,通过对获取得到的待测医学图像进行特征提取,从而得到若干维度的第一特征图,并以预设维度的第一特征图作为参考特征图,从而利用参考特征图生成病灶概率图,且病灶概率图用于表示待测医学图像的不同区域属于病灶的概率,进而将病灶概率图与若干维度的第一特征图进行融合,得到最终融合特征图,故使得病灶概率图能够作为全局特征与第一特征图进行融合,使得最终融合特征图能够强化对病灶的特异性,进而再通过最终融合特征图进行检测处理而得到待测医学图像中关于病灶的检测结果时,能够提高图像检测的准确性。In the above solution, by performing feature extraction on the obtained medical image to be tested, first feature maps of several dimensions are obtained, and the first feature map of preset dimensions is used as a reference feature map, so as to generate a lesion probability map by using the reference feature map , and the lesion probability map is used to represent the probability that different areas of the medical image to be tested belong to the lesion, and then the lesion probability map is fused with the first feature maps of several dimensions to obtain the final fusion feature map, so the lesion probability map can be used as a global The features are fused with the first feature map, so that the final fusion feature map can enhance the specificity of the lesion, and then the detection result of the lesion in the medical image to be tested can be obtained by performing detection processing through the final fusion feature map, which can improve image detection. accuracy.
在一些实施例中,图像检测装置50还包括预测处理模块,预测处理模块,配置为利用参考特征图进行预测处理,得到待测医学图像中包含病灶的第一概率值;图像检测装置50还包括执行确定模块,执行确定模块配置为基于第一概率值确定是否执行利用参考特征图生成病灶概率图的步骤以及后续步骤。In some embodiments, the image detection apparatus 50 further includes a prediction processing module, the prediction processing module is configured to perform prediction processing using the reference feature map to obtain a first probability value that the medical image to be tested contains a lesion; the image detection apparatus 50 further includes An execution determination module is configured to determine, based on the first probability value, whether to execute the step of generating a lesion probability map using the reference feature map and subsequent steps.
可以看出,通过利用参考特征图进行预测处理,得到待测医学图像中包含病灶的第一概率值,并基于第一概率值确定是否执行利用参考特征图生成病灶概率图的步骤以及后续步骤,从而能够避免当待测医学图像中不包含病灶而检测得到假阳检测结果,进而能够有利于进一步提高图像检测的准确性,且由于能够在检测之前预先筛除阴性数据,故能够提高图像检测的效率。It can be seen that, by using the reference feature map for prediction processing, the first probability value of the lesion contained in the medical image to be tested is obtained, and based on the first probability value, it is determined whether to perform the step of using the reference feature map to generate the lesion probability map and subsequent steps, In this way, false positive detection results can be avoided when the medical image to be tested does not contain lesions, which can further improve the accuracy of image detection, and because the negative data can be pre-screened before detection, the accuracy of image detection can be improved. efficiency.
执行确定模块具体配置为在第一概率值满足第一预设条件时,执行利用参考特征图生成病灶概率图的步骤以及后续步骤;The execution determination module is specifically configured to, when the first probability value satisfies the first preset condition, execute the step of generating the lesion probability map by using the reference feature map and the subsequent steps;
或者,在待测医学图像为三维医学图像所包含的二维医学图像的情况下,执行确定模块还包括概率选择子模块;概率选择子模块,配置为将二维医学图像的第一概率值按照由大到小的顺序进行排序,并选择前预设数量个第一概率值;执行确定模块还包括概率处理子模块,概率处理子模块配置为对预设数量个第一概率值进行预设处理,得到第二概率值;执行确定模块还包括确定执行子模块,确定子模块,配置为在第二概率值满足第二预设条件时,执行利用参考特征图生成病灶概率图的步骤以及后续步骤。Or, when the medical image to be tested is a two-dimensional medical image included in the three-dimensional medical image, the execution determination module further includes a probability selection sub-module; the probability selection sub-module is configured to select the first probability value of the two-dimensional medical image according to Sorting from large to small, and selecting the first preset number of first probability values; the execution determination module further includes a probability processing sub-module, and the probability processing sub-module is configured to perform preset processing on a preset number of first probability values to obtain the second probability value; the execution determination module further includes a determination execution sub-module, the determination sub-module is configured to execute the step of using the reference feature map to generate the lesion probability map and subsequent steps when the second probability value satisfies the second preset condition .
可以看出,当第一概率值满足第一预设条件时,执行利用参考特征图生成病灶概率图的步骤以及后续步骤,或者,当待测医学图像为三维医学图像所包含的二维医学图像时,将二维医学图像的第一概率值按照由大到小的顺序进行排序,并选择前预设数量个第一概率值,并对预设数量个第一概率值进行预设处理,得到第二概率值,从而在第二概率值满足第二预设条件时,执行利用参考特征图生成病灶概率图的步骤以及后续步骤,故能够有利于在检测之前预先筛除阴性数据,从而提高图像检测的准确性和效率。It can be seen that when the first probability value satisfies the first preset condition, the step of using the reference feature map to generate the lesion probability map and subsequent steps are performed, or, when the medical image to be tested is a two-dimensional medical image included in a three-dimensional medical image , sorting the first probability values of the two-dimensional medical images in descending order, selecting the first preset number of first probability values, and performing preset processing on the preset number of first probability values to obtain the second probability value, so that when the second probability value satisfies the second preset condition, the step of using the reference feature map to generate the probability map of the lesion and the subsequent steps are performed, which is beneficial to pre-screening negative data before detection, thereby improving the image quality. Detection accuracy and efficiency.
在一些实施例中,第一预设条件包括:第一概率值大于或等于第一概率阈值;第二预设条件包括:第二概率值大于或等于第二概率阈值;预设处理为平均运算。In some embodiments, the first preset condition includes: the first probability value is greater than or equal to the first probability threshold; the second preset condition includes: the second probability value is greater than or equal to the second probability threshold; the preset processing is an average operation .
可以看出,通过将第一预设条件设置为第一概率值大于或等于第一概率阈值,通过将第二预设条件设置为第二概率值大于或等于第二概率阈值,预设处理设置为平均运算,从而能够降低第二概率值的计算量,并使得第二概率值能够准确反映三维医学图像包含病灶的可能性,故此,能够在第一概率值大于或等于第一概率阈值时,执行利用参考特征图生成病例概率图的步骤以及后续步骤,在第二概率值大于或等于第二概率阈值时,执行利用参考特征图生成病例概率图的步骤以及后续步骤,故能够有利于在检测之前预 先筛除阴性数据,从而提高图像检测的准确性和效率。It can be seen that by setting the first preset condition as the first probability value is greater than or equal to the first probability threshold, and by setting the second preset condition as the second probability value greater than or equal to the second probability threshold, the preset processing setting is an average operation, so that the calculation amount of the second probability value can be reduced, and the second probability value can accurately reflect the possibility that the three-dimensional medical image contains lesions. Therefore, when the first probability value is greater than or equal to the first probability threshold, Execute the step of using the reference feature map to generate the case probability map and subsequent steps, and when the second probability value is greater than or equal to the second probability threshold, execute the step of using the reference feature map to generate the case probability map and subsequent steps, so it can be beneficial to the detection of Negative data is pre-screened to improve the accuracy and efficiency of image detection.
在一些实施例中,执行确定模块还配置为在第一概率值不满足第一预设条件或第二概率值不满足第二预设条件时,确定待测医学图像中不包含病灶。In some embodiments, the execution determination module is further configured to determine that the medical image to be tested does not contain a lesion when the first probability value does not satisfy the first preset condition or the second probability value does not satisfy the second preset condition.
可以看出,通过在第一概率值不满足第一预设条件或第二概率值不满足第二预设条件时,确定待测医学图像中不包含病灶,能够使用户及时感知待测医学图像的阴性检测结果,从而能够有利于提高用户体验。It can be seen that when the first probability value does not meet the first preset condition or the second probability value does not meet the second preset condition, it is determined that the medical image to be tested does not contain a lesion, so that the user can perceive the medical image to be tested in time. negative test results, which can help improve the user experience.
在一些实施例中,图像生成模块53具体配置为统计参考特征图中各像素点关于病灶的梯度值,生成类激活图,将类激活图作为病灶概率图。In some embodiments, the image generation module 53 is specifically configured to count the gradient values of each pixel in the reference feature map with respect to the lesion, generate a class activation map, and use the class activation map as the lesion probability map.
可以看出,通过统计参考特征图中各像素点关于病灶的梯度值,生成类激活图,以作为病灶概率图,能够提高病灶概率图的准确性,从而能够有利于提高后续图像检测的准确性。It can be seen that by counting the gradient values of each pixel in the reference feature map with respect to the lesion, the class activation map is generated as the lesion probability map, which can improve the accuracy of the lesion probability map, which can help improve the accuracy of subsequent image detection. .
在一些实施例中,图像融合模块54包括编码处理子模块,编码处理子模块配置为利用病灶概率图对参考特征图进行编码处理,得到第二特征图;图像融合模块54包括融合处理子模块,融合处理子模块配置为将第二特征图与若干个维度的第一特征图进行融合,得到最终融合特征图。In some embodiments, the image fusion module 54 includes an encoding processing submodule, and the encoding processing submodule is configured to perform encoding processing on the reference feature map by using the lesion probability map to obtain the second feature map; the image fusion module 54 includes a fusion processing submodule, The fusion processing sub-module is configured to fuse the second feature map with the first feature maps of several dimensions to obtain a final fusion feature map.
可以看出,通过利用病灶概率图对参考特征图进行编码处理,得到第二特征图,并将第二特征图与若干个维度的第一特征图进行融合,从而得到最终融合特征图,故能够将病灶概率图作为全局特征参与特征图融合,使得最终融合特征图能够强化对病灶的特异性,从而能够有利于提高后续图像检测的准确性。It can be seen that by using the lesion probability map to encode the reference feature map, the second feature map is obtained, and the second feature map is fused with the first feature maps of several dimensions to obtain the final fusion feature map, so it can be The lesion probability map is used as a global feature to participate in the feature map fusion, so that the final fusion feature map can enhance the specificity of the lesion, which can help improve the accuracy of subsequent image detection.
在一些实施例中,编码处理子模块具体配置为将病灶概率图中第一像素点的像素值与参考特征图中与第一像素点对应的第二像素点的像素值相乘,得到第二特征图的对应像素点的像素值。In some embodiments, the encoding processing sub-module is specifically configured to multiply the pixel value of the first pixel point in the lesion probability map and the pixel value of the second pixel point corresponding to the first pixel point in the reference feature map to obtain the second pixel value. The pixel value of the corresponding pixel of the feature map.
可以看出,通过将病灶概率图中第一像素点的像素值与参考特征图中与第一像素点对应的第二像素点的像素值相乘,得到第二特征图的对应像素点的像素值,从而实现病灶概率图对参考特征图的编码处理,故能够有利于降低计算量。It can be seen that by multiplying the pixel value of the first pixel in the lesion probability map and the pixel value of the second pixel corresponding to the first pixel in the reference feature map, the pixel corresponding to the pixel in the second feature map is obtained. value, so as to realize the encoding processing of the reference feature map from the lesion probability map, which can help to reduce the amount of calculation.
在一些实施例中,融合处理子模块具体配置为按照维度从高到底的顺序,将第二特征图与依照顺序的每个维度的第一特征图进行融合,得到最终融合特征图。In some embodiments, the fusion processing sub-module is specifically configured to fuse the second feature map with the first feature map of each dimension in order in order of dimensions from high to bottom to obtain a final fused feature map.
可以看出,通过按照维度从高到低的顺序,将第二特征图与每个维度的第一特征图进行融合,得到最终融合特征图,能够有利于逐维度地进行特征图融合,从而能够有利于充分融合上下文信息,提高最终融合特征图的准确性和特征丰富度,进而能够有利于提高后续图像检测的准确性。It can be seen that by merging the second feature map with the first feature map of each dimension in the order of dimensions from high to low to obtain the final fusion feature map, it can be beneficial to perform feature map fusion dimension by dimension, so as to be able to It is beneficial to fully fuse context information, improve the accuracy and feature richness of the final fusion feature map, and further improve the accuracy of subsequent image detection.
在一些实施例中,参考特征图为维度最高的第一特征图;融合处理子模块包括第一融合单元,第一融合单元配置为将参考特征图与第一低维特征图进行融合,得到与第一低维特征图的维度相同的第一融合特征图,其中,第一低维特征图为比参考特征图低一维度的第一特征图;In some embodiments, the reference feature map is the first feature map with the highest dimension; the fusion processing sub-module includes a first fusion unit, and the first fusion unit is configured to fuse the reference feature map and the first low-dimensional feature map to obtain the same The first fusion feature map with the same dimension of the first low-dimensional feature map, wherein the first low-dimensional feature map is a first feature map with one dimension lower than the reference feature map;
融合处理子模块包括第二融合单元,第二融合单元配置为将第二特征图与第一融合特征图进行融合,得到与第一融合特征图的维度相同的第二融合特征图;The fusion processing submodule includes a second fusion unit, and the second fusion unit is configured to fuse the second feature map with the first fusion feature map to obtain a second fusion feature map with the same dimension as the first fusion feature map;
融合处理子模块包括第三融合单元,第三融合单元配置为重复执行将第二融合特征图与第二低维特征图进行融合以得到与第二低维特征图的维度相同的新的第二融合特征图,直至若干个维度的第一特征图融合完毕;其中,第二低维特征图为比当前第二融合特征图低一维度的第一特征图;The fusion processing sub-module includes a third fusion unit, and the third fusion unit is configured to repeatedly perform the fusion of the second fusion feature map and the second low-dimensional feature map to obtain a new second low-dimensional feature map with the same dimension as the second low-dimensional feature map. Fusing the feature maps until the first feature maps of several dimensions are fused; wherein, the second low-dimensional feature map is the first feature map one dimension lower than the current second fused feature map;
融合处理子模块包括最终融合单元,最终融合单元配置为将最终融合得到的第二融合特征图,作为最终融合特征图。The fusion processing sub-module includes a final fusion unit, and the final fusion unit is configured to use the second fusion feature map obtained by final fusion as the final fusion feature map.
可以看出,通过将参考特征图与第一低维特征图进行融合,得到与第一低维特征图的维度相同的第一融合特征图,且第一低维特征图为比参考特征图低一维度的第一特征 图,并将第二特征图与第一融合特征图进行融合,得到与第一融合特征图的维度相同的第二融合特征图,从而重复执行将第二融合特征图与第二低维特征图进行融合以得到与第二低维特征图的维度相同的新的第二融合特征图,直至若干个维度的第一特征图融合完毕,且第二低维特征图为比当前第二融合特征图低一维度的第一特征图,并将最终融合得到的第二融合特征图,作为最终融合特征图,进而能够将病灶概率图作为全局特征与图像检测的解码过程耦合,使得最终融合特征图能够强化对病灶的特异性,并能够充分融合特征图上下文信息,提高最终融合特征图的准确性和特征丰富度,进而能够有利于提高后续图像检测的准确性。It can be seen that by fusing the reference feature map with the first low-dimensional feature map, the first fusion feature map with the same dimension as the first low-dimensional feature map is obtained, and the first low-dimensional feature map is lower than the reference feature map. One-dimensional first feature map, and fuse the second feature map with the first fused feature map to obtain a second fused feature map with the same dimension as the first fused feature map. The second low-dimensional feature map is fused to obtain a new second fused feature map with the same dimension as the second low-dimensional feature map, until the first feature maps of several dimensions are fused, and the second low-dimensional feature map is a ratio of The current second fusion feature map is one dimension lower than the first feature map, and the second fusion feature map obtained by final fusion is used as the final fusion feature map, and the lesion probability map can be used as a global feature to couple with the decoding process of image detection, The final fusion feature map can enhance the specificity of the lesion, and can fully integrate the context information of the feature map, improve the accuracy and feature richness of the final fusion feature map, and further improve the accuracy of subsequent image detection.
在一些实施例中,检测结果包括待测医学图像中病灶的检测区域;图像检测装置50还包括器官检测模块,器官检测模块配置为对待测医学图像进行器官检测,得到待测医学图像中的器官区域;图像检测装置50还包括比例获取模块,比例获取模块配置为获取病灶的检测区域在器官区域中所占的病灶比例。In some embodiments, the detection result includes the detection area of the lesion in the medical image to be tested; the image detection apparatus 50 further includes an organ detection module, and the organ detection module is configured to perform organ detection on the medical image to be tested to obtain the organ in the medical image to be tested. area; the image detection apparatus 50 further includes a proportion acquisition module, which is configured to acquire the proportion of the lesion in the organ area occupied by the detection area of the lesion.
可以看出,通过对待测医学图像进行器官检测,从而得到待测医学图像中的器官区域,并获取病灶的检测区域在器官区域中所占的病灶比例,能够有利于利用检测结果进一步生成有利于临床的参考信息,从而能够提高用户体验。It can be seen that, by performing organ detection on the medical image to be tested, the organ region in the medical image to be tested can be obtained, and the proportion of the lesion occupied by the detection region of the lesion in the organ region can be obtained. Clinical reference information to improve user experience.
在一些实施例中,图像检测装置50还包括预处理模块,预处理模块配置为对待测医学图像进行预处理,其中,预处理的操作至少包括:利用预设窗值将待测医学图像的像素值归一化至一预设范围内。In some embodiments, the image detection apparatus 50 further includes a preprocessing module, and the preprocessing module is configured to preprocess the medical image to be tested, wherein the preprocessing operation at least includes: using a preset window value to convert pixels of the medical image to be tested. Values are normalized to within a preset range.
可以看出,在对待测医学图像进行特征提取之前,对待测医学图像进行预处理,且预处理的操作至少包括:利用预设窗值将待测医学图像的像素值归一化至预设范围内,能够有利于加强待测医学图像对比度,从而能够有利于提高后续提取到的第一特征图的准确性。It can be seen that, before the feature extraction is performed on the medical image to be tested, the medical image to be tested is preprocessed, and the preprocessing operation at least includes: using a preset window value to normalize the pixel value of the medical image to be tested to a preset range It can help to enhance the contrast of the medical image to be tested, and thus can help to improve the accuracy of the subsequently extracted first feature map.
在一些实施例中,特征提取模块52具体配置为利用图像检测模型的特征提取子网络对待测医学图像进行特征提取,得到若干个维度的第一特征图;图像融合模块54具体配置为利用图像检测模型的融合处理子网络将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图;检测处理模块55具体配置为利用图像检测模型的融合处理子网络对最终融合特征图进行检测处理,得到待测医学图像中关于病灶的检测结果。In some embodiments, the feature extraction module 52 is specifically configured to use the feature extraction sub-network of the image detection model to perform feature extraction on the medical image to be tested to obtain a first feature map of several dimensions; the image fusion module 54 is specifically configured to use image detection The fusion processing sub-network of the model fuses the lesion probability map with the first feature maps of several dimensions to obtain the final fusion feature map; the detection processing module 55 is specifically configured to use the fusion processing sub-network of the image detection model to perform the final fusion feature map. The detection process is performed to obtain a detection result about the lesion in the medical image to be tested.
可以看出,通过利用图像检测模型的特征提取子网络对待测医学图像进行特征提取,得到若干个维度的第一特征图,利用图像检测模型的融合处理子网络将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图,并利用图像检测模型的融合处理子网络对最终融合特征图进行检测处理,得到待测医学图像中关于病灶的检测结果,从而通过图像检测模型执行特征提取、融合处理、图像检测任务,进而能够有利于提高图像检测的效率。It can be seen that by using the feature extraction sub-network of the image detection model to extract the features of the medical image to be tested, the first feature maps of several dimensions are obtained, and the fusion processing sub-network of the image detection model is used to combine the lesion probability map with several dimensions. The first feature map is fused to obtain the final fused feature map, and the fusion processing sub-network of the image detection model is used to detect and process the final fused feature map, so as to obtain the detection result of the lesion in the medical image to be tested, so as to execute the image detection model. Feature extraction, fusion processing, and image detection tasks, which can help improve the efficiency of image detection.
在一些实施例中,图像检测装置50包括样本图像获取模块,样本图像获取模块配置为获取样本医学图像,其中,样本医学图像中包含病灶的实际区域;图像检测装置50包括样本特征提取模块,样本特征提取模块配置为利用特征提取子网络对样本医学图像进行特征提取,得到若干个维度的第一样本特征图;图像检测装置50包括概率图像生成模块,概率图像生成模块配置为以预设维度的第一样本特征图作为参考样本特征图,利用参考样本特征图生成病灶样本概率图,其中,病灶样本概率图用于表示样本医学图像中的不同区域属于病灶的概率;图像检测装置50包括样本图像融合模块,样本图像融合模块配置为利用融合处理子网络将病灶样本概率图与若干个维度的第一样本特征图进行融合,得到最终融合样本特征图;图像检测装置50包括样本检测处理模块,样本检测处理模块配置为利用融合处理子网络对最终融合样本特征图进行检测处理,得到样本医学图像中关于病灶的检测区域;图像检测装置50包括训练调整模块,训练调整模块配置为利用实际区域和检测区域之间的差异,调整图像检测模型的网络参数。In some embodiments, the image detection apparatus 50 includes a sample image acquisition module, and the sample image acquisition module is configured to acquire a sample medical image, wherein the sample medical image includes the actual area of the lesion; the image detection apparatus 50 includes a sample feature extraction module, and the sample The feature extraction module is configured to use the feature extraction sub-network to perform feature extraction on the sample medical image to obtain a first sample feature map of several dimensions; the image detection device 50 includes a probability image generation module, and the probability image generation module is configured to preset dimensions. The first sample feature map is used as a reference sample feature map, and the reference sample feature map is used to generate a lesion sample probability map, wherein the lesion sample probability map is used to represent the probability that different regions in the sample medical image belong to the lesion; the image detection device 50 includes: A sample image fusion module, the sample image fusion module is configured to use a fusion processing sub-network to fuse the lesion sample probability map with the first sample feature maps of several dimensions to obtain a final fused sample feature map; the image detection device 50 includes a sample detection process. module, the sample detection processing module is configured to use the fusion processing sub-network to perform detection processing on the final fusion sample feature map to obtain the detection area about the lesion in the sample medical image; the image detection device 50 includes a training adjustment module, and the training adjustment module is configured to use the actual The difference between the region and the detection region, adjust the network parameters of the image detection model.
可以看出,通过获取样本医学图像,且样本医学图像中包含病灶的实际区域,并利用特征提取子网络对样本医学图像进行特征提取,得到若干个维度的第一样本特征图,从而以预设维度的第一样本特征图作为参考样本特征图,并利用参考样本特征图生成病灶样本概率图,且病灶样本概率图用于表示样本医学图像中的不同区域属于病灶的概率,进而将病灶概率图与若干维度的第一样本特征图进行融合,得到最终融合样本特征图,以对最终融合样本特征图进行检测处理,得到样本医学图像中关于病灶的检测区域,并利用实际区域与检测区域之间的差异,调整图像检测模型的网络参数,故能够在对图像检测模型的训练过程中,利用病灶样本概率图作为全局特征与图像检测的解码过程耦合,使得最终融合样本特征图能够强化对病灶的特异性,从而能够加强图像检测模型对于病灶的敏感程度,进而能够有利于提高模型的训练速度。It can be seen that by obtaining the sample medical image, and the sample medical image contains the actual area of the lesion, and using the feature extraction sub-network to perform feature extraction on the sample medical image, a first sample feature map of several dimensions is obtained, so as to predict The first sample feature map of the dimension is set as the reference sample feature map, and the reference sample feature map is used to generate the lesion sample probability map, and the lesion sample probability map is used to represent the probability that different regions in the sample medical image belong to the lesion, and then the lesion is classified as a lesion. The probability map is fused with the first sample feature map of several dimensions to obtain the final fused sample feature map, so as to perform detection processing on the final fused sample feature map to obtain the detection area of the lesion in the sample medical image, and use the actual area and detection. The difference between regions can be adjusted by adjusting the network parameters of the image detection model. Therefore, in the training process of the image detection model, the probability map of the lesion sample can be used as a global feature to couple with the decoding process of image detection, so that the final fusion sample feature map can be strengthened. The specificity of the lesion can enhance the sensitivity of the image detection model to the lesion, which can help improve the training speed of the model.
在一些实施例中,训练调整模块包括损失确定子模块,损失确定子模块配置为采用集合相似度损失函数对实际区域和检测区域进行处理,确定图像检测模型的损失值;训练调整模块包括参数调整子模块,参数调整子模块配置为利用损失值以一预设学习率调整图像检测模型的网络参数。In some embodiments, the training adjustment module includes a loss determination submodule, and the loss determination submodule is configured to process the actual area and the detection area by using the set similarity loss function to determine the loss value of the image detection model; the training adjustment module includes parameter adjustment The sub-module, the parameter adjustment sub-module is configured to use the loss value to adjust the network parameters of the image detection model with a preset learning rate.
可以看出,利用集合相似度损失函数对实际区域和检测区域进行处理,确定图像检测模型的损失值,能够确保损失值的准确性,从而利用损失值对以一预设学习率调整图像检测模型的网络参数,能够使得在训练过程中,降低检测区域和实际区域之间的差异,提高图像检测模型的准确性。It can be seen that using the set similarity loss function to process the actual area and the detection area to determine the loss value of the image detection model can ensure the accuracy of the loss value, so that the loss value pair is used to adjust the image detection model with a preset learning rate The network parameters can reduce the difference between the detection area and the actual area during the training process, and improve the accuracy of the image detection model.
请参阅图6,图6是本申请电子设备60一实施例的框架示意图。电子设备60包括相互耦接的存储器61和处理器62,处理器62配置为执行存储器61中存储的程序指令,以实现上述任一图像检测方法实施例的步骤。在一个具体的实施场景中,电子设备60可以包括但不限于:微型计算机、服务器,此外,电子设备60还可以包括笔记本电脑、平板电脑等移动设备,在此不做限定。Please refer to FIG. 6 , which is a schematic diagram of a framework of an embodiment of an electronic device 60 of the present application. The electronic device 60 includes a memory 61 and a processor 62 coupled to each other, and the processor 62 is configured to execute program instructions stored in the memory 61 to implement the steps of any of the image detection method embodiments described above. In a specific implementation scenario, the electronic device 60 may include, but is not limited to, a microcomputer and a server. In addition, the electronic device 60 may also include mobile devices such as a notebook computer and a tablet computer, which are not limited herein.
具体而言,处理器62配置为控制其自身以及存储器61以实现上述任一图像检测方法实施例的步骤。处理器62还可以称为中央处理单元(Central Processing Unit,CPU)。处理器62可能是一种集成电路芯片,具有信号的处理能力。处理器62还可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。另外,处理器62可以由集成电路芯片共同实现。Specifically, the processor 62 is configured to control itself and the memory 61 to implement the steps of any of the image detection method embodiments described above. The processor 62 may also be referred to as a central processing unit (Central Processing Unit, CPU). The processor 62 may be an integrated circuit chip with signal processing capability. The processor 62 may also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor 62 may be jointly implemented by an integrated circuit chip.
上述方案,能够提高图像检测的准确性。The above solution can improve the accuracy of image detection.
请参阅图7,图7为本申请计算机可读存储介质70一实施例的框架示意图。计算机可读存储介质70存储有能够被处理器运行的程序指令701,程序指令701用于实现上述任一图像检测方法实施例的步骤。Please refer to FIG. 7 , which is a schematic diagram of a framework of an embodiment of a computer-readable storage medium 70 of the present application. The computer-readable storage medium 70 stores program instructions 701 that can be executed by the processor, and the program instructions 701 are used to implement the steps of any of the above image detection method embodiments.
上述方案,能够提高图像检测的准确性。The above solution can improve the accuracy of image detection.
在本申请所提供的几个实施例中,应该理解到,所揭露的方法和装置,可以通过其它的方式实现。例如,以上所描述的装置实施方式仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性、机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the device implementations described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other divisions. For example, units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式方案的目的。Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed over network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this implementation manner.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
工业实用性Industrial Applicability
本申请实施例公开了一种图像检测方法、装置、设备、计算机可读存储介质和计算机程序,其中,图像检测方法包括:获取待测医学图像;对待测医学图像进行特征提取,得到若干个维度的第一特征图;以预设维度的第一特征图作为参考特征图,利用参考特征图生成病灶概率图,其中,病灶概率图用于表示待测医学图像中的不同区域属于病灶的概率;将病灶概率图与若干个维度的第一特征图进行融合,得到最终融合特征图;对最终融合特征图进行检测处理,得到待测医学图像中关于病灶的检测结果。上述方案,能够提高图像检测的准确性。Embodiments of the present application disclose an image detection method, device, device, computer-readable storage medium, and computer program, wherein the image detection method includes: acquiring a medical image to be tested; extracting features from the medical image to be tested to obtain several dimensions The first feature map of the first feature map; the first feature map of the preset dimension is used as the reference feature map, and the reference feature map is used to generate a lesion probability map, wherein the lesion probability map is used to indicate the probability of different regions in the medical image to be tested belong to the lesion; The lesion probability map and the first feature maps of several dimensions are fused to obtain a final fused feature map; the final fused feature map is detected and processed to obtain a detection result of the lesion in the medical image to be tested. The above solution can improve the accuracy of image detection.

Claims (16)

  1. 一种图像检测方法,包括:An image detection method, comprising:
    获取待测医学图像;Obtain the medical image to be tested;
    对所述待测医学图像进行特征提取,得到若干个维度的第一特征图;Perform feature extraction on the medical image to be tested to obtain a first feature map of several dimensions;
    以预设维度的所述第一特征图作为参考特征图,利用所述参考特征图生成病灶概率图,其中,所述病灶概率图用于表示所述待测医学图像中的不同区域属于病灶的概率;Taking the first feature map of a preset dimension as a reference feature map, the reference feature map is used to generate a lesion probability map, wherein the lesion probability map is used to indicate that different regions in the medical image to be tested belong to the lesion. probability;
    将所述病灶概率图与所述若干个维度的第一特征图进行融合,得到最终融合特征图;Fusing the lesion probability map with the first feature maps of the several dimensions to obtain a final fusion feature map;
    对所述最终融合特征图进行检测处理,得到所述待测医学图像中关于所述病灶的检测结果。A detection process is performed on the final fusion feature map to obtain a detection result about the lesion in the medical image to be tested.
  2. 根据权利要求1所述的方法,其中,所述利用所述参考特征图生成病灶概率图之前,所述方法还包括:The method according to claim 1, wherein before generating the lesion probability map using the reference feature map, the method further comprises:
    利用所述参考特征图进行预测处理,得到所述待测医学图像中包含所述病灶的第一概率值;Perform prediction processing by using the reference feature map to obtain a first probability value that the medical image to be tested contains the lesion;
    基于所述第一概率值,确定是否执行所述利用所述参考特征图生成病灶概率图的步骤以及后续步骤。Based on the first probability value, it is determined whether to perform the step of generating a lesion probability map using the reference feature map and subsequent steps.
  3. 根据权利要求2所述的方法,其中,所述基于所述第一概率值,确定是否执行所述利用所述参考特征图生成病灶概率图的步骤以及后续步骤,包括:The method according to claim 2, wherein, based on the first probability value, determining whether to perform the step of generating a lesion probability map by using the reference feature map and subsequent steps, comprising:
    若所述第一概率值满足第一预设条件,则执行所述利用所述参考特征图生成病灶概率图的步骤以及后续步骤;或者If the first probability value satisfies the first preset condition, the step of generating a lesion probability map by using the reference feature map and the subsequent steps are performed; or
    在所述待测医学图像为三维医学图像所包含的二维医学图像的情况下,所述基于所述第一概率值,确定是否执行所述利用所述参考特征图生成病灶概率图的步骤以及后续步骤,包括:In the case where the medical image to be tested is a two-dimensional medical image included in a three-dimensional medical image, determining whether to perform the step of generating a lesion probability map by using the reference feature map based on the first probability value; and Next steps, including:
    将所述二维医学图像对应的第一概率值按照由大到小的顺序进行排序,并选择前预设数量个所述第一概率值;Sort the first probability values corresponding to the two-dimensional medical images in descending order, and select the first preset number of first probability values;
    对所述预设数量个所述第一概率值进行预设处理,得到第二概率值;performing preset processing on the preset number of the first probability values to obtain a second probability value;
    若所述第二概率值满足第二预设条件,则执行所述利用所述参考特征图生成病灶概率图的步骤以及后续步骤。If the second probability value satisfies the second preset condition, the step of generating a lesion probability map by using the reference feature map and subsequent steps are performed.
  4. 根据权利要求3所述的方法,其中,所述第一预设条件包括:所述第一概率值大于或等于第一概率阈值;所述第二预设条件包括:所述第二概率值大于或等于第二概率阈值;所述预设处理为平均运算;The method according to claim 3, wherein the first preset condition includes: the first probability value is greater than or equal to a first probability threshold; the second preset condition includes: the second probability value is greater than or equal to or equal to the second probability threshold; the preset processing is an average operation;
    和/或,所述方法还包括:And/or, the method further includes:
    若所述第一概率值不满足第一预设条件或所述第二概率值不满足第二预设条件,则确定所述待测医学图像中不包含所述病灶。If the first probability value does not meet the first preset condition or the second probability value does not meet the second preset condition, it is determined that the medical image to be tested does not contain the lesion.
  5. 根据权利要求1至4任一项所述的方法,其中,所述利用所述参考特征图生成病灶概率图,包括:The method according to any one of claims 1 to 4, wherein the generating a lesion probability map using the reference feature map comprises:
    统计所述参考特征图中各像素点关于所述病灶的梯度值,生成类激活图,将所述类激活图作为所述病灶概率图。The gradient value of each pixel in the reference feature map with respect to the lesion is counted, a class activation map is generated, and the class activation map is used as the lesion probability map.
  6. 根据权利要求1至5任一项所述的方法,其中,所述将所述病灶概率图与所述若干个维度的第一特征图进行融合,得到最终融合特征图,包括:The method according to any one of claims 1 to 5, wherein the fusion of the lesion probability map and the first feature maps of the several dimensions to obtain a final fusion feature map comprises:
    利用所述病灶概率图对所述参考特征图进行编码处理,得到第二特征图;Encoding the reference feature map by using the lesion probability map to obtain a second feature map;
    将所述第二特征图与所述若干个维度的第一特征图进行融合,得到最终融合特征图。The second feature map is fused with the first feature maps of several dimensions to obtain a final fused feature map.
  7. 根据权利要求6所述的方法,其中,所述利用所述病灶概率图对所述参考特征图 进行编码处理,得到第二特征图,包括:The method according to claim 6, wherein the encoding process is performed on the reference feature map using the lesion probability map to obtain a second feature map, comprising:
    将所述病灶概率图中第一像素点的像素值与所述参考特征图中与所述第一像素点对应的第二像素点的像素值相乘,得到所述第二特征图的对应像素点的像素值;Multiplying the pixel value of the first pixel in the lesion probability map and the pixel value of the second pixel corresponding to the first pixel in the reference feature map to obtain the corresponding pixel of the second feature map the pixel value of the point;
    和/或,所述将所述第二特征图与所述若干个维度的第一特征图进行融合,得到最终融合特征图,包括:And/or, merging the second feature map with the first feature maps of the several dimensions to obtain a final fusion feature map, including:
    按照维度从高到底的顺序,将所述第二特征图与依照所述顺序排序的每个维度的所述第一特征图进行融合,得到最终融合特征图。According to the order of dimensions from high to bottom, the second feature map is fused with the first feature map of each dimension sorted according to the order to obtain a final fused feature map.
  8. 根据权利要求7所述的方法,其中,所述参考特征图为维度最高的所述第一特征图;所述按照维度从高到底的顺序,将所述第二特征图与依照所述顺序排序的每个维度的所述第一特征图进行融合,得到最终融合特征图,包括:The method according to claim 7, wherein the reference feature map is the first feature map with the highest dimension; the second feature map and the second feature map are sorted according to the order according to the dimension from high to bottom The first feature map of each dimension of is fused to obtain the final fused feature map, including:
    将所述参考特征图与第一低维特征图进行融合,得到与所述第一低维特征图的维度相同的第一融合特征图,其中,所述第一低维特征图为比所述参考特征图低一维度的所述第一特征图;The reference feature map and the first low-dimensional feature map are fused to obtain a first fusion feature map with the same dimension as the first low-dimensional feature map, wherein the first low-dimensional feature map is larger than the first low-dimensional feature map. the first feature map that is one dimension lower than the reference feature map;
    将所述第二特征图与所述第一融合特征图进行融合,得到与所述第一融合特征图的维度相同的第二融合特征图;Fusing the second feature map with the first fusion feature map to obtain a second fusion feature map with the same dimension as the first fusion feature map;
    重复执行将所述第二融合特征图与第二低维特征图进行融合以得到与所述第二低维特征图的维度相同的新的第二融合特征图,直至所述若干个维度的所述第一特征图融合完毕,其中,所述第二低维特征图为比当前所述第二融合特征图低一维度的所述第一特征图;Repeatedly performing the fusion of the second fusion feature map and the second low-dimensional feature map to obtain a new second fusion feature map with the same dimension as the second low-dimensional feature map, until all the dimensions of the several dimensions are fused. The fusion of the first feature map is completed, wherein the second low-dimensional feature map is the first feature map that is one dimension lower than the current second fusion feature map;
    将最终融合得到的所述第二融合特征图,作为所述最终融合特征图。The second fusion feature map obtained by final fusion is used as the final fusion feature map.
  9. 根据权利要求1至8任一项所述的方法,其中,所述检测结果包括所述待测医学图像中所述病灶的检测区域,所述方法还包括:The method according to any one of claims 1 to 8, wherein the detection result includes the detection area of the lesion in the medical image to be tested, and the method further comprises:
    对所述待测医学图像进行器官检测,得到所述待测医学图像中的器官区域;performing organ detection on the medical image to be tested to obtain an organ region in the medical image to be tested;
    获取所述病灶的检测区域在所述器官区域中所占的病灶比例;obtaining the proportion of the lesions in the organ region occupied by the detection area of the lesion;
    和/或,所述对所述待测医学图像进行特征提取,得到若干个维度的第一特征图之前,所述方法还包括:And/or, before the feature extraction is performed on the medical image to be tested to obtain a first feature map of several dimensions, the method further includes:
    对所述待测医学图像进行预处理,其中,所述预处理的操作至少包括:利用预设窗值将所述待测医学图像的像素值归一化至一预设范围内。The medical image to be tested is preprocessed, wherein the operation of the preprocessing at least includes: normalizing the pixel value of the medical image to be tested to within a preset range by using a preset window value.
  10. 根据权利要求1至9任一项所述的方法,其中,所述对所述待测医学图像进行特征提取,得到若干个维度的第一特征图,包括:The method according to any one of claims 1 to 9, wherein the feature extraction is performed on the medical image to be tested to obtain a first feature map of several dimensions, including:
    利用图像检测模型的特征提取子网络对所述待测医学图像进行特征提取,得到所述若干个维度的所述第一特征图;Use the feature extraction sub-network of the image detection model to perform feature extraction on the medical image to be tested, to obtain the first feature map of the several dimensions;
    所述将所述病灶概率图与所述若干个维度的第一特征图进行融合,得到最终融合特征图,包括:The said lesion probability map is fused with the first feature maps of the several dimensions to obtain a final fusion feature map, including:
    利用所述图像检测模型的融合处理子网络将所述病灶概率图与所述若干个维度的第一特征图进行融合,得到最终融合特征图;Using the fusion processing sub-network of the image detection model to fuse the lesion probability map with the first feature maps of several dimensions to obtain a final fusion feature map;
    所述对所述最终融合特征图进行检测处理,得到所述待测医学图像中关于所述病灶的检测结果,包括:The detection process is performed on the final fusion feature map to obtain a detection result about the lesion in the medical image to be tested, including:
    利用所述图像检测模型的融合处理子网络对所述最终融合特征图进行检测处理,得到所述待测医学图像中关于所述病灶的检测结果。The fusion processing sub-network of the image detection model is used to perform detection processing on the final fusion feature map, so as to obtain the detection result of the lesion in the medical image to be tested.
  11. 根据权利要求10所述的方法,其中,所述利用图像检测模型的特征提取子网络对所述待测医学图像进行特征提取,得到所述若干个维度的所述第一特征图之前,所述方法还包括:The method according to claim 10, wherein, before the feature extraction sub-network using the image detection model performs feature extraction on the medical image to be tested, and obtains the first feature maps of the several dimensions, the Methods also include:
    获取样本医学图像,其中,所述样本医学图像中包含病灶的实际区域;obtaining a sample medical image, wherein the sample medical image includes the actual area of the lesion;
    利用所述特征提取子网络对所述样本医学图像进行特征提取,得到若干个维度的第 一样本特征图;Utilize described feature extraction sub-network to carry out feature extraction to described sample medical image, obtain the first sample feature map of several dimensions;
    以预设维度的所述第一样本特征图作为参考样本特征图,利用所述参考样本特征图生成病灶样本概率图,其中,所述病灶样本概率图用于表示所述样本医学图像中的不同区域属于病灶的概率;Taking the first sample feature map of a preset dimension as a reference sample feature map, the reference sample feature map is used to generate a lesion sample probability map, wherein the lesion sample probability map is used to represent the sample medical image. The probability that different regions belong to lesions;
    利用所述融合处理子网络将所述病灶样本概率图与所述若干个维度的第一样本特征图进行融合,得到最终融合样本特征图;Using the fusion processing sub-network to fuse the lesion sample probability map with the first sample feature maps of the several dimensions to obtain the final fused sample feature map;
    利用所述融合处理子网络对所述最终融合样本特征图进行检测处理,得到所述样本医学图像中关于所述病灶的检测区域;Use the fusion processing sub-network to perform detection processing on the final fusion sample feature map to obtain the detection area about the lesion in the sample medical image;
    利用所述实际区域和所述检测区域之间的差异,调整所述图像检测模型的网络参数。Using the difference between the actual area and the detection area, the network parameters of the image detection model are adjusted.
  12. 根据权利要求11所述的方法,其中,所述利用所述实际区域和所述检测区域之间的差异,调整所述图像检测模型的网络参数包括:The method according to claim 11, wherein the adjusting the network parameters of the image detection model using the difference between the actual area and the detection area comprises:
    采用集合相似度损失函数对所述实际区域和所述检测区域进行处理,确定所述图像检测模型的损失值;The actual area and the detection area are processed by using an aggregate similarity loss function to determine the loss value of the image detection model;
    利用所述损失值以一预设学习率调整所述图像检测模型的网络参数。The network parameters of the image detection model are adjusted with a predetermined learning rate using the loss value.
  13. 一种图像检测装置,包括:An image detection device, comprising:
    图像获取模块,用于获取待测医学图像;The image acquisition module is used to acquire the medical image to be tested;
    特征提取模块,用于对所述待测医学图像进行特征提取,得到若干个维度的第一特征图;a feature extraction module, configured to perform feature extraction on the medical image to be tested to obtain a first feature map of several dimensions;
    图像生成模块,用于以预设维度的所述第一特征图作为参考特征图,利用所述参考特征图生成病灶概率图,其中,所述病灶概率图用于表示所述待测医学图像中的不同区域属于病灶的概率;The image generation module is configured to use the first feature map of a preset dimension as a reference feature map, and use the reference feature map to generate a lesion probability map, wherein the lesion probability map is used to represent the medical image to be tested. The probability that the different regions of , belong to the lesion;
    图像融合模块,用于将所述病灶概率图与所述若干个维度的第一特征图进行融合,得到最终融合特征图;an image fusion module, configured to fuse the lesion probability map with the first feature maps of the several dimensions to obtain a final fusion feature map;
    检测处理模块,用于对所述最终融合特征图进行检测处理,得到所述待测医学图像中关于所述病灶的检测结果。A detection processing module is used to perform detection processing on the final fusion feature map to obtain a detection result about the lesion in the medical image to be tested.
  14. 一种电子设备,包括相互耦接的存储器和处理器,所述处理器配置为执行所述存储器中存储的程序指令,以实现权利要求1至12任一项所述的图像检测方法。An electronic device comprises a mutually coupled memory and a processor, the processor is configured to execute program instructions stored in the memory, so as to implement the image detection method according to any one of claims 1 to 12.
  15. 一种计算机可读存储介质,其上存储有程序指令,所述程序指令被处理器执行时实现权利要求1至12任一项所述的图像检测方法。A computer-readable storage medium having program instructions stored thereon, when the program instructions are executed by a processor, the image detection method according to any one of claims 1 to 12 is implemented.
  16. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行用于实现权利要求1至12任一所述的图像检测方法。A computer program, comprising computer-readable codes, when the computer-readable codes are executed in an electronic device, a processor in the electronic device executes the image detection method for implementing any one of claims 1 to 12 .
PCT/CN2021/117801 2021-02-25 2021-09-10 Image detection method and apparatus, and device, medium and program WO2022179083A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022549312A JP2023518160A (en) 2021-02-25 2021-09-10 Image detection method, apparatus, device, medium and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110214861.XA CN112949654A (en) 2021-02-25 2021-02-25 Image detection method and related device and equipment
CN202110214861.X 2021-02-25

Publications (1)

Publication Number Publication Date
WO2022179083A1 true WO2022179083A1 (en) 2022-09-01

Family

ID=76246421

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/117801 WO2022179083A1 (en) 2021-02-25 2021-09-10 Image detection method and apparatus, and device, medium and program

Country Status (3)

Country Link
JP (1) JP2023518160A (en)
CN (1) CN112949654A (en)
WO (1) WO2022179083A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116597988A (en) * 2023-07-18 2023-08-15 济南蓝博电子技术有限公司 Intelligent hospital operation method and system based on medical information

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112949654A (en) * 2021-02-25 2021-06-11 上海商汤智能科技有限公司 Image detection method and related device and equipment
CN114121236A (en) * 2021-11-22 2022-03-01 上海商汤智能科技有限公司 Image detection method and related device, electronic equipment and storage medium
CN114581396A (en) * 2022-02-28 2022-06-03 腾讯科技(深圳)有限公司 Method, device, equipment, storage medium and product for identifying three-dimensional medical image
CN116798596A (en) * 2022-03-14 2023-09-22 数坤(北京)网络科技股份有限公司 Information association method, device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180130203A1 (en) * 2016-11-06 2018-05-10 International Business Machines Corporation Automated skin lesion segmentation using deep side layers
CN109886282A (en) * 2019-02-26 2019-06-14 腾讯科技(深圳)有限公司 Method for checking object, device, computer readable storage medium and computer equipment
CN110309849A (en) * 2019-05-10 2019-10-08 腾讯医疗健康(深圳)有限公司 Blood-vessel image processing method, device, equipment and storage medium
CN111429473A (en) * 2020-02-27 2020-07-17 西北大学 Chest film lung field segmentation model establishment and segmentation method based on multi-scale feature fusion
CN112949654A (en) * 2021-02-25 2021-06-11 上海商汤智能科技有限公司 Image detection method and related device and equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2478329B (en) * 2010-03-03 2015-03-04 Samsung Electronics Co Ltd Medical image processing
JP6458166B2 (en) * 2015-11-19 2019-01-23 国立大学法人 東京大学 MEDICAL IMAGE PROCESSING METHOD, DEVICE, SYSTEM, AND PROGRAM
CN106934397B (en) * 2017-03-13 2020-09-01 北京市商汤科技开发有限公司 Image processing method and device and electronic equipment
CN107945168B (en) * 2017-11-30 2021-12-10 上海联影医疗科技股份有限公司 Medical image processing method and medical image processing system
CN110473186B (en) * 2019-02-14 2021-02-09 腾讯科技(深圳)有限公司 Detection method based on medical image, model training method and device
CN110807788B (en) * 2019-10-21 2023-07-21 腾讯科技(深圳)有限公司 Medical image processing method, medical image processing device, electronic equipment and computer storage medium
CN111161279B (en) * 2019-12-12 2023-05-26 中国科学院深圳先进技术研究院 Medical image segmentation method, device and server
CN111768418A (en) * 2020-06-30 2020-10-13 北京推想科技有限公司 Image segmentation method and device and training method of image segmentation model
CN112116004B (en) * 2020-09-18 2021-11-02 推想医疗科技股份有限公司 Focus classification method and device and focus classification model training method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180130203A1 (en) * 2016-11-06 2018-05-10 International Business Machines Corporation Automated skin lesion segmentation using deep side layers
CN109886282A (en) * 2019-02-26 2019-06-14 腾讯科技(深圳)有限公司 Method for checking object, device, computer readable storage medium and computer equipment
CN110309849A (en) * 2019-05-10 2019-10-08 腾讯医疗健康(深圳)有限公司 Blood-vessel image processing method, device, equipment and storage medium
CN111429473A (en) * 2020-02-27 2020-07-17 西北大学 Chest film lung field segmentation model establishment and segmentation method based on multi-scale feature fusion
CN112949654A (en) * 2021-02-25 2021-06-11 上海商汤智能科技有限公司 Image detection method and related device and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116597988A (en) * 2023-07-18 2023-08-15 济南蓝博电子技术有限公司 Intelligent hospital operation method and system based on medical information
CN116597988B (en) * 2023-07-18 2023-09-19 济南蓝博电子技术有限公司 Intelligent hospital operation method and system based on medical information

Also Published As

Publication number Publication date
JP2023518160A (en) 2023-04-28
CN112949654A (en) 2021-06-11

Similar Documents

Publication Publication Date Title
WO2022179083A1 (en) Image detection method and apparatus, and device, medium and program
US20230186476A1 (en) Object detection and instance segmentation of 3d point clouds based on deep learning
US11798132B2 (en) Image inpainting method and apparatus, computer device, and storage medium
US11551333B2 (en) Image reconstruction method and device
CN108446730B (en) CT pulmonary nodule detection device based on deep learning
CN109977943B (en) Image target recognition method, system and storage medium based on YOLO
EP3101594A1 (en) Saliency information acquisition device and saliency information acquisition method
US9330336B2 (en) Systems, methods, and media for on-line boosting of a classifier
CN112396605B (en) Network training method and device, image recognition method and electronic equipment
CN111932529A (en) Image segmentation method, device and system
Jung et al. Uncertainty estimation for multi-view data: The power of seeing the whole picture
CN111553250B (en) Accurate facial paralysis degree evaluation method and device based on face characteristic points
EP4073749A1 (en) Medical image segmentation and atlas image selection
CN115035988B (en) Medical image processing method, system, equipment and medium based on cloud computing
US20240005507A1 (en) Image processing method, apparatus and non-transitory computer readable medium for performing image processing
CN108154107B (en) Method for determining scene category to which remote sensing image belongs
Shah et al. Kidney tumor segmentation and classification on abdominal CT scans
CN115731412A (en) Image classification method and device based on group equal variation attention neural network
Wu et al. Pneumonia detection based on RSNA dataset and anchor-free deep learning detector
US11580390B2 (en) Data processing apparatus and method
CN112750124A (en) Model generation method, image segmentation method, model generation device, image segmentation device, electronic equipment and storage medium
CN111680545B (en) Semantic segmentation-based accurate facial paralysis degree evaluation method and device
US20240144469A1 (en) Systems and methods for automatic cardiac image analysis
CN113362342B (en) Image segmentation method and related device thereof
Molla Evaluation of transfer learning in Pneumonia classification

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2022549312

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21927509

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13.02.2024)