Endoscopic gastrointestinal tract image segmentation and recognition system and method based on artificial intelligence
By using deep learning-based computer vision technology to perform feature extraction and autocorrelation enhancement on gastrointestinal endoscopic images, precise segmentation and recognition of gastrointestinal images are achieved, solving the problems of low diagnostic accuracy and low efficiency in traditional endoscopic examination methods. , improves diagnostic support for gastrointestinal diseases.
Patent Information
- Application Number
- CN202410791309.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-19
AI Technical Summary
Traditional endoscopic examination methods rely on doctors’ analysis and judgment of gastrointestinal endoscopic images, which suffers from problems of diagnostic accuracy and low efficiency. In particular, due to the complex structure of the gastrointestinal tract and the diversity of lesions, it is susceptible to interference from human factors, such as visual fatigue and Distraction.
Using computer vision technology based on deep learning, through the endoscopic image acquisition module, medical image feature extraction module, internal autocorrelation enhancement module and semantic segmentation module, the features of gastrointestinal endoscopic images are extracted and pixel-level feature autocorrelation enhancement is performed. Use the Softmax function for semantic segmentation to achieve accurate segmentation and recognition of gastrointestinal tract images.
It improves the accuracy and efficiency of gastrointestinal disease diagnosis, reduces the workload of doctors, and provides more reliable support for the detection of diseased areas.
Smart Images

Figure CN118397280B
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and more specifically, to an endoscopic gastrointestinal image segmentation and recognition system and method based on artificial intelligence. Background Art
[0002] An endoscope is a long, thin tube-shaped device that usually has a light source and a camera. Doctors can use it to directly observe the inside of a patient's intestines. Endoscopic examination is a common and effective method for diagnosing and treating gastrointestinal diseases.
[0003] Traditional endoscopic examination methods often rely on doctors to analyze and judge gastrointestinal endoscopic images. Due to the complexity of the gastrointestinal structure and the diversity of lesions, this examination method not only requires doctors to have rich clinical experience and professional knowledge, but also is difficult to avoid interference from human factors, such as visual fatigue and distraction, which may affect the accuracy and efficiency of diagnosis.
[0004] In recent years, with the rapid development of artificial intelligence technology, new possibilities have been provided for the automatic analysis and diagnosis of gastrointestinal endoscopic images. Therefore, an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system and method are expected to achieve automated gastrointestinal image analysis and improve the efficiency of gastrointestinal disease diagnosis. Summary of the invention
[0005] In order to solve the above technical problems, this application is proposed.
[0006] Accordingly, according to one aspect of the present application, an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system is provided, comprising:
[0007] An endoscopic image acquisition module, used for acquiring gastrointestinal endoscopic images;
[0008] A medical image feature extraction module, used to extract image features of the gastrointestinal endoscopic image to obtain a gastrointestinal endoscopic image feature map;
[0009] An internal autocorrelation enhancement module, used for performing internal autocorrelation enhancement on the gastrointestinal endoscopic image feature map to obtain an enhanced gastrointestinal endoscopic image feature map;
[0010] A semantic segmentation module, used for performing semantic segmentation on the enhanced gastrointestinal endoscopic image feature map to obtain an endoscopic gastrointestinal image segmentation result;
[0011] Wherein, the internal autocorrelation enhancement module includes:
[0012] A feature dispersion unit, used for performing feature dispersion on the gastrointestinal endoscopy image feature map along the channel dimension of the gastrointestinal endoscopy image feature map to obtain a set of gastrointestinal endoscopy pixel-level cross-channel representation vectors;
[0013] A feature enhancement unit, used for passing the set of gastrointestinal endoscope pixel-level cross-channel representation vectors through a feature enhancement module based on sequence internal correlation to obtain a set of autocorrelation enhanced gastrointestinal endoscope pixel-level cross-channel representation vectors;
[0014] The feature aggregation unit is used to perform feature aggregation on the set of the autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vectors in a feature dispersion mode to obtain the enhanced gastrointestinal endoscopy image feature map.
[0015] In the above-mentioned artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system, the medical image feature extraction module includes: an image detail enhancement processing unit, which is used to perform detail enhancement processing on the gastrointestinal endoscopic image to obtain a detail-enhanced gastrointestinal endoscopic image; and an image feature extraction unit, which is used to pass the detail-enhanced gastrointestinal endoscopic image through a gastrointestinal medical image feature extractor based on a DenseNet model to obtain a feature map of the gastrointestinal endoscopic image.
[0016] In the above-mentioned artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system, the image detail enhancement processing unit is used to: perform contrast normalization and generalized Gaussian fitting on the gastrointestinal endoscopic image to obtain the detail-enhanced gastrointestinal endoscopic image.
[0017] In the above-mentioned artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system, the feature enhancement unit includes: a sequence distribution cluster center calculation subunit, which is used to calculate the mean vector of the set of gastrointestinal endoscope pixel-level cross-channel representation vectors as the sequence distribution cluster center; a semantic relevance calculation subunit, which is used to calculate the semantic relevance between each gastrointestinal endoscope pixel-level cross-channel representation vector in the set of gastrointestinal endoscope pixel-level cross-channel representation vectors and the sequence distribution cluster center to obtain a sequence of semantic relevance; a feature autocorrelation enhancement subunit, which is used to perform weighted processing on the set of gastrointestinal endoscope pixel-level cross-channel representation vectors based on the sequence of semantic relevance to obtain the set of autocorrelation enhanced gastrointestinal endoscope pixel-level cross-channel representation vectors.
[0018] In the above-mentioned artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system, the semantic relevance calculation subunit is used to: respectively calculate the matrix product between each gastrointestinal endoscope pixel-level cross-channel representation vector in the set of gastrointestinal endoscope pixel-level cross-channel representation vectors and each predetermined weight matrix to obtain a set of gastrointestinal endoscope pixel-level cross-channel representation coding feature vectors; add a bias vector to each gastrointestinal endoscope pixel-level cross-channel representation coding feature vector in the set of gastrointestinal endoscope pixel-level cross-channel representation coding feature vectors and then pass the resultant sigmoid activation function to obtain a set of activated gastrointestinal endoscope pixel-level cross-channel representation coding feature vectors; respectively calculate the vector product between each activated gastrointestinal endoscope pixel-level cross-channel representation coding feature vector in the set of activated gastrointestinal endoscope pixel-level cross-channel representation coding feature vectors and the transposed vector of the sequence distribution cluster center to obtain the sequence of semantic relevance.
[0019] In the above-mentioned artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system, the feature autocorrelation enhancement subunit is used to: input the sequence of semantic relevance into the softmax function for soft maximum normalization processing to obtain a sequence of sequence correlation intensity weight factors; use the sequence of sequence correlation intensity weight factors as the weight sequence, and weight the set of gastrointestinal endoscopy pixel-level cross-channel representation vectors vector by vector to obtain the set of autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vectors.
[0020] In the above-mentioned artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system, the semantic segmentation module is used to: input the enhanced gastrointestinal endoscopic image feature map into a semantic segmentor based on the Softmax function to obtain the endoscopic gastrointestinal image segmentation result.
[0021] According to another aspect of the present application, there is provided an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition method, which comprises:
[0022] Obtain endoscopic images of the gastrointestinal tract;
[0023] Extracting image features of the gastrointestinal endoscopic image to obtain a gastrointestinal endoscopic image feature map;
[0024] Performing internal autocorrelation enhancement on the gastrointestinal endoscopic image feature map to obtain an enhanced gastrointestinal endoscopic image feature map;
[0025] Performing semantic segmentation on the enhanced gastrointestinal endoscopic image feature map to obtain an endoscopic gastrointestinal image segmentation result;
[0026] The step of performing internal autocorrelation enhancement on the gastrointestinal endoscopic image feature map to obtain an enhanced gastrointestinal endoscopic image feature map includes:
[0027] Along the channel dimension of the gastrointestinal endoscopy image feature map, feature dispersion is performed on the gastrointestinal endoscopy image feature map to obtain a set of gastrointestinal endoscopy pixel-level cross-channel representation vectors;
[0028] Passing the set of gastrointestinal endoscope pixel-level cross-channel representation vectors through a feature enhancement module based on sequence internal correlation to obtain a set of autocorrelation enhanced gastrointestinal endoscope pixel-level cross-channel representation vectors;
[0029] The set of the autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vectors is feature aggregated according to a feature dispersion mode to obtain the enhanced gastrointestinal endoscopy image feature map.
[0030] Compared with the prior art, the artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system and method provided by the present application uses computer vision technology based on deep learning to process gastrointestinal endoscopic images, extracts image feature representations of gastrointestinal endoscopic images, and performs pixel-level feature autocorrelation enhancement to improve the feature expression intensity of the lesion area in the image, and then performs pixel-level semantic segmentation through the Softmax function to obtain the segmentation and recognition results of the gastrointestinal endoscopic images. In this way, accurate segmentation and recognition of endoscopic gastrointestinal images can be achieved, and the detection accuracy of lesion areas can be improved, thereby providing strong support for the diagnosis and treatment of gastrointestinal diseases. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0032] Figure 1 It is a block diagram of an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system according to an embodiment of the present application.
[0033] Figure 2 Schematic diagram of the architecture of an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system according to an embodiment of the present application.
[0034] Figure 3 It is a block diagram of a medical image feature extraction module in an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system according to an embodiment of the present application.
[0035] Figure 4 It is a block diagram of the internal autocorrelation enhancement module in the artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system according to an embodiment of the present application.
[0036] Figure 5 It is a block diagram of a feature enhancement unit in an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system according to an embodiment of the present application.
[0037] Figure 6 The present invention is a flowchart of an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition method according to an embodiment of the present application. DETAILED DESCRIPTION
[0038] Below, the embodiments of the present application will be described in more detail in conjunction with the accompanying drawings, and the above and other purposes, features and advantages of the present application will become more apparent. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the example embodiments described herein.
[0039] As mentioned in the above background technology, the traditional endoscopic examination method mainly relies on the doctor to analyze and diagnose the gastrointestinal endoscopic images. In view of the complexity of the gastrointestinal structure and the diversity of lesion types, this examination method not only requires doctors to have profound clinical experience and solid professional knowledge, but also has low diagnostic efficiency, and is also faced with potential interference caused by human factors. For example, factors such as visual fatigue and distraction may have adverse effects on the accuracy and efficiency of diagnosis, thereby restricting the accuracy and efficiency of endoscopic examination to a certain extent. In response to the above technical problems, the technical concept of this application is to use computer vision technology based on deep learning to process gastrointestinal endoscopic images, extract image feature representation of gastrointestinal endoscopic images, and perform pixel-level feature autocorrelation enhancement to improve the feature expression intensity of the lesion area in the image, and then perform pixel-level semantic segmentation through the Softmax function to obtain the segmentation and recognition results of the gastrointestinal endoscopic images. In this way, accurate segmentation and recognition of gastrointestinal images under endoscopy can be achieved, and the detection accuracy of lesion areas can be improved, thereby providing strong support for the diagnosis and treatment of gastrointestinal diseases.
[0040] Figure 1 It is a block diagram of an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system according to an embodiment of the present application. Figure 2 FIG. 1 is a schematic diagram of the architecture of an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system according to an embodiment of the present application. Figure 1 and Figure 2As shown, according to an embodiment of the present application, an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system 100 includes: an endoscopic image acquisition module 110, used to acquire a gastrointestinal endoscopic image; a medical image feature extraction module 120, used to extract image features of the gastrointestinal endoscopic image to obtain a gastrointestinal endoscopic image feature map; an internal autocorrelation enhancement module 130, used to perform internal autocorrelation enhancement on the gastrointestinal endoscopic image feature map to obtain an enhanced gastrointestinal endoscopic image feature map; and a semantic segmentation module 140, used to perform semantic segmentation on the enhanced gastrointestinal endoscopic image feature map to obtain an endoscopic gastrointestinal image segmentation result.
[0041] In the above-mentioned endoscopic gastrointestinal image segmentation and recognition system 100 based on artificial intelligence, the endoscopic image acquisition module 110 is used to acquire gastrointestinal endoscopic images. It should be understood that gastrointestinal endoscopic images are the main means for doctors to directly observe the internal conditions of the patient's gastrointestinal tract. By acquiring gastrointestinal endoscopic images, doctors can view the structures of the patient's gastrointestinal mucosa, blood vessels, polyps, and possible lesions, such as inflammation, ulcers, tumors, etc. In the technical solution of the present application, in order to automatically segment and recognize gastrointestinal endoscopic images to reduce the workload of doctors, after acquiring the gastrointestinal endoscopic images, the gastrointestinal endoscopic images are further analyzed and processed using image processing technology based on deep learning. Among them, the color, texture, shape and other information in the gastrointestinal endoscopic images are important bases for judging the nature, location and range of lesions. By automatically extracting useful information such as color, texture, shape, etc. in the gastrointestinal endoscopic images through deep learning algorithms, accurate segmentation and recognition of lesion areas in the images can be achieved.
[0042] In the above-mentioned artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system 100, the medical image feature extraction module 120 is used to extract the image features of the gastrointestinal endoscopic image to obtain a gastrointestinal endoscopic image feature map. Figure 3 FIG. 4 is a block diagram of a medical image feature extraction module in an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system according to an embodiment of the present application. Figure 3 As shown, the medical image feature extraction module 120 includes: an image detail enhancement processing unit 121, used to perform detail enhancement processing on the gastrointestinal endoscopic image to obtain a detail enhanced gastrointestinal endoscopic image; an image feature extraction unit 122, used to pass the detail enhanced gastrointestinal endoscopic image through a gastrointestinal medical image feature extractor based on a DenseNet model to obtain the gastrointestinal endoscopic image feature map.
[0043] Specifically, the image detail enhancement processing unit 121 is used to perform detail enhancement processing on the gastrointestinal endoscopic image to obtain a detail enhanced gastrointestinal endoscopic image. It should be understood that, considering the influence of factors such as the intestinal environment and shooting conditions during the actual endoscopic image shooting process, the boundary between the lesion area and the normal tissue in the gastrointestinal endoscopic image may be blurred, thereby affecting the accuracy of image segmentation and recognition. Therefore, in order to improve the image quality, in the technical solution of the present application, the gastrointestinal endoscopic image is further subjected to detail enhancement processing to remove noise interference in the gastrointestinal endoscopic image and enhance the contrast between the lesion area and the normal tissue.
[0044] In a specific example of the present application, the gastrointestinal endoscopic image is subjected to detail enhancement processing to obtain a detail enhanced gastrointestinal endoscopic image by performing contrast normalization and generalized Gaussian fitting on the gastrointestinal endoscopic image to obtain the detail enhanced gastrointestinal endoscopic image. Specifically, first, the gastrointestinal endoscopic image is subjected to contrast normalization to adjust the overall brightness and contrast of the image so that the pixel value distribution in the image is more uniform. Then, the image is fitted based on the generalized Gaussian distribution, and the grayscale distribution of the image is modeled and adjusted to enhance the detail information in the image, especially the feature expression of the lesion area, while reducing the noise and artifacts in the image, thereby effectively improving the image quality and providing a more accurate data basis for subsequent feature extraction and semantic segmentation.
[0045] Specifically, the image feature extraction unit 122 is used to pass the detail-enhanced gastrointestinal endoscopic image through a gastrointestinal medical image feature extractor based on the DenseNet model to obtain the gastrointestinal endoscopic image feature map. It should be understood that considering that traditional convolutional neural network models usually perform deep image feature extraction by deepening the number of layers, however, as the number of network layers increases, the model is prone to gradient vanishing problems, resulting in performance degradation. Therefore, in the technical solution of the present application, a gastrointestinal medical image feature extractor based on the DenseNet model is used to extract features from the detail-enhanced gastrointestinal endoscopic image. Specifically, the DenseNet model uses a dense connection method so that the output of each layer becomes the input of all subsequent layers, thereby realizing feature reuse and deep supervision, which not only effectively slows down the gradient vanishing phenomenon, but also reduces the number of parameters, and improves computational efficiency and real-time performance. Here, the gastrointestinal medical image feature extractor based on the DenseNet model is based on the ideas of dense connection and feature reuse, and can learn and extract key features such as color, texture, shape, etc. in the detail-enhanced gastrointestinal endoscopic images, reflecting the shape, size, position and other information of the lesion area, and providing accurate and rich feature representation for subsequent semantic segmentation.
[0046] In the above-mentioned artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system 100, the internal autocorrelation enhancement module 130 is used to perform internal autocorrelation enhancement on the gastrointestinal endoscopic image feature map to obtain an enhanced gastrointestinal endoscopic image feature map. That is, in order to further improve the feature expression strength of the lesion area in the gastrointestinal endoscopic image feature map, that is, to enhance the distinction between the lesion area and the normal tissue in the gastrointestinal endoscopic image, so as to facilitate subsequent semantic segmentation operations. Therefore, it is expected that by performing pixel-level internal feature autocorrelation enhancement processing on the gastrointestinal endoscopic image feature map, each pixel point can more accurately express the semantic information of the area to which it belongs (lesion area or normal tissue).
[0047] Figure 4 FIG. 4 is a block diagram of an internal autocorrelation enhancement module in an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system according to an embodiment of the present application. Figure 4 As shown, the internal autocorrelation enhancement module 130 includes: a feature dispersion unit 131, which is used to perform feature dispersion on the gastrointestinal endoscopy image feature map along the channel dimension of the gastrointestinal endoscopy image feature map to obtain a set of gastrointestinal endoscopy pixel-level cross-channel representation vectors; a feature enhancement unit 132, which is used to pass the set of gastrointestinal endoscopy pixel-level cross-channel representation vectors through a feature enhancement module based on sequence internal correlation to obtain a set of autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vectors; a feature aggregation unit 133, which is used to perform feature aggregation on the set of autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vectors according to the feature dispersion mode to obtain the enhanced gastrointestinal endoscopy image feature map.
[0048] Specifically, the feature dispersion unit 131 is used to perform feature dispersion on the gastrointestinal endoscopy image feature map along the channel dimension of the gastrointestinal endoscopy image feature map to obtain a set of gastrointestinal endoscopy pixel-level cross-channel representation vectors. It should be understood that internal autocorrelation enhancement refers to strengthening the feature expression of key areas in the image by calculating the correlation between each pixel point within the gastrointestinal endoscopy image feature map. Therefore, in order to refine the feature information of the gastrointestinal endoscopy image feature map to the pixel level, the gastrointestinal endoscopy image feature map is further decomposed by each pixel point in the spatial dimension, and the multi-channel information of each pixel point is integrated to form a pixel-level cross-channel representation vector, thereby making full use of the information complementarity between different channels to enrich the feature representation of each pixel point, so as to better reflect the characteristic attributes of each pixel point, and provide the necessary data basis for the internal feature autocorrelation enhancement processing of the gastrointestinal endoscopy image feature map.
[0049] Specifically, the feature enhancement unit 132 is used to pass the set of the gastrointestinal endoscope pixel-level cross-channel representation vectors through a feature enhancement module based on internal sequence correlation to obtain a set of autocorrelation-enhanced gastrointestinal endoscope pixel-level cross-channel representation vectors. It should be understood that the feature enhancement module based on internal sequence correlation calculates the correlation between each gastrointestinal endoscope pixel-level cross-channel representation vector, and assigns different weights to each gastrointestinal endoscope pixel-level cross-channel representation vector to highlight the key areas in the image. Specifically, first, by calculating the mean vector of the set of gastrointestinal endoscope pixel-level cross-channel representation vectors as the sequence distribution clustering center, the average features of all pixel-level cross-channel representation vectors in the set are reflected, thereby providing an overall understanding of the set. Then, by calculating the semantic correlation between each pixel-level cross-channel representation vector in the set and the sequence distribution clustering center (mean vector), the degree of proximity between each pixel-level cross-channel representation vector and the overall feature of the set is reflected, revealing the relationship between the pixels within the set. Furthermore, weighted processing is performed based on the semantic relevance corresponding to the pixel-level cross-channel representation vectors of each gastrointestinal endoscope in the set to highlight the characteristic expression of the lesion area and suppress the characteristic information of normal tissue, thereby improving the distinction between the lesion area and normal tissue, which helps to improve the accuracy of subsequent image semantic segmentation.
[0050] Figure 5 FIG. 1 is a block diagram of a feature enhancement unit in an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system according to an embodiment of the present application. Figure 5 As shown, the feature enhancement unit 132 includes: a sequence distribution cluster center calculation subunit 1321, which is used to calculate the mean vector of the set of gastrointestinal endoscopy pixel-level cross-channel representation vectors as the sequence distribution cluster center; a semantic relevance calculation subunit 1322, which is used to calculate the semantic relevance between each gastrointestinal endoscopy pixel-level cross-channel representation vector in the set of gastrointestinal endoscopy pixel-level cross-channel representation vectors and the sequence distribution cluster center to obtain a sequence of semantic relevance; a feature autocorrelation enhancement subunit 1323, which is used to perform weighted processing on the set of gastrointestinal endoscopy pixel-level cross-channel representation vectors based on the sequence of semantic relevance to obtain the set of autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vectors.
[0051] More specifically, the semantic relevance calculation subunit 1322 is used to: respectively calculate the matrix products between each gastrointestinal endoscopy pixel-level cross-channel representation vector in the set of gastrointestinal endoscopy pixel-level cross-channel representation vectors and each predetermined weight matrix to obtain a set of gastrointestinal endoscopy pixel-level cross-channel representation encoding feature vectors; add a bias vector to each gastrointestinal endoscopy pixel-level cross-channel representation encoding feature vector in the set of gastrointestinal endoscopy pixel-level cross-channel representation encoding feature vectors and then pass the resultant sigmoid activation function to obtain a set of activated gastrointestinal endoscopy pixel-level cross-channel representation encoding feature vectors; respectively calculate the vector products between each activated gastrointestinal endoscopy pixel-level cross-channel representation encoding feature vector in the set of activated gastrointestinal endoscopy pixel-level cross-channel representation encoding feature vectors and the transposed vector of the sequence distribution cluster center to obtain the sequence of semantic relevance.
[0052] More specifically, the feature autocorrelation enhancement subunit 1323 is used to: input the sequence of semantic relevance into a softmax function for soft maximum normalization processing to obtain a sequence of sequence correlation strength weight factors; use the sequence of sequence correlation strength weight factors as a weight sequence, and perform vector-by-vector weighting on the set of gastrointestinal endoscopy pixel-level cross-channel representation vectors to obtain the set of autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vectors.
[0053] That is, the feature enhancement unit 132 is used to process the set of gastrointestinal endoscopy pixel-level cross-channel representation vectors using the following internal autocorrelation enhancement formula to obtain the set of autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vectors, wherein the internal autocorrelation enhancement formula is:
[0054] ;
[0055] ;
[0056] ;
[0057] in, is the first in the set of gastrointestinal endoscope pixel-level cross-channel representation vectors a gastrointestinal endoscope pixel-level cross-channel representation vector, is the number of pixel-level cross-channel representation vectors of the gastrointestinal endoscope, is the cluster center of sequence distribution, is the predetermined weight matrix, is the bias vector, is the activation function, For the Semantic relevance, is the normalized exponential function, represents dot product, For the The autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vector.
[0058] Specifically, the feature aggregation unit 133 is used to perform feature aggregation on the set of the autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vectors according to the feature dispersion mode to obtain the enhanced gastrointestinal endoscopy image feature map. That is, following the previous feature dispersion mode, the set of the autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vectors is aggregated into the original feature map form to ensure that the enhanced gastrointestinal endoscopy image feature map obtained after aggregation can maintain the pixel spatial distribution relationship of the original image, accurately reflect the key information such as the shape, size and position of the lesion area, and provide accurate and reliable data support for subsequent semantic segmentation.
[0059] In the above-mentioned artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system 100, the semantic segmentation module 140 is used to perform semantic segmentation on the enhanced gastrointestinal endoscopic image feature map to obtain the endoscopic gastrointestinal image segmentation result. In a specific example of the present application, the implementation method of performing semantic segmentation on the enhanced gastrointestinal endoscopic image feature map to obtain the endoscopic gastrointestinal image segmentation result is to input the enhanced gastrointestinal endoscopic image feature map into a semantic segmentor based on the Softmax function to obtain the endoscopic gastrointestinal image segmentation result. That is, pixel-level semantic segmentation is performed on the enhanced gastrointestinal endoscopic image feature map by the Softmax function. Specifically, the semantic segmentor based on the Softmax function calculates the probability distribution of each pixel point in the enhanced gastrointestinal endoscopic image feature map belonging to different categories to achieve pixel-by-pixel classification of the image, thereby identifying the boundary between the lesion area and the normal tissue, and obtaining an accurate segmentation result, so that the doctor can quickly locate the lesion area according to the segmentation result and evaluate the severity of the lesion.
[0060] In a preferred embodiment of the present application, the enhanced gastrointestinal endoscopic image feature map is input into a semantic segmenter based on a Softmax function to obtain an endoscopic gastrointestinal image segmentation result, comprising the following steps: expanding the enhanced gastrointestinal endoscopic image feature map into an enhanced gastrointestinal endoscopic image feature vector; calculating a self-mean representation matrix and a self-standard deviation representation matrix of the enhanced gastrointestinal endoscopic image feature vector, wherein the self-mean representation matrix The value of the position is the first The characteristic value of the position and the characteristic vector of the enhanced gastrointestinal endoscopic image The mean of the eigenvalues of the position and the standard deviation of the matrix The value of the position is the first The characteristic value of the position and the characteristic vector of the enhanced gastrointestinal endoscopic image The standard deviation between the eigenvalues of the positions; matrix multiplying the transposed vector of the enhanced gastrointestinal endoscopic image feature vector with the self-mean representation matrix to obtain a first intermediate vector, and matrix multiplying the self-standard deviation representation matrix with the enhanced gastrointestinal endoscopic image feature vector to obtain a second intermediate vector, wherein the enhanced gastrointestinal endoscopic image feature vector is a column vector; calculating the point sum of the transposed vectors of the first intermediate vector and the second intermediate vector to obtain a third intermediate vector; calculating the matrix product of the self-mean representation matrix and the self-standard deviation representation matrix, and The transposed vector of the enhanced gastrointestinal endoscopic image feature vector is matrix-multiplied with the matrix product to obtain a fourth intermediate vector; the point sum of the third intermediate vector and the fourth intermediate vector is calculated to obtain a corrected enhanced gastrointestinal endoscopic image feature vector; the corrected enhanced gastrointestinal endoscopic image feature vector is restored to a corrected enhanced gastrointestinal endoscopic image feature map based on the expansion of the enhanced gastrointestinal endoscopic image feature map; the corrected enhanced gastrointestinal endoscopic image feature map is input into a semantic segmenter based on the Softmax function to obtain the endoscopic gastrointestinal image segmentation result.
[0061] Here, considering that the enhanced gastrointestinal endoscopy image feature map represents the image semantic features of the detail enhanced gastrointestinal endoscopy image along the channel dimension, after being enhanced based on the internal correlation of the spatial distribution of the image semantic features of the feature matrix, the overall feature map of the enhanced gastrointestinal endoscopy image will cause local overflow features due to the enhanced differentiation of the cross-channel representation vectors of the pixel-level autocorrelation enhanced gastrointestinal endoscopy, thereby affecting the accuracy of semantic segmentation of the enhanced gastrointestinal endoscopy image feature map input into the semantic segmentor based on the Softmax function.
[0062] Based on this, the self-mean representation matrix and the self-standard deviation representation matrix of the group aggregation statistical evaluation of the local distribution of the eigenvalue granularity of the enhanced gastrointestinal endoscopic image feature map are used as the retrieval and response distribution enhancements of the enhanced gastrointestinal endoscopic image feature map, and a reference-free distribution retrieval response framework based on the group aggregation feature distribution open domain of the enhanced gastrointestinal endoscopic image feature map is constructed to avoid the distribution response redundancy caused by the local overflow characteristics of the enhanced gastrointestinal endoscopic image feature map through response superposition, so as to achieve the fidelity constraint of the response self-aggregation statistics related to the corrected enhanced gastrointestinal endoscopic image feature map to the target semantic segmentation domain, and improve the accuracy of the endoscopic gastrointestinal image segmentation result obtained by inputting the corrected enhanced gastrointestinal endoscopic image feature map into the semantic segmentor based on the Softmax function.
[0063] In summary, according to the embodiment of the present application, the endoscopic gastrointestinal image segmentation and recognition system based on artificial intelligence is explained, which uses computer vision technology based on deep learning to process gastrointestinal endoscopic images, extracts image feature representations of gastrointestinal endoscopic images, and performs pixel-level feature autocorrelation enhancement to improve the feature expression intensity of the lesion area in the image, and then performs pixel-level semantic segmentation through the Softmax function to obtain the segmentation and recognition results of the gastrointestinal endoscopic images. In this way, accurate segmentation and recognition of endoscopic gastrointestinal images can be achieved, and the detection accuracy of lesion areas can be improved, thereby providing strong support for the diagnosis and treatment of gastrointestinal diseases.
[0064] Figure 6 FIG. 1 is a flow chart of an artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition method according to an embodiment of the present application. Figure 6 As shown, according to the artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition method of the embodiment of the present application, the steps include: S1, acquiring a gastrointestinal endoscopic image; S2, extracting the image features of the gastrointestinal endoscopic image to obtain a gastrointestinal endoscopic image feature map; S3, performing internal autocorrelation enhancement on the gastrointestinal endoscopic image feature map to obtain an enhanced gastrointestinal endoscopic image feature map; S4, performing semantic segmentation on the enhanced gastrointestinal endoscopic image feature map to obtain an endoscopic gastrointestinal image segmentation result.
[0065] Here, those skilled in the art can understand that the specific operations of each step in the above-mentioned artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition method have been referred to above. Figures 1 to 5 The description of the artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system has been introduced in detail, and therefore, its repeated description will be omitted.
[0066] The basic principle of the present invention is described above in conjunction with specific embodiments. However, it should be pointed out that the advantages, strengths, effects, etc. mentioned in the present invention are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. must be possessed by each embodiment of the present invention. In addition, the specific details of the above embodiments are only for the purpose of illustration and facilitation of understanding, rather than limitation, and the above details do not limit the present invention to being implemented by adopting the above specific details.
[0067] In the above embodiments, the description of each embodiment has its own emphasis. For the parts that are not described or recorded in detail in a certain embodiment, please refer to the relevant description of other embodiments. In the several embodiments provided by the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the system embodiment described above is only schematic. For example, the unit division is only a logical function division, and there may be other division methods in actual implementation. The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical sub-unit, that is, it may be located in one place, or it may be distributed on multiple network sub-units. Some or all of the units can be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0068] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference to a figure in a claim should not be considered as limiting the claim to which it relates.
[0069] In addition, it is obvious that the word "comprising" does not exclude other sub-units or steps, and the singular does not exclude the plural. Multiple sub-units stated in the system claim can also be implemented by one sub-unit through software or hardware.
[0070] Finally, it should be noted that the above description has been given for the purpose of illustration and description. In addition, the above embodiments are only used to illustrate the technical solution of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. An artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system, characterized in that: include: An endoscopic image acquisition module, used for acquiring gastrointestinal endoscopic images; A medical image feature extraction module, used to extract image features of the gastrointestinal endoscopic image to obtain a gastrointestinal endoscopic image feature map; An internal autocorrelation enhancement module, used for performing internal autocorrelation enhancement on the gastrointestinal endoscopic image feature map to obtain an enhanced gastrointestinal endoscopic image feature map; A semantic segmentation module, used for performing semantic segmentation on the enhanced gastrointestinal endoscopic image feature map to obtain an endoscopic gastrointestinal image segmentation result; Wherein, the internal autocorrelation enhancement module includes: A feature dispersion unit, used for performing feature dispersion on the gastrointestinal endoscopy image feature map along the channel dimension of the gastrointestinal endoscopy image feature map to obtain a set of gastrointestinal endoscopy pixel-level cross-channel representation vectors; A feature enhancement unit, used for passing the set of gastrointestinal endoscope pixel-level cross-channel representation vectors through a feature enhancement module based on sequence internal correlation to obtain a set of autocorrelation enhanced gastrointestinal endoscope pixel-level cross-channel representation vectors; A feature aggregation unit, used for performing feature aggregation on the set of the autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vectors according to a feature dispersion mode to obtain the enhanced gastrointestinal endoscopy image feature map; Wherein, the feature enhancement unit comprises: A sequence distribution cluster center calculation subunit, used to calculate the mean vector of the set of gastrointestinal endoscope pixel-level cross-channel representation vectors as the sequence distribution cluster center; A semantic relevance calculation subunit, used for calculating the semantic relevance between each gastrointestinal endoscope pixel-level cross-channel representation vector in the set of gastrointestinal endoscope pixel-level cross-channel representation vectors and the sequence distribution cluster center to obtain a sequence of semantic relevance; A feature autocorrelation enhancement subunit, configured to perform weighted processing on the set of gastrointestinal endoscopy pixel-level cross-channel representation vectors based on the sequence of semantic relevance to obtain the set of autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vectors; Wherein, the semantic relevance calculation subunit is used to: Respectively calculating the matrix products between each gastrointestinal endoscopy pixel-level cross-channel representation vector and each predetermined weight matrix in the set of gastrointestinal endoscopy pixel-level cross-channel representation vectors to obtain a set of gastrointestinal endoscopy pixel-level cross-channel representation encoding feature vectors; Adding a bias vector to each gastrointestinal endoscope pixel-level cross-channel representation encoding feature vector in the set of gastrointestinal endoscope pixel-level cross-channel representation encoding feature vectors, and then performing a Sigmoid activation function to obtain a set of activated gastrointestinal endoscope pixel-level cross-channel representation encoding feature vectors; Respectively calculating the vector products between each activated gastrointestinal endoscopy pixel-level cross-channel representation encoding feature vector in the set of activated gastrointestinal endoscopy pixel-level cross-channel representation encoding feature vectors and the transposed vector of the sequence distribution cluster center to obtain the sequence of semantic relevance; Wherein, the characteristic autocorrelation strengthening subunit is used for: Inputting the sequence of semantic relevance into a softmax function for soft maximum normalization processing to obtain a sequence of sequence correlation strength weight factors; The sequence of the sequence correlation strength weight factors is used as a weight sequence, and the set of the gastrointestinal endoscopy pixel-level cross-channel representation vectors is weighted vector by vector to obtain the set of the autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vectors.
2. The artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system according to claim 1, characterized in that: The medical image feature extraction module comprises: An image detail enhancement processing unit, used for performing detail enhancement processing on the gastrointestinal endoscopic image to obtain a detail enhanced gastrointestinal endoscopic image; An image feature extraction unit is used to pass the detail-enhanced gastrointestinal endoscopic image through a gastrointestinal medical image feature extractor based on a DenseNet model to obtain a gastrointestinal endoscopic image feature map.
3. The artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system according to claim 2, characterized in that: The image detail enhancement processing unit is used to: The gastrointestinal endoscopic image is subjected to contrast normalization and generalized Gaussian fitting to obtain the detail-enhanced gastrointestinal endoscopic image.
4. The artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system according to claim 3, characterized in that: The semantic segmentation module is used to: The enhanced gastrointestinal endoscopic image feature map is input into a semantic segmenter based on a Softmax function to obtain the endoscopic gastrointestinal image segmentation result.
5. An artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition method based on the artificial intelligence-based endoscopic gastrointestinal image segmentation and recognition system according to any one of claims 1 to 4, characterized in that: include: Obtain endoscopic images of the gastrointestinal tract; Extracting image features of the gastrointestinal endoscopic image to obtain a gastrointestinal endoscopic image feature map; Performing internal autocorrelation enhancement on the gastrointestinal endoscopic image feature map to obtain an enhanced gastrointestinal endoscopic image feature map; Performing semantic segmentation on the enhanced gastrointestinal endoscopic image feature map to obtain an endoscopic gastrointestinal image segmentation result; The step of performing internal autocorrelation enhancement on the gastrointestinal endoscopic image feature map to obtain an enhanced gastrointestinal endoscopic image feature map includes: Along the channel dimension of the gastrointestinal endoscopy image feature map, feature dispersion is performed on the gastrointestinal endoscopy image feature map to obtain a set of gastrointestinal endoscopy pixel-level cross-channel representation vectors; Passing the set of gastrointestinal endoscope pixel-level cross-channel representation vectors through a feature enhancement module based on sequence internal correlation to obtain a set of autocorrelation enhanced gastrointestinal endoscope pixel-level cross-channel representation vectors; The set of the autocorrelation enhanced gastrointestinal endoscopy pixel-level cross-channel representation vectors is feature aggregated according to a feature dispersion mode to obtain the enhanced gastrointestinal endoscopy image feature map.
Citation Information
Patent Citations
Automatic segmentation method and system for rectal cancer image and chemoradiotherapy reaction prediction system
CN115170568A
Liver tumor CT image segmentation method based on APA-UNet
CN117746042A
Bile and pancreas imaging system and method based on deep neural network algorithm
CN117764995A
Image processing method and system
US20200327309A1
Method and system for automatically recognizing image of primary tumor of nasopharyngeal carcinoma
WO2022001237A1
