Image processing method, device, equipment, medium and endoscope system
By using image processing methods and systems in endoscopy to display inspection maps, load inspection paths, and mark head-end positions, the problem of endoscopy relying on doctor experience is solved, and inspection efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202011332245.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-24
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-11-24
AI Technical Summary
Existing endoscopic clinical examinations rely on the experience of doctors, resulting in high requirements for doctors' experience and operation, which limits the popularity of endoscopy in primary hospitals.
Provide an image processing method and system that reduces the complexity of doctors' operations by displaying an endoscopy map on a display device, acquiring and loading the inspection path, marking the end position of the endoscope lens in real time, and providing navigation information at the bifurcation path. Sex and experience required.
Through image processing methods and systems, endoscopic examinations reduce the experience and operational requirements of doctors, allowing grassroots doctors to perform endoscopic examinations more conveniently, and improving examination efficiency and accuracy.
Smart Images

Figure CN112465763B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of endoscopes, and in particular to an image processing method, an image processing apparatus, an image processing device, a computer-readable storage medium and an endoscope system for providing endoscopic inspection navigation information. Background Art
[0002] Existing endoscopic clinical examinations can only rely on the doctor's experience, specifically based on the depth of the endoscope or the acquired images to determine the current part being examined and the part to be reached. Therefore, existing endoscopic examinations have strict requirements on the doctor's experience, which limits the popularization of endoscopic examinations in primary hospitals. Summary of the invention
[0003] The purpose of this application is to provide an image processing method, an image processing device, an image processing equipment, a computer-readable storage medium and an endoscope system to reduce the requirements of endoscopic examination on the doctor's examination experience and operation experience. The specific scheme is as follows:
[0004] The present application provides an image processing method for providing endoscopic inspection navigation information, comprising:
[0005] displaying the endoscopy map on a display device;
[0006] Acquire an inspection path, and load the inspection path onto the endoscopic inspection map, wherein the inspection path is a path formed by a plurality of designated inspection sites in the endoscopic inspection map;
[0007] Obtain the endoscope tip position in real time;
[0008] marking the position of the head end with a tracking marker on the endoscopy map;
[0009] When the tracking mark reaches a branched path in the endoscope inspection map, navigation information indicating the advancing direction of the endoscope is loaded on the display device based on the inspection path.
[0010] Preferably, the obtaining inspection path includes:
[0011] Reading the endoscope body type of the endoscope;
[0012] A plurality of designated inspection locations corresponding to the scope type are determined, and the inspection path is formed based on the plurality of designated inspection locations.
[0013] Preferably, the method further comprises:
[0014] When the tracking mark reaches any of the designated inspection sites, a possibility of missed inspection is prompted for the designated inspection site based on the inspection information of the endoscope at the tracking mark.
[0015] Preferably, the inspection information includes any one or more of: dwell time, image quality of the acquired endoscopic image, and a matching degree between an illumination mode corresponding to the acquired endoscopic image and a specified illumination mode.
[0016] Preferably, the method further comprises:
[0017] Acquire an image set corresponding to the designated inspection part;
[0018] When the image set includes a lesion image, a lesion possibility prompt is performed for the designated examination site.
[0019] Preferably, the method further comprises:
[0020] Acquire an image set corresponding to the designated inspection part;
[0021] forming an image set icon corresponding to the image set at the designated examination site;
[0022] When it is detected that the image set icon is triggered, the endoscopic images in the image set are displayed.
[0023] Preferably, the method further comprises:
[0024] When an export instruction is received, the currently formed endoscopy map is saved and exported.
[0025] The present application provides an image processing device for providing endoscopic inspection navigation information, comprising:
[0026] A map reading module, used for displaying an endoscopy map on a display device;
[0027] a path loading module, used for acquiring an inspection path and loading the inspection path on the endoscope inspection map, wherein the inspection path is a path formed by a plurality of designated inspection sites in the endoscope inspection map;
[0028] A head end position acquisition module is used to acquire the head end position of the endoscope in real time;
[0029] A head end position identification module, used to mark the head end position with a tracking mark on the endoscope inspection map;
[0030] An operation prompt module is used to load navigation information indicating the direction of the endoscope on the display device based on the inspection path when the tracking mark reaches a bifurcated path in the endoscope inspection map.
[0031] Preferably, the image processing device further comprises: a missed detection prompting module, configured to:
[0032] When the tracking mark reaches any of the designated inspection sites, a possibility of missed inspection is prompted for the designated inspection site based on the inspection information of the endoscope at the tracking mark.
[0033] Preferably, the image processing device further comprises: a lesion prompting module, which is used to:
[0034] Acquire an image set corresponding to the designated inspection part;
[0035] When the image set includes a lesion image, a lesion possibility prompt is performed for the designated examination site.
[0036] The present application provides an image processing device, which is communicatively connected to an endoscope and a display device respectively, and the image processing device includes:
[0037] Memory for storing computer programs;
[0038] A processor is used to implement the image processing method as described in any one of the above when executing the computer program.
[0039] The present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the image processing method as described in any one of the above items is implemented.
[0040] The present application provides an endoscope system, comprising:
[0041] an endoscope, the endoscope comprising an endoscope head end;
[0042] display device; and,
[0043] The image processing device as described above is communicatively connected to the endoscope and the display device respectively.
[0044] The present application provides an image processing method for providing endoscopic inspection navigation information, comprising: displaying an endoscopic inspection map on a display device; acquiring an inspection path, and loading the inspection path on the endoscopic inspection map, wherein the inspection path is a path formed by a plurality of designated inspection sites in the endoscopic inspection map; acquiring the head end position of the endoscope in real time; marking the head end position with a tracking marker on the endoscopic inspection map; and when the tracking marker reaches a bifurcated path in the endoscopic inspection map, loading navigation information indicating the direction of advance of the endoscope on the display device based on the inspection path.
[0045] It can be seen that the present application displays an endoscopic inspection map on a display device, and loads an inspection path formed by multiple designated inspection sites in the endoscopic inspection map onto the endoscopic inspection map, wherein the multiple designated inspection sites are determined based on the experience of professional doctors, so that primary care doctors can clearly understand the approximate inspection path of this inspection before conducting an endoscopic inspection, thereby reducing the requirements for the doctor's inspection experience for endoscopic inspection; in addition, during the process of endoscopic inspection, the present application also marks the head end position on the endoscopic inspection map with a tracking mark. When the tracking mark reaches the bifurcated path, the direction of advance of the endoscope is prompted according to the inspection path, thereby reducing the requirements for the doctor's operating experience for endoscopic inspection.
[0046] The present application also provides an image processing device, an image processing equipment, a computer-readable storage medium and an endoscope system, all of which have the above-mentioned beneficial effects and will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0048] Figure 1 A flowchart of an image processing method provided in an embodiment of the present application;
[0049] Figure 2 A flowchart of image set acquisition and lesion possibility prompting provided in an embodiment of the present application;
[0050] Figure 3 A schematic diagram of the process of generating and triggering an image set provided in an embodiment of the present application;
[0051] Figure 4 A schematic diagram of the structure of an image processing device provided in an embodiment of the present application;
[0052] Figure 5 A schematic diagram of the structure of an image processing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0054] Existing endoscopic clinical examinations can only rely on the doctor's experience, specifically based on the depth of the endoscope or the acquired images to determine the current part being examined and the part to be reached. Therefore, existing endoscopic examinations have strict requirements on the doctor's experience, which limits the popularization of endoscopic examinations in primary hospitals.
[0055] In view of this, embodiments of the present application provide an image processing method, an image processing apparatus, an image processing device, a computer-readable storage medium, and an endoscope system.
[0056] Among them, the image processing method is used to provide endoscopic inspection navigation information, including: displaying an endoscopic inspection map on a display device; obtaining an inspection path, and loading the inspection path on the endoscopic inspection map, wherein the inspection path is a path formed by multiple designated inspection parts in the endoscopic inspection map; obtaining the head end position of the endoscope in real time; marking the head end position with a tracking marker on the endoscopic inspection map; when the tracking marker reaches a bifurcated path in the endoscopic inspection map, based on the inspection path, loading navigation information indicating the forward direction of the endoscope on the display device.
[0057] The present application displays an endoscopic inspection map on a display device, and loads an inspection path formed by multiple designated inspection parts in the endoscopic inspection map determined based on the experience of professional doctors onto the endoscopic inspection map. Furthermore, during the endoscopic inspection process, the head end position is also marked with a tracking marker on the endoscopic inspection map. When the tracking marker reaches a forked path, the direction of advance of the endoscope is prompted according to the inspection path, which can reduce the requirements of the doctor's inspection experience and operating experience for the endoscopic inspection.
[0058] The following is a detailed description of an image processing method, an image processing device, an image processing equipment, a computer-readable storage medium and an endoscope system provided in an embodiment of the present application in conjunction with the drawings of the specification.
[0059] Please refer to Figure 1 , Figure 1A flowchart of an image processing method provided in an embodiment of the present application, for providing endoscopic inspection navigation information, specifically comprising:
[0060] S101, displaying an endoscopy inspection map on a display device;
[0061] The executor of this embodiment is an image processing device, which can provide one or more input and output interfaces for users. The input and output interfaces are connected to the input device. The device is also connected to the endoscope through the device port to receive data information collected by the endoscope through the device port.
[0062] In this embodiment, the display device is used to display the endoscopic inspection map, and of course, it can also display the scale of the relevant image display, the operation time and the relevant inspection information. The display device is connected to the image processing device using a preset interface to transmit data. The endoscopic inspection map can be an image generated based on the human body structure and is applicable to all people; of course, it should be understood that the image processing method provided in the embodiment of the present application can also be applied to the inspection of veterinary endoscopes, and correspondingly, its endoscopic inspection map can be formed based on the internal structure of the animal to be inspected.
[0063] S102, obtaining an inspection path, and loading the inspection path on an endoscope inspection map, wherein the inspection path is a path formed by a plurality of designated inspection sites in the endoscope inspection map;
[0064] The inspection path is used to specify the parts that must be inspected in this inspection (ie, the "designated inspection parts" described in this embodiment) and the path.
[0065] In specific implementation, multiple inspection paths corresponding to different endoscopic inspection types / needs / requirements can be determined in advance with reference to the advice of experienced doctors, and the corresponding relationship can be pre-stored in the memory of the image processing device; when an endoscopic inspection is required, the corresponding inspection path is matched based on the type / needs / requirements of this endoscopic inspection. The inspection path can be displayed on the endoscopic inspection map in the form of points connecting multiple designated inspection parts into lines. The connection can be in the form of dotted arrows or solid arrows. Of course, the color can be selected from any color such as black, red, blue, etc.
[0066] Among them, since different scope types usually correspond to different endoscopic inspection needs or requirements, therefore, in an achievable implementation, in order to improve the efficiency of the inspection, the inspection path can be automatically determined according to the scope type. Specifically, obtaining the inspection path includes:
[0067] Read the endoscope body type;
[0068] A plurality of designated inspection locations corresponding to the scope type are determined, and an inspection path is formed based on the plurality of designated inspection locations.
[0069] Among them, the image processing device obtains the endoscope identification information sent by the device port, and the endoscope identification information uniquely determines the endoscope body type. The endoscope identification information can specifically be UDI (Unique Device Identification) or IP address. The endoscope body types include but are not limited to: gastroscopes, colonoscopes, duodenoscopes, bronchoscopes, nasopharyngeal laryngoscopes, etc. The inspection path corresponding to the endoscope body type is determined according to the endoscope body type. The inspection path corresponding to each endoscope includes a preset plurality of designated inspection sites, and the inspection path is composed of a plurality of designated inspection sites. It is worth noting that such designated inspection sites are sites that often need to be focused on during the corresponding endoscopic examination process. They can be selected by experienced endoscopists and stored in advance in the memory to achieve the replication of the operating experience of professional doctors.
[0070] It is understandable that there are multiple inspection paths preset in the system, such as the gastroscope inspection path corresponding to the gastroscope; the colonoscope inspection path corresponding to the colonoscope; the duodenoscope inspection path corresponding to the duodenoscope; the bronchoscope inspection path corresponding to the bronchoscope; and the nasopharyngeal laryngoscope inspection path corresponding to the nasopharyngeal laryngoscope. When performing an endoscopic examination, the scope type of the endoscope is read, and the inspection path is matched from the preset path set in the system according to the scope type, and then the inspection path is loaded and displayed on the endoscopic inspection map on the display device. It can be seen that in this embodiment, each scope type corresponds to multiple designated inspection sites, and then an inspection path is formed based on the multiple designated inspection sites, and then the corresponding inspection path is displayed on the endoscopic inspection map, which can improve the efficiency and accuracy of determining the inspection path, avoid the occurrence of missed selection and wrong selection caused by artificial selection of the inspection site, improve the inspection efficiency, reduce the requirements for doctor experience, and guide doctors with insufficient doctor experience to perform endoscopic inspection operations.
[0071] In a feasible implementation, in this embodiment, the inspection path is automatically determined according to the scope type. Specifically, obtaining the inspection path includes: obtaining a navigation instruction of the endoscope, the navigation instruction including a plurality of designated inspection parts; and determining the inspection path according to the plurality of designated inspection parts.
[0072] S103, obtaining the position of the endoscope head in real time;
[0073] The “head end position” refers to the position currently reached by the endoscope head end during the endoscopic examination.
[0074] Specifically, in a feasible implementation, the position of the endoscope tip can be determined by sensing the entry depth of the endoscope body.
[0075] In another feasible implementation, image data can also be collected in real time through an endoscope and sent to an image processing device. The image processing device uses a pre-trained AI (Artificial Intelligence) position diagnosis system (or AI part recognition system) to diagnose the image data and obtain the head end position of the endoscope.
[0076] S104, marking the position of the head end with a tracking mark on the endoscope inspection map;
[0077] In this embodiment, after determining the location where the head end of the endoscope has currently reached, a tracking mark for the endoscope head end is marked at a position corresponding to the location on the endoscope inspection map, which is used to present the positioning and tracking of the endoscope head end on the endoscope inspection map.
[0078] Specifically, the tracking mark marks the position of the head end in such a way that when the head end of the endoscope reaches a certain part, the part is marked with a preset color and / or a preset marking image on the endoscope inspection map. For example, the tracking mark on the endoscope inspection map is a red dot to indicate that the head end of the endoscope reaches the part, or a red triangle or a green triangle can be displayed, and the user can customize the setting.
[0079] S105. When the tracking mark reaches a bifurcated path in the endoscope inspection map, navigation information indicating the advancing direction of the endoscope is loaded on a display device based on the inspection path.
[0080] The endoscope inspection map includes a plurality of paths, and this embodiment instructs the endoscope to move forward according to the determined inspection path.
[0081] In an achievable implementation, loading navigation information indicating the direction of the endoscope on the display device may specifically include superimposing a mark of the direction of the endoscope on the currently displayed endoscope image, for example, using an arrow to display the direction so that the operator can clearly know the inspection direction.
[0082] In another achievable implementation, loading navigation information indicating the direction of the endoscope on the display device may specifically include: providing operation instructions for the endoscope in other display areas. The other display areas refer to other display areas other than the area where the inspection path is located, and the operation instructions may include information on the next designated inspection site, the direction of the bending operation mechanism of the endoscope, etc.
[0083] Furthermore, in order to facilitate the user to understand the endoscopic inspection status of each designated inspection position, and to be able to take corresponding measures in time when missed inspection occurs to reduce the missed inspection rate, the method may also include:
[0084] S106. When the tracking mark reaches any designated inspection site, a possibility of missed inspection is prompted for the designated inspection site based on the inspection information of the endoscope at the tracking mark.
[0085] Among them, when the tracking mark reaches the designated inspection part, that is, when the head end of the endoscope reaches the designated inspection part, a possible missed inspection prompt is given based on the inspection information of the endoscope at that position.
[0086] Specifically, when inspecting a designated inspection site, the inspection information corresponding to the endoscope at the designated inspection site is obtained, the missed detection information of the designated inspection site is determined based on the inspection information, and the possibility of missed detection is prompted based on the missed detection information. The missed detection information may include the missed detection probability of the designated inspection site; the missed detection probability may be a specific percentage value or a degree of missed detection. The missed detection information may include the missed detection probability of the designated inspection site and detection-related information; the detection-related information includes the detection time, detection department, and detection person, etc. When doctors make a comprehensive diagnosis based on endoscopic images, they can use the detection-related information as reference information to facilitate traceability.
[0087] Furthermore, the inspection information includes any one or more of the following: dwell time, image quality of the acquired endoscopic image, and a matching degree between an illumination mode corresponding to the acquired endoscopic image and a designated illumination mode.
[0088] Therefore, in some embodiments, step S106 may include: when the tracking mark reaches any designated inspection site, providing a possibility of missed inspection for the designated inspection site according to the dwell time of the endoscope at the tracking mark.
[0089] The dwell time is the time that the endoscope head end stays at the designated examination site, which can reflect the length of time / carefulness of the doctor's observation of the designated examination site.
[0090] Among them, the way to obtain the dwell time can be to start timing when the endoscope head end is just at the designated inspection site until the time when the next designated inspection site is detected. This method will have deviations, but it can be used as a reference to calculate the dwell time. For another example, the way to obtain the dwell time can be to calculate the dwell time of the endoscope head end at the designated inspection site based on the number of consecutive times at the designated inspection site fed back by the AI position diagnosis system, and then calculate the dwell time of the endoscope head end at the designated inspection site based on the time interval diagnosed by the AI position diagnosis system.
[0091] The probability of missed detection is determined according to the dwell time. For example, when the dwell time of the endoscope head end at the designated inspection part is much less than the set inspection time (the set inspection time is greater than the dwell time, and the absolute value of the difference between the two is greater than the first preset threshold), it is determined that the probability of missed detection is large. Further, the possibility of missed detection can be prompted by setting the missed detection possibility mark at the designated inspection part on the inspection path to red, indicating that the possibility of missed detection is large; if the dwell time is only slightly shorter than the set inspection time (the set inspection time is greater than the dwell time, and the absolute value of the difference between the two is less than the second preset threshold), the possibility of missed detection can be prompted by setting the missed detection possibility mark at the designated inspection part on the inspection path to yellow, indicating that there is a certain risk of missed detection; if the dwell time is greater than or equal to the set inspection time, it is displayed in green, indicating that the inspection of the part is basically completed and the risk of missed detection is low. Among them, the set inspection time, the first preset threshold, the second preset threshold and their corresponding relationship with the possibility of missed detection can be determined by referring to the advice of experienced doctors, thereby realizing the replication of the experience of professional doctors, standardizing the operating habits of doctors, and avoiding missed detection due to insufficient inspection experience of doctors. In addition, it should be understood that, corresponding to different designated inspection parts, different set inspection times, first preset thresholds, second preset thresholds and their corresponding relationships with the possibility of missed inspections may be set.
[0092] In other embodiments, step S106 may further include: when the tracking mark reaches any designated inspection site, providing a possible missed inspection prompt for the designated inspection site based on the image quality of the endoscopic image collected by the endoscope at the tracking mark.
[0093] Among them, an endoscopic image of a designated inspection site is obtained, and the quality of the endoscopic image is determined. It is understandable that when the designated inspection site is stayed for a short time, the image quality may be low due to the unstable position of the endoscope. Moreover, if the quality of the acquired endoscopic image is low, it may also affect the doctor's judgment. Therefore, this embodiment determines the probability of missed detection by image quality.
[0094] When the endoscope head reaches the designated inspection site, the user will inspect the site and use the endoscope to collect multiple endoscopic images of the designated inspection site. The specific method may be to save the endoscopic image through an image freeze command, or to save the corresponding endoscopic image at multiple angles or in multiple lighting modes. Determining the image quality of the endoscopic image may specifically include: obtaining a preset number of endoscopic images of the designated inspection site for image quality evaluation, and taking the mean of the image quality evaluation as the image quality of the designated inspection site. The preset number of endoscopic images may be all endoscopic images collected at the designated inspection site, or may be any selection of multiple endoscopic images, or may be a selection of one of the endoscopic images. The user may make a custom selection.
[0095] The image quality evaluation method of the endoscope image may be to check the image brightness and the image exposure ratio, and after obtaining the image quality, determine the missed detection probability according to the image quality.
[0096] The process of determining image quality using image brightness specifically includes: determining the average brightness of the pixels of the endoscopic image, taking the average brightness as the image brightness, and determining the image quality according to the range to which the image brightness belongs, and each image brightness range corresponds to an image quality. It can be understood that when the image brightness of the endoscopic image is too dark, the corresponding detailed image cannot be clearly displayed, and the image quality is worse.
[0097] The process of determining the image quality using the exposure ratio of the image specifically includes: determining the ratio of the white area to the entire area in the endoscopic image, using the ratio as the exposure ratio, and determining the image quality according to the range of the exposure ratio, and each exposure ratio range corresponds to an image quality. It can be understood that the larger the proportion of the white area, the less effective information in the image and the worse the image quality.
[0098] Each image quality corresponds to a missed detection probability; for example, when the image quality is a, the missed detection probability is a, and when the image quality is b, the missed detection probability is b. In another achievable implementation, the image quality range in which the image quality is located is determined, and the missed detection probability is determined according to the image quality range. It can be seen that in this embodiment, the missed detection probability can be determined according to the image quality, the operation is convenient, and the missed detection probability is determined efficiently and accurately.
[0099] In some other embodiments, step S106 may further include: when the tracking marker reaches any designated inspection site, providing a possible missed inspection prompt for the designated inspection site according to the matching degree between the illumination mode corresponding to the acquired endoscopic image and the designated illumination mode.
[0100] Among them, the endoscopic image in the inspection information of the specified inspection part is obtained, and the illumination mode corresponding to the endoscopic image is determined; the specified illumination mode of the inspection information of the specified inspection part is matched with the illumination mode to obtain a matching result; and the probability of missed detection of the specified inspection part is determined according to the matching result.
[0101] It is understandable that different designated inspection parts may correspond to different designated illumination modes. For example, the designated illumination modes corresponding to designated inspection part 1 include conventional illumination mode, special illumination mode 1 and special illumination mode 2; the designated illumination modes corresponding to designated inspection part 2 include conventional illumination mode and special illumination mode 1; the designated illumination modes corresponding to designated inspection part 3 include conventional illumination mode and special illumination mode 1. In this embodiment, an endoscopic image is acquired, its illumination mode is determined according to the image features of the endoscopic image, and the illumination mode is matched with the designated illumination mode to obtain a corresponding matching result, wherein the matching result includes the matching information corresponding to the matching success and matching failure. When the matching is successful, the designated inspection part is not missed. When the matching fails, the probability of missed detection is determined according to the matching information.
[0102] For example, it is determined that the illumination modes of the endoscopic image of the designated inspection part 1 are mode 1, mode 2, and mode 3, which respectively correspond to the designated illumination modes including the conventional illumination mode, special illumination mode 1, and special illumination mode 2. Therefore, the matching result is determined to be a successful match; when the illumination modes of the endoscopic image of the designated inspection part 1 are mode 1 and mode 2, which respectively correspond to the designated illumination modes including the conventional illumination mode and special illumination mode 1, but the special illumination mode 2 is missing. Therefore, it is determined that the matching result is a failed match. At this time, the weights corresponding to the multiple modes can be set, and the probability of missed detection can be determined based on the weights and matching information.
[0103] Among them, further elaboration is made on the possibility prompt of missed detection, which can be to use different color icons to indicate different missed detection probabilities, and of course, it can also be to only indicate the designated inspection parts where missed detection may occur; it can also be to play the missed detection information of the designated inspection position in the form of voice, wherein the missed detection information includes but is not limited to missed detection reminder information, designated inspection position, inspection time, missed detection probability, etc.; it can also be to send prompt information corresponding to the missed detection information to the client device, wherein the prompt information includes but is not limited to missed detection reminder information, designated inspection position, inspection time, missed detection probability, etc.; it can also be that the display device displays warning information corresponding to the missed detection information, so as to standardize the user's endoscopic inspection operation, and the warning information includes displaying a preset color on the screen, or appearing a warning picture.
[0104] Based on the above technical solution, this embodiment displays an endoscopic inspection map on a display device, and loads the inspection path formed by multiple designated inspection parts in the endoscopic inspection map determined according to the experience of professional doctors on the endoscopic inspection map. This allows primary care doctors to clearly understand the approximate inspection path of this inspection before conducting an endoscopic inspection, thereby reducing the requirements for the doctor's inspection experience for endoscopic inspection. In addition, during the process of endoscopic inspection, the present application also marks the head end position with a tracking mark on the endoscopic inspection map. When the tracking mark reaches the bifurcated path, the direction of advance of the endoscope is prompted according to the inspection path, thereby reducing the requirements for the doctor's operating experience for endoscopic inspection.
[0105] Furthermore, in order to remind doctors to focus on the examination sites where lesions may be present and further reduce the missed detection rate, please refer to Figure 2 , Figure 2 A flowchart of image set acquisition and lesion possibility prompting provided in an embodiment of the present application, the method further includes:
[0106] S107, obtaining an image set corresponding to a designated inspection part;
[0107] The image set of the designated inspection site is an image set of each designated inspection site, wherein the image set is an image (endoscopic image) corresponding to the location saved by an image freeze command or an endoscopic image automatically saved by the endoscope when an endoscopic inspection is performed at the designated inspection site. It is understandable that during endoscopic inspection, it may be necessary to change the angle at one location multiple times to obtain images at different angles, and it may also be necessary to adjust the lighting mode to perform targeted image acquisition to obtain images under different modes, and to form an image set by combining all the images or selecting specific images therein. The selection of specific images may be based on image quality, selecting images with high image quality under the same parameters, and selecting at least one under different parameters, or selecting multiple images with the same parameters where lesions appear.
[0108] S108. When the image set includes lesion images, a lesion possibility prompt is provided for the designated inspection site.
[0109] In this embodiment, a pre-trained AI lesion diagnosis system can be used to diagnose each endoscopic image in the image set to determine whether there is a lesion, the severity of the lesion, etc. If a lesion is identified in a certain endoscopic image, the endoscopic image is marked as a lesion image. When the AI lesion diagnosis system feedback image set contains a lesion image, a lesion possibility prompt mark can be generated near the designated inspection site to prompt the doctor to focus on the designated inspection site and confirm the lesion image to reduce the possibility of missed detection. Among them, the generation of the image set can be generated during the detection process, or after all endoscopic examinations are completed, all pictures are classified and sorted, and then the corresponding image set of the designated inspection site is obtained. Of course, prompt information can also be displayed in other display areas, and the prompt information at least includes the designated inspection site where the lesion image exists.
[0110] Based on the above scheme, designated inspection sites where lesions may occur can be highlighted on the endoscopic inspection map (or by other means) so that doctors can focus on observing and confirming the designated inspection sites, further reducing the missed detection rate.
[0111] Further, in order to facilitate users to view / retrace the pictures corresponding to the specified inspection parts, please refer to Figure 3 , Figure 3 The present invention provides a schematic diagram of the process of generating and triggering an image set in an embodiment of the present invention. Specifically, the image processing method further includes:
[0112] S109, obtaining an image set corresponding to a designated inspection part;
[0113] S110, forming an image set icon corresponding to the image set at the designated inspection site;
[0114] The image set icon can be an icon of any shape and / or color, can be set on a specified inspection site, and can also be displayed in other areas of the display interface that do not affect the inspection path. It can be understood that the image set is associated with the image set icon.
[0115] When each designated inspection part has an image set, the image set icons of all designated inspection parts may be the same. Alternatively, in order to be able to further distinguish whether there is a lesion image in the image set (that is, whether there is a lesion in the designated inspection part), it may also be possible to: use the first image set icon to associate the image set corresponding to the designated inspection part without lesions, and use the second image set icon to associate the designated inspection part with lesions. Furthermore, the second image set icon may include sub-icons of various lesion degrees, which are selected according to the degree of the lesion. Different image set icons may also be determined according to the location of the lesion or the degree of the lesion. This embodiment is no longer limited to this, and users may customize the settings as long as the purpose of this embodiment can be achieved.
[0116] S111. When it is detected that the image set icon is triggered, the endoscopic image in the image set is displayed.
[0117] The present embodiment does not limit the triggering conditions of the image set icon. Specifically, the image set icon may be triggered when the mouse clicks the image set icon; or the image set icon may be triggered when the mouse double-clicks the image set icon; or the image set icon may be triggered when the mouse is dragged to the image set icon; or the image set icon may be triggered when the image set icon is touched; or the image set icon may be triggered when keywords corresponding to the image set icon are collected; or the image set icon may be triggered when the preset operation key corresponding to the image set icon is typed on the keyboard; of course, there may be other forms, which will not be described in detail in this embodiment.
[0118] It can be understood that the image set icon is associated with a corresponding image set. When it is detected that the image set icon is triggered, the corresponding picture is displayed at a preset position on the display interface of the display device. The specific display method can be to display the pictures in the image set in full screen in sequence, or to display all the pictures in the image set in full screen. Of course, it can also be to display multiple pictures in the image set in sequence. Of course, it can also be limited to a specified position on the display interface. This embodiment will no longer be limited as long as the purpose of this embodiment can be achieved.
[0119] Based on the above technical solution, this embodiment generates an image set of designated inspection parts, and generates an image set icon corresponding to the image set on the inspection path, so that when the image set icon is detected to be triggered, the picture corresponding to the image set is displayed to form an endoscopic inspection record, which is convenient for users to review the images of each designated inspection part.
[0120] Furthermore, in order to facilitate the user to review the endoscopic inspection process, the image processing method provided in the embodiment of the present application may also include: when receiving an export instruction, saving and exporting the currently formed endoscopic inspection map. Among them, the "currently formed endoscopic inspection map" is a map including all inspection traces formed during the endoscopic inspection process, specifically including image sets corresponding to image set icons of each designated inspection part, identification of the designated inspection part that has been detected, and may also include missed inspection information of the designated inspection part, lesion possibility prompt information, etc. After the endoscopic inspection map is generated and exported, it is convenient for the user to review the endoscopic inspection process, self-check whether the inspection operation is standardized, and write an inspection report.
[0121] An image processing device provided in an embodiment of the present application is introduced below. The image processing device described below and the image processing method described above can be referred to each other. Figure 4 , Figure 4 A schematic diagram of the structure of an image processing device provided in an embodiment of the present application includes:
[0122] A map reading module 401, for displaying an endoscopy map on a display device;
[0123] A path loading module 402, used to obtain an inspection path and load the inspection path on an endoscope inspection map, wherein the inspection path is a path formed by a plurality of designated inspection sites in the endoscope inspection map;
[0124] The head end position acquisition module 403 is used to acquire the head end position of the endoscope in real time;
[0125] A head end position identification module 404, used to mark the head end position with a tracking identifier on the endoscope inspection map;
[0126] The operation prompt module 405 is used to load navigation information indicating the direction of the endoscope on the display device based on the inspection path when the tracking mark reaches the bifurcated path in the endoscope inspection map.
[0127] Preferably, the path loading module 402 includes:
[0128] A scope type reading unit, used for reading the scope type of the endoscope;
[0129] The path forming unit is used to determine a plurality of designated inspection locations corresponding to the scope type and to form an inspection path based on the plurality of designated inspection locations.
[0130] Preferably, the image processing device further comprises: a missed detection prompting module, configured to:
[0131] When the tracking mark reaches any of the designated inspection sites, a possibility of missed inspection is prompted for the designated inspection site based on the inspection information of the endoscope at the tracking mark.
[0132] Preferably, the inspection information includes any one or more of the following: dwell time, image quality of the acquired endoscopic image, and a matching degree between an illumination mode corresponding to the acquired endoscopic image and a specified illumination mode.
[0133] Preferably, the image processing device further comprises: a lesion prompting module, which is used to:
[0134] Acquire an image set corresponding to the designated inspection part;
[0135] When the image set includes a lesion image, a lesion possibility prompt is performed for the designated examination site.
[0136] Preferably, the image processing device further comprises: an image set icon forming and triggering module, configured to:
[0137] Obtain an image set corresponding to a specified inspection part;
[0138] forming an image set icon corresponding to the image set at the designated examination site;
[0139] When it is detected that the image set icon is triggered, the endoscopic images in the image set are displayed.
[0140] Preferably, the image processing device further comprises: an export module, configured to:
[0141] When an export instruction is received, the currently formed endoscopy map is saved and exported.
[0142] Since the embodiments of the image processing device part correspond to the embodiments of the image processing method part, the embodiments of the image processing device part refer to the description of the embodiments of the image processing method part, which will not be repeated here.
[0143] An image processing device provided in an embodiment of the present application is introduced below. The image processing device described below and the image processing method described above can be referred to each other. This embodiment provides an image processing device, please refer to Figure 5 , Figure 5 A schematic diagram of the structure of an image processing device provided in an embodiment of the present application includes:
[0144] Memory 601, used for storing computer programs;
[0145] The processor 602 is used to implement the image processing method described in any of the above embodiments when executing a computer program.
[0146] Specifically, the memory 601 includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium. The processor 602 provides computing and control capabilities for the image processing device, and when executing the computer program stored in the memory 601, any image processing method in the embodiments of the present application can be implemented.
[0147] Since the embodiments of the image processing device 101 part correspond to the embodiments of the image processing method part, the embodiments of the image processing device part refer to the description of the embodiments of the image processing method part, which will not be repeated here.
[0148] In another feasible embodiment, the image processing device may include: a memory 601 , a processor 602 , an input / output interface 603 , and a network port 604 .
[0149] Among them, the memory 601 includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium. The processor 602 can 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 gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The processor 602 provides computing and control capabilities for the image processing device, executes the computer program stored in the memory 601, and can implement the steps of the image processing method provided in the embodiment of the present application. The input and output interface 603 is used to obtain externally imported computer programs, parameters and instructions, which are saved in the memory 601 under the control of the processor 602. The input-output interface 603 can be connected to an input device to receive parameters or instructions manually input by a user. The input device can be an endoscope operating unit, a touch screen, or a keyboard, a touchpad, or a mouse. The user can start the image processing method through the input-output interface 603. The network port 604 is used to communicate with external terminal devices. The communication technology used in the communication connection can be a wired communication technology or a wireless communication technology, such as mobile high-definition link technology (MHL), universal serial bus (USB), high-definition multimedia interface (HDMI), wireless fidelity technology (WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, communication technology based on IEEE802.11s, etc. Specifically, in this embodiment, under normal networking conditions, authentication can be achieved by interacting with the client device through the network port 604.
[0150] Since the embodiments of the image processing device part correspond to the embodiments of the image processing method part, please refer to the description of the embodiments of the image processing method part for the embodiments of the image processing device part, and they are not repeated here.
[0151] A computer-readable storage medium provided in an embodiment of the present application is introduced below. The computer-readable storage medium described below and the image processing method described above can be referenced to each other.
[0152] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the image processing method described above are implemented.
[0153] Since the embodiments of the computer-readable storage medium part correspond to the embodiments of the image processing method part, the embodiments of the computer-readable storage medium part refer to the description of the embodiments of the image processing method part, which will not be repeated here.
[0154] An endoscope system medium provided in an embodiment of the present application is introduced below. The endoscope system described below and the image processing method described above can be referred to each other. This embodiment provides an endoscope system, including:
[0155] An endoscope, the endoscope comprising an endoscope head end, the endoscope head end being provided with a camera for collecting an endoscopic image of a subject;
[0156] display device; and,
[0157] As the above image processing device, the image processing device is communicatively connected with the endoscope and the display device respectively.
[0158] Since the embodiments of the endoscope system part correspond to the embodiments of the image processing method part, please refer to the description of the embodiments of the image processing method part for the embodiments of the endoscope system part, which will not be repeated here.
[0159] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0160] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0161] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0162] The above is a detailed introduction to an image processing method, apparatus, image processing device, computer-readable storage medium and endoscope system provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. An image processing method for providing endoscopic inspection navigation information, characterized in that: include: displaying the endoscopy map on a display device; Acquire an inspection path, and load the inspection path onto the endoscope inspection map, wherein the inspection path is a path formed by a plurality of designated inspection sites in the endoscope inspection map, and the designated inspection sites are sites that must be inspected in this inspection; Obtain the endoscope tip position in real time; marking the position of the head end with a tracking marker on the endoscopy map; When the tracking mark reaches a bifurcated path in the endoscope inspection map, based on the inspection path, navigation information indicating the advancing direction of the endoscope is loaded on the display device; When the tracking mark reaches any of the designated inspection sites, a possibility of missed inspection is prompted for the designated inspection site based on the inspection information of the endoscope at the tracking mark.
2. The image processing method according to claim 1, characterized in that: The obtaining inspection path comprises: Reading the endoscope body type of the endoscope; A plurality of designated inspection locations corresponding to the scope type are determined, and the inspection path is formed based on the plurality of designated inspection locations.
3. The image processing method according to claim 1, characterized in that: The inspection information includes: any one or more of the dwell time, the image quality of the collected endoscopic image, and the matching degree between the illumination mode corresponding to the collected endoscopic image and the specified illumination mode.
4. The image processing method according to claim 1, characterized in that: The method further comprises: Acquire an image set corresponding to the designated inspection part; When the image set includes a lesion image, a lesion possibility prompt is performed for the designated examination site.
5. The image processing method according to claim 1, characterized in that: The method further comprises: Acquire an image set corresponding to the designated inspection part; forming an image set icon corresponding to the image set at the designated examination site; When it is detected that the image set icon is triggered, the endoscopic images in the image set are displayed.
6. The image processing method according to any one of claims 1 to 5, characterized in that: The method further comprises: When an export instruction is received, the currently formed endoscopy map is saved and exported.
7. An image processing device for providing endoscopic inspection navigation information, characterized in that: include: A map reading module, used for displaying an endoscopy map on a display device; A path loading module, used for acquiring an inspection path and loading the inspection path on the endoscope inspection map, wherein the inspection path is a path formed by a plurality of designated inspection sites in the endoscope inspection map, and the designated inspection sites are sites that must be inspected in this inspection; A head end position acquisition module is used to acquire the head end position of the endoscope in real time; A head end position identification module, used to mark the head end position with a tracking mark on the endoscope inspection map; an operation prompt module, configured to load navigation information indicating the advancing direction of the endoscope on the display device based on the inspection path when the tracking mark reaches a bifurcated path in the endoscope inspection map; The missed inspection prompt module is used to provide a missed inspection possibility prompt for any designated inspection site according to the inspection information of the endoscope at the tracking mark when the tracking mark reaches any designated inspection site.
8. The image processing device according to claim 7, characterized in that: The image processing device further comprises: a lesion prompting module, which is used to: Acquire an image set corresponding to the designated inspection part; When the image set includes a lesion image, a lesion possibility prompt is performed for the designated examination site.
9. An image processing device, which is connected to an endoscope and a display device for communication, characterized in that: The image processing device comprises: Memory for storing computer programs; A processor, configured to implement the image processing method according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the image processing method according to any one of claims 1 to 6 is implemented.
11. An endoscope system, characterized in that: include: an endoscope, the endoscope comprising an endoscope head end; Display devices; as well as, The image processing device according to claim 9, wherein the image processing device is communicatively connected to the endoscope and the display device respectively.
