Artificial intelligence-based digestive endoscopy quality control system and method
Through the artificial intelligence-based digestive endoscopy quality control system, the subjectivity and mucus and bubble interference problems of traditional evaluation methods are solved, the automatic evaluation of gastric mucosal visibility and the consistency of diagnostic results are achieved, and the quality of digestive endoscopy is improved. Intelligence and quality of inspection.
Patent Information
- Application Number
- CN202411154134.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-08-22
AI Technical Summary
Traditional gastric mucosal visibility assessment relies on the personal experience of physicians, and is subject to differences in judgment, which affects the consistency of diagnostic results. In addition, interference from mucus and air bubbles reduces image clarity and may obscure minor lesions.
Adopt an artificial intelligence-based digestive endoscopy quality control system to obtain real-time images of the status of the digestive tract, perform image optimization and feature extraction, use global semantic perception technology to determine the visibility of gastric mucosa, and generate voice prompt signals to automatically evaluate gastric mucosa. visibility and reduce human interference.
It realizes the automatic assessment of gastric mucosal visibility, improves the consistency of diagnostic results and the intelligence of digestive endoscopy, analyzes images in real time and guides doctors to take measures, improving the quality of examinations.
Smart Images

Figure CN118674715B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent image analysis, and more specifically, to a digestive endoscopy quality control system and method based on artificial intelligence. Background Art
[0002] As a minimally invasive diagnostic technique, gastrointestinal endoscopy plays a key role in the diagnosis and treatment of gastrointestinal diseases. It uses an endoscopic camera to directly observe the internal conditions of the digestive tract to detect tiny lesions. The presence of mucus and bubbles will form a layer of cover during endoscopic examination, making the true condition of the gastric mucosa unclear. This visual interference not only reduces the clarity of the image, but may also cover up tiny lesions, such as signs of early gastric cancer. Therefore, ensuring that the gastric mucosa is clean and unobstructed is crucial to achieving an accurate diagnosis.
[0003] However, the traditional assessment of gastric mucosal visibility relies on the physician's personal experience and immediate judgment. Since physicians have different standards for interpreting mucosal conditions and different sensitivity and accuracy in lesion identification, it not only leads to subjectivity in the assessment results, but may also lead to significant differences in judgment between different physicians, thus affecting the consistency of the judgment results.
[0004] Therefore, an optimized quality control scheme for digestive endoscopy is needed. Summary of the invention
[0005] In view of the shortcomings of the prior art, the present application provides a digestive endoscopy quality control system and method based on artificial intelligence.
[0006] According to one aspect of the present application, a digestive endoscopy quality control system based on artificial intelligence is provided, which comprises:
[0007] The patient's real-time digestive tract status image acquisition module is used to acquire the real-time digestive tract status image of the patient being examined collected by the endoscopic camera during the digestive endoscopy examination;
[0008] A real-time digestive tract state image optimization module, used for performing image optimization on the real-time digestive tract state image to obtain an optimized real-time digestive tract state image;
[0009] An optimized real-time digestive tract state image feature extraction module, used for passing the optimized real-time digestive tract state image through a digestive tract state feature extractor to obtain a digestive tract real-time state feature map;
[0010] A digestive tract state image feature enhancement module, used for passing the digestive tract real-time state feature map through a digestive tract real-time state key feature enhancer based on global semantic perception to obtain an enhanced digestive tract real-time state feature map as an enhanced digestive tract real-time state feature;
[0011] A gastric mucosal visibility judgment module, used to obtain a detection result based on the enhanced digestive tract real-time state characteristics, and generate a corresponding voice prompt signal based on the detection result;
[0012] Wherein, the digestive tract state image feature enhancement module includes:
[0013] A digestive tract real-time state characteristic linear transformation unit, used for performing a linear transformation on the digestive tract real-time state characteristic graph to obtain a digestive tract real-time state linear transformation matrix;
[0014] A digestive tract real-time state feature normalization unit, used for inputting the digestive tract real-time state linear transformation matrix into a softmax function for normalization processing to obtain a normalized digestive tract real-time state linear transformation matrix;
[0015] A digestive tract real-time state feature weighting unit, used to use the normalized digestive tract real-time state linear transformation matrix as a weight matrix to weight the digestive tract real-time state feature map to obtain a digestive tract real-time state global channel feature map;
[0016] A digestive tract real-time state global channel feature map activation unit, used for inputting the digestive tract real-time state global channel feature map into a LeakyReLU activation function for activation processing to obtain a digestive tract real-time state global channel activation feature map;
[0017] The digestive tract real-time state global channel feature weighting unit is used to weightedly fuse the digestive tract real-time state global channel activation feature map and the digestive tract real-time state feature map to obtain the enhanced digestive tract real-time state feature map.
[0018] In the above-mentioned artificial intelligence-based digestive endoscopy quality control system, the real-time digestive tract status image optimization module is used to: pass the real-time digestive tract status image through an image optimizer to obtain the optimized real-time digestive tract status image.
[0019] In the above-mentioned artificial intelligence-based digestive endoscopy quality control system, the real-time digestive tract status image optimization module is used to: determine the grayscale histogram of the real-time digestive tract status image to obtain the real-time digestive tract status grayscale histogram; determine the grayscale range that needs to be enhanced for the real-time digestive tract status image based on the real-time digestive tract status grayscale histogram; map the selected grayscale range to a wider grayscale range to obtain a mapped real-time digestive tract status grayscale image; control the diffusion process based on the local gradient information of the mapped real-time digestive tract status grayscale image; apply the diffusion process to iteratively update the pixel values of the mapped real-time digestive tract status grayscale image to obtain the optimized real-time digestive tract status image.
[0020] In the above-mentioned artificial intelligence-based digestive endoscopy quality control system, the optimized real-time digestive tract status image feature extraction module is used to: pass the optimized real-time digestive tract status image through a digestive tract status feature extractor based on a void convolutional network to obtain the digestive tract real-time status feature map.
[0021] In the above-mentioned artificial intelligence-based digestive endoscopy quality control system, the digestive tract real-time state feature linear transformation unit is used to: perform convolution encoding on the digestive tract real-time state feature map to obtain a digestive tract real-time state convolution encoding feature matrix; first perform matrix multiplication on the digestive tract real-time state convolution encoding feature matrix with a trainable weight matrix, and then add the obtained digestive tract real-time state weight matrix and the trainable bias matrix by position to obtain the digestive tract real-time state linear transformation matrix.
[0022] In the above-mentioned artificial intelligence-based digestive endoscopy quality control system, the digestive tract real-time state feature weighting unit is used to: use the normalized digestive tract real-time state linear transformation matrix as the weight matrix, and multiply the weight matrix by the various feature matrices along the channel dimension in the digestive tract real-time state feature map by position to obtain the digestive tract real-time state global channel feature map.
[0023] In the above-mentioned artificial intelligence-based digestive endoscopy quality control system, the digestive tract real-time state global channel feature weighting unit is used to: multiply the digestive tract real-time state global channel activation feature map by a trainable scaling factor by position to obtain a digestive tract real-time state global channel modulation feature map, and then add the digestive tract real-time state global channel modulation feature map and the digestive tract real-time state feature map by position to obtain the enhanced digestive tract real-time state feature map.
[0024] In the above-mentioned artificial intelligence-based digestive endoscopy quality control system, the gastric mucosal visibility judgment module includes: a digestive tract feature classification unit, used to pass the enhanced digestive tract real-time state feature map through a classifier-based gastric mucosal visibility detector to obtain the detection result, and the detection result is used to indicate whether the current gastric mucosal visibility meets the predetermined requirements; a voice prompt signal generation unit, used to generate a voice prompt signal in response to the detection result that the current gastric mucosal visibility does not meet the predetermined requirements, and the voice prompt signal is a flushing prompt voice.
[0025] According to another aspect of the present application, a method for quality control of digestive endoscopy based on artificial intelligence is provided, which comprises:
[0026] Acquire real-time digestive tract status images of the patient being examined collected by an endoscopic camera during digestive endoscopy;
[0027] Performing image optimization on the real-time digestive tract status image to obtain an optimized real-time digestive tract status image;
[0028] Passing the optimized real-time digestive tract state image through a digestive tract state feature extractor to obtain a digestive tract real-time state feature map;
[0029] The digestive tract real-time state feature graph is passed through a digestive tract real-time state key feature enhancer based on global semantic perception to obtain an enhanced digestive tract real-time state feature graph as an enhanced digestive tract real-time state feature;
[0030] Based on the enhanced digestive tract real-time status characteristics, a detection result is obtained, and a corresponding voice prompt signal is generated based on the detection result;
[0031] The digestive tract real-time state feature graph is passed through a digestive tract real-time state key feature enhancer based on global semantic perception to obtain an enhanced digestive tract real-time state feature graph as an enhanced digestive tract real-time state feature, including:
[0032] Performing a linear transformation on the digestive tract real-time state characteristic graph to obtain a digestive tract real-time state linear transformation matrix;
[0033] Inputting the digestive tract real-time state linear transformation matrix into a softmax function for normalization processing to obtain a normalized digestive tract real-time state linear transformation matrix;
[0034] Using the normalized digestive tract real-time state linear transformation matrix as a weight matrix, weighting the digestive tract real-time state feature map to obtain a digestive tract real-time state global channel feature map;
[0035] Input the digestive tract real-time state global channel feature map into the LeakyReLU activation function for activation processing to obtain a digestive tract real-time state global channel activation feature map;
[0036] The digestive tract real-time state global channel activation feature map and the digestive tract real-time state feature map are weighted fused to obtain the enhanced digestive tract real-time state feature map.
[0037] This application has significant technical effects due to the adoption of the above technical solutions:
[0038] The digestive endoscopy quality control system and method based on artificial intelligence provided in the present application obtains the real-time digestive tract status image of the patient being tested collected by the endoscopic camera during the digestive endoscopy, and uses the image analysis and processing technology based on artificial intelligence to optimize the image and extract the status features of the real-time digestive tract status image, thereby intelligently judging whether the current gastric mucosal visibility meets the predetermined requirements based on the semantic interaction features of the real-time digestive tract status image on the global image, and generating a corresponding voice prompt signal. In this way, the gastric mucosal visibility can be automatically evaluated, the interference of human factors can be reduced, and the consistency of the evaluation can be improved. At the same time, the image can be analyzed in real time and voice prompts can be generated to guide doctors to take measures in time, thereby improving the intelligence and quality of digestive endoscopy. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0040] Figure 1 This is a system block diagram of an artificial intelligence-based digestive endoscopy quality control system according to an embodiment of the present application.
[0041] Figure 2 Schematic diagram of the architecture of the digestive endoscopy quality control system based on artificial intelligence according to an embodiment of the present application.
[0042] Figure 3 It is a block diagram of a digestive tract status image feature enhancement module in an artificial intelligence-based digestive endoscopy quality control system according to an embodiment of the present application.
[0043] Figure 4 It is a block diagram of a gastric mucosal visibility judgment module in an artificial intelligence-based digestive endoscopy quality control system according to an embodiment of the present application.
[0044] Figure 5 The present invention is a flowchart of a method for quality control of digestive endoscopy based on artificial intelligence according to an embodiment of the present application. DETAILED DESCRIPTION
[0045] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. 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 exemplary embodiments described here.
[0046] Gastrointestinal endoscopy is an important minimally invasive diagnostic method that plays a key role in identifying and treating gastrointestinal diseases. It uses the camera on the endoscope to directly observe the internal conditions of the digestive tract to detect tiny lesions. However, mucus and bubbles in the digestive tract may obstruct the line of sight, making the true condition of the gastric mucosa difficult to discern. This visual obstruction not only reduces the clarity of the image, but may also hide tiny lesions such as early gastric cancer. Therefore, keeping the gastric mucosa clean and visible is critical to ensure an accurate diagnosis.
[0047] Traditional gastric mucosal visibility assessment usually relies on the doctor's personal experience and immediate judgment. Since doctors have different interpretation standards for mucosal conditions and different sensitivity and accuracy in lesion identification, this not only increases the subjectivity of the assessment results, but may also cause significant differences in judgment between different doctors, thus affecting the consistency of the diagnosis results.
[0048] Therefore, based on this, the present application proposes a digestive endoscopy quality control solution based on artificial intelligence, which obtains the real-time digestive tract status image of the patient being tested collected by the endoscopic camera during the digestive endoscopy, and uses the image analysis and processing technology based on artificial intelligence to optimize the image and extract the status features of the real-time digestive tract status image, so as to intelligently judge whether the current gastric mucosal visibility meets the predetermined requirements based on the semantic interaction features of the real-time digestive tract status image on the global image, and generate corresponding voice prompt signals. In this way, the gastric mucosal visibility can be automatically evaluated, the interference of human factors can be reduced, and the consistency of the evaluation can be improved. At the same time, the image can be analyzed in real time and voice prompts can be generated to guide doctors to take timely measures, thereby improving the intelligence and quality of digestive endoscopy.
[0049] Figure 1 This is a system block diagram of an artificial intelligence-based digestive endoscopy quality control system according to an embodiment of the present application. Figure 2 FIG. 1 is a schematic diagram of the architecture of a digestive endoscopy quality control system based on artificial intelligence according to an embodiment of the present application. Figure 1 and Figure 2As shown, in the digestive endoscopy quality control system 100 based on artificial intelligence, it includes: a patient real-time digestive tract state image acquisition module 110, which is used to obtain the real-time digestive tract state image of the patient being examined collected by the endoscopic camera during the digestive endoscopy examination; a real-time digestive tract state image optimization module 120, which is used to optimize the real-time digestive tract state image to obtain an optimized real-time digestive tract state image; an optimized real-time digestive tract state image feature extraction module 130, which is used to pass the optimized real-time digestive tract state image through a digestive tract state feature extractor to obtain a digestive tract real-time state feature map; a digestive tract state image feature enhancement module 140, which is used to pass the digestive tract real-time state feature map through a digestive tract real-time state key feature enhancer based on global semantic perception to obtain an enhanced digestive tract real-time state feature map as an enhanced digestive tract real-time state feature; a gastric mucosa visibility judgment module 150, which is used to obtain a detection result based on the enhanced digestive tract real-time state feature, and generate a corresponding voice prompt signal based on the detection result.
[0050] In the embodiment of the present application, the patient's real-time digestive tract state image acquisition module 110 is used to obtain the real-time digestive tract state image of the detected patient collected by the endoscopic camera during the digestive endoscopy. It should be understood that the digestive endoscopy process is a dynamic process. The real-time image can reflect the current state of the digestive tract and timely capture factors that may affect the diagnosis, such as mucus, bubbles or other interferences. This real-time data helps to make a timely diagnosis. Specifically, the real-time digestive tract state image shows the morphology, color, texture and other characteristics of the gastric mucosa, which are important indicators for judging its health status. The image also shows early signs of lesions such as lumps, ulcers, and redness. In addition, the image also contains interference factors such as mucus and bubbles. By analyzing the real-time digestive tract state image of the detected patient through artificial intelligence technology, the patient's gastric mucosal visibility can be automatically evaluated. Based on the evaluation results, feedback can be issued in time to guide doctors to take measures, thereby improving the intelligence and quality of digestive endoscopy.
[0051] In the embodiment of the present application, the real-time digestive tract state image optimization module 120 is used to optimize the real-time digestive tract state image to obtain an optimized real-time digestive tract state image. Specifically, in the embodiment of the present application, the real-time digestive tract state image optimization module 120 is used to: pass the real-time digestive tract state image through an image optimizer to obtain the optimized real-time digestive tract state image.
[0052] Accordingly, considering that there may be various types of abnormalities or lesions in the real-time digestive tract status image, such as inflammation, polyps, etc., these lesions play an important role in the judgment of gastric mucosal visualization. Specifically, inflammation may appear as an area with low contrast with the surrounding tissue; polyps may appear as a circular or irregularly shaped area protruding from the inner wall of the digestive tract. At the same time, considering that the real-time digestive tract status image may have problems of insufficient contrast or concentrated grayscale distribution due to mucus or bubbles, making it difficult to distinguish the lesion area from normal tissue. Therefore, in order to improve the diagnostic value of the digestive tract image, so as to more accurately distinguish the interference area such as mucus or bubbles and the lesion area, in the technical solution of the present application, the real-time digestive tract status image is passed through an image optimizer to obtain an optimized real-time digestive tract status image. It is worth mentioning that the image optimizer includes two parts: piecewise linear transformation and anisotropic diffusion filtering. Specifically, the number of pixels of each gray level in the real-time digestive tract status image is first calculated to form a real-time digestive tract status grayscale histogram. Next, the grayscale range that needs to be enhanced in the image is identified based on the real-time digestive tract status grayscale histogram. These are usually the grayscale intervals with low pixel frequency that result in insufficient image contrast. Then, one or more grayscale intervals are selected, and a piecewise linear transformation is applied to expand these intervals to a wider grayscale range, so that the originally concentrated grayscale distribution is stretched, making the light and dark details of the image richer. After that, the diffusion function is determined based on the local gradient information of the image, so that the diffusion coefficient is reduced and the diffusion speed is slowed down in the edge area where the image gradient is large. Finally, in each iteration, the value of each pixel is updated according to the diffusion function and the diffusion coefficient, so as to obtain an optimized real-time digestive tract status image.
[0053] More specifically, in an embodiment of the present application, the real-time digestive tract status image optimization module 120 is used to: determine the grayscale histogram of the real-time digestive tract status image to obtain the real-time digestive tract status grayscale histogram; determine the grayscale range of the real-time digestive tract status image that needs to be enhanced according to the real-time digestive tract status grayscale histogram; map the selected grayscale range to a wider grayscale range to obtain a mapped real-time digestive tract status grayscale image; control the diffusion process based on the local gradient information of the mapped real-time digestive tract status grayscale image; apply the diffusion process to iteratively update the pixel values of the mapped real-time digestive tract status grayscale image to obtain the optimized real-time digestive tract status image.
[0054] In an embodiment of the present application, the optimized real-time digestive tract state image feature extraction module 130 is used to pass the optimized real-time digestive tract state image through a digestive tract state feature extractor to obtain a digestive tract real-time state feature map. Specifically, in an embodiment of the present application, the optimized real-time digestive tract state image feature extraction module is used to: pass the optimized real-time digestive tract state image through a digestive tract state feature extractor based on a void convolution network to obtain the digestive tract real-time state feature map. It should be understood that the optimized real-time digestive tract state image contains characteristic information about the digestive tract state, and also contains features of different scales within the digestive tract state. Therefore, in the technical solution of the present application, the optimized real-time digestive tract state image is passed through a digestive tract state feature extractor based on a void convolution network to extract and mine out state features of different scales in the digestive tract to obtain a digestive tract real-time state feature map. The essence of the digestive tract state feature extractor based on a void convolution network in the present application is a convolutional neural network model using a void convolution kernel. Those skilled in the art should understand that the atrous convolution kernel can expand the receptive field by introducing holes (i.e., zero values) between the convolution kernel elements, which allows the convolutional neural network to extract a wider range of contextual information from the input optimized real-time digestive tract status image data, and by applying the atrous rate to different convolutional layers, the convolutional neural network can extract features from fine-grained to coarse-grained, that is, capture features of different scales in the input optimized real-time digestive tract status image.
[0055] In an embodiment of the present application, the digestive tract state image feature enhancement module 140 is used to pass the digestive tract real-time state feature map through a digestive tract real-time state key feature enhancer based on global semantic perception to obtain an enhanced digestive tract real-time state feature map as an enhanced digestive tract real-time state feature. Accordingly, considering that the digestive tract real-time state feature map contains a large amount of feature information, including key feature information about the real-time state of the digestive tract, such as the specific structure, texture and shape shown by some lesion areas. Therefore, in order to improve the recognition and analysis capabilities of these key areas and make the details of the gastric mucosa more obvious, so as to distinguish mucus, bubbles and other tissue information, in the technical solution of the present application, the digestive tract real-time state feature map is passed through a digestive tract real-time state key feature enhancer based on global semantic perception to obtain an enhanced digestive tract real-time state feature map.
[0056] It is worth mentioning that the digestive tract real-time state key feature enhancer based on global semantic perception introduces linear transformation to perform feature weighting based on the global channel dimension on the digestive tract real-time state feature map, so as to capture the contextual association of the entire digestive tract real-time state, so as to emphasize the perception ability of the key and important digestive tract state, thereby significantly improving the visibility of key information in the digestive tract real-time state feature map, making the contours and features of interference factors such as mucus and bubbles easy to distinguish and locate. In detail, by performing linear change processing on the digestive tract real-time state feature map, the distinction between different spatial position features in the digestive tract real-time state feature map is enhanced, so that the difference between the lesion area and the interference area such as mucus and bubbles is more obvious. Then, the matrix after linear transformation is normalized by using softmax to generate a probability distribution, ensuring the standardization of each value. After that, the normalized matrix and the digestive tract real-time state feature map are weighted by position to capture and extract the semantic features of the global channel, thereby strengthening the key feature information associated with a specific category (such as the lesion area) in the digestive tract real-time state feature map, while suppressing features that are not related to the current task. Finally, the weighted global channel feature map of the digestive tract real-time state is input into the activation function and weightedly fused with the digestive tract real-time state feature map to obtain an enhanced digestive tract real-time state feature map containing important semantic information of the digestive tract state.
[0057] Specifically, Figure 3 FIG. 4 is a block diagram of a digestive tract state image feature enhancement module in an artificial intelligence-based digestive endoscopy quality control system according to an embodiment of the present application. Figure 3 As shown, the digestive tract state image feature enhancement module 140 includes: a digestive tract real-time state feature linear transformation unit 141, which is used to perform linear transformation on the digestive tract real-time state feature map to obtain a digestive tract real-time state linear transformation matrix; a digestive tract real-time state feature normalization unit 142, which is used to input the digestive tract real-time state linear transformation matrix into a softmax function for normalization processing to obtain a normalized digestive tract real-time state linear transformation matrix; a digestive tract real-time state feature weighting unit 143, which is used to use the normalized digestive tract real-time state linear transformation matrix as a weight matrix to weight the digestive tract real-time state feature map to obtain a digestive tract real-time state global channel feature map; a digestive tract real-time state global channel feature map activation unit 144, which is used to input the digestive tract real-time state global channel feature map into a LeakyReLU activation function for activation processing to obtain a digestive tract real-time state global channel activation feature map; a digestive tract real-time state global channel feature weighting unit 145, which is used to weightedly fuse the digestive tract real-time state global channel activation feature map and the digestive tract real-time state feature map to obtain the enhanced digestive tract real-time state feature map.
[0058] More specifically, in an embodiment of the present application, the digestive tract real-time state feature linear transformation unit 141 is used to: perform convolution encoding on the digestive tract real-time state feature map to obtain a digestive tract real-time state convolution encoding feature matrix; first perform matrix multiplication on the digestive tract real-time state convolution encoding feature matrix with a trainable weight matrix, and then positionally add the obtained digestive tract real-time state weight matrix and the trainable bias matrix to obtain the digestive tract real-time state linear transformation matrix.
[0059] More specifically, in an embodiment of the present application, the digestive tract real-time state feature weighting unit 143 is used to: use the normalized digestive tract real-time state linear transformation matrix as a weight matrix, and multiply the weight matrix by each feature matrix along the channel dimension in the digestive tract real-time state feature map by position to obtain the digestive tract real-time state global channel feature map.
[0060] More specifically, in an embodiment of the present application, the digestive tract real-time state global channel feature weighting unit 145 is used to: multiply the digestive tract real-time state global channel activation feature map by a trainable scaling factor by position to obtain a digestive tract real-time state global channel modulation feature map, and then add the digestive tract real-time state global channel modulation feature map and the digestive tract real-time state feature map by position to obtain the enhanced digestive tract real-time state feature map.
[0061] In the embodiment of the present application, specifically, the digestive tract state image feature enhancement module 140 is used to: process the digestive tract real-time state feature map through a digestive tract real-time state key feature enhancer based on global semantic perception with the following global semantic perception enhancement formula to obtain the enhanced digestive tract real-time state feature map; wherein the global semantic perception enhancement formula is:
[0062] ;
[0063] ;
[0064] in, is the digestive tract real-time state characteristic diagram, To perform convolutional encoding on the feature map, is the trainable weight matrix, is the trainable bias matrix, express function, To multiply by position, is the global channel characteristic diagram of the real-time state of the digestive tract, yes Activation function, is the trainable scaling factor, To add by position, This is a characteristic diagram of the real-time status of the enhanced digestive tract.
[0065] In the embodiment of the present application, the gastric mucosa visibility judgment module 150 is used to obtain a detection result based on the enhanced digestive tract real-time state feature, and generate a corresponding voice prompt signal based on the detection result. Specifically, Figure 4 FIG. 1 is a block diagram of a gastric mucosal visibility judgment module in an artificial intelligence-based digestive endoscopy quality control system according to an embodiment of the present application. Figure 4 As shown, the gastric mucosal visibility judgment module 150 includes: a digestive tract feature classification unit 151, which is used to pass the enhanced digestive tract real-time state feature map through a gastric mucosal visibility detector based on a classifier to obtain the detection result, and the detection result is used to indicate whether the current gastric mucosal visibility meets the predetermined requirement; a voice prompt signal generation unit 152, which is used to generate a voice prompt signal in response to the detection result that the current gastric mucosal visibility does not meet the predetermined requirement, and the voice prompt signal is a flushing prompt voice. That is, the enhanced digestive tract real-time state feature obtained by performing global channel semantic enhancement on the digestive tract real-time state feature map is classified and processed to intelligently judge whether the current gastric mucosal visibility meets the predetermined requirement, and generate a corresponding voice prompt signal. In this way, the gastric mucosal visibility can be automatically evaluated, the interference of human factors can be reduced, and the consistency of the evaluation can be improved. At the same time, the image can be analyzed in real time and a voice prompt can be generated to guide the doctor to take measures in time, thereby improving the intelligent degree of digestive endoscopy quality control.
[0066] In particular, the present application takes into account that after the image semantic features of the real-time digestive tract status image expressed by the digestive tract real-time status feature map are enhanced based on global semantic perception, the enhanced digestive tract real-time status feature map obtained will also have perceptual differences between local semantic features and global semantics, resulting in insufficient feature enhancement coverage and outlier class inference mapping deviation, thereby affecting the accuracy of the detection result obtained by the enhanced digestive tract real-time status feature map through the classifier-based gastric mucosal visibility detector.
[0067] Preferably, in a preferred example, the enhanced digestive tract real-time state characteristic map is passed through a classifier-based gastric mucosal visibility detector to obtain a detection result, including: calculating the characteristic mean of the enhanced digestive tract real-time state characteristic map, and dividing the characteristic mean by the difference between the maximum characteristic value and the minimum characteristic value of the enhanced digestive tract real-time state characteristic map to obtain an enhanced digestive tract real-time state distribution representation value; subtracting the enhanced digestive tract real-time state distribution representation value from one and dividing it by the enhanced digestive tract real-time state distribution representation value to obtain an enhanced digestive tract real-time state distribution modulation value; activating the enhanced digestive tract real-time state characteristic map through a probabilistic function to obtain a probabilistic enhanced digestive tract real-time state characteristic map; performing point subtraction between the probabilistic enhanced digestive tract real-time state characteristic map and the enhanced digestive tract real-time state distribution modulation value, taking the absolute value and calculating the value. The negative of the logarithmic value with base 2 is used to obtain a probabilistic enhanced digestive tract real-time state distribution modulation information feature map; after dividing the enhanced digestive tract real-time state distribution characterization value by one minus the difference of each eigenvalue of the probabilistic enhanced digestive tract real-time state feature map, all eigenvalues of the probabilistic enhanced digestive tract real-time state feature map are summed up, and the result is divided by the scale of the enhanced digestive tract real-time state feature map to obtain a probabilistic enhanced digestive tract real-time state distribution modulation bias value; the probabilistic enhanced digestive tract real-time state distribution modulation information feature map and the probabilistic enhanced digestive tract real-time state distribution modulation bias value are multiplied by a weight as a hyperparameter to obtain an optimized enhanced digestive tract real-time state feature map; the optimized enhanced digestive tract real-time state feature map is passed through a gastric mucosal visibility detector based on the classifier to obtain the detection result.
[0068] The optimized enhanced digestive tract real-time state characteristic diagram is represented as follows:
[0069] ;
[0070] ;
[0071] in, is the probabilistic enhanced digestive tract real-time state characteristic diagram, is the representation value of the real-time state distribution of the enhanced digestive tract, Subtract by position point, Click on the location to add. is the weight as a hyperparameter, is the scale of the enhanced digestive tract real-time state characteristic graph, that is, the width of the characteristic matrix of the scale of the enhanced digestive tract real-time state characteristic graph multiplied by the height and then multiplied by the number of channels of the enhanced digestive tract real-time state characteristic graph, is the characteristic value of each position in the probabilistic enhanced digestive tract real-time state characteristic map, is the characteristic mean of the enhanced digestive tract real-time state characteristic graph, and are respectively the maximum eigenvalue and the minimum eigenvalue of the enhanced digestive tract real-time state characteristic graph, It is the optimized enhanced digestive tract real-time status characteristic diagram.
[0072] Based on this, the probability information distribution planning based on the eigenvalue of the enhanced digestive tract real-time state feature map is carried out through the Bernoulli probability modulation distribution of the enhanced digestive tract real-time state feature map relative to the eigenvalue distribution, and the probability reverse mapping of the probability feature of the enhanced digestive tract real-time state feature map as a whole is used as the extended coverage of the set mapping space of the enhanced digestive tract real-time state feature map to independently understand the interactive path between the intuitive probability information distribution and the abstract probability space mapping of the enhanced digestive tract real-time state feature map, so as to improve the accuracy of the detection result obtained by inputting the optimized enhanced digestive tract real-time state feature map into the classifier-based gastric mucosal visibility detector by avoiding the counterfactual reasoning mapping of the outlier feature distribution of the enhanced digestive tract real-time state feature map to the class probability. In this way, the gastric mucosal visibility can be automatically evaluated, the interference of human factors can be reduced, and the consistency of the evaluation can be improved. At the same time, the image can be analyzed in real time and voice prompts can be generated to guide doctors to take measures in time, thereby improving the intelligence of the quality control of digestive endoscopy.
[0073] In summary, the digestive endoscopy quality control system 100 based on artificial intelligence according to the embodiment of the present application is explained, which obtains the real-time digestive tract status image of the patient being tested collected by the endoscopic camera during the digestive endoscopy, and uses the image analysis and processing technology based on artificial intelligence to optimize the image and extract the status features of the real-time digestive tract status image, thereby intelligently judging whether the current gastric mucosal visibility meets the predetermined requirements based on the semantic interaction features of the real-time digestive tract status image on the global image, and generating a corresponding voice prompt signal. In this way, the gastric mucosal visibility can be automatically evaluated, the interference of human factors can be reduced, and the consistency of the evaluation can be improved. At the same time, the image can be analyzed in real time and voice prompts can be generated to guide doctors to take timely measures, thereby improving the intelligence and quality of digestive endoscopy.
[0074] As described above, the digestive endoscopy quality control system 100 based on artificial intelligence according to the embodiment of the present application can be implemented in various terminal devices, such as a server for digestive endoscopy quality control based on artificial intelligence, etc. In one example, the digestive endoscopy quality control system 100 based on artificial intelligence according to the embodiment of the present application can be integrated into the terminal device as a software module and / or a hardware module. For example, the digestive endoscopy quality control system 100 based on artificial intelligence can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the digestive endoscopy quality control system 100 based on artificial intelligence can also be one of the many hardware modules of the terminal device.
[0075] Alternatively, in another example, the artificial intelligence-based digestive endoscopy inspection quality control system 100 and the terminal device may also be separate devices, and the artificial intelligence-based digestive endoscopy inspection quality control system 100 may be connected to the terminal device via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.
[0076] Figure 5 FIG. 1 is a flow chart of a method for quality control of digestive endoscopy based on artificial intelligence according to an embodiment of the present application. Figure 5 As shown, in the digestive endoscopy quality control method based on artificial intelligence, it includes: S110, obtaining a real-time digestive tract status image of the patient being examined collected by an endoscopic camera during the digestive endoscopy process; S120, performing image optimization on the real-time digestive tract status image to obtain an optimized real-time digestive tract status image; S130, passing the optimized real-time digestive tract status image through a digestive tract status feature extractor to obtain a digestive tract real-time status feature map; S140, passing the digestive tract real-time status feature map through a digestive tract real-time status key feature enhancer based on global semantic perception to obtain an enhanced digestive tract real-time status feature map as an enhanced digestive tract real-time status feature; S150, obtaining a detection result based on the enhanced digestive tract real-time status feature, and generating a corresponding voice prompt signal based on the detection result.
[0077] Here, those skilled in the art can understand that the specific operations of each step in the above-mentioned artificial intelligence-based digestive endoscopy quality control method have been referred to above. Figures 1 to 4 The description of the artificial intelligence-based digestive endoscopy quality control system has been introduced in detail, and therefore, its repeated description will be omitted.
[0078] In summary, the digestive endoscopy quality control method based on artificial intelligence according to the embodiment of the present application is explained, which obtains the real-time digestive tract status image of the patient being tested collected by the endoscopic camera during the digestive endoscopy, and uses the image analysis and processing technology based on artificial intelligence to optimize the image and extract the status features of the real-time digestive tract status image, thereby intelligently judging whether the current gastric mucosal visibility meets the predetermined requirements based on the semantic interaction features of the real-time digestive tract status image on the global image, and generating a corresponding voice prompt signal. In this way, the gastric mucosal visibility can be automatically evaluated, the interference of human factors can be reduced, and the consistency of the evaluation can be improved. At the same time, the image can be analyzed in real time and voice prompts can be generated to guide doctors to take timely measures, thereby improving the intelligence and quality of digestive endoscopy.
[0079] The above is only a preferred embodiment of the present application and does not constitute any form of limitation to the present application. Although the present application has been disclosed as a preferred embodiment as above, it is not intended to limit the present application. Any technician familiar with the profession can make some changes or modifications to equivalent embodiments of the technical contents disclosed above without departing from the scope of the technical solution of the present application. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application still falls within the scope of the technical solution of the present application.
Claims
1. A digestive endoscopy quality control system based on artificial intelligence, characterized in that: include: The patient's real-time digestive tract status image acquisition module is used to acquire the real-time digestive tract status image of the patient being examined collected by the endoscopic camera during the digestive endoscopy examination; A real-time digestive tract state image optimization module, used for performing image optimization on the real-time digestive tract state image to obtain an optimized real-time digestive tract state image; An optimized real-time digestive tract state image feature extraction module, used for passing the optimized real-time digestive tract state image through a digestive tract state feature extractor to obtain a digestive tract real-time state feature map; A digestive tract state image feature enhancement module, used for passing the digestive tract real-time state feature map through a digestive tract real-time state key feature enhancer based on global semantic perception to obtain an enhanced digestive tract real-time state feature map as an enhanced digestive tract real-time state feature; A gastric mucosal visibility judgment module, used to obtain a detection result based on the enhanced digestive tract real-time state characteristics, and generate a corresponding voice prompt signal based on the detection result; Wherein, the digestive tract state image feature enhancement module includes: A digestive tract real-time state characteristic linear transformation unit, used for performing a linear transformation on the digestive tract real-time state characteristic graph to obtain a digestive tract real-time state linear transformation matrix; A digestive tract real-time state feature normalization unit, used for inputting the digestive tract real-time state linear transformation matrix into a softmax function for normalization processing to obtain a normalized digestive tract real-time state linear transformation matrix; A digestive tract real-time state feature weighting unit, used to use the normalized digestive tract real-time state linear transformation matrix as a weight matrix to weight the digestive tract real-time state feature map to obtain a digestive tract real-time state global channel feature map; A digestive tract real-time state global channel feature map activation unit, used for inputting the digestive tract real-time state global channel feature map into a LeakyReLU activation function for activation processing to obtain a digestive tract real-time state global channel activation feature map; The digestive tract real-time state global channel feature weighting unit is used to weightedly fuse the digestive tract real-time state global channel activation feature map and the digestive tract real-time state feature map to obtain the enhanced digestive tract real-time state feature map.
2. The digestive endoscopy quality control system based on artificial intelligence according to claim 1 is characterized in that: The real-time digestive tract status image optimization module is used to: pass the real-time digestive tract status image through an image optimizer to obtain the optimized real-time digestive tract status image.
3. The digestive endoscopy quality control system based on artificial intelligence according to claim 2 is characterized in that: The real-time digestive tract status image optimization module is used to: Determining a grayscale histogram of the real-time digestive tract status image to obtain a real-time digestive tract status grayscale histogram; Determining the grayscale range of the real-time digestive tract state image that needs to be enhanced according to the real-time digestive tract state grayscale histogram; Mapping the selected grayscale range to a wider grayscale range to obtain a grayscale image of the digestive tract state after mapping; Controlling the diffusion process based on the local gradient information of the real-time grayscale image of the digestive tract state after mapping; The diffusion process is applied to iteratively update the pixel values of the mapped real-time digestive tract state grayscale image to obtain the optimized real-time digestive tract state image.
4. The digestive endoscopy quality control system based on artificial intelligence according to claim 3 is characterized in that: The optimized real-time digestive tract state image feature extraction module is used to: pass the optimized real-time digestive tract state image through a digestive tract state feature extractor based on a dilated convolutional network to obtain the digestive tract real-time state feature map.
5. The digestive endoscopy quality control system based on artificial intelligence according to claim 4 is characterized in that: The digestive tract real-time state characteristic linear transformation unit is used for: Performing convolution coding on the digestive tract real-time state feature map to obtain a digestive tract real-time state convolution coding feature matrix; The digestive tract real-time state convolutional coding feature matrix is first matrix-multiplied with a trainable weight matrix, and then the obtained digestive tract real-time state weight matrix is positionally added to a trainable bias matrix to obtain the digestive tract real-time state linear transformation matrix.
6. The digestive endoscopy quality control system based on artificial intelligence according to claim 5 is characterized in that: The digestive tract real-time state feature weighting unit is used to: use the normalized digestive tract real-time state linear transformation matrix as a weight matrix, and multiply the weight matrix by each feature matrix along the channel dimension in the digestive tract real-time state feature map by position to obtain the digestive tract real-time state global channel feature map.
7. The digestive endoscopy quality control system based on artificial intelligence according to claim 6 is characterized in that: The digestive tract real-time state global channel feature weighting unit is used to: after multiplying the digestive tract real-time state global channel activation feature map by a trainable scaling factor by position to obtain a digestive tract real-time state global channel modulation feature map, add the digestive tract real-time state global channel modulation feature map and the digestive tract real-time state feature map by position to obtain the enhanced digestive tract real-time state feature map.
8. The digestive endoscopy quality control system based on artificial intelligence according to claim 7 is characterized in that: The gastric mucosa visibility judgment module includes: A digestive tract feature classification unit, used for passing the enhanced digestive tract real-time state feature map through a gastric mucosa visibility detector based on a classifier to obtain the detection result, wherein the detection result is used to indicate whether the current gastric mucosa visibility meets the predetermined requirement; The voice prompt signal generating unit is used to generate a voice prompt signal in response to the detection result that the current gastric mucosal visibility does not meet the predetermined requirement, wherein the voice prompt signal is a flushing prompt voice.
9. A digestive endoscopy quality control method based on artificial intelligence, characterized in that: include: Acquire real-time digestive tract status images of the patient being examined collected by an endoscopic camera during digestive endoscopy; Performing image optimization on the real-time digestive tract status image to obtain an optimized real-time digestive tract status image; Passing the optimized real-time digestive tract state image through a digestive tract state feature extractor to obtain a digestive tract real-time state feature map; The digestive tract real-time state feature graph is passed through a digestive tract real-time state key feature enhancer based on global semantic perception to obtain an enhanced digestive tract real-time state feature graph as an enhanced digestive tract real-time state feature; Based on the enhanced digestive tract real-time status characteristics, a detection result is obtained, and a corresponding voice prompt signal is generated based on the detection result; The digestive tract real-time state feature graph is passed through a digestive tract real-time state key feature enhancer based on global semantic perception to obtain an enhanced digestive tract real-time state feature graph as an enhanced digestive tract real-time state feature, including: Performing a linear transformation on the digestive tract real-time state characteristic graph to obtain a digestive tract real-time state linear transformation matrix; Inputting the digestive tract real-time state linear transformation matrix into a softmax function for normalization processing to obtain a normalized digestive tract real-time state linear transformation matrix; Using the normalized digestive tract real-time state linear transformation matrix as a weight matrix, weighting the digestive tract real-time state feature map to obtain a digestive tract real-time state global channel feature map; Input the digestive tract real-time state global channel feature map into the LeakyReLU activation function for activation processing to obtain a digestive tract real-time state global channel activation feature map; The digestive tract real-time state global channel activation feature map and the digestive tract real-time state feature map are weighted fused to obtain the enhanced digestive tract real-time state feature map.
Citation Information
Patent Citations
Fatigue driving detection method and system based on depth features and graph attention mechanism
CN116189155A
Gastroendoscope real-time auxiliary system and method based on artificial intelligence
CN117274270A
Multistream fusion encoder for prostate lesion segmentation and classification
US20230162353A1
Deep-learning-based method for predicting morphological change of liver tumor after ablation
WO2021088747A1
