A digestive endoscopy image enhancement and analysis system
Through the digestive endoscopy image enhancement analysis system, combined with the data collection and analysis module, the abnormality of the gastroscopy image is corrected, the problem of missed diagnosis of lesions during endoscopic examination is solved, and the diagnostic accuracy and examination quality are improved.
Patent Information
- Application Number
- CN202410874732.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-07-02
AI Technical Summary
Due to factors such as operational standardization, lesion identification ability, and visual fatigue during endoscopic examination, lesions and precancerous lesions in the digestive tract may be missed, affecting the quality of examination and screening effect.
A digestive endoscopy image enhancement analysis system is designed, which acquires gastroscope images, heart rate, blood pressure, respiratory rate and electrogastrogram characteristics through the data acquisition module, combined with abnormal data analysis, tension weight analysis, tension degree analysis and influence degree analysis modules, Correct the degree of abnormality and perform image enhancement to improve diagnostic accuracy.
It improves the diagnostic accuracy of gastroscopy images, reduces the impact of stress on electrogastrogram information, enhances the ability to detect gastric abnormalities, and improves the quality and screening effect of endoscopy.
Smart Images

Figure CN118411302B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a digestive endoscopy image enhancement analysis system. Background Art
[0002] Digestive endoscopy refers to equipment that directly obtains images through the digestive tract or with ultrasound and X-rays. According to the properties of the endoscope used for examination, it can be divided into esophagoscopes, gastroscopes, duodenoscopes, etc. Endoscopic examination is the core technical means and gold standard for early diagnosis and screening of esophageal and gastrointestinal cancer. The implementation of endoscopic screening for esophageal and gastrointestinal cancer can detect and treat precancerous lesions and significantly reduce the incidence and mortality of gastrointestinal malignant tumors. In recent years, with the breakthrough of artificial intelligence technology, image recognition technology has made revolutionary progress in the fields of medical imaging and endoscopy. Computer-aided diagnosis systems are expected to serve as the "third eye" of endoscopists and play a role in real-time assistance and supervision of physicians.
[0003] Endoscopy cannot completely detect all lesions in the digestive tract. Due to factors such as the endoscopist's operating standardization, lesion identification ability, and visual fatigue, a considerable proportion of lesions, even including advanced lesions and precancerous lesions, may be missed in clinical practice, directly affecting the quality of endoscopic examinations and screening results. Summary of the invention
[0004] The invention provides a digestive endoscopy image enhancement analysis system to solve the existing problems.
[0005] A digestive endoscopy image enhancement analysis system of the present invention adopts the following technical solution:
[0006] An embodiment of the present invention provides a digestive endoscopy image enhancement analysis system, which includes the following modules:
[0007] Data acquisition module: used to synchronously obtain the gastroscopic image, heart rate, blood pressure, respiratory rate, each feature of the electrogastrogram of each part of the stomach and the normal range of each feature, heart rate, blood pressure and respiratory rate at each moment within a preset time period;
[0008] Abnormal data analysis module: used to obtain the abnormal degree of each feature of the electrogastrogram of each part of the stomach at each moment according to each feature and normal range of the electrogastrogram of each part of the stomach at each moment;
[0009] Stress weight analysis module: used to obtain stress weights of heart rate, blood pressure and respiratory rate according to heart rate, blood pressure and respiratory rate at each moment;
[0010] Stress level analysis module: used to obtain the stress level at each moment according to the stress weights of heart rate, blood pressure and respiratory rate, the heart rate, blood pressure, respiratory rate at each moment and the normal ranges of heart rate, blood pressure and respiratory rate;
[0011] Impact degree analysis module: used to obtain the impact degree of each feature of the electrogastrogram of each part of the stomach at each moment according to the tension degree at each moment and the abnormal degree of each feature of the electrogastrogram of each part of the stomach;
[0012] Image enhancement analysis module: used for obtaining the corrected abnormality degree of each feature of the electrogastrogram of each part of the stomach at each moment according to the influence degree of each feature of the electrogastrogram of each part of the stomach at each moment and each feature of the electrogastrogram of each part of the stomach at each moment; obtaining the final abnormality degree of each part of the stomach at each moment according to the corrected abnormality degree of each feature of the electrogastrogram of each part of the stomach at each moment; in the gastroscopy at each moment, according to the final abnormality degree of each part of the stomach at each moment, the gastroscopy of each part of the stomach at each moment is enhanced to obtain the enhanced gastroscopy at each moment.
[0013] Further, the abnormality degree of each feature of the electrogastrogram of each part of the stomach at each moment is obtained according to each feature and normal range of the electrogastrogram of each part of the stomach at each moment, including:
[0014] Wherein, each part of the stomach includes the gastric antrum area, and each feature of the electrogastrogram includes a frequency feature;
[0015] Jordi At the moment, the value of the frequency characteristic of the electrogastrogram in the gastric antrum area is less than the minimum value of the normal range of the frequency characteristic. The value of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment and the minimum value of the normal range of the frequency characteristic are obtained. The degree of abnormality of the frequency characteristics of the electrogastrogram in the gastric antrum area at each moment;
[0016] Jordi At the moment, the value of the frequency characteristic of the electrogastrogram in the gastric antrum area is greater than the maximum value of the normal range of the frequency characteristic. The value of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment and the maximum value of the normal range of the frequency characteristic are obtained. The degree of abnormality of the frequency characteristics of the electrogastrogram in the gastric antrum area at each moment;
[0017] Jordi At this moment, the frequency characteristics of the electrogastrogram in the gastric antrum area are within the normal range of frequency characteristics. The abnormal degree of the frequency characteristic of the electrogastrogram in the gastric antrum area at time ;in, is the preset abnormal threshold.
[0018] Furthermore, according to The value of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment and the minimum value of the normal range of the frequency characteristic are obtained. The abnormalities of the frequency characteristics of the electrogastrogram in the gastric antrum area at each moment include:
[0019] No. The abnormal degree of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment The ratio of the values of the frequency characteristics of the electrogastrogram in the gastric antrum area at that moment minus 1.
[0020] Furthermore, according to The value of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment and the maximum value of the normal range of the frequency characteristic are obtained. The abnormalities of the frequency characteristics of the electrogastrogram in the gastric antrum area at each moment include:
[0021] No. The abnormality of the frequency characteristics of the electrogastrogram in the gastric antrum area at the moment The ratio of the value of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment to the maximum value of the normal range of the frequency characteristic minus 1.
[0022] Furthermore, the method for obtaining stress weights of heart rate, blood pressure and respiratory rate according to the heart rate, blood pressure and respiratory rate at each moment includes:
[0023] In a preset time period, with time as the horizontal axis and heart rate, blood pressure and respiratory rate as the vertical axes, a heart rate curve, a blood pressure curve and a respiratory rate curve are constructed;
[0024] In the heart rate curve, blood pressure curve and respiratory rate curve, the DTW algorithm is used to match any two curves to obtain the distance similarity between any two curves;
[0025] According to the distance similarity between the heart rate curve, the blood pressure curve and the respiratory rate curve, the stress weight of the heart rate is obtained.
[0026] Furthermore, the specific calculation formula for obtaining the stress weight of the heart rate according to the distance similarity between the heart rate curve, the blood pressure curve and the respiratory rate curve is:
[0027]
[0028] in, Indicates the stress weight of the heart rate; Indicates the distance similarity between the heart rate curve and the blood pressure curve; Indicates the distance similarity between the heart rate curve and the breathing rate curve; Indicates the distance similarity between the blood pressure curve and the respiratory rate curve.
[0029] Furthermore, the specific calculation formula for obtaining the corresponding tension level at each moment according to the tension weights of heart rate, blood pressure and respiratory rate, the heart rate, blood pressure, respiratory rate at each moment and the normal ranges of heart rate, blood pressure and respiratory rate is:
[0030]
[0031] in, Indicates the intensity of the moment; Indicates the stress weight of the heart rate; Indicates Heart rate at all times; It represents the average of all heart rates within the normal range of heart rate; Indicates the tension weight of blood pressure; Indicates Blood pressure at all times; It represents the mean of all blood pressure values within the normal range of blood pressure; represents the tension weight of the respiratory rate; Indicates Respiratory rate at all times; Represents the mean of all respiratory rates within the normal range of respiratory rate.
[0032] Furthermore, the specific calculation formula for obtaining the influence degree of each feature of the electrogastrogram of each part of the stomach at each moment according to the tension degree at each moment and the abnormal degree of each feature of the electrogastrogram of each part of the stomach is:
[0033]
[0034] in, Indicates The degree of influence of the frequency characteristics of the gastric antrum area at each moment; Indicates The number of data whose abnormality degree of the frequency characteristic of the electrogastrogram of the gastric antrum region before the time is not 0; Indicates the intensity of the moment; Indicates The abnormality degree of the frequency characteristic of the electrogastrogram of the gastric antrum area at a moment, wherein each part of the stomach includes the gastric antrum area, and each characteristic of the electrogastrogram includes a frequency characteristic.
[0035] Furthermore, the specific calculation formula for obtaining the corrected abnormality degree of each feature of the electrogastrogram of each part of the stomach at each moment according to the influence degree of each feature of the electrogastrogram of each part of the stomach at each moment and each feature of the electrogastrogram of each part of the stomach at each moment is:
[0036]
[0037] in, Indicates The degree of correction abnormality of the frequency characteristics of the gastric antrum region at the moment; Indicates The degree of abnormality of the frequency characteristics of the electrogastrogram in the gastric antrum area at each moment; Indicates The influence degree of the frequency characteristics of the gastric antrum area at the moment, wherein each part of the stomach includes the gastric antrum area, and each characteristic of the electrogastrogram includes the frequency characteristic.
[0038] Further, the method for obtaining the final abnormality degree of each part of the stomach at each moment according to the corrected abnormality degree of each feature of the electrogastrogram of each part of the stomach at each moment comprises:
[0039] The sum of the corrected abnormality levels of all features of the electrogastrogram of each part of the stomach at each moment is recorded as the final abnormality level of each part of the stomach at each moment.
[0040] The beneficial effects of the technical solution of the present invention are:
[0041] In a preset time period, the gastroscopic image, heart rate, blood pressure, respiratory rate, each feature of the electrogastrogram of each part of the stomach, and the normal range of each feature, heart rate, blood pressure and respiratory rate are synchronously obtained at each moment; according to each feature and normal range of the electrogastrogram of each part of the stomach at each moment, the abnormal degree of each feature of the electrogastrogram of each part of the stomach at each moment is obtained, which accurately reflects the abnormal degree of each feature. According to the heart rate, blood pressure and respiratory rate at each moment, the tension weights of the heart rate, blood pressure and respiratory rate are obtained, which accurately reflects the influence of tension on the heart rate, blood pressure and respiratory rate. According to the tension weights of the heart rate, blood pressure and respiratory rate, the heart rate, blood pressure, respiratory rate at each moment and the normal range of the heart rate, blood pressure and respiratory rate, the tension degree at each moment is obtained, which accurately reflects the tension degree at each moment. According to the tension degree at each moment and the abnormal degree of each feature of the electrogastrogram of each part of the stomach, the influence degree of each feature of the electrogastrogram of each part at each moment is obtained, which reduces the influence of tension on the information transmitted by the electrogastrogram. According to the influence degree of each feature of the electrogastrogram of each part of the stomach at each moment and each feature of the electrogastrogram of each part of the stomach at each moment, the corrected abnormal degree of each feature of the electrogastrogram of each part of the stomach at each moment is obtained, further reducing the influence of tension on the information transmitted by the electrogastrogram. According to the corrected abnormal degree of each feature of the electrogastrogram of each part of the stomach at each moment, the final abnormal degree of each part of the stomach at each moment is obtained, improving the accuracy of the abnormal degree of each part of the stomach at each moment. According to the final abnormal degree of each part of the stomach at each moment, the gastroscopic image of each part of the stomach at each moment is enhanced. The present invention enhances the gastroscopic image by analyzing the patient's tension level and the abnormal degree of the stomach. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 This is a module flow chart of a digestive endoscopy image enhancement analysis system of the present invention;
[0044] Figure 2 This is a flow chart of image enhancement for digestive endoscopy images in this embodiment. DETAILED DESCRIPTION
[0045] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation, structure, features and effects of a digestive endoscopy image enhancement analysis system proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0046] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0047] The specific scheme of a digestive endoscopy image enhancement and analysis system provided by the present invention is described in detail below with reference to the accompanying drawings.
[0048] See also Figure 1 , which shows a module flow chart of a digestive endoscopy image enhancement analysis system provided by an embodiment of the present invention, the system includes the following modules:
[0049] Module 101: Data acquisition module.
[0050] This module is used to synchronously obtain the gastroscopic image, heart rate, blood pressure, respiratory rate, each feature of the electrogastrogram of each part of the stomach and the normal range of each feature, heart rate, blood pressure and respiratory rate at each moment within a preset time period.
[0051] Arrange the electrogastrogram detection equipment, gastroscopy equipment and multi-parameter monitor, and ensure that the electrogastrogram detection equipment, gastroscopy equipment and multi-parameter monitor are carried out at the same time through precise time planning and synchronization equipment. Within the preset time period, the doctor can ensure that the gastric electrogram signal, heart rate, blood pressure and respiratory rate at every moment during the gastroscopy are captured. Among them, the preset time period is 3 minutes, which is used as an example for description.
[0052] Obtain the characteristics of the collected gastric electrical signals, which should include: (1) frequency characteristics (2) amplitude characteristics (3) rhythmicity (4) slow wave propagation direction (5) coupling, and confirm in advance which part of the stomach each electrode corresponds to, such as the gastric fundus, gastric body, gastric antrum, etc.
[0053] The embodiment of the present invention adopts a segmentation neural network to identify and segment the gastric fundus, gastric body and gastric antrum regions in a gastroscopy image.
[0054] The relevant content of the segmentation neural network is as follows:
[0055] The segmentation neural network used in this embodiment is the Mask R-CNN neural network; the data set used is a gastroscopy image data set. Mask R-CNN is a well-known technology, and the specific method is not introduced here. The full name of Mask R-CNN in Chinese is "Mask Region-based Convolutional Neural Network", and the full name in English is "Mask Region-based Convolutional Neural Network".
[0056] The pixels that need to be segmented are divided into four categories, that is, the labeling process of the training set is as follows: single-channel semantic label, the corresponding position pixel belongs to the background area is labeled as 0, the gastric fundus area is labeled as 1, the gastric body area is labeled as 2, and the gastric antrum area is labeled as 3.
[0057] The task of the network is classification, so the loss function used is the cross entropy loss function.
[0058] The gastric fundus, gastric body and gastric antrum regions in the gastroscopic image are obtained by segmenting the neural network. This process is a well-known technology and the specific method will not be introduced here.
[0059] It is necessary to explain that: (1) frequency characteristics: the basic frequency of the slow wave of gastric electricity, the degree of abnormality is quantified by the ratio of the absolute value of the frequency deviation to the value in the normal range; (2) amplitude characteristics: the amplitude of the slow wave of gastric electricity, which reflects the intensity of gastric myoelectric activity, and the degree of abnormality is evaluated by the degree to which the amplitude exceeds the normal range; (3) rhythmicity: the regularity of the gastric electrical signal, which reflects the coordination of gastric peristalsis, and the degree of abnormality is measured by the change of rhythmicity or the degree of loss of periodicity; (4) slow wave propagation direction: the propagation direction of the slow wave in the stomach, which indicates the direction of gastric peristalsis, and the degree of abnormality is evaluated by the deviation between the propagation direction and the normal peristalsis direction; (5) coupling: the evaluation of whether the gastric electrical activity is synchronized, which can reflect the coordination and consistency of gastric myoelectric activity, and the degree of abnormality is quantified by the degree of loss of synchronization; this embodiment uses Gaussian filtering for filtering processing, and the heart rate, blood pressure and respiratory rate data are normalized by decimal calibration, so that they have similar scales and distributions for better comparison. Decimal calibration and normalization are well-known technologies, and the specific method is not introduced here.
[0060] Through big data, we collect every feature of the electrogastrogram of every part of the stomach when a person is relaxed, as well as the normal range of indicators such as heart rate, blood pressure, and respiratory rate.
[0061] Module 102: Abnormal data analysis module.
[0062] This module is used to obtain the abnormality degree of each feature of the electrogastrogram of each part of the stomach at each moment according to each feature and the normal range of the electrogastrogram of each part of the stomach at each moment.
[0063] First As an example, the frequency characteristics of the gastric antrum area at the moment If the value of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment is less than the minimum value of the normal range of the frequency characteristic, then The abnormal degree of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment The ratio of the values of the frequency characteristics of the electrogastrogram in the gastric antrum area at that moment minus 1.
[0064] Jordi If the value of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment is greater than the maximum value of the normal range of the frequency characteristic, then The abnormality of the frequency characteristics of the electrogastrogram in the gastric antrum area at the moment The ratio of the value of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment to the maximum value of the normal range of the frequency characteristic minus 1.
[0065] Jordi At this moment, the frequency characteristics of the electrogastrogram in the gastric antrum area are within the normal range of frequency characteristics. The abnormal degree of the frequency characteristic of the electrogastrogram in the gastric antrum area at time .in, is a preset abnormal threshold. The preset abnormal threshold in this embodiment is is 0, and this example is used for description.
[0066] According to The method for obtaining the abnormal degree of the frequency characteristics of the electrogastrogram in the gastric antrum area at the moment The degree of abnormality of the amplitude characteristics, rhythmicity, slow wave propagation direction, and coupling of the electrogastrogram in the gastric antrum area at each moment.
[0067] Through the above process, we obtain The degree of abnormality of each feature of the electrogastrogram in the gastric antrum area at each moment.
[0068] Each feature of the electrogastrogram of each part of the stomach at each moment is calculated according to the above process to obtain the abnormality degree of each feature of the electrogastrogram of each part of the stomach at each moment.
[0069] Module 103: Tension weight analysis module.
[0070] This module is used to obtain the stress weights of heart rate, blood pressure and respiratory rate according to the heart rate, blood pressure and respiratory rate at each moment.
[0071] It should be noted that when the patient is undergoing the examination, he or she may be in a state of tension. At this time, due to the psychological stress response, the activity of the autonomic nervous system will change, especially the enhancement of sympathetic nerve activity, which may cause changes in the frequency, amplitude and rhythmicity of the electrical activity of the gastric muscles. The physiological changes caused by tension may cause abnormal characteristics such as faster or slower frequency, increased amplitude, loss of rhythm or increased irregularity of the gastric electrical signals recorded by the electrogastrogram. These abnormal electrical signals may be misunderstood as indicators of gastric dysfunction or disease, thereby affecting the accuracy of the electrogastrogram results. Therefore, in order to obtain more accurate electrogastrogram results, patients are usually required to undergo the test in a relaxed state, and sometimes measures need to be taken to help patients relieve tension in order to reduce the interference of psychological factors on the electrogastrogram results.
[0072] It should be further explained that: since different parameters may affect each other and each parameter contributes differently to the performance of the tension level, when comprehensively calculating the tension level, it is necessary to assign different weights to different parameters in order to eliminate the situation of repeated calculation of various factors as much as possible.
[0073] Within a preset time period, a heart rate curve, a blood pressure curve and a respiratory rate curve are constructed with time as the horizontal axis and heart rate, blood pressure and respiratory rate as the vertical axes.
[0074] In the heart rate curve, blood pressure curve and respiratory rate curve, the DTW algorithm is used to match any two curves to obtain the distance similarity of any two curves. The DTW algorithm is a well-known technology and the specific method is not introduced here.
[0075] Taking heart rate as an example, the calculation formula corresponding to the stress weight of heart rate is:
[0076]
[0077] in, Indicates the stress weight of the heart rate; Indicates the distance similarity between the heart rate curve and the blood pressure curve; Indicates the distance similarity between the heart rate curve and the breathing rate curve; Indicates the distance similarity between the blood pressure curve and the respiratory rate curve.
[0078] It should be noted that the tension weight of the heart rate is proportional to the sum of the distance similarity between the heart rate curve and the blood pressure curve and the distance similarity between the heart rate curve and the respiratory rate curve. The greater the sum of the distance similarity between the heart rate curve and the blood pressure curve and the distance similarity between the heart rate curve and the respiratory rate curve, the greater the tension weight of the heart rate.
[0079] Through the above process, the tension weight of the heart rate is obtained;
[0080] According to the method of obtaining the stress weight of the heart rate, the stress weights of the blood pressure and the respiratory rate are obtained.
[0081] It should be noted that in the process of calculating the tension weights of blood pressure and respiratory rate, the denominators are the same as the denominators of the calculation formula of the tension weight of heart rate. The only difference is the numerator. The numerator of the calculation formula of the tension weight of blood pressure is the sum of the distance similarity between the heart rate curve and the blood pressure curve and the distance similarity between the blood pressure curve and the respiratory rate curve. The numerator of the calculation formula of the tension weight of respiratory rate is the sum of the distance similarity between the heart rate curve and the respiratory rate curve and the distance similarity between the blood pressure curve and the respiratory rate curve.
[0082] Module 104: Stress level analysis module.
[0083] This module is used to obtain the tension level at each moment based on the tension weights of heart rate, blood pressure and respiratory rate, the heart rate, blood pressure, respiratory rate at each moment and the normal ranges of heart rate, blood pressure and respiratory rate.
[0084] It should be noted that in order to reduce the impact of mental stress on the information transmitted by the electrogastrogram, it is necessary to quantify the impact caused by stress and then correct the abnormality of each feature of the electrogastrogram results.
[0085] First For example, the heart rate, blood pressure, and respiratory rate at the moment The calculation formula for the tension of the moment is:
[0086]
[0087] in, Indicates the intensity of the moment; Indicates the stress weight of the heart rate; Indicates Heart rate at all times; It represents the average of all heart rates within the normal range of heart rate; Indicates the tension weight of blood pressure; Indicates Blood pressure at all times; It represents the mean of all blood pressure values within the normal range of blood pressure; represents the tension weight of the respiratory rate; Indicates Respiratory rate at all times; Represents the mean of all respiratory rates within the normal range of respiratory rate.
[0088] What needs to be explained is: The degree of tension at each moment is proportional to the heart rate, blood pressure, and respiratory rate at each moment. The greater the heart rate, blood pressure, and respiratory rate at each moment, the greater the tension at each moment. The greater the tension of the moment.
[0089] Through the above process, we obtain the intensity of the moment;
[0090] The heart rate, blood pressure and respiratory rate at each moment are calculated according to the above process to obtain the degree of tension at each moment.
[0091] Module 105: Impact analysis module.
[0092] This module is used to obtain the influence degree of each feature of the electrogastrogram of each part of the stomach at each moment according to the tension degree at each moment and the abnormal degree of each feature of the electrogastrogram of each part of the stomach.
[0093] It should be noted that the degree of tension obtained through the above steps is used to correct the abnormality of each feature of the electrogastrogram result, thereby eliminating the influence of the patient's tension on each feature of the electrogastrogram.
[0094] First As an example, the frequency characteristics of the gastric antrum area at the moment The calculation formula corresponding to the influence degree of the frequency characteristics of the gastric antrum area at the moment is:
[0095]
[0096] in, Indicates The degree of influence of the frequency characteristics of the gastric antrum area at each moment; Indicates The number of data whose abnormality degree of the frequency characteristic of the electrogastrogram of the gastric antrum region before the time is not 0; Indicates the intensity of the moment; Indicates The degree of abnormality in the frequency characteristics of the electrogastrogram in the gastric antrum area at each moment.
[0097] What needs to be explained is: The intensity of the moment and the The influence of the frequency characteristics of the gastric antrum area at the moment is inversely proportional to the The greater the influence of the frequency characteristics of the gastric antrum area at the moment, The smaller the frequency characteristics of the gastric antrum area at the moment, the smaller the The abnormality of the frequency characteristics of the electrogastrogram in the gastric antrum at the moment The intensity of the moment is proportional to the The greater the abnormality of the frequency characteristics of the electrogastrogram in the gastric antrum at the moment The greater the influence of the frequency characteristics of the gastric antrum area at each moment.
[0098] It is further necessary to explain that: When 1, no analysis is performed.
[0099] Through the above process, we obtain The degree of influence of the frequency characteristics of the gastric antrum area at each moment.
[0100] According to The influence degree of the frequency characteristics of the gastric antrum area at the moment is obtained by The degree of influence of the amplitude characteristics, rhythmicity, slow wave propagation direction and coupling of the electrogastrogram in the gastric antrum area at each moment.
[0101] Each feature of the electrogastrogram of each part of the stomach at each moment is calculated according to the above process to obtain the influence degree of each feature of the electrogastrogram of each part of the stomach at each moment.
[0102] It should be noted that if If the abnormality level of each feature of the electrogastrogram of the gastric antrum area at the time is 0, no calculation is performed.
[0103] Module 106: Image enhancement analysis module.
[0104] This module is used to obtain the corrected abnormality degree of each feature of the electrogastrogram of each part of the stomach at each moment according to the influence degree of each feature of the electrogastrogram of each part of the stomach at each moment and each feature of the electrogastrogram of each part of the stomach at each moment; to obtain the final abnormality degree of each part of the stomach at each moment according to the corrected abnormality degree of each feature of the electrogastrogram of each part of the stomach at each moment; and in the gastroscopy at each moment, according to the final abnormality degree of each part of the stomach at each moment, enhance the gastroscopy of each part of the stomach at each moment to obtain the enhanced gastroscopy at each moment.
[0105] It should be noted that: based on the patient's heart rate, blood pressure and respiratory rate data collected when collecting the electrogastrogram data, the patient's tension level during the examination is judged, and the electrogastrogram results are finally corrected based on the influence of different tension levels on the electrogastrogram frequency characteristics mentioned above.
[0106] Still As an example, the frequency characteristics of the gastric antrum area at the moment The specific calculation formula corresponding to the corrected abnormal degree of the frequency characteristics of the gastric antrum area at the moment is:
[0107]
[0108] in, Indicates The degree of correction abnormality of the frequency characteristics of the gastric antrum region at the moment; Indicates The degree of abnormality of the frequency characteristics of the electrogastrogram in the gastric antrum area at each moment; Indicates The degree of influence of the frequency characteristics of the gastric antrum area at each moment.
[0109] What needs to be explained is; The degree of correction of the frequency characteristics of the gastric antrum area at the moment The abnormality of the frequency characteristics of the electrogastrogram in the gastric antrum area is proportional to the The greater the frequency characteristic of the electrogastrogram in the gastric antrum at the moment The greater the degree of correction abnormality of the frequency characteristics of the gastric antrum area at the moment; The influence of the frequency characteristics of the gastric antrum area at the moment The correction abnormality of the frequency characteristics of the gastric antrum area at the moment is inversely proportional to the degree of correction. The smaller the influence of the frequency characteristics of the gastric antrum area at the moment The greater the degree of correction abnormality of the frequency characteristics of the gastric antrum area at that moment.
[0110] Through the above process, we obtain The degree of corrected abnormality of the frequency characteristics of the gastric antrum region at each moment.
[0111] According to The method for obtaining the corrected abnormal degree of the frequency characteristic of the gastric antrum region at the moment The degree of correction of abnormalities in the amplitude characteristics, rhythmicity, slow wave propagation direction, and coupling of the electrogastrogram in the gastric antrum area at each moment.
[0112] Each feature of the electrogastrogram of each part of the stomach at each moment is calculated according to the above process to obtain the corrected abnormality degree of each feature of the electrogastrogram of each part of the stomach at each moment.
[0113] The sum of the corrected abnormality levels of all features of the electrogastrogram of each part of the stomach at each moment is recorded as the final abnormality level of each part of the stomach at each moment.
[0114] In the gastroscopic image at each moment, the final abnormality degree of each part of the stomach at each moment is used as the image enhancement coefficient of the gastroscopic image of each part of the stomach at each moment, and the gastroscopic image of each part of the stomach at each moment is linearly enhanced to obtain the enhanced gastroscopic image at each moment. Among them, linear enhancement is a well-known technology, and the specific method is not introduced here.
[0115] It should be noted that the image enhancement coefficient is the slope of the linear enhancement, and the preset intercept threshold is the intercept of the linear enhancement. The preset intercept threshold is 0, and this is used as an example for description. The flowchart of image enhancement of digestive endoscopy images is as follows: Figure 2 shown.
[0116] It is further necessary to explain that: in this embodiment, when the denominator in the formula is 0, the denominator is set to 1 to prevent the denominator from being 0, and this example is used for description.
[0117] So far, the present invention is completed.
[0118] In summary, in an embodiment of the present invention, within a preset time period, gastroscopic images, electrogastrogram features, heart rate, blood pressure, respiratory rate and normal range are synchronously acquired. The degree of abnormality of each electrogastrogram feature at each moment is calculated according to each feature. The degree of tension at each moment is calculated according to the tension weights and normal ranges of the heart rate, blood pressure and respiratory rate. Combining the degree of tension and the degree of abnormality of the electrogastrogram features, the degree of influence of the electrogastrogram features of each part at each moment is calculated. Using these degrees of influence, the degree of abnormality of the electrogastrogram features is corrected to obtain the corrected degree of abnormality at each moment. Finally, based on the corrected degree of abnormality, the final degree of abnormality of each part at each moment is determined, and the gastroscopic image at the corresponding moment is enhanced. The present invention enhances the gastroscopic image by analyzing the patient's degree of tension and the degree of stomach abnormality.
[0119] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A digestive endoscopy image enhancement analysis system, characterized in that: The system includes the following modules: Data acquisition module: used to synchronously obtain the gastroscopic image, heart rate, blood pressure, respiratory rate, each feature of the electrogastrogram of each part of the stomach and the normal range of each feature, heart rate, blood pressure and respiratory rate at each moment within a preset time period; Abnormal data analysis module: used to obtain the abnormal degree of each feature of the electrogastrogram of each part of the stomach at each moment according to each feature and normal range of the electrogastrogram of each part of the stomach at each moment; Stress weight analysis module: used to obtain stress weights of heart rate, blood pressure and respiratory rate according to heart rate, blood pressure and respiratory rate at each moment; Stress level analysis module: used to obtain the stress level at each moment according to the stress weights of heart rate, blood pressure and respiratory rate, the heart rate, blood pressure, respiratory rate at each moment and the normal ranges of heart rate, blood pressure and respiratory rate; Impact degree analysis module: used to obtain the impact degree of each feature of the electrogastrogram of each part of the stomach at each moment according to the tension degree at each moment and the abnormal degree of each feature of the electrogastrogram of each part of the stomach; Image enhancement analysis module: used for obtaining the corrected abnormality degree of each feature of the electrogastrogram of each part of the stomach at each moment according to the influence degree of each feature of the electrogastrogram of each part of the stomach at each moment and each feature of the electrogastrogram of each part of the stomach at each moment; obtaining the final abnormality degree of each part of the stomach at each moment according to the corrected abnormality degree of each feature of the electrogastrogram of each part of the stomach at each moment; in the gastroscope at each moment, according to the final abnormality degree of each part of the stomach at each moment, enhancing the gastroscope of each part of the stomach at each moment to obtain the enhanced gastroscope at each moment; The abnormal degree of each feature of the electrogastrogram of each part of the stomach at each moment is obtained according to each feature and normal range of the electrogastrogram of each part of the stomach at each moment include: Wherein, each part of the stomach includes the gastric antrum area, and each feature of the electrogastrogram includes a frequency feature; Jordi At the moment, the value of the frequency characteristic of the electrogastrogram in the gastric antrum area is less than the minimum value of the normal range of the frequency characteristic. The value of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment and the minimum value of the normal range of the frequency characteristic are obtained. The degree of abnormality of the frequency characteristics of the electrogastrogram in the gastric antrum area at each moment; Jordi At the moment, the value of the frequency characteristic of the electrogastrogram in the gastric antrum area is greater than the maximum value of the normal range of the frequency characteristic. The value of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment and the maximum value of the normal range of the frequency characteristic are obtained. The degree of abnormality of the frequency characteristics of the electrogastrogram in the gastric antrum area at each moment; Jordi At this moment, the frequency characteristics of the electrogastrogram in the gastric antrum area are within the normal range of frequency characteristics. The abnormal degree of the frequency characteristic of the electrogastrogram in the gastric antrum area at time ;in, is the preset abnormal threshold; According to the The value of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment and the minimum value of the normal range of the frequency characteristic are obtained. The abnormalities of the frequency characteristics of the electrogastrogram in the gastric antrum area at each moment include: No. The abnormal degree of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment The ratio of the values of the frequency characteristics of the electrogastrogram in the gastric antrum area at the moment minus 1; According to the The value of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment and the maximum value of the normal range of the frequency characteristic are obtained. The abnormalities of the frequency characteristics of the electrogastrogram in the gastric antrum area at each moment include: No. The abnormality of the frequency characteristics of the electrogastrogram in the gastric antrum area at the moment The ratio of the value of the frequency characteristic of the electrogastrogram in the gastric antrum area at the moment to the maximum value of the normal range of the frequency characteristic minus 1; The stress weights for obtaining the heart rate, blood pressure and respiratory rate according to the heart rate, blood pressure and respiratory rate at each moment include: In a preset time period, with time as the horizontal axis and heart rate, blood pressure and respiratory rate as the vertical axes, a heart rate curve, a blood pressure curve and a respiratory rate curve are constructed; In the heart rate curve, blood pressure curve and respiratory rate curve, the DTW algorithm is used to match any two curves to obtain the distance similarity between any two curves; According to the distance similarity between the heart rate curve, the blood pressure curve and the respiratory rate curve, the stress weight of the heart rate is obtained; The specific calculation formula for obtaining the stress weight of the heart rate according to the distance similarity between the heart rate curve, the blood pressure curve and the respiratory rate curve is: in, Indicates the stress weight of the heart rate; Indicates the distance similarity between the heart rate curve and the blood pressure curve; Indicates the distance similarity between the heart rate curve and the breathing rate curve; Indicates the distance similarity between the blood pressure curve and the respiratory rate curve; The specific calculation formula for obtaining the corresponding tension degree at each moment according to the tension weights of heart rate, blood pressure and respiratory rate, heart rate, blood pressure, respiratory rate at each moment and the normal range of heart rate, blood pressure and respiratory rate is: in, Indicates the intensity of the moment; Indicates the stress weight of the heart rate; Indicates Heart rate at all times; It represents the average of all heart rates within the normal range of heart rate; Indicates the tension weight of blood pressure; Indicates Blood pressure at all times; It represents the mean of all blood pressure values within the normal range of blood pressure; represents the tension weight of the respiratory rate; Indicates Respiratory rate at all times; It represents the mean of all respiratory rates within the normal range of respiratory rate; The specific calculation formula for obtaining the influence degree of each feature of the electrogastrogram of each part of the stomach at each moment according to the tension degree at each moment and the abnormal degree of each feature of the electrogastrogram of each part of the stomach is: in, Indicates The degree of influence of the frequency characteristics of the gastric antrum area at each moment; Indicates The number of data whose abnormality degree of the frequency characteristic of the electrogastrogram of the gastric antrum region before the time is not 0; Indicates the intensity of the moment; Indicates The abnormality degree of the frequency characteristic of the electrogastrogram of the gastric antrum area at a moment, wherein each part of the stomach includes the gastric antrum area, and each characteristic of the electrogastrogram includes a frequency characteristic.
2. According to claim 1, a digestive endoscopy image enhancement analysis system is characterized in that: The specific calculation formula for obtaining the corrected abnormality degree of each feature of the electrogastrogram of each part of the stomach at each moment according to the influence degree of each feature of the electrogastrogram of each part of the stomach at each moment and each feature of the electrogastrogram of each part of the stomach at each moment is: in, Indicates The degree of correction abnormality of the frequency characteristics of the gastric antrum region at the moment; Indicates The degree of abnormality of the frequency characteristics of the electrogastrogram in the gastric antrum area at each moment; Indicates The influence degree of the frequency characteristics of the gastric antrum area at the moment, wherein each part of the stomach includes the gastric antrum area, and each characteristic of the electrogastrogram includes the frequency characteristic.
3. According to claim 1, a digestive endoscopy image enhancement analysis system is characterized in that: The method for obtaining the final abnormality degree of each part of the stomach at each moment according to the corrected abnormality degree of each feature of the electrogastrogram of each part of the stomach at each moment comprises: The sum of the corrected abnormality levels of all features of the electrogastrogram of each part of the stomach at each moment is recorded as the final abnormality level of each part of the stomach at each moment.
Citation Information
Patent Citations
Method for determining area, ultrasonic device and computer storage medium
CN114259257A
Stomach function adjusting system based on stomach rhythm and heart rate variability feedback
CN117379687A
Lie detection via electrogastrography
US20080177157A1
