Barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology

Using super-pixel segmentation technology and neural network to identify the lesion area in the barium meal imaging image solves the problem of unreliable lesion identification in the existing technology, improves the diagnostic efficiency and reduces the doctor's work intensity.

CN118447014BActive Publication Date: 2024-10-11DEZHOU ZEYU MEDICAL DEVICE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410766300.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-11
Estimated Expiration
2044-06-14

AI Technical Summary

Technical Problem

At present, the identification of lesions in barium meal contrast images relies on the doctor's experience. Especially when the lesions are small or affected by the surrounding image content, the identification is not reliable enough, which increases the doctor's work intensity and diagnosis time.

Method used

Use super-pixel segmentation technology to perform multi-scale segmentation on barium meal imaging images, calculate the global saliency and attention index of pixel blocks, obtain the importance of pixels in the ROI area, construct the target connected domain feature vector, and use neural networks to determine suspected lesion areas .

Benefits of technology

It improves the accuracy of lesion identification, reduces the work intensity of doctors, improves diagnostic efficiency, and reduces the need for detailed examination of each location through automated assisted diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118447014B_ABST
    Figure CN118447014B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of image processing technology, and specifically to a barium meal contrast image lesion recognition system for auxiliary diagnosis in gastroenterology. The system includes a memory and a processor, and the processor executes a computer program stored in the memory to implement the following steps: obtaining a barium meal contrast image of a region to be detected, performing data processing on the obtained barium meal contrast image of the region to be detected, obtaining a feature vector corresponding to a target connected domain in the barium meal contrast image of the region to be detected, and judging whether the target connected domain is a suspected lesion region based on the feature vector and a trained neural network. The present invention judges the suspected lesion region in the barium meal contrast image of the region to be detected, reduces the workload of doctors, and improves diagnostic efficiency and accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of image processing, and in particular to a barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology. Background Art

[0002] Gastrointestinal barium meal radiography refers to an examination method that uses barium sulfate as a contrast agent to show whether there are lesions in the digestive tract under X-ray irradiation. With the acceleration of the pace of life, the types of symptoms of patients in gastroenterology are gradually increasing, and the treatment methods of gastroenterology are becoming more and more novel. The guiding role of auxiliary diagnosis in the medical work of gastroenterology is becoming increasingly prominent, and it can provide the main reference material for clinical diagnosis. Therefore, if the accurate identification results of lesions in barium meal radiography images can be obtained, it will provide important reference data for subsequent medical diagnosis. At present, the identification of lesions is based on the experience of diagnostic physicians. However, when the lesion area in the image is small or affected by the surrounding image content, the results of human subjective diagnosis are not highly reliable. However, at this stage, the identification of lesions is still based on the doctor's professional knowledge to use the naked eye to judge whether there is a lesion problem. In the early stage of the lesion, the lesion is often small and easily overlooked. At the same time, in the observation of organ tissues such as bronchus, because there are many parts to be observed, the doctor needs to carefully observe each part, which greatly increases the doctor's work intensity. Therefore, how to reduce the doctor's work intensity to ensure rapid diagnosis of the person to be diagnosed is an urgent problem to be solved. Summary of the invention

[0003] In order to solve the above technical problems, the purpose of the present invention is to provide a barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology. The technical solution adopted is as follows:

[0004] The present invention provides a barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology, comprising a memory and a processor, wherein the processor executes a computer program stored in the memory to implement the following steps:

[0005] Obtaining a barium meal contrast image of the area to be examined of the person to be diagnosed;

[0006] The barium meal contrast image of the detection area is segmented at least twice to obtain each super-pixel segmentation image, and the global saliency of each pixel block in each super-pixel segmentation image is obtained based on the gray value and the number of pixels in each pixel block in each super-pixel segmentation image; based on the global saliency, an attention index corresponding to each pixel block in each super-pixel segmentation image is obtained;

[0007] Based on the attention index, the ROI area in each superpixel segmentation image is obtained, and the importance of each pixel in the ROI area in each superpixel segmentation image is obtained according to the grayscale value of the pixel in the ROI area in each superpixel segmentation image and the attention index corresponding to the ROI area where each pixel is located; based on the ROI area in each superpixel segmentation image, a target connected domain in the barium meal angiography image of the area to be detected is obtained, and based on the importance, a feature vector corresponding to the target connected domain is obtained; based on the feature vector, it is determined whether the target connected domain is a suspected lesion area.

[0008] Preferably, the step of obtaining a target connected domain in the barium meal angiography image of the area to be detected based on the ROI area in each superpixel segmentation image includes:

[0009] For any pixel point in the barium meal contrast image of the area to be detected: determine whether the pixel point with the same position as the pixel point in each pixel segmentation image is located in the ROI area, count the number of times the pixel point with the same position as the pixel point in each pixel segmentation image is located in the ROI area, and if the number is greater than or equal to 1, mark the pixel point in the barium meal contrast image of the area to be detected to obtain a marked pixel point;

[0010] The connected domain formed by the marked pixels in the barium meal radiography image of the area to be detected is recorded as the target connected domain.

[0011] Preferably, obtaining the feature vector corresponding to the target connected domain based on the importance includes:

[0012] For any pixel point in the target connected domain: the pixel point in each superpixel segmentation image with the same position as the pixel point is recorded as the matching point of the pixel point; whether each matching point of the pixel point is located in the ROI area is determined, and the matching point located in the ROI area is recorded as the feature point of the pixel point; the sum of the importance levels corresponding to all the feature points of the pixel point is calculated as the suspected lesion coefficient of the pixel point;

[0013] Based on the suspected lesion coefficient of each pixel point in the target connected domain, a feature vector corresponding to the target connected domain is constructed.

[0014] Preferably, obtaining the attention index corresponding to each pixel block in each superpixel segmented image based on the global saliency includes:

[0015] For any pixel block in any superpixel segmentation image:

[0016] Determine whether the global saliency of the pixel block is less than the mean of the global saliency of all pixel blocks in the superpixel segmentation image where the pixel block is located. If so, take 0 as the attention index corresponding to the pixel block; if greater than or equal to, take the ratio of the global saliency of the pixel block to the mean of the global saliency of all pixel blocks in the superpixel segmentation image where the pixel block is located as the attention index corresponding to the pixel block.

[0017] Preferably, obtaining the ROI region in each superpixel segmentation image based on the attention index includes: taking the pixel block whose attention index is not 0 as the ROI region in the corresponding superpixel segmentation image.

[0018] Preferably, obtaining the global saliency of each pixel block in each superpixel segmentation image based on the grayscale value and the number of pixels in each pixel block in each superpixel segmentation image comprises:

[0019] According to the proportion of the number of pixel points in each pixel block in each superpixel segmentation image, the difference between the grayscale value of the pixel points in each pixel block in each superpixel segmentation image and the average grayscale value of all pixel points in the barium meal angiography image of the area to be detected, the global significance of each pixel block in each superpixel segmentation image is obtained, and the proportion of the number and the difference are positively correlated with the global significance.

[0020] Preferably, obtaining the importance of each pixel in the ROI region in each superpixel segmentation image according to the grayscale value of the pixel in the ROI region in each superpixel segmentation image and the attention index corresponding to the ROI region where each pixel is located includes:

[0021] For the i-th pixel in the k-th ROI region in the p-th superpixel segmentation image:

[0022] The difference between the grayscale value of the i-th pixel and the average grayscale value of all pixels in the ROI area where the i-th pixel is located is recorded as the first difference; the importance of the i-th pixel is obtained according to the attention index corresponding to the ROI area where the i-th pixel is located, the number of pixels in the k-th ROI area in the p-th superpixel segmentation image and the first difference, the first difference and the attention index are positively correlated with the importance, and the number is negatively correlated with the importance.

[0023] Preferably, judging whether the target connected domain is a suspected lesion region based on the feature vector includes:

[0024] Based on the feature vector, a trained neural network is used to determine whether the target connected domain is a suspected lesion area.

[0025] Preferably, the barium meal angiography image of the area to be detected is segmented at least twice to obtain each superpixel segmented image, including:

[0026] The superpixel segmentation technology is used to perform superpixel segmentation of different scales on the barium meal contrast image of the detection area to obtain each superpixel segmentation image.

[0027] Preferably, the step of obtaining a barium meal contrast image of the area to be detected of the person to be diagnosed includes:

[0028] The barium meal contrast image of the part to be detected of the person to be diagnosed is collected, and the barium meal contrast image of the part to be detected of the person to be diagnosed is denoised and sharpened to obtain the barium meal contrast image of the area to be detected of the person to be diagnosed.

[0029] The present invention has at least the following beneficial effects:

[0030] The present invention first obtains each superpixel segmentation image by performing no less than two segmentations on the barium meal contrast image of the area to be detected, and then obtains the ROI area in each superpixel segmentation image, and obtains the importance of each pixel in the ROI area in each superpixel segmentation image according to the grayscale value of the pixel in the ROI area in each superpixel segmentation image and the attention index corresponding to the ROI area where each pixel is located. The greater the importance, the greater the possibility that the corresponding pixel is a pixel in the lesion area; considering that the position of the lesion area in the image is fixed, but due to the different sizes of superpixel segmentation, the number of pixel blocks corresponding to the lesion area in different superpixel segmentation images and the proportion of the pixel blocks are different, the present invention obtains the target connected domain in the barium meal contrast image of the area to be detected based on the ROI area in each superpixel segmentation image, the probability that the target connected domain is a suspected lesion area is relatively high, so only the target connected domain is subsequently analyzed, eliminating the interference of irrelevant factors, the present invention obtains the characteristic vector corresponding to the target connected domain based on the importance, and then determines whether the target connected domain is a suspected lesion area, thereby improving the recognition accuracy, and the system provided by the present invention can assist doctors in diagnosis, reduce the workload of doctors, and improve the diagnosis efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0032] Figure 1A flowchart of a method performed by a barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology provided by the present invention;

[0033] Figure 2 A flowchart of a method for obtaining an attention index;

[0034] Figure 3 Flow chart of the method for obtaining suspected lesion areas. DETAILED DESCRIPTION

[0035] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined purpose of the invention, the following is a detailed description of a barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology proposed by the present invention in combination with the accompanying drawings and preferred embodiments.

[0036] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0037] The specific scheme of the barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology provided by the present invention is described in detail below with reference to the accompanying drawings.

[0038] An embodiment of a barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology:

[0039] This embodiment proposes a barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology. Figure 1 As shown, the present embodiment is a barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology. The system is implemented as follows Figure 1 The specific steps are as follows:

[0040] Step S1, obtaining a barium meal contrast image of a region to be detected of a person to be diagnosed.

[0041] In order to assist gastroenterologists in diagnosing the person to be diagnosed, this embodiment first obtains a barium meal contrast image of the area to be detected of the person to be diagnosed, and then screens the barium meal contrast image based on the characteristics of the pixels in the barium meal contrast image to obtain the suspected lesion area, to assist the doctor in diagnosing and improve the diagnostic efficiency.

[0042] The common diagnostic steps of barium meal radiography in gastroenterology are generally that the person to be diagnosed takes contrast agent, uses X-rays to observe the condition of the gastrointestinal mucosa, or performs different actions according to the doctor's requirements to obtain the barium meal radiography image of the part to be detected of the person to be diagnosed. Therefore, in this embodiment, the barium meal radiography image of the part to be detected of the person to be diagnosed is first acquired. In order to eliminate the noise interference in the acquisition process and enhance the image quality, before the subsequent feature extraction, the barium meal radiography image of the part to be detected is denoised, and the initially acquired image is denoised by a filter to eliminate the interference of noise, and then the denoised barium meal radiography image is sharpened, the purpose of which is to enhance the edge of the image and facilitate the acquisition of more accurate regional edge information. In this embodiment, the Gaussian-Laplacian operator is used to achieve the purpose of smoothing the noise and enhancing the edge of the barium meal radiography image, and the processed image is recorded as the barium meal radiography image of the area to be detected. The image processing by the Gaussian-Laplacian operator is a well-known technology and will not be described in detail here.

[0043] Step S2, segmenting the barium meal angiography image of the area to be detected for no less than two times to obtain each superpixel segmentation image, and obtaining the global saliency of each pixel block in each superpixel segmentation image based on the grayscale value and the number of pixels in each pixel block in each superpixel segmentation image; and obtaining the attention index corresponding to each pixel block in each superpixel segmentation image based on the global saliency.

[0044] The identification and annotation of the lesion area in the barium meal contrast image comes from the disease category present in the image, that is, the lesion-oriented medical information label of a suspected disease, so the key features of the lesion area are used to perform high-accuracy lesion identification. Common lesion areas are generally distributed in multiple positions in the barium meal contrast image, and the size of the lesion area is not fixed. The local information of the lesion area can be used to directly obtain the disease characteristics corresponding to the lesion, and the global information of the barium meal contrast image can be used to more accurately determine the location of the lesion. Therefore, this embodiment extracts global features and local features of the lesion area from the barium meal contrast image of the area to be detected. The purpose of extracting global features is to determine the specific location and frequency of occurrence of the lesion area, and the purpose of extracting local features is to accurately obtain image information of the lesion area, so as to facilitate the acquisition of lesion-oriented medical semantic information.

[0045] Whether the barium meal images of different parts of different people to be diagnosed contain lesions and the size of the lesion area in the barium meal images are different. If a more accurate recognition result is to be obtained, it is necessary to improve the distinguishability between the lesion area and the surrounding normal tissue area. In the barium meal images, the lesion area often appears as a small area with uneven distribution and high density. The more severe the disease, the darker the color of the corresponding lesion. The normal tissue area often appears as a larger area. In order to segment lesions of different shapes and sizes, this embodiment will use multi-scale superpixel segmentation technology to segment the acquired barium meal images of the area to be detected, and then analyze the segmentation results to obtain the suspected lesion area, reduce the workload of doctors, and improve the accuracy of the test results.

[0046] Step S21, segmenting the barium meal angiography image of the detection area at least twice to obtain each superpixel segmentation image, and obtaining the global saliency of each pixel block in each superpixel segmentation image based on the grayscale value and the number of pixels in each pixel block in each superpixel segmentation image.

[0047] The barium meal contrast image of the detection area is segmented into superpixels at four different scales using superpixel segmentation technology, and the four scales are 5, 10, 15 and 20 respectively. The image after superpixel segmentation is recorded as superpixel segmentation image, that is, four superpixel segmentation images are obtained; the superpixel segmentation technology is a prior art and will not be described in detail here; in specific applications, the size of superpixel segmentation and the number of types of sizes are set by the implementer according to the specific situation; for each superpixel segmentation image, the position of the lesion area in the image is fixed, but due to the different sizes of superpixel segmentation, the number of pixel blocks corresponding to the lesion area in different superpixel segmentation images and the number of pixel blocks in the image are different. The proportion of pixels in the pixel block is different; based on this, this embodiment constructs the global saliency of each pixel block according to the grayscale value of the pixel points in each pixel block in each superpixel segmentation image and the number of pixels in each pixel block, which is used to characterize the saliency of each pixel block in the entire barium meal angiography image. Specifically, according to the proportion of the number of pixels in each pixel block in each superpixel segmentation image, the difference between the grayscale value of the pixel points in each pixel block in each superpixel segmentation image and the average grayscale value of all pixels in the barium meal angiography image of the area to be detected, the global saliency of each pixel block in each superpixel segmentation image is obtained, and the proportion of the number and the difference are both positively correlated with the global saliency. Among them, the positive correlation means that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. The specific relationship can be a multiplication relationship, an addition relationship, and the power of an exponential function, which is determined by actual application; as a specific implementation method, a specific calculation formula for the global saliency is given, and the specific calculation formula for the global saliency of each pixel block in each superpixel segmentation image is:

[0048]

[0049] in, is the global saliency of the x-th pixel block in the first superpixel segmentation image, N is the number of pixels in the x-th pixel block in the first superpixel segmentation image, M is the total number of pixels in the barium meal angiography image of the area to be detected, is the gray value of the nth pixel in the xth pixel block in the first superpixel segmentation image, It is the average gray value of all pixels in the barium meal contrast image of the area to be detected.

[0050] Characterizes the difference between the grayscale of the pixel in the x-th pixel block and the average grayscale of all the pixel points in the barium meal contrast image of the area to be detected. The larger the difference, the higher the significance of the pixel block; Characterizes the proportion of the number of pixels in the pixel block. The larger the proportion, the higher the significance of the pixel block. The global significance reflects the significance of the pixel block in the superpixel segmentation image. When the difference between the grayscale of the pixel in the xth pixel block and the average grayscale of all the pixels in the barium meal angiography image of the area to be detected is larger and the proportion of the number of pixels in the xth pixel block is larger, it means that the significance of the pixel block is higher and the possibility that the pixel block is the lesion area is higher, that is, the global significance of the xth pixel block is larger. When the difference between the grayscale of the pixel in the xth pixel block and the average grayscale of all the pixels in the barium meal angiography image of the area to be detected is smaller and the proportion of the number of pixels in the xth pixel block is smaller, it means that the significance of the pixel block is lower and the possibility that the pixel block is the lesion area is lower, that is, the global significance of the xth pixel block is smaller. Using the above method, the global significance of each pixel block in each superpixel segmentation image can be obtained.

[0051] Step S22, obtaining an attention index corresponding to each pixel block in each superpixel segmented image based on the global saliency.

[0052] For any superpixel segmentation image: According to the global saliency of each pixel block in the pixel segmentation image, calculate the mean of the global saliency of all pixel blocks in the superpixel segmentation image ; For any pixel block in the superpixel segmentation image: determine whether the global saliency of the pixel block is less than the mean of the global saliency of all pixel blocks in the superpixel segmentation image If it is less than , it means that the significance of the pixel block is small, and the pixel block is a normal area (non-lesion area). The purpose of this embodiment is to identify the lesion area, so there is no need to pay attention to the pixel block in the future, and 0 is used as the attention index corresponding to the pixel block; if it is greater than or equal to , it means that the significance of the pixel block is large, and the probability that the pixel block is the lesion area is large. The purpose of this embodiment is to identify the lesion area, so there is a need to focus on the pixel block in the future, and the global significance of the pixel block is compared with the average of the global significance of all pixel blocks in the superpixel segmentation image where the pixel block is located. The ratio of is taken as the attention index corresponding to the pixel block.

[0053] By using the above method, the attention index corresponding to each pixel block in each superpixel segmentation image can be obtained. The larger the attention index, the more suspected lesion pixels the corresponding pixel block contains, and the higher the attention should be given in the subsequent lesion identification process, such as Figure 2 As shown, the figure is a flow chart of the method for obtaining the attention index.

[0054] Step S3, based on the attention index, obtain the ROI area in each superpixel segmentation image, and obtain the importance of each pixel in the ROI area in each superpixel segmentation image according to the grayscale value of the pixel in the ROI area in each superpixel segmentation image and the attention index corresponding to the ROI area where each pixel is located; based on the ROI area in each superpixel segmentation image, obtain the target connected domain in the barium meal angiography image of the area to be detected, and obtain the feature vector corresponding to the target connected domain based on the importance; based on the feature vector, determine whether the target connected domain is a suspected lesion area.

[0055] Step S31, obtaining the ROI region in each superpixel segmented image based on the attention index.

[0056] In step S2, this embodiment obtains the attention index corresponding to each pixel block in each superpixel segmentation image, and takes the pixel block with an attention index not equal to 0 as the ROI area, that is, the ROI area in each superpixel segmentation image is obtained for subsequent lesion area identification.

[0057] Step S32, obtaining the importance of each pixel in the ROI area in each superpixel segmentation image according to the grayscale value of the pixel in the ROI area in each superpixel segmentation image and the attention index corresponding to the ROI area where each pixel is located.

[0058] For the i-th pixel in the ROI area in the p-th superpixel segmentation image:

[0059] If the difference between the grayscale value of the pixel and the average grayscale value of all pixels in the ROI area where the pixel is located is greater, it means that the pixel is more likely to be a lesion pixel; the larger the attention index corresponding to the ROI area where the pixel is located, the greater the probability that the ROI area where the pixel is located is the lesion area; therefore, the importance of the pixel is calculated according to the grayscale value of the pixel, the average grayscale value of all pixels in the ROI area where the pixel is located, and the attention index corresponding to the ROI area where the pixel is located. Specifically, the difference between the grayscale value of the i-th pixel and the average grayscale value of all pixels in the ROI area where the i-th pixel is located is recorded as the first difference; the importance of the i-th pixel is obtained according to the attention index corresponding to the ROI area where the i-th pixel is located, the number of pixels in the k-th ROI area in the p-th superpixel segmentation image, and the first difference, the first difference and the attention index are both positively correlated with the importance, and the number is negatively correlated with the importance. Among them, a positive correlation relationship indicates that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. The specific relationship can be a multiplication relationship, an addition relationship, or the power of an exponential function, which is determined by actual applications; a negative correlation relationship indicates that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases. It can be a subtraction relationship, a division relationship, etc., which is determined by actual applications. As a specific implementation method, a specific calculation formula for the importance is given. The specific calculation formula for the importance of the i-th pixel point in the k-th ROI area in the p-th superpixel segmentation image is:

[0060]

[0061] in, is the importance of the i-th pixel in the k-th ROI region in the p-th superpixel segmentation image, is the gray value of the i-th pixel in the k-th ROI region in the p-th superpixel segmentation image, is the average gray value of all pixels in the kth ROI region in the pth superpixel segmentation image, is the attention index corresponding to the kth ROI region in the pth superpixel segmentation image, is the number of pixels in the kth ROI region in the pth superpixel segmentation image.

[0062] represents the first difference, which is used to characterize the difference between the grayscale of the i-th pixel in the k-th ROI region in the p-th superpixel segmentation image and the average grayscale of all pixels in the ROI region where it is located. The larger the difference, the more prominent the pixel is in the ROI region; It is used to characterize the prominence of the i-th pixel in the k-th ROI region in the p-th superpixel segmentation image. The greater the prominence, the greater the possibility that the pixel is a lesion pixel. When the difference between the grayscale of the i-th pixel and the average grayscale of all pixels in the ROI region where it is located is greater, and the corresponding attention index of the ROI region where the i-th pixel is located is greater, it means that the prominence of the i-th pixel in the ROI region is higher, the pixel is more likely to be a lesion pixel, and the pixel should be paid more attention to, that is, the pixel is more important.

[0063] By using the above method, the importance of each pixel in each ROI area in each super-pixel segmented image can be obtained.

[0064] Step S33, obtaining a target connected domain in the barium meal angiography image of the area to be detected based on the ROI area in each superpixel segmentation image, and obtaining a feature vector corresponding to the target connected domain based on the importance.

[0065] In this embodiment, the ROI area in each superpixel segmentation image has been obtained. Next, the pixel points in the barium meal contrast image of the area to be detected are marked based on the ROI area in each superpixel segmentation image to obtain the marked pixel points in the barium meal contrast image of the area to be detected. The specific marking process is: for any pixel point in the barium meal contrast image of the area to be detected, it is determined whether the pixel point with the same position as the pixel point in each pixel segmentation image is located in the ROI area, and the number of times the pixel point with the same position as the pixel point in each pixel segmentation image is located in the ROI area is counted; if the number is greater than or equal to 1, the pixel point in the barium meal contrast image of the area to be detected is marked, and the marked pixel point is recorded as the marked pixel point, and the marked pixel point will be analyzed later; if the number is less than 1, the pixel point in the barium meal contrast image of the area to be detected is not marked. For example, for the yth pixel in the barium meal contrast image of the area to be detected, assuming that there are three super-pixel segmented images with the same pixel position as the pixel, all of which are located in the ROI area, then the number of times the pixel with the same position as the yth pixel in each super-pixel segmented image is located in the ROI area is 3, and the yth pixel in the barium meal contrast image of the area to be detected is marked. Based on the marked pixel in the barium meal contrast image to be detected, the connected domain formed by the marked pixel is obtained, and the connected domain formed by the marked pixel is recorded as the target connected domain, which will be analyzed later.

[0066] If the attention index corresponding to the pixel blocks in multiple superpixel segmentation images of a certain pixel point in the barium meal angiography image of the area to be detected is not 0, that is to say, the more times the pixel point at this position appears in the ROI area in different superpixel segmentation images, the greater the possibility that the pixel point in the barium meal angiography image of the area to be detected is a lesion pixel point; the greater the importance of the pixel point, the greater the probability that the corresponding pixel point is a lesion pixel point; based on this, for any pixel point in the target connected domain in the barium meal angiography image to be detected: the pixel point with the same position as the pixel point in each superpixel segmentation image is recorded as the matching point of the pixel point, and multiple matching points corresponding to the pixel point are obtained, and it is determined whether each matching point of the pixel point is located in the ROI area, and the matching point located in the ROI area is recorded as the feature point of the pixel point, and the sum of the importance corresponding to all the feature points of the pixel point is calculated as the suspected lesion coefficient of the pixel point. Using the above method, the suspected lesion coefficient of each pixel point in the target connected domain in the barium meal angiography image to be detected can be obtained.

[0067] In the above steps, the suspected lesion coefficient of each pixel in the target connected domain in the barium meal angiography image to be detected is obtained. According to the position order of the pixels, the feature vector corresponding to each target connected domain is obtained. For any target connected domain: Assuming that there are t pixels in the target connected domain, the feature vector corresponding to the target connected domain is ,in, is the suspected lesion coefficient of the first pixel in the target connected domain, is the suspected lesion coefficient of the second pixel in the target connected domain, is the suspected lesion coefficient of the t-th pixel in the target connected domain; the feature vector corresponding to each target connected domain is used as the corresponding image detail feature in the barium meal angiography image to be detected.

[0068] Step S34: determining whether the target connected domain is a suspected lesion region based on the feature vector.

[0069] This embodiment will then use a neural network to determine whether the target connected domain of the barium meal radiography image to be detected is a suspected lesion area. Considering that feature fusion based on deep learning usually fuses the deep features extracted from the hidden layer of the network with the additionally extracted image detail features, the fused features are input into the classifier to obtain the final result; therefore, this embodiment first uses the trained neural network as a recognition model to extract the deep features of the barium meal radiography image to be detected, and uses the feature vector of the target connected domain as the corresponding image detail feature in the barium meal radiography image to be detected, that is, the feature vector of the target connected domain is used as the input of the neural network, and the corresponding image detail feature in the barium meal radiography image to be detected is fused with the deep features extracted by the neural network in a linear fusion manner, and the fusion result is used as the input of the classifier. The final output result of the neural network is whether the target connected domain of the barium meal radiography image to be detected is a suspected lesion area; the neural network used in this embodiment is a fully connected neural network FCNN, the loss function of the neural network is the cross entropy loss function, and the classification function of the classifier is the softmax function; the training process of the neural network, the process of deep feature extraction, and the feature fusion process are all existing technologies and will not be repeated here. Figure 3 As shown, this figure is a flow chart of the method for obtaining the suspected lesion area.

[0070] The system provided in this embodiment screens the area in the barium meal angiography image to be tested of the person to be diagnosed, makes a preliminary judgment on the lesion area, obtains the suspected lesion area, and assists the doctor in diagnosis. The doctor then carefully examines the suspected lesion area to complete the diagnosis of the person to be diagnosed. There is no need to carefully examine each position in the barium meal angiography image to be tested, which reduces the doctor's workload and improves diagnostic efficiency.

[0071] In this embodiment, first, superpixel segmentation images are obtained by performing superpixel segmentation of different scales on the barium meal contrast image of the area to be detected, and then the ROI area in each superpixel segmentation image is obtained. According to the grayscale value of the pixel point in the ROI area in each superpixel segmentation image and the attention index corresponding to the ROI area where each pixel point is located, the importance of each pixel point in the ROI area in each superpixel segmentation image is obtained. The greater the importance, the greater the possibility that the corresponding pixel point is a pixel point in the lesion area. Considering that the position of the lesion area in the image is fixed, but due to the different sizes of superpixel segmentation, the number of pixel blocks corresponding to the lesion area in different superpixel segmentation images and the proportion of the pixel blocks are different, this embodiment obtains the target connected domain in the barium meal contrast image of the area to be detected based on the ROI area in each superpixel segmentation image. The probability that the target connected domain is a suspected lesion area is relatively high, so only the target connected domain is subsequently analyzed to eliminate the interference of irrelevant factors. Based on the importance, this embodiment obtains the feature vector corresponding to the target connected domain, and then determines whether the target connected domain is a suspected lesion area, thereby improving the recognition accuracy. The system provided by this embodiment can assist doctors in diagnosis, reduce the workload of doctors, and improve the diagnosis efficiency.

[0072] In other embodiments, a device is also provided, including a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the device executes the above-mentioned method for detecting uniformity of film coating of polymer packaging materials. The device can be specifically a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute the method performed by the barium meal contrast image lesion recognition system for auxiliary diagnosis of gastroenterology provided in the above-mentioned embodiment.

[0073] In other embodiments, a computer program product is also provided. When the computer program product runs on a computer, it enables the computer to execute the above-mentioned related steps to implement the method performed by the barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology provided in the above embodiment.

[0074] In other embodiments, a computer-readable storage medium is also provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the above-mentioned related method steps to implement the method performed by a barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology provided in the above embodiment.

[0075] Among them, the provided devices, computer program products, and computer-readable storage media are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0076] It should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology, comprising a memory and a processor, characterized in that: The processor executes the computer program stored in the memory to implement the following steps: Obtaining a barium meal contrast image of the area to be examined of the person to be diagnosed; The barium meal contrast image of the detection area is segmented at least twice to obtain each super-pixel segmentation image, and the global saliency of each pixel block in each super-pixel segmentation image is obtained based on the gray value and the number of pixels in each pixel block in each super-pixel segmentation image; Obtaining an attention index corresponding to each pixel block in each superpixel segmented image based on the global saliency; Based on the attention index, the ROI area in each superpixel segmentation image is obtained, and the importance of each pixel in the ROI area in each superpixel segmentation image is obtained according to the grayscale value of the pixel in the ROI area in each superpixel segmentation image and the attention index corresponding to the ROI area where each pixel is located; based on the ROI area in each superpixel segmentation image, a target connected domain in the barium meal contrast image of the area to be detected is obtained, and based on the importance, a feature vector corresponding to the target connected domain is obtained; based on the feature vector, whether the target connected domain is a suspected lesion area is determined; The obtaining, based on the global saliency, of an attention index corresponding to each pixel block in each superpixel segmented image comprises: For any pixel block in any superpixel segmentation image: Determine whether the global saliency of the pixel block is less than the mean of the global saliency of all pixel blocks in the superpixel segmentation image where the pixel block is located. If it is less than, take 0 as the attention index corresponding to the pixel block; if it is greater than or equal to, take the ratio of the global saliency of the pixel block to the mean of the global saliency of all pixel blocks in the superpixel segmentation image where the pixel block is located as the attention index corresponding to the pixel block; The importance of each pixel in the ROI region of each superpixel segmentation image is obtained according to the gray value of the pixel in the ROI region of each superpixel segmentation image and the attention index corresponding to the ROI region where each pixel is located, including: For the i-th pixel in the k-th ROI region in the p-th superpixel segmentation image: The difference between the gray value of the i-th pixel and the average gray value of all pixels in the ROI region where the i-th pixel is located is recorded as a first difference; the importance of the i-th pixel is obtained according to the attention index corresponding to the ROI region where the i-th pixel is located, the number of pixels in the k-th ROI region in the p-th superpixel segmentation image, and the first difference, wherein the first difference and the attention index are both positively correlated with the importance, and the number of pixels in the k-th ROI region is negatively correlated with the importance; The determining whether the target connected domain is a suspected lesion region based on the feature vector includes: Based on the feature vector, a trained neural network is used to determine whether the target connected domain is a suspected lesion area.

2. The barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology according to claim 1, characterized in that: The method of obtaining a target connected domain in the barium meal angiography image of the area to be detected based on the ROI area in each superpixel segmentation image includes: For any pixel point in the barium meal contrast image of the area to be detected: determine whether the pixel point with the same position as the pixel point in each pixel segmentation image is located in the ROI area, count the number of times the pixel point with the same position as the pixel point in each pixel segmentation image is located in the ROI area, and if the number is greater than or equal to 1, mark the pixel point in the barium meal contrast image of the area to be detected to obtain a marked pixel point; The connected domain formed by the marked pixels in the barium meal radiography image of the area to be detected is recorded as the target connected domain.

3. The barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology according to claim 1, characterized in that: The obtaining, based on the importance, a feature vector corresponding to the target connected domain includes: For any pixel point in the target connected domain: the pixel point in each superpixel segmentation image with the same position as the pixel point is recorded as the matching point of the pixel point; whether each matching point of the pixel point is located in the ROI area is determined, and the matching point located in the ROI area is recorded as the feature point of the pixel point; the sum of the importance levels corresponding to all the feature points of the pixel point is calculated as the suspected lesion coefficient of the pixel point; Based on the suspected lesion coefficient of each pixel point in the target connected domain, a feature vector corresponding to the target connected domain is constructed.

4. The barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology according to claim 1, characterized in that: The obtaining of the ROI region in each super-pixel segmentation image based on the attention index includes: taking the pixel block whose attention index is not 0 as the ROI region in the corresponding super-pixel segmentation image.

5. The barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology according to claim 1, characterized in that: The method of obtaining the global saliency of each pixel block in each superpixel segmentation image based on the grayscale value and the number of pixels in each pixel block in each superpixel segmentation image comprises: According to the number ratio of pixels in each pixel block in each superpixel segmentation image, the difference between the grayscale value of the pixels in each pixel block in each superpixel segmentation image and the average grayscale value of all pixels in the barium meal angiography image of the area to be detected, the global significance of each pixel block in each superpixel segmentation image is obtained, and the number ratio and the difference are positively correlated with the global significance; the number ratio is the ratio between the number of pixels in each pixel block in each superpixel segmentation image and the total number of pixels in the barium meal angiography image of the area to be detected.

6. The barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology according to claim 1, characterized in that: The step of segmenting the barium meal contrast image of the area to be detected at least twice to obtain each superpixel segmentation image comprises: The superpixel segmentation technology is used to perform superpixel segmentation of different scales on the barium meal contrast image of the detection area to obtain each superpixel segmentation image.

7. The barium meal radiography image lesion recognition system for auxiliary diagnosis in gastroenterology according to claim 1, characterized in that: The step of obtaining a barium meal contrast image of a region to be detected of a person to be diagnosed comprises: The barium meal contrast image of the part to be detected of the person to be diagnosed is collected, and the barium meal contrast image of the part to be detected of the person to be diagnosed is denoised and sharpened to obtain the barium meal contrast image of the area to be detected of the person to be diagnosed.