Detection system, detection method, image processing equipment and endoscope system

By combining the gas injection state and the motion parameters of the digestive tract wall, the detection accuracy of the endoscopic system is improved, and the problem of low detection accuracy in the prior art is solved, reducing the risk of complications and reducing costs.

CN119157475AActive Publication Date: 2024-12-20CHANGZHOU UNITED IMAGING HEALTHCARE SURGICAL TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202311303507.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-09
Publication Date
2024-12-20
Estimated Expiration
2043-10-09

AI Technical Summary

Technical Problem

The existing endoscopic system has low accuracy when detecting the patient's internal state, making it difficult to avoid complications such as gastrointestinal bleeding and perforation.

Method used

Through the detection system combining the gas injection state and the motion parameters of the digestive tract cavity wall, accurate detection of the patient's internal state is achieved, including parameter determination and detection section, and image acquisition and processing technology is used to determine the peristalsis amplitude, frequency and direction abnormal times. Different air injection states set target detection thresholds to perform state detection and air pressure control.

Benefits of technology

It improves the accuracy of the endoscopic system in the patient's internal state detection, reduces the risk of gastrointestinal bleeding and perforation, reduces the detection cost, and avoids complications caused by excessive or low air pressure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119157475A_ABST
    Figure CN119157475A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of data processing, and provides a detection system, a detection method, an image processing device and an endoscope system.The detection system comprises a parameter determination part and a first detection part, the parameter determination part determines the gas injection state of a gas pump and motion parameters of the cavity wall of the alimentary canal in the process of endoscopy of the alimentary canal of a user, and the first detection part determines the gas injection state of the gas pump and the motion parameters of the cavity wall of the alimentary canal; and then, the first detection part performs state detection on the alimentary canal according to the gas injection state and the motion parameters to obtain a state detection result of the alimentary canal. The detection system provided by the invention combines the gas injection state and the motion parameters of the cavity wall of the alimentary canal to realize accurate detection of the state in the body of the user, namely, the detection accuracy of the detection system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and in particular relates to a detection system, a detection method, an image processing device and an endoscope system. Background Art

[0002] An endoscope system is a detection instrument that has an endoscope, image processing equipment, optical equipment, and display equipment. It can enter the stomach through the mouth or other natural orifices to detect the patient's internal conditions. At present, in order to ensure that operators operate in a standardized manner when using the endoscope system and to avoid complications such as gastrointestinal bleeding and perforation in patients, it is necessary to detect the working conditions of the endoscope entering the patient's body in real time to detect whether there are any abnormalities in the patient's body under the action of the endoscope.

[0003] However, the current related technologies often have low accuracy in detecting the patient's internal body status and are difficult to meet actual needs. Summary of the invention

[0004] The embodiments of the present application provide a detection system, a detection method, an image processing device and an endoscope system, which improve the accuracy of detecting the internal state of a patient.

[0005] In a first aspect, an embodiment of the present application provides a detection system, comprising:

[0006] The parameter determination unit is used to determine the gas injection state of the air pump and the motion parameters of the cavity wall of the digestive tract during the process of endoscopic examination of the user's digestive tract; the air pump is used to inject gas into the user's digestive tract;

[0007] The first detection unit is used to detect the state of the digestive tract according to the gas injection state and the movement parameters to obtain the state detection result of the digestive tract.

[0008] The detection system provided in the embodiment of the present application realizes accurate detection of the patient's internal state by combining the gas injection state and the movement parameters of the cavity wall of the digestive tract, that is, improves the detection accuracy of the detection system.

[0009] In a possible implementation of the first aspect, the detection system further includes:

[0010] A first data determination unit, used to determine current air pressure data of the digestive tract;

[0011] Accordingly, the first detection unit specifically includes:

[0012] The third detection unit is used to detect the state of the digestive tract according to the current air pressure data, gas injection state and movement parameters to obtain the state detection result.

[0013] In a possible implementation of the first aspect, the parameter determination unit specifically includes:

[0014] A first image acquisition unit, used for acquiring a set number of consecutive frames of cavity wall images of the digestive tract;

[0015] The second detection unit is used to detect the cavity wall images of a set number of consecutive frames to obtain motion parameters.

[0016] In a possible implementation of the first aspect, the gas injection state includes at least two states; the first detection unit specifically includes:

[0017] A first threshold value acquisition unit is used to acquire a target detection threshold value associated with a gas injection state; wherein the target detection threshold values ​​associated with different gas injection states are not completely the same;

[0018] The first processing unit is used to process the motion parameters based on the target detection threshold to obtain the digestive tract state detection result.

[0019] In a possible implementation of the first aspect, the motion parameter includes multiple parameters, and for a single motion parameter, the target detection threshold associated with the motion parameter is not completely the same under different gas injection states.

[0020] In a possible implementation of the first aspect, the gas injection state includes before gas injection, during gas injection, and after gas injection, and the motion parameter includes peristalsis amplitude;

[0021] Correspondingly, the target detection threshold of the peristaltic amplitude associated with before gas injection is greater than the target detection threshold of the peristaltic amplitude associated with during gas injection, and greater than the target detection threshold of the peristaltic amplitude associated with after gas injection; the target detection threshold of the peristaltic amplitude associated with after gas injection is greater than the target detection threshold of the peristaltic amplitude associated with during gas injection.

[0022] In a possible implementation of the first aspect, the gas injection state includes before gas injection, during gas injection, and after gas injection, and the motion parameter includes peristaltic frequency;

[0023] Accordingly, the target detection threshold of the peristaltic frequency associated with before gas insufflation and the target detection threshold of the peristaltic frequency associated with after gas insufflation are both smaller than the target detection threshold of the peristaltic frequency associated with during gas insufflation.

[0024] In a possible implementation of the first aspect, the gas injection state includes before gas injection, during gas injection, and after gas injection, and the motion parameter includes the number of abnormal peristalsis directions;

[0025] Correspondingly, the target detection threshold of the number of abnormal peristaltic direction associated with before gas injection and the target detection threshold of the number of abnormal peristaltic direction associated with after gas injection are both smaller than the target detection threshold of the number of abnormal peristaltic direction associated with during gas injection.

[0026] In a possible implementation of the first aspect, the motion parameter includes at least one parameter of peristalsis amplitude, peristalsis frequency, and number of abnormal peristalsis directions; the first processing unit specifically includes:

[0027] A first result determination unit is used to obtain a state detection result of abnormal cavity wall peristalsis when the motion parameters include the peristalsis amplitude and the peristalsis frequency, the peristalsis amplitude is greater than a target detection threshold corresponding to the peristalsis amplitude, and the peristalsis frequency is greater than a target detection threshold corresponding to the peristalsis frequency;

[0028] and / or,

[0029] The second result determination unit is used to obtain a state detection result of abnormal peristalsis of the cavity wall when the motion parameter includes the number of abnormal peristalsis directions and the number of abnormal peristalsis directions is greater than a target detection threshold value corresponding to the number of abnormal peristalsis directions.

[0030] In a possible implementation of the first aspect, the motion parameter includes at least one parameter of peristalsis amplitude, peristalsis frequency, and number of abnormal peristalsis directions;

[0031] Correspondingly, the current air pressure data is negatively correlated with the peristaltic amplitude, the current air pressure data is positively correlated with the peristaltic frequency, and the current air pressure data is positively correlated with the number of abnormal peristaltic directions.

[0032] In a possible implementation of the first aspect, the first data determination unit specifically includes:

[0033] A second data determination unit, used to determine initial air pressure data and an air pressure increase amplitude of the digestive tract;

[0034] The third data determination unit is used to determine the current air pressure data according to the initial air pressure data and the air pressure increase amplitude.

[0035] In a possible implementation of the first aspect, the second data determination unit specifically includes:

[0036] A second image acquisition unit is used to acquire a first image and a second image of the digestive tract; wherein the first image refers to an endoscopic image of the digestive tract when the air pump starts to inflate gas; and the second image refers to an endoscopic image of the digestive tract during the inflation process;

[0037] a fourth data determining unit, configured to determine initial air pressure data according to the first image;

[0038] The fifth data determination unit is used to determine the increase range of air pressure according to the first image and the second image.

[0039] In a possible implementation of the first aspect, the second image acquisition unit specifically includes:

[0040] The instruction receiving unit is used to receive a first instruction from the air pump; the first instruction is used to indicate that the air pump starts to inject gas;

[0041] The image determination unit is used to use the endoscopic image frame collected at the first moment as the first image according to the first instruction.

[0042] In a possible implementation of the first aspect, the detection system further includes:

[0043] The air pump control unit is used to control the air pump to stop air injection or maintain air injection according to the current air pressure data.

[0044] In a possible implementation of the first aspect, the air pump control unit specifically includes:

[0045] The first output unit is used to output a first prompt message when the current air pressure data does not meet the set conditions; the first prompt message is used to prompt the operator to control the air pump to stop gas injection;

[0046] The second output unit is used to output a second prompt message when the current air pressure data meets the set conditions; the second prompt message is used to prompt the operator to control the air pump to maintain the air injection action.

[0047] In a second aspect, the present application provides a detection method, comprising:

[0048] During the process of endoscopic examination of the user's digestive tract, determining the insufflation state of the air pump and the motion parameters of the cavity wall of the digestive tract; the air pump is used to insufflate air into the user's digestive tract;

[0049] The state of the digestive tract is detected according to the gas injection state and the motion parameters to obtain the state detection result of the digestive tract.

[0050] The detection method provided in the embodiment of the present application realizes accurate detection of the patient's internal state by combining the gas injection state and the motion parameters, that is, improves the detection accuracy of the detection system.

[0051] In a possible implementation of the second aspect, the method provided in the embodiment of the present application further includes:

[0052] Determine current air pressure data of the digestive tract;

[0053] Accordingly, the digestive tract is tested according to the gas injection state and the motion parameters to obtain a digestive tract test result, including:

[0054] The state of the digestive tract is detected according to the current air pressure data, gas injection state and movement parameters to obtain the state detection result.

[0055] In the above implementation, based on the gas injection state and the motion parameters, the current gas pressure data of the digestive tract is further combined to detect the state of the user's digestive tract, thereby further improving the detection accuracy of the user's digestive tract.

[0056] In a possible implementation of the second aspect, determining a motion parameter of a cavity wall of a digestive tract includes:

[0057] Acquire a set number of continuous frames of cavity wall images of the digestive tract;

[0058] The cavity wall images of the set number of frames are detected to obtain motion parameters.

[0059] In the above embodiment, accurate movement parameters of the cavity wall can be obtained by detecting the cavity wall images of the digestive tract for a set number of consecutive frames.

[0060] In a possible implementation of the second aspect, the gas injection state includes at least two states; the digestive tract state detection is performed according to the gas injection state and the motion parameter to obtain the digestive tract state detection result, including:

[0061] Obtaining a target detection threshold associated with a gas injection state; wherein the target detection thresholds associated with different gas injection states are not completely the same;

[0062] Based on the target detection threshold, the motion parameters are processed to obtain the state detection result of the digestive tract.

[0063] In the above implementation, since the movement patterns of the cavity wall of the user's digestive tract are different under different gas injection states, a more accurate state detection result can be obtained by obtaining a target detection threshold associated with the gas injection state and processing the motion parameters according to the target detection threshold.

[0064] In a possible implementation of the second aspect, the motion parameters include multiple parameters, and for a single motion parameter, the associated target detection threshold is not completely the same under different gas injection states, thereby improving the accuracy of subsequent processing of the motion parameter according to the target detection threshold.

[0065] In a possible implementation of the second aspect, the gas injection state includes before gas injection, during gas injection, and after gas injection, and the motion parameter includes peristalsis amplitude;

[0066] Correspondingly, the target detection threshold of the peristaltic amplitude associated with before gas injection is greater than the target detection threshold of the peristaltic amplitude associated with gas injection, and greater than the target detection threshold of the peristaltic amplitude associated with after gas injection; the target detection threshold of the peristaltic amplitude associated with after gas injection is greater than the target detection threshold of the peristaltic amplitude associated with gas injection, so that in different subsequent gas injection states, the peristaltic amplitude of the cavity wall of the digestive tract in the user's body can be flexibly detected according to different target detection thresholds to obtain accurate state detection results.

[0067] In a possible implementation of the second aspect, the gas injection state includes before gas injection, during gas injection, and after gas injection, and the motion parameter includes peristaltic frequency;

[0068] Accordingly, the target detection threshold of the peristaltic frequency associated with the gas injection before and the target detection threshold of the peristaltic frequency associated with the gas injection after are both lower than the target detection threshold of the peristaltic frequency associated with the gas injection. This allows the peristaltic frequency of the cavity wall of the digestive tract in the user's body to be flexibly detected according to different target detection thresholds in different gas injection states, so as to obtain accurate state detection results.

[0069] In a possible implementation of the second aspect, the gas injection state includes before gas injection, during gas injection, and after gas injection, and the motion parameter includes the number of abnormal peristalsis directions;

[0070] Accordingly, the target detection threshold of the number of abnormal peristaltic movements associated with the gas injection before and the target detection threshold of the number of abnormal peristaltic movements associated with the gas injection after are both smaller than the target detection threshold of the number of abnormal peristaltic movements associated with the gas injection. This allows the number of abnormal peristaltic movements of the cavity wall of the digestive tract in the user's body to be flexibly detected according to different target detection thresholds in different gas injection states, so as to obtain accurate state detection results.

[0071] In a possible implementation of the second aspect, the motion parameter includes at least one parameter of peristaltic amplitude, peristaltic frequency, and number of abnormal peristaltic directions; the motion parameter is processed based on the target detection threshold to obtain a digestive tract state detection result, including:

[0072] When the motion parameters include peristaltic amplitude and peristaltic frequency, the peristaltic amplitude is greater than the target detection threshold corresponding to the peristaltic amplitude, and the peristaltic frequency is greater than the target detection threshold corresponding to the peristaltic frequency, a state detection result of abnormal cavity wall peristalsis is obtained.

[0073] In the above implementation, whether the cavity wall of the user's digestive tract has abnormal peristalsis can be accurately detected by the peristalsis amplitude and amplitude frequency.

[0074] In a possible implementation of the second aspect, the motion parameter includes at least one parameter of peristaltic amplitude, peristaltic frequency, and number of abnormal peristaltic directions; the motion parameter is processed based on the target detection threshold to obtain a digestive tract state detection result, including:

[0075] When the motion parameter includes the number of abnormal peristalsis directions, the number of abnormal peristalsis directions is greater than a target detection threshold corresponding to the number of abnormal peristalsis directions, and a state detection result of abnormal peristalsis of the cavity wall is obtained.

[0076] In the above embodiment, whether the peristalsis of the cavity wall of the user's digestive tract is abnormal can be accurately detected by the number of abnormal peristalsis directions.

[0077] In a possible implementation of the second aspect, the motion parameter includes at least one parameter of peristalsis amplitude, peristalsis frequency, and number of abnormal peristalsis directions;

[0078] Correspondingly, the current air pressure data is negatively correlated with the peristaltic amplitude, the current air pressure data is positively correlated with the peristaltic frequency, and the current air pressure data is positively correlated with the number of abnormal peristaltic directions, so that the detection system can accurately detect the movement parameters according to the current air pressure data.

[0079] In a possible implementation of the second aspect, determining current air pressure data of the digestive tract includes:

[0080] Determine the initial air pressure data and the pressure increase range of the digestive tract;

[0081] The current air pressure data is determined based on the initial air pressure data and the air pressure increase amplitude.

[0082] In the above implementation, the current air pressure data can be accurately determined through the initial air pressure data and the air pressure increase amplitude.

[0083] In a possible implementation of the second aspect, determining initial air pressure data and an air pressure increase amplitude of the digestive tract includes:

[0084] Acquire a first image and a second image of the digestive tract; wherein the first image refers to an endoscopic image of the digestive tract when the air pump starts to inflate gas; and the second image refers to an endoscopic image of the digestive tract during the inflation process;

[0085] Determining initial air pressure data according to the first image;

[0086] The increase amplitude of the air pressure is determined according to the first image and the second image.

[0087] In the above embodiment, the detection system can determine the initial air pressure data by acquiring the first image of the digestive tract, and determine the air pressure increase amplitude by the first image and the second image. There is no need to install a pressure sensor in the detection system to obtain the air pressure data of the user's digestive tract, thereby reducing costs.

[0088] In a possible implementation of the second aspect, acquiring a first image of the digestive tract includes:

[0089] receiving a first instruction from the air pump; the first instruction is used to indicate that the air pump starts to inject air;

[0090] According to the first instruction, the endoscopic image frame acquired at the first moment is used as the first image.

[0091] In the above implementation, the accuracy of determining the initial air pressure data is improved.

[0092] In a possible implementation of the second aspect, the detection method provided in the embodiment of the present application further includes:

[0093] According to the current air pressure data, the air pump is controlled to stop or maintain air injection.

[0094] In the above implementation, the detection system can accurately control whether the air pump needs to continue to inflate air based on the current air pressure data, so as to avoid excessively high or low air pressure in the user's digestive tract and prevent complications for the user.

[0095] In a possible implementation of the second aspect, controlling the air pump to stop gas injection or maintain gas injection according to current air pressure data includes:

[0096] When the current air pressure data does not meet the set conditions, a first prompt message is output; the first prompt message is used to prompt the operator to control the air pump to stop injecting air;

[0097] When the current air pressure data meets the set conditions, a second prompt message is output; the second prompt message is used to prompt the operator to control the air pump to maintain the air injection action.

[0098] In the above implementation, the detection system can detect whether the current air pressure data meets the set conditions, and promptly remind the operator to control the air pump accordingly.

[0099] A detection method provided in an embodiment of the present application determines the gas injection state of the air pump and the motion parameters of the cavity wall of the digestive tract during endoscopic examination of the user's digestive tract, and then performs state detection of the digestive tract according to the gas injection state and the motion parameters to obtain a state detection result of the digestive tract. The detection method provided in the present application combines the gas injection state and the motion parameters of the cavity wall of the digestive tract to achieve accurate detection of the state of the user's body, that is, improves the detection accuracy of the detection system.

[0100] In a third aspect, an embodiment of the present application provides an image processing device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the detection method described in any one of the second aspects is implemented.

[0101] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the detection method as described in any one of the second aspects above is implemented.

[0102] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on an image processing device, the image processing device can execute the detection method described in any one of the second aspects above. BRIEF DESCRIPTION OF THE DRAWINGS

[0103] In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0104] Figure 1 is a schematic structural diagram of an endoscope system provided in one embodiment of the present application;

[0105] Figure 2 It is a structural schematic diagram of a detection system provided in one embodiment of the present application;

[0106] Figure 3 is a flow chart for implementing a detection method provided in an embodiment of the present application;

[0107] Figure 4 It is a specific structural diagram of a parameter determination unit in a detection system provided by an embodiment of the present application;

[0108] Figure 5 is a flow chart for implementing a detection method provided in another embodiment of the present application;

[0109] Figure 6 is a schematic diagram of the specific structure of the first detection unit in the detection system provided in one embodiment of the present application;

[0110] Figure 7 is a flow chart for implementing a detection method provided in yet another embodiment of the present application;

[0111] Figure 8 is a schematic diagram of the structure of a detection system provided by another embodiment of the present application;

[0112] Fig. 9 is a flow chart of an implementation of a detection method provided in another embodiment of the present application;

[0113] Fig.10 is a specific structural diagram of a first data determination unit in a detection system provided by an embodiment of the present application;

[0114] Fig.11 is a flow chart of an implementation of a detection method provided in another embodiment of the present application;

[0115] Fig.12 It is a structural schematic diagram of an image processing device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0116] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0117] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0118] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0119] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0120] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0121] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0122] In practical applications, an endoscope system is a detection instrument that can enter the stomach through the mouth or enter the body through other natural orifices to detect the user's internal conditions. However, since the endoscope system needs to enter the user's body to perform detection, it is easy to cause complications such as gastrointestinal bleeding and perforation when using the endoscope system for detection. Among them, gastrointestinal bleeding is often seen in excessive air delivery or the user's own strong vomiting reflex, causing the cardia of the stomach and the mucosa and submucosal layer of the distal esophagus to tear and bleed; gastrointestinal perforation is most likely to occur in the pharyngeal crypt, and the reason for the perforation of the pharyngeal pear-shaped crypt is mostly the patient's non-cooperation, or the operator blindly inserts the mirror, forcibly advances the mirror, etc. Therefore, in order to monitor the state of the user's digestive tract in real time after the endoscope system enters the user's body, and help the operator more accurately control the endoscope system's entry process to avoid or reduce the risk of the user's above-mentioned complications, in all embodiments of the present application, the endoscope system also includes a detection system, which is used to accurately detect the state of the user's digestive tract during the endoscopic examination of the user's digestive tract.

[0123] Based on this, see Figure 1 , Figure 1 FIG. 1 is a schematic diagram of the structure of an endoscope system provided in one embodiment of the present application. Figure 1 As shown, the endoscope system 1 provided in the embodiment of the present application includes: an endoscope 10, a detection system 20, a light source device 30 and a display device 40. The endoscope 10 is connected to the light source device 30 by wire, the light source device 30 is connected to the detection system 20 by communication, and the detection system 20 is connected to the display device 40 by communication. Among them, the endoscope 10 and the light source device 30 can be connected by a light source cable. The communication connection mode can be a wired communication connection or a wireless communication connection.

[0124] In some embodiments, the light source device 30 and the detection system 20 may also be the same device.

[0125] The light source device 30 is used to provide various lights to the endoscope 10 .

[0126] The detection system 20 is used to detect the status of the user's digestive tract in real time during the process of the endoscope 10 examining the user's digestive tract, and obtain the status detection result of the user's digestive tract.

[0127] How the detection system 20 specifically detects the status of the user's digestive tract can be found in the description of the detection system shown in the figure below, which will not be elaborated here.

[0128] In practical applications, the detection system 20 may be an image processing device or an AI box.

[0129] The display device 40 is used to display an endoscopic image of the user's digestive tract in real time while the endoscope 10 is examining the user's digestive tract.

[0130] In one embodiment of the present application, the display device 40 is also used to receive the state detection result of the user's digestive tract sent by the detection system 20, and display the state detection result.

[0131] See also Figure 2 , Figure 2 1 is a schematic diagram of the structure of a detection system provided in an embodiment of the present application. For ease of explanation, only the parts related to the embodiment of the present application are shown, which are described in detail as follows:

[0132] like Figure 2 As shown, the detection system 20 includes: a parameter determination unit 21 and a first detection unit 22 .

[0133] Specifically, the parameter determination unit 21 is used to determine the gas injection state of the air pump and the motion parameters of the cavity wall of the digestive tract during the endoscopic examination of the user's digestive tract; the air pump is used to inject gas into the user's digestive tract (such as Figure 3 Step S101 shown).

[0134] The first detection unit 22 is used to detect the state of the digestive tract according to the gas injection state and the motion parameters, and obtain the digestive tract state detection result (such as Figure 3 Step S102 shown).

[0135] In actual applications, when an operator uses an endoscope system to detect a user's digestive tract, in order to accurately understand the state of the user's digestive tract in real time and to timely control the digestive tract detection process, the operator can trigger a state detection instruction for the detection system. The state detection instruction is used to instruct the detection system 20 to start detecting the state of the user's digestive tract.

[0136] In the embodiment of the present application, the detection system 20 detecting the state detection instruction may include: detecting that the operator performs a preset operation. The preset operation may be determined according to actual needs and is not limited here. Exemplarily, the preset operation may include: a preset control in the detection system 20 is triggered, or the endoscope 10 is detected to enter the user's digestive tract. Based on this, when the detection system 20 detects that its own preset control is triggered, or detects that the endoscope 10 enters the user's digestive tract, it indicates that the preset operation is detected, that is, the state detection instruction is detected.

[0137] In the embodiment of the present application, after detecting the status detection instruction, the detection system 20 can detect in real time whether the endoscope 10 has entered the user's digestive tract.

[0138] In one implementation of the embodiment of the present application, the detection system 20 can determine whether the endoscope 10 has entered the user's digestive tract through the acquired endoscopic image to determine whether the endoscope 10 is examining the user's digestive tract.

[0139] Based on this, the parameter determination unit 21 can determine the gas injection state of the air pump and the movement parameters of the cavity wall of the user's digestive tract in real time during the process of the endoscope 10 examining the user's digestive tract.

[0140] It should be noted that the gas injection state includes but is not limited to before gas injection, during gas injection and after gas injection.

[0141] The embodiments of the present application do not impose too many restrictions on the specific method of obtaining the gas injection state, and can be set according to actual needs. For example, the parameter determination unit 21 can actively or passively obtain the gas injection state. For example, in one embodiment of the present application, since the air pump sends a first signal to start gas injection to the parameter determination unit 21 when the gas injection starts, and the air pump sends a second signal to end gas injection to the parameter determination unit 21 when the gas injection ends, therefore, in this embodiment, when the parameter determination unit 21 does not detect any signal sent by the air pump, it can be determined that the gas injection state of the air pump is before gas injection, when the parameter determination unit 21 detects the first signal sent by the air pump, it can be determined that the gas injection state of the air pump is in the gas injection, and when the parameter determination unit 21 detects the second signal sent by the air pump, it can be determined that the gas injection state of the air pump is after gas injection. In other embodiments of the present application, the gas injection state can also be obtained by actively querying whether the air pump is injecting gas, or by using a pressure sensor to detect air pressure, or by using image or video recognition to identify the gas injection state.

[0142] In the embodiment of the present application, the motion parameter of the cavity wall refers to the motion characteristics of the cavity wall of the digestive tract when it moves during the process of examining the user's digestive tract with the endoscope 10.

[0143] Since the peristalsis of the cavity wall of the user's digestive tract is different under different gas injection states, in the embodiment of the present application, the first detection unit 22 can perform state detection on the user's digestive tract according to the gas injection state and motion parameters to obtain the state detection result of the user's digestive tract.

[0144] The status detection result indicates whether the peristalsis of the cavity wall of the user's digestive tract is abnormal. Specifically, if the peristalsis of the cavity wall of the user's digestive tract is abnormal, the status detection result is abnormal cavity wall peristalsis; if the peristalsis of the cavity wall of the user's digestive tract is normal, the status detection result is normal cavity wall peristalsis.

[0145] In another embodiment of the present application, the detection system 20 may further include an information prompting unit (not shown in the figure).

[0146] Therefore, after obtaining the state detection result of the digestive tract, the first detection unit 22 can send the state detection result to the information prompt unit. The information prompt unit displays the state detection result. For example, if the state detection result is that the cavity wall peristalsis is abnormal, the information prompt unit can display the words "abnormal cavity wall peristalsis" to let the operator know that the cavity wall peristalsis of the user's digestive tract is abnormal at this time; if the state detection result is that the cavity wall peristalsis is normal, the information prompt unit can display the words "normal cavity wall peristalsis" to let the operator know that the cavity wall peristalsis of the user's digestive tract is normal at this time.

[0147] In one implementation of this embodiment, the information prompt unit may include a voice prompt unit. Therefore, when the information prompt unit displays the words "abnormal cavity wall peristalsis", the voice prompt unit can output voice information containing "abnormal cavity wall peristalsis"; when the information prompt unit displays the words "normal cavity wall peristalsis", the voice prompt unit can output voice information containing "normal cavity wall peristalsis".

[0148] From the above, it can be seen that a detection system provided by an embodiment of the present application includes a parameter determination unit and a first detection unit. The parameter determination unit determines the gas injection state of the air pump and the motion parameters of the cavity wall of the digestive tract during the endoscopic examination of the user's digestive tract. After that, the first detection unit performs state detection on the digestive tract according to the gas injection state and the motion parameters to obtain the state detection result of the digestive tract. The detection system provided by the present application combines the gas injection state and the motion parameters of the cavity wall of the digestive tract to achieve accurate detection of the state of the user's body, that is, improves the detection accuracy of the detection system.

[0149] See also Figure 4 , Figure 4 It is a specific structural diagram of a parameter determination unit in a detection system provided in an embodiment of the present application.

[0150] like Figure 4 As shown, the parameter determination unit 21 in this embodiment specifically includes:

[0151] The first image acquisition unit 211 is used to acquire a set number of consecutive frames of cavity wall images of the digestive tract (such as Figure 5 Step S1011 shown).

[0152] The second detection unit 212 is used to detect the cavity wall images of the set number of consecutive frames to obtain motion parameters (such as Figure 5 Step S1012 shown).

[0153] In this embodiment, during the process of the endoscope 10 examining the user's digestive tract, the first image acquisition unit 211 in the parameter determination unit 21 acquires a set number of continuous frame wall images of the user's digestive tract through the endoscope 10. The set number of frames can be determined according to actual needs and is not limited here.

[0154] It should be noted that the continuous setting of the number of frames can be to obtain all frames within a preset time. The preset time can be determined according to actual needs and is not limited here. Exemplarily, the preset time can be any time between [1 second, 3 seconds].

[0155] After obtaining the cavity wall images of the continuous set number of frames, the first image acquisition unit 211 sends the cavity wall images of the continuous set number of frames to the second detection unit 212. The second detection unit 212 detects the cavity wall images of the continuous set number of frames to obtain motion parameters.

[0156] As an embodiment of the present application, the motion parameters include, but are not limited to, any one or more of the peristaltic amplitude, peristaltic frequency, and the number of abnormal peristaltic directions.

[0157] Among them, the peristaltic amplitude refers to the amplitude data of the peristalsis of the cavity wall during the peristalsis of the digestive tract. The peristaltic frequency refers to the frequency data of the peristalsis of the cavity wall during the peristalsis of the digestive tract. The peristaltic direction refers to the direction of the peristalsis of the cavity wall during the peristalsis of the digestive tract. The number of abnormal peristaltic direction refers to the number of times the direction of the peristalsis of the cavity wall is abnormal.

[0158] The embodiments of the present application do not impose too many restrictions on the specific quantification methods of peristaltic amplitude, peristaltic frequency, and the number of abnormal peristaltic direction. Theoretically, any quantification method that can reflect the peristaltic characteristics of the digestive tract can be used, and the specific method can be determined based on actual conditions.

[0159] For example, for the peristaltic amplitude, you can choose to use the sum of the degree of change of each pixel in the cavity wall image for a consecutive set number of frames as the numerical value of the peristaltic amplitude; or you can use parameters such as the mean or variance of the degree of change of each pixel in the cavity wall image for a consecutive set number of frames that can reflect the peristaltic amplitude to a certain extent as the numerical value of the peristaltic amplitude.

[0160] For another example, for peristaltic frequency, it can be the ratio between the number of frames with abnormal peristaltic amplitude and the number of consecutive set frames in the cavity wall image with consecutive set frames. It should be noted that abnormal peristaltic amplitude specifically refers to each peristaltic amplitude being greater than a set threshold. The set threshold can be determined according to actual needs and is not limited here.

[0161] Specifically, after obtaining the cavity wall image of the set number of frames continuously, the second detection unit 212 can identify and quantify the cavity wall image of the set number of frames continuously according to the setting method to obtain motion parameters. Among them, the embodiment of the present application does not make too many restrictions on the specific setting method, which can be selected or set according to actual needs. For example, in some embodiments, the setting method includes but is not limited to optical flow algorithm and neural network algorithm. In other optional embodiments, a simpler quantization method can also be used to realize motion parameter calculation, which is not too limited here.

[0162] In practical applications, the optical flow algorithm refers to a method that uses the changes in the time domain of pixels in an image sequence and the correlation between adjacent frames to find the corresponding relationship between the previous frame and the current frame, thereby calculating the motion information of objects between adjacent frames. The optical flow algorithm includes but is not limited to the dense optical flow algorithm and the sparse optical flow algorithm.

[0163] It can be seen from the above that the detection system provided in this embodiment can obtain accurate cavity wall motion parameters by detecting cavity wall images of the digestive tract for a set number of consecutive frames.

[0164] In actual applications, under different gas injection states, the peristalsis of the cavity wall of the user's digestive tract will be different, that is, the peristalsis law of the cavity wall of the user's digestive tract under different gas injection states is different. Therefore, in order to further improve the detection accuracy of the digestive tract state and obtain a more accurate state detection result, in one embodiment of the present application, refer to Figure 6 , Figure 6 Schematic diagram of the specific structure of the first detection unit in the detection system provided by an embodiment of the present application. Figure 6 As shown, the first detection unit 22 in this embodiment specifically includes:

[0165] The first threshold value acquisition unit 221 is used to acquire the target detection threshold value associated with the gas injection state; wherein the target detection threshold values ​​associated with different gas injection states are not completely the same (e.g. Figure 7 Step S1021 shown).

[0166] The first processing unit 222 is used to process the motion parameters based on the target detection threshold to obtain the digestive tract state detection result (such as Figure 7 Step S1022 shown).

[0167] In this embodiment, since the peristalsis of the cavity wall of the user's digestive tract will be different under different gas injection states, the detection system 20 can pre-store state detection conditions under different gas injection states. The state detection conditions can be set according to actual needs and are not limited here.

[0168] In some possible embodiments, the state detection condition may include: comparing the motion parameter with a corresponding preset detection threshold, wherein the preset detection threshold may be determined according to actual needs and is not limited here.

[0169] Based on this, after the first detection unit 22 receives the gas injection state and motion parameters sent by the parameter determination unit 21, the first threshold acquisition unit 221 in the first detection unit 22 can obtain the relationship between the different gas injection states pre-stored in the detection system 20 and the preset detection threshold, and obtain the target detection threshold associated with the gas injection state according to the gas injection state of the air pump at this time.

[0170] It should be noted that the target detection thresholds associated with different gas injection states are not exactly the same.

[0171] In one embodiment of the present application, when the motion parameters include multiple types, for any one of the motion parameters, the target detection threshold associated with the motion parameter is not completely the same under different gas injection states.

[0172] In some possible embodiments, when the gas injection states include before gas injection, during gas injection and after gas injection, and the motion parameters include peristaltic amplitude, since the air pressure in the user's digestive tract is relatively small before gas injection and the endoscope is in the process of advancing, the content of each frame of the image acquired through the endoscope will change, resulting in a large change in the peristaltic amplitude calculated based on each frame of the image.

[0173] During gas injection, the air pressure in the user's digestive tract gradually increases, and the front end of the endoscope is in a relatively static state. At this time, the cavity wall is stimulated by the gas injection and the number of peristalsis increases. However, at the same time, it is compressed by the air pressure, resulting in a small peristaltic amplitude, so that the content of each frame of the image obtained through the endoscope is not much different, resulting in a small peristaltic amplitude calculated based on each frame of the image.

[0174] After gas injection, the air pressure in the user's digestive tract is higher than that before gas injection, and at this time, the stimulation of gas injection during gas injection is reduced, that is, the pressure of air pressure is less than the pressure during gas injection, so that although the content in each frame of image acquired through the endoscope does not change as much as before gas injection, the change is still greater than during gas injection, resulting in the peristaltic amplitude calculated based on each frame of image being less than the change before gas injection, but greater than the change during gas injection.

[0175] Based on this, in this embodiment, the target detection threshold of the peristaltic amplitude associated with before gas injection is greater than the target detection threshold of the peristaltic amplitude associated with gas injection, and greater than the target detection threshold of the peristaltic amplitude associated with after gas injection; the target detection threshold of the peristaltic amplitude associated with after gas injection is greater than the target detection threshold of the peristaltic amplitude associated with gas injection. In other words, Rpre>Rpost>Rgas injection. Among them, Rpre represents the target detection threshold of the peristaltic amplitude associated with before gas injection, Rgas injection represents the target detection threshold of the peristaltic amplitude associated with gas injection, and Rpost represents the target detection threshold of the peristaltic amplitude associated with after gas injection.

[0176] In other possible embodiments, when the gas injection state includes before gas injection, during gas injection and after gas injection, and the movement parameter includes peristaltic frequency, since gas injection will stimulate the digestive tract, resulting in increased peristalsis, and at the same time the compression of air pressure causes the amplitude of peristalsis during gas injection to become smaller (that is, it is easier to be judged as abnormal peristalsis, and thus counted into the frequency range), therefore, in order to avoid misjudgment caused by excessive sensitivity to frequency detection during gas injection, the target detection threshold of the peristaltic frequency associated with before gas injection and the target detection threshold of the peristaltic frequency associated with after gas injection are both smaller than the target detection threshold of the peristaltic frequency associated with during gas injection.

[0177] It should be noted that the target detection threshold of the peristaltic frequency associated with before gas injection may be greater than the target detection threshold of the peristaltic frequency associated with after gas injection, or may be less than the target detection threshold of the peristaltic frequency associated with after gas injection, or may be equal to the target detection threshold of the peristaltic frequency associated with after gas injection, and there is no limitation here.

[0178] In some other possible embodiments, for the scope of the endoscope lens, the movement direction of the digestive tract wall from far to near is normal, and the movement direction from near to far is abnormal. During gas injection, the increase in air pressure will cause the wall of the digestive tract near to peristalsis, resulting in a situation from near to far, which may be misjudged as abnormal peristalsis. Therefore, the state of the digestive tract can only be determined when the abnormal peristalsis direction is identified several times in a row.

[0179] Based on this, when the gas injection state includes before gas injection, during gas injection and after gas injection, and the motion parameter includes the number of abnormal peristaltic direction times, since when the gas injection state is during gas injection, the increase in air pressure will cause the cavity wall of the nearby digestive tract to peristalsis, thereby occurring from near to far. Therefore, the target detection threshold of the number of abnormal peristaltic direction times associated with before gas injection and the target detection threshold of the number of abnormal peristaltic direction times associated with after gas injection are both smaller than the target detection threshold of the number of abnormal peristaltic direction times associated with during gas injection.

[0180] It should be noted that the target detection threshold of the number of abnormal peristaltic direction associated with before gas injection may be greater than the target detection threshold of the number of abnormal peristaltic direction associated with after gas injection, or may be less than the target detection threshold of the number of abnormal peristaltic direction associated with after gas injection, or may be equal to the target detection threshold of the number of abnormal peristaltic direction associated with after gas injection, and there is no limitation here.

[0181] In this embodiment, after acquiring the target detection threshold associated with the gas insufflation state, the first threshold acquisition unit 221 may send the target detection threshold to the first processing unit 222. After receiving the target detection threshold, the first processing unit 222 processes the motion parameter according to the target detection threshold to obtain a state detection result of the digestive tract.

[0182] Specifically, the first processing unit 222 may compare the target detection threshold with the motion parameter, and determine the digestive tract state detection result according to the comparison result.

[0183] In some possible embodiments, when the gas injection state is before gas injection and the movement parameters include peristaltic amplitude, the first processing unit 222 may compare the target detection threshold of the peristaltic amplitude associated with before gas injection with the specific numerical value of the peristaltic amplitude; when the gas injection state is during gas injection and the movement parameters include peristaltic amplitude, the first processing unit 222 may compare the target detection threshold of the peristaltic amplitude associated with during gas injection with the specific numerical value of the peristaltic amplitude; when the gas injection state is after gas injection and the movement parameters include peristaltic amplitude, the first processing unit 222 may compare the target detection threshold of the peristaltic amplitude associated with after gas injection with the specific numerical value of the peristaltic amplitude.

[0184] In other possible embodiments, when the gas injection state is before gas injection and the motion parameters include peristaltic frequency, the first processing unit 222 may compare the target detection threshold of the peristaltic frequency associated with before gas injection with the specific numerical value of the peristaltic frequency; when the gas injection state is during gas injection and the motion parameters include peristaltic frequency, the first processing unit 222 may compare the target detection threshold of the peristaltic frequency associated with during gas injection with the specific numerical value of the peristaltic frequency; when the gas injection state is after gas injection and the motion parameters include peristaltic frequency, the first processing unit 222 may compare the target detection threshold of the peristaltic frequency associated with after gas injection with the specific numerical value of the peristaltic frequency.

[0185] In some further possible embodiments, when the gas injection state is before gas injection and the motion parameters include the number of abnormal peristaltic direction times, the first processing unit 222 may compare the target detection threshold of the number of abnormal peristaltic direction times associated with before gas injection with the specific numerical value of the number of abnormal peristaltic direction times; when the gas injection state is during gas injection and the motion parameters include the number of abnormal peristaltic direction times, the first processing unit 222 may compare the target detection threshold of the number of abnormal peristaltic direction times associated with during gas injection with the specific numerical value of the number of abnormal peristaltic direction times; when the gas injection state is after gas injection and the motion parameters include the number of abnormal peristaltic direction times, the first processing unit 222 may compare the target detection threshold of the number of abnormal peristaltic direction times associated with after gas injection with the specific numerical value of the number of abnormal peristaltic direction times.

[0186] It should be noted that, when the motion parameters include multiple types, the first processing unit 222 may compare each motion parameter with its corresponding target detection threshold one by one to obtain a comparison result of each motion parameter.

[0187] In this embodiment, when the first processing unit 222 detects that the comparison result is that the motion parameter is greater than the target detection threshold, it indicates that the cavity wall peristalsis of the user's digestive tract is abnormal, and therefore, the first processing unit 222 determines that the state detection result of the digestive tract is abnormal cavity wall peristalsis. When the first processing unit 222 detects that the comparison result is that the motion parameter is less than or equal to the target detection threshold, it indicates that the cavity wall peristalsis of the user's digestive tract is normal, and therefore, the first processing unit 222 determines that the state detection result of the digestive tract is normal.

[0188] Based on this, in one embodiment of the present application, when the motion parameters include the peristaltic amplitude and the peristaltic frequency, the first processing unit 222 may specifically include:

[0189] A first result determination unit is used to obtain a state detection result of abnormal cavity wall peristalsis when the motion parameters include peristalsis amplitude and peristalsis frequency, the peristalsis amplitude is greater than a target detection threshold corresponding to the peristalsis amplitude, and the peristalsis frequency is greater than a target detection threshold corresponding to the peristalsis frequency;

[0190] In this embodiment, when the first result determination unit detects that the peristaltic amplitude is greater than the target detection threshold corresponding to the peristaltic amplitude, and the peristaltic frequency is greater than the target detection threshold corresponding to the peristaltic frequency, it means that the peristaltic amplitude of the cavity wall of the user's digestive tract is too large, and the cavity wall peristalsis frequency is too high, that is, the cavity wall peristalsis of the digestive tract is abnormal. Therefore, the first result determination unit determines that the state detection result of the digestive tract is abnormal cavity wall peristalsis.

[0191] It should be noted that, in some possible embodiments, when the first result determination unit detects that the peristaltic amplitude is less than or equal to the target detection threshold corresponding to the peristaltic amplitude, and the peristaltic frequency is less than or equal to the target detection threshold corresponding to the peristaltic frequency, it indicates that the peristaltic amplitude and peristaltic frequency of the cavity wall of the user's digestive tract meet the requirements, that is, the peristalsis of the cavity wall of the digestive tract is normal. Therefore, the first result determination unit determines that the state detection result of the digestive tract is that the cavity wall peristalsis is normal.

[0192] In other possible embodiments, when the first result determination unit detects that the peristaltic amplitude is less than or equal to the target detection threshold corresponding to the peristaltic amplitude, and the peristaltic frequency is greater than the target detection threshold corresponding to the peristaltic frequency, it indicates that the peristaltic amplitude of the user's digestive tract wall meets the requirements, and the peristaltic frequency of the wall is misjudged due to the first result determination unit being too sensitive to frequency detection. In other words, the peristalsis of the digestive tract wall is actually normal. Therefore, the first result determination unit determines that the digestive tract state detection result is that the wall peristalsis is normal.

[0193] In some further possible embodiments, when the first result determination unit detects that the peristaltic amplitude is greater than the target detection threshold corresponding to the peristaltic amplitude, and the peristaltic frequency is less than or equal to the target detection threshold corresponding to the peristaltic frequency, it indicates that there is a misjudgment of the peristaltic amplitude of the user's digestive tract wall, and the peristaltic frequency of the wall meets the requirements, that is, the peristalsis of the digestive tract wall is actually normal. Therefore, the first result determination unit determines that the digestive tract state detection result is that the wall peristalsis is normal.

[0194] In another embodiment of the present application, when the motion parameter includes the number of abnormal peristalsis directions, the first processing unit 222 may further include:

[0195] The second result determination unit is used to obtain a state detection result of abnormal peristalsis of the cavity wall when the motion parameter includes the number of abnormal peristalsis directions and the number of abnormal peristalsis directions is greater than a target detection threshold value corresponding to the number of abnormal peristalsis directions.

[0196] In this embodiment, when the second result determination unit detects that the number of abnormal peristalsis direction is greater than the target detection threshold corresponding to the number of abnormal peristalsis direction, it means that the number of abnormal peristalsis direction of the cavity wall of the user's digestive tract is too many, that is, the cavity wall peristalsis of the digestive tract is abnormal. Therefore, the second result determination unit determines that the state detection result of the digestive tract is abnormal cavity wall peristalsis.

[0197] It should be noted that when the second result determination unit detects that the number of abnormal peristalsis direction is less than or equal to the target detection threshold corresponding to the number of abnormal peristalsis direction, it means that the number of abnormal peristalsis direction of the user's digestive tract wall meets the requirements, that is, the peristalsis of the digestive tract wall is normal. Therefore, the second result determination unit determines that the state detection result of the digestive tract is that the peristalsis of the cavity wall is normal.

[0198] In another embodiment of the present application, when the motion parameters include peristaltic amplitude, peristaltic frequency, and number of abnormal peristaltic directions, the first processing unit 222 may further include:

[0199] The third result determination unit is used to obtain a state detection result of abnormal peristalsis of the cavity wall when the motion parameters include peristaltic amplitude, peristaltic frequency and the number of abnormal peristaltic direction, the peristaltic amplitude is greater than the target detection threshold corresponding to the peristaltic amplitude, and the peristaltic frequency is greater than the target detection threshold corresponding to the peristaltic frequency, and / or the number of abnormal peristaltic direction is greater than the target detection threshold corresponding to the number of abnormal peristaltic direction.

[0200] In this embodiment, when the first result determination unit detects that the peristaltic amplitude is greater than the target detection threshold corresponding to the peristaltic amplitude, and the peristaltic frequency is greater than the target detection threshold corresponding to the peristaltic frequency, and / or the number of abnormal peristaltic direction is greater than the target detection threshold corresponding to the number of abnormal peristaltic direction, it indicates that the peristalsis of the cavity wall of the digestive tract is abnormal. Therefore, the third result determination unit determines that the state detection result of the digestive tract is abnormal cavity wall peristalsis.

[0201] It should be noted that when the third result determination unit detects that the peristaltic amplitude is less than or equal to the target detection threshold corresponding to the peristaltic amplitude, and / or the peristaltic frequency is less than or equal to the target detection threshold corresponding to the peristaltic frequency, and / or the number of abnormal peristaltic direction is less than or equal to the target detection threshold corresponding to the number of abnormal peristaltic direction, it indicates that the peristalsis of the cavity wall of the digestive tract is normal. Therefore, the third result determination unit determines that the state detection result of the digestive tract is that the cavity wall peristalsis is normal.

[0202] From the above, it can be seen that the detection system provided in this embodiment, since the movement patterns of the cavity wall of the user's digestive tract are different under different gas injection states, a more accurate state detection result can be obtained by acquiring a target detection threshold associated with the gas injection state and processing the motion parameters according to the target detection threshold.

[0203] See also Figure 8 , Figure 8 FIG. 1 is a schematic diagram of the structure of a detection system provided by another embodiment of the present application. Figure 8 As shown, the detection system 20 in this embodiment also includes:

[0204] The first data determination unit 23 is used to determine the current air pressure data of the digestive tract (such as Fig. 9 Step S103 shown).

[0205] The third detection unit 24 is used to detect the state of the digestive tract according to the current air pressure data, the gas injection state and the movement parameters, and obtain the state detection result (such as Fig. 9 Step S104 shown).

[0206] In practical applications, since the air pressure in the digestive tract will also affect the motion parameters of the cavity wall peristalsis, in this embodiment, the first data determination unit 23 in the detection system 20 can determine the current air pressure data of the user's digestive tract. The current refers to the moment when the parameter determination unit 21 in the detection system 20 determines the gas injection state of the air pump.

[0207] It should be noted that the current air pressure data may be quantitative data, such as a specific value, etc., or non-quantitative data, such as a level, a mode, etc.

[0208] In one embodiment of the present application, when the current air pressure data is quantified data, the first data determination unit 23 can obtain the pressure signal in real time through the pressure sensor located at the endoscope 10 connected thereto by wireless communication, and determine the current air pressure data according to the pressure signal.

[0209] In another embodiment of the present application, when the current air pressure data is non-quantitative data, the first data determination unit 23 can specifically determine the air pressure conditions in the digestive tract through the endoscopic image acquired in real time, and further determine the current air pressure data.

[0210] After obtaining the current air pressure data of the digestive tract, the first data determination unit 23 sends the current air pressure data to the third detection unit 24. After receiving the current air pressure data, the third detection unit 24 can perform state detection on the digestive tract according to the current air pressure data, the gas injection state and the motion parameters to obtain a state detection result.

[0211] In this embodiment, the third detection unit 24 determines the target detection threshold of the motion parameter in combination with the current air pressure data and the insufflation state, and compares the motion parameter with the target detection threshold to obtain a comparison result. Then, the third detection unit 24 determines the digestive tract state detection result according to the comparison result.

[0212] It should be noted that when the motion parameters are one or more of the peristaltic amplitude, peristaltic frequency, and abnormal number of peristaltic direction, the current air pressure data is negatively correlated with the peristaltic amplitude, the current air pressure data is positively correlated with the peristaltic frequency, and the current air pressure data is positively correlated with the abnormal number of peristaltic direction. In other words, the larger the current air pressure data, the smaller the peristaltic amplitude, and the smaller the target detection threshold of the peristaltic amplitude. The larger the current air pressure data, the larger the peristaltic frequency, and the larger the target detection threshold of the peristaltic frequency. The larger the current air pressure data, the larger the abnormal number of peristaltic direction, and the larger the target detection threshold of the abnormal number of peristaltic direction.

[0213] In another embodiment of the present application, excessive air pressure in the digestive tract may cause abdominal distension in the user and even induce other complications in the user. Therefore, in order to avoid excessive air pressure in the user's digestive tract and avoid complications in the user, the detection system 20 can control the air pump to stop or maintain air injection based on the current air pressure data of the digestive tract after determining the current air pressure data.

[0214] In this embodiment, the detection system 20 can detect whether the current air pressure data meets the set conditions, and control the air pump to stop or maintain air injection according to the detection result. The set conditions can be set according to actual needs and are not limited here.

[0215] In one embodiment of the present application, when the current air pressure data is quantized data, the setting condition may be: the current air pressure data is less than the air pressure threshold value, wherein the air pressure threshold value may be determined according to actual needs and is not limited here.

[0216] In another embodiment of the present application, when the current air pressure data is non-quantized data, the set condition may be: the current air pressure data is lower than a set level, wherein the set level may be determined according to actual needs and is not limited here.

[0217] Based on this, when the current air pressure data does not meet the set conditions, the detection system 20 outputs a first prompt message for prompting the operator to control the air pump to stop gas injection; when the current air pressure data meets the set conditions, the detection system 20 outputs a second prompt message for prompting the operator to control the air pump to maintain the gas injection action.

[0218] In yet another embodiment of the present application, the detection system 20 may further include an information prompting unit (not shown in the figure).

[0219] Therefore, the detection system 20 controls the information prompt unit to display the above-mentioned first prompt information and second prompt information. Exemplarily, when the detection system 20 outputs the first prompt information, the information prompt unit can display the words "stop gas injection" to let the operator know that the air pressure in the user's digestive tract is too high at this time, and it is necessary to control the air pump to stop gas injection; when the detection system 20 outputs the second prompt information, the information prompt unit can display the words "maintain gas injection" to let the operator know that the air pressure in the user's digestive tract is normal at this time, and the air pump can be controlled to maintain gas injection.

[0220] In one implementation of this embodiment, the information prompt unit may include a voice prompt unit. Therefore, when the information prompt unit displays the words "stop gas injection", the voice prompt unit can output a voice message containing "stop gas injection"; when the information prompt unit displays the words "maintain gas injection", the voice prompt unit can output a voice message containing "maintain gas injection".

[0221] It can be seen from the above that the detection system provided in this embodiment, based on the gas injection state and movement parameters, further combines the current air pressure data of the digestive tract to detect the state of the user's digestive tract, thereby further improving the detection accuracy of the user's digestive tract.

[0222] See also Fig.10 , Fig.10 is a schematic diagram of the specific structure of the first data determination unit in the detection system provided by an embodiment of the present application. Fig.10 As shown, the first data determining unit 23 in this embodiment specifically includes:

[0223] The second data determination unit 231 is used to determine the initial air pressure data of the digestive tract and the air pressure increase range (such as Fig.11 Step S1031 shown).

[0224] The third data determination unit 232 is used to determine the current air pressure data (such as Fig.11 Step S1032 shown).

[0225] In this embodiment, the initial air pressure data refers to the air pressure data of the digestive tract when the air pump starts to inject air.

[0226] The air pressure increase amplitude refers to the degree of increase of the air pressure in the digestive tract from the moment when the air pump starts to inject air to the moment when the first data determination unit 23 needs to determine the current air pressure data.

[0227] It should be noted that the initial air pressure data and the air pressure increase range can be quantitative data, such as specific values, etc., or non-quantitative data, such as levels, modes, etc.

[0228] In one embodiment of the present application, when the initial air pressure data is quantified data, the second data determination unit 231 can obtain in real time the pressure signal when the air pump starts to inject air through a pressure sensor located at the endoscope 10 that is wirelessly connected to it, and determine the initial air pressure data based on the pressure signal.

[0229] In another embodiment of the present application, when the air pressure increase amplitude is quantified data, the second data determination unit 231 can obtain in real time through a pressure sensor located at the endoscope 10 wirelessly connected to it the pressure signal when the air pump starts to inject gas and the pressure signal at the moment when the first data determination unit 23 needs to determine the current air pressure data, and determine the air pressure increase amplitude based on the pressure signal when the air pump starts to inject gas and the pressure signal at the moment when the current air pressure data needs to be determined.

[0230] In yet another embodiment of the present application, when the initial air pressure data is non-quantized data, the second data determining unit 231 may specifically include:

[0231] The second image acquisition unit is used to acquire a first image and a second image of the digestive tract; wherein the first image refers to an endoscopic image of the digestive tract when the air pump starts to inflate gas; and the second image refers to an endoscopic image of the digestive tract during the infusion process.

[0232] The fourth data determining unit is used to determine initial air pressure data according to the first image.

[0233] The fifth data determination unit is used to determine the increase range of air pressure according to the first image and the second image.

[0234] In this embodiment, when the pressure sensor is not installed in the detection system, when the second data determination unit 231 needs to determine the initial air pressure data and the air pressure increase amplitude of the user's digestive tract, the second image acquisition unit in the second data determination unit 231 can acquire the first image and the second image of the digestive tract. The first image refers to the endoscopic image of the digestive tract when the air pump starts to inflate; the second image refers to the endoscopic image of the digestive tract during the inflation process.

[0235] In one implementation of this embodiment, when the air pump starts to inflate, the air pump will send an instruction to the detection system 20 to start the air pump inflation. Therefore, when the second image acquisition unit receives the first instruction sent by the air pump to indicate that the air pump starts to inflate, it can determine that the air pump starts to inflate. At this time, the second image acquisition unit can use the endoscopic image frame collected at the first moment as the first image based on the first instruction. The first moment specifically refers to the moment when the second image is acquired when the above-mentioned first instruction is received.

[0236] After obtaining the first image and the second image, the second image acquisition unit may send the first image to the fourth data determination unit, and send the first image and the second image to the fifth data determination unit.

[0237] After receiving the first image, the fourth data determination unit may input the first image into a trained air pressure detection model for processing to determine the air pressure level corresponding to the first image, and determine the air pressure level as initial air pressure data.

[0238] It should be noted that the air pressure detection model is used to detect the air pressure level of the digestive tract in the endoscopic image. The air pressure detection model can be obtained by training a pre-constructed neural network model based on a preset sample set. Among them, each sample data in the preset sample set includes a sample endoscopic image and the air pressure level corresponding to the sample endoscopic image. When training the pre-constructed neural network model, the sample endoscopic image in each sample is used as the input of the neural network model, and the air pressure level corresponding to the sample endoscopic image in each sample is used as the output of the neural network model. Through training, the neural network model can learn all possible correspondences between endoscopic images and air pressure levels. After that, the trained neural network model is used as the air pressure detection model.

[0239] After receiving the first image and the second image, the fifth data determination unit calculates the degree of change between the first image and the second image according to a preset algorithm, and determines the increase amplitude of the air pressure according to the degree of change.

[0240] Afterwards, the fourth data determination unit sends the initial air pressure data to the third data determination unit 232, and the fifth data determination unit sends the air pressure increase amplitude to the third data determination unit 232. After receiving the initial air pressure data and the air pressure increase amplitude, the third data determination unit 232 sums the initial air pressure data and the air pressure increase amplitude, and determines the current air pressure data with the summation result.

[0241] From the above, it can be seen that the detection system provided in this embodiment determines the initial air pressure data by acquiring the first image of the digestive tract, and determines the air pressure increase amplitude by the first image and the second image. There is no need to install a pressure sensor in the detection system to obtain the air pressure data of the user's digestive tract, thereby reducing costs.

[0242] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0243] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0244] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated in one processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit, and the above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

[0245] Corresponding to the detection system described in the above embodiment, a detection method provided by the embodiment of the present application is shown below. For the sake of convenience, only the part related to the embodiment of the present application is shown. Specifically, the detection method includes:

[0246] Acquire a set number of continuous frames of cavity wall images of the digestive tract;

[0247] The cavity wall images of the set number of frames are detected to obtain motion parameters.

[0248] In one embodiment of the present application, the detection method further comprises:

[0249] Determine current air pressure data of the digestive tract;

[0250] Accordingly, the digestive tract is tested according to the gas injection state and the motion parameters to obtain a digestive tract test result, including:

[0251] The state of the digestive tract is detected according to the current air pressure data, gas injection state and movement parameters to obtain the state detection result.

[0252] In one embodiment of the present application, determining the motion parameters of the cavity wall of the digestive tract includes:

[0253] Acquire a set number of continuous frames of cavity wall images of the digestive tract;

[0254] The cavity wall images of the set number of frames are detected to obtain motion parameters.

[0255] In one embodiment of the present application, the gas injection state includes at least two states; the digestive tract state detection is performed according to the gas injection state and the motion parameter to obtain the digestive tract state detection result, including:

[0256] Obtaining a target detection threshold associated with a gas injection state; wherein the target detection thresholds associated with different gas injection states are not completely the same;

[0257] Based on the target detection threshold, the motion parameters are processed to obtain the state detection result of the digestive tract.

[0258] In one embodiment of the present application, the motion parameters include multiple parameters, and for a single motion parameter, the associated target detection threshold is not completely the same under different gas injection states, thereby improving the accuracy of subsequent processing of the motion parameter according to the target detection threshold.

[0259] In one embodiment of the present application, the motion parameters include multiple parameters, and for a single motion parameter, the associated target detection thresholds are not completely the same under different gas injection states.

[0260] In one embodiment of the present application, the gas injection state includes before gas injection, during gas injection, and after gas injection, and the motion parameter includes peristaltic amplitude;

[0261] Correspondingly, the target detection threshold of the peristaltic amplitude associated with before gas injection is greater than the target detection threshold of the peristaltic amplitude associated with gas injection, and greater than the target detection threshold of the peristaltic amplitude associated with after gas injection; the target detection threshold of the peristaltic amplitude associated with after gas injection is greater than the target detection threshold of the peristaltic amplitude associated with gas injection, so that in different subsequent gas injection states, the peristaltic amplitude of the cavity wall of the digestive tract in the user's body can be flexibly detected according to different target detection thresholds to obtain accurate state detection results.

[0262] In one embodiment of the present application, the gas injection state includes before gas injection, during gas injection, and after gas injection, and the motion parameter includes peristaltic frequency;

[0263] Accordingly, the target detection threshold of the peristaltic frequency associated with the gas injection before and the target detection threshold of the peristaltic frequency associated with the gas injection after are both lower than the target detection threshold of the peristaltic frequency associated with the gas injection. This allows the peristaltic frequency of the cavity wall of the digestive tract in the user's body to be flexibly detected according to different target detection thresholds in different gas injection states, so as to obtain accurate state detection results.

[0264] In one embodiment of the present application, the gas injection state includes before gas injection, during gas injection, and after gas injection, and the motion parameter includes the number of abnormal peristaltic direction;

[0265] Accordingly, the target detection threshold of the number of abnormal peristaltic movements associated with the gas injection before and the target detection threshold of the number of abnormal peristaltic movements associated with the gas injection after are both smaller than the target detection threshold of the number of abnormal peristaltic movements associated with the gas injection. This allows the number of abnormal peristaltic movements of the cavity wall of the digestive tract in the user's body to be flexibly detected according to different target detection thresholds in different gas injection states, so as to obtain accurate state detection results.

[0266] In one embodiment of the present application, the motion parameter includes at least one parameter of peristaltic amplitude, peristaltic frequency and number of abnormal peristaltic direction; the motion parameter is processed based on the target detection threshold to obtain the digestive tract state detection result, including:

[0267] When the motion parameters include peristaltic amplitude and peristaltic frequency, the peristaltic amplitude is greater than the target detection threshold corresponding to the peristaltic amplitude, and the peristaltic frequency is greater than the target detection threshold corresponding to the peristaltic frequency, a state detection result of abnormal cavity wall peristalsis is obtained.

[0268] In one embodiment of the present application, the motion parameter includes at least one parameter of peristaltic amplitude, peristaltic frequency and number of abnormal peristaltic direction; the motion parameter is processed based on the target detection threshold to obtain the digestive tract state detection result, including:

[0269] When the motion parameter includes the number of abnormal peristalsis directions, the number of abnormal peristalsis directions is greater than a target detection threshold corresponding to the number of abnormal peristalsis directions, and a state detection result of abnormal peristalsis of the cavity wall is obtained.

[0270] In one embodiment of the present application, the motion parameter includes at least one parameter of peristaltic amplitude, peristaltic frequency, and number of abnormal peristaltic directions;

[0271] Correspondingly, the current air pressure data is negatively correlated with the peristaltic amplitude, the current air pressure data is positively correlated with the peristaltic frequency, and the current air pressure data is positively correlated with the number of abnormal peristaltic directions, so that the detection system can accurately detect the movement parameters according to the current air pressure data.

[0272] In one embodiment of the present application, determining current air pressure data of the digestive tract includes:

[0273] Determine the initial air pressure data and the pressure increase range of the digestive tract;

[0274] The current air pressure data is determined based on the initial air pressure data and the air pressure increase amplitude.

[0275] In one embodiment of the present application, determining the initial air pressure data and the air pressure increase amplitude of the digestive tract includes:

[0276] Acquire a first image and a second image of the digestive tract; wherein the first image refers to an endoscopic image of the digestive tract when the air pump starts to inflate gas; and the second image refers to an endoscopic image of the digestive tract during the inflation process;

[0277] Determining initial air pressure data according to the first image;

[0278] The increase amplitude of the air pressure is determined according to the first image and the second image.

[0279] In one embodiment of the present application, acquiring a first image of the digestive tract includes:

[0280] receiving a first instruction from the air pump; the first instruction is used to indicate that the air pump starts to inject air;

[0281] According to the first instruction, the endoscopic image frame acquired at the first moment is used as the first image.

[0282] In one embodiment of the present application, the detection method further comprises:

[0283] According to the current air pressure data, the air pump is controlled to stop or maintain air injection.

[0284] In one embodiment of the present application, according to the current air pressure data, controlling the air pump to stop air injection or maintain air injection includes:

[0285] When the current air pressure data does not meet the set conditions, a first prompt message is output; the first prompt message is used to prompt the operator to control the air pump to stop gas injection;

[0286] When the current air pressure data meets the set conditions, a second prompt message is output; the second prompt message is used to prompt the operator to control the air pump to maintain the air injection action.

[0287] It should be noted that the specific working processes of the above-mentioned method embodiments can refer to the corresponding processes of the above-mentioned system embodiments, which will not be repeated here.

[0288] Fig.12 This is a schematic diagram of the structure of an image processing device provided by an embodiment of the present application. Fig.12 As shown, the image processing device 12 of this embodiment includes: at least one processor 50 ( Fig.12 Only one is shown in the figure) a processor, a memory 51, and a computer program 52 stored in the memory 51 and executable on the at least one processor 50, the processor 50 executes the computer program 72 to implement the above Figure 3 , Figure 5 , Figure 7 and / or Fig. 9 Corresponding steps in any one of the detection method embodiments.

[0289] The image processing device may include, but is not limited to, a processor 50 and a memory 51. Those skilled in the art will appreciate that Fig.12 It is only an example of the image processing device 5 and does not constitute a limitation of the image processing device 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.

[0290] The processor 50 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0291] In some embodiments, the memory 51 may be an internal storage unit of the image processing device 5, such as the memory of the image processing device 5. In other embodiments, the memory 51 may also be an external storage device of the image processing device 5, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the image processing device 5. Further, the memory 51 may also include both the internal storage unit of the image processing device 5 and the external storage device. The memory 51 is used to store an operating system, an application program, a boot loader (BootLoader), data and other programs, such as the program code of the computer program, etc. The memory 51 may also be used to temporarily store data that has been output or is to be output.

[0292] It should be noted that the specific working process of the above-mentioned image processing device is the same as the corresponding process of the aforementioned detection system embodiments, and will not be repeated here.

[0293] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned various detection method embodiments can be implemented.

[0294] An embodiment of the present application provides a computer program product. When the computer program product runs on an image processing device, the image processing device can implement the steps in the above-mentioned various detection method embodiments when executing the computer program product.

[0295] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to the image processing device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0296] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0297] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A detection system, characterized in that: include: A parameter determination unit, used to determine the gas injection state of the air pump and the motion parameters of the cavity wall of the digestive tract during the process of endoscopic examination of the user's digestive tract; the air pump is used to inject gas into the digestive tract of the user; The first detection unit is used to detect the state of the digestive tract according to the gas injection state and the movement parameter to obtain a state detection result of the digestive tract.

2. The detection system according to claim 1, characterized in that: The detection system also includes: A first data determination unit, used to determine current air pressure data of the digestive tract; Correspondingly, the first detection unit is specifically used to: perform state detection on the digestive tract according to the current air pressure data, the gas injection state and the movement parameter to obtain the state detection result.

3. The detection system according to claim 1 or 2, characterized in that: The parameter determination unit specifically includes: A first image acquisition unit, used for acquiring a set number of consecutive frames of cavity wall images of the digestive tract; The second detection unit is used to detect the cavity wall images of the set number of consecutive frames to obtain the motion parameters.

4. The detection system according to claim 1 or 2, characterized in that: The gas injection state includes at least two states; the first detection unit specifically includes: A first threshold value acquisition unit is used to acquire a target detection threshold value associated with the gas injection state; wherein the target detection threshold values ​​associated with different gas injection states are not completely the same; The first processing unit is used to process the motion parameter based on the target detection threshold to obtain the state detection result of the digestive tract.

5. The detection system according to claim 4, characterized in that: The motion parameters include multiple parameters, and for a single motion parameter, the target detection threshold associated with the motion parameter is not completely the same under different gas injection states.

6. The detection system according to claim 5, characterized in that: The gas injection state includes before gas injection, during gas injection, and after gas injection, and the motion parameter includes peristalsis amplitude; Correspondingly, the target detection threshold of the peristaltic amplitude associated with the before gas injection is greater than the target detection threshold of the peristaltic amplitude associated with the during gas injection, and is greater than the target detection threshold of the peristaltic amplitude associated with the after gas injection; the target detection threshold of the peristaltic amplitude associated with the after gas injection is greater than the target detection threshold of the peristaltic amplitude associated with the during gas injection.

7. The detection system according to claim 5, characterized in that: The gas injection state includes before gas injection, during gas injection, and after gas injection, and the motion parameter includes peristaltic frequency; Correspondingly, the target detection threshold of the peristaltic frequency associated with the before gas injection and the target detection threshold of the peristaltic frequency associated with the after gas injection are both smaller than the target detection threshold of the peristaltic frequency associated with the during gas injection.

8. The detection system according to claim 5, characterized in that: The gas injection state includes before gas injection, during gas injection, and after gas injection, and the motion parameter includes the number of abnormal peristalsis directions; Correspondingly, the target detection threshold of the number of abnormal peristaltic direction associated with the gas injection before the gas injection and the target detection threshold of the number of abnormal peristaltic direction associated with the gas injection after the gas injection are both smaller than the target detection threshold of the number of abnormal peristaltic direction associated with the gas injection.

9. The detection system according to claim 5, characterized in that: The motion parameter includes at least one parameter of peristalsis amplitude, peristalsis frequency and number of abnormal peristalsis directions; the first processing unit specifically includes: A first result determination unit is used to obtain a state detection result of abnormal cavity wall peristalsis when the motion parameters include the peristalsis amplitude and the peristalsis frequency, the peristalsis amplitude is greater than the target detection threshold corresponding to the peristalsis amplitude, and the peristalsis frequency is greater than the target detection threshold corresponding to the peristalsis frequency; and / or, The second result determination unit is used to obtain the state detection result of the abnormal peristalsis of the cavity wall when the motion parameter includes the abnormal number of peristalsis directions and the abnormal number of peristalsis directions is greater than the target detection threshold corresponding to the abnormal number of peristalsis directions.

10. The detection system according to claim 2, characterized in that: The motion parameters include at least one parameter of peristalsis amplitude, peristalsis frequency and number of abnormal peristalsis directions; Correspondingly, the current air pressure data is negatively correlated with the peristaltic amplitude, the current air pressure data is positively correlated with the peristaltic frequency, and the current air pressure data is positively correlated with the number of abnormal peristaltic directions.

11. A detection method, characterized in that: include: During the process of endoscopically examining the digestive tract of a user, determining the gas injection state of the air pump and the motion parameters of the cavity wall of the digestive tract; the air pump is used to inject gas into the digestive tract of the user; The state of the digestive tract is detected according to the gas injection state and the motion parameter to obtain a state detection result of the digestive tract.

12. An image processing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the detection method according to claim 11 is implemented.

13. An endoscope system, comprising a display device, a light source device, and the detection system and the endoscope according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Layered gas injection process pipe column and use method thereof

    CN112943183A

  • Endoscope focusing method and device, endoscope image processor and readable storage medium

    CN114785948A

  • Universal digestive endoscope working air pressure monitoring and recording method

    CN116712017A

  • Method and device for determining infiltration depth grade of abnormal region of stomach

    CN116740007A

  • Deflation probe especially for endoscope has a perforated section inserted via the working duct of the endoscope

    DE102006037094A1