Methods and systems for image optimization for 3D endoscopes

The method and system for image optimization in 3D endoscopes address sensor contamination by dynamically switching to 2D mode and cleaning, ensuring uninterrupted visualization and reducing procedural interruptions.

US20260378056A1Pending Publication Date: 2026-11-26KARL STORZ SE & CO KG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/138459
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2022-12-13
Filing Date
2023-12-05
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Conventional 3D endoscopes face issues with contamination of image sensors, leading to impaired depth perception and discomfort for the user, necessitating extracorporeal cleaning that interrupts procedures and may require additional surgical interventions.

Method used

A method and system for image optimization using a control unit to analyze image data from multiple sensors, automatically switching to a two-dimensional playback mode when contamination is detected, and employing intracorporeal or extracorporeal cleaning to maintain optimal visibility.

Benefits of technology

Ensures uninterrupted visualization by dynamically adapting to sensor contamination, reducing the need for extracorporeal cleaning and minimizing procedural interruptions, thereby enhancing patient safety and surgical efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260378056A1-D00000_ABST
    Figure US20260378056A1-D00000_ABST
Patent Text Reader

Abstract

According to the invention, a method and a system for image analysis of image data captured by means of a 3D endoscope are provided. The method comprises the following steps: capturing first image data and second image data by means of at least one first image sensor or by means of a first and second image sensor of the 3D endoscope;wherein the captured first and second image data each comprise a two-dimensional image of a work region from different perspectives;receiving the image data by a control unit;wherein the control unit is configured to analyze the first and second image data in order to determine a quality value in each case;operating the 3D endoscope depending on a specific first and second quality value in a first playback mode or a second playback mode;wherein the control unit is configured to output three-dimensional image data of the work region based on the combination of the two two-dimensional images in the first playback mode; andwherein the control unit is configured to output a two-dimensional image of the work region based on the first image data or the second image data in the second playback mode.
Need to check novelty before this filing date? Find Prior Art

Description

The invention relates to methods and systems for image analysis and image optimization for a 3D endoscope, preferably comprising a stereoscope with two image sensors. Furthermore, a computer program product and a trained self-learning model are provided to carry out the steps of said method.TECHNOLOGICAL BACKGROUNDEndoscopes are well-known medical devices for examining cavities in a body or technical cavities. A commonly used type of endoscope has an optical system at the distal, i.e., body-facing, end of the endoscope and is configured to capture images and transmit them to the endoscope operator. In this way, endoscopes can be inserted into the cavities to be reached in patients to be examined through natural openings such as the oral cavity or through access created through a minimally invasive incision, and an image of at least one region of the cavity can be transmitted to the specialist staff. Endoscopes can also be used for inspection and navigation in technical cavities of pipelines or shafts.To compensate for the lack of depth information when using monocular endoscopes, various approaches are being pursued. The ever-increasing availability of powerful computers enables real-time monitoring of a selected work region in a body cavity for medical applications using three-dimensional image data that can be provided by 3D endoscopes with, for example, two CCD sensors at the distal end. In this way, depth perception of the work regions can be enabled and the operator of the 3D endoscope can better identify structures in order to be able to carry out more precise work steps regarding navigation, inspection or surgery.Known systems for capturing 3D images are so-called 3D endoscopes such as stereoscopes. Methods for obtaining 3D image data can be carried out using at least one image sensor or two image sensors arranged at the distal end of the endoscope.The 3D effect in a two-dimensional display device is usually created using the principle of stereoscopy. In this case, two image sensors of a 3D endoscope simulate the binocular vision of a person on a display device if the geometric dimensions such as the distance between the image sensors are known. This means that 3D images can be generated based on two two-dimensional images from different perspectives or from partial images that are offset horizontally from each other, so that a visual impression with depth information can be created, just like in natural vision.In principle, a distinction is made between the playback methods of 3D images with display devices in which no aids are required to perceive spatial depth (display or microdisplay(s) in glasses), and those methods that require aids such as 3D glasses in addition to the display device. There are several types of 3D glasses available as aids. 3D glasses with color-coded image separation or polarization methods, for example, are based on passive image separation. It should be noted that general knowledge about stereoscopy and playback methods can be found in specialist literature such as “Stereo-3D: Fundamentals, Technology and Image Design” by Holger Tauer, 2010, Berlin Schiele&Schoen ISBN 978-3-7949-0791-5 and will not be explained further here.

[0007] The following possible disadvantages exist when using 3D endoscopes in cavities of human or animal bodies: if the user works in situ, i.e., in a body cavity, a single image sensor or cover glass of a stereoscope can be contaminated, for example by particles, or at least partially covered by steam or smoke. Since the field of view of a single image sensor of a 3D endoscope is relatively small, even the smallest deposits of fat, which can be caused by unintentional tissue contact, or a few tissue particles, which can arise, for example, during electrosurgery, can severely impair the user's 3D impression and thus his vision. If an entire individual image sensor is covered, depth perception is no longer possible. In conventional systems, cleaning of the distal end of the endoscope is necessary in this situation. However, for this purpose it is regularly necessary to remove the endoscope from the body cavity and clean it extracorporeally. Therefore, an object is to achieve a reduction in working time by avoiding cleaning processes.

[0008] Extracorporeal cleaning of the endoscope at its distal end is disadvantageous in particular if complications arise and the user has to interrupt, for example, his diagnostic procedure or an operation as a result. In addition, extracorporeal cleaning also requires a certain amount of time, which must be taken into account in the overall duration of an operation. For example, if complications arise from a perforation of an artery, the bleeding must be stopped as quickly as possible and optimal visibility for the endoscope user must be restored quickly. If hemostasis cannot be achieved quickly, other surgical methods that involve open surgery may be necessary. This should be avoided as far as possible in order to keep the intervention for the patient as minimal as possible.

[0009] In particular, in binocular 3D endoscopes, in contrast to regular monocular endoscopes, it is possible that image deterioration, e.g., due to contamination, interfering objects, smoke or damage or other disturbing factors, affects the two image sensors unevenly. This may mean that only one objective or certain surfaces of one or both cover glasses are contaminated. Since minor contamination of the partial contamination can be tolerated by a user and a 3D display can be maintained without significant impairment, an object is to obtain information on the degree of contamination in order to avoid, for example, unnecessary cleaning. It can be helpful to determine whether an image sensor is completely or only partially contaminated and whether the degree of contamination varies between the respective image sensors.

[0010] When the 3D image is presented to the user using a 3D-capable display device or 3D glasses, asymmetry caused by interference, in the case of only one image sensor, can lead to discomfort for the viewer. Possible discomfort includes faster eye fatigue, headaches, nausea or dizziness. Even if the user of the 3D endoscope may not immediately notice such discomfort during an inspection or operation in the case of one-sided sensor deterioration, the surgeon's attention and concentration may suffer. Therefore, it is an object of the present invention to provide a method for ensuring optimal visibility conditions or quality during an operation.DESCRIPTION OF THE INVENTION

[0011] On the basis of the invention, at least one of the disadvantages mentioned should be overcome or the above-mentioned objects should be achieved better than with conventional 3D endoscopes. In this case, the aim is to ensure a clear and distinct visualization of the object field to be observed, wherein the user's work processes should not be interrupted or should only be interrupted briefly.

[0012] These objects are achieved with a method for image optimization, a control system, a computer program product and a trained, preferably self-learning model according to the features of the independent claims and the coordinated claims. Preferred embodiments of the invention emerge from the dependent claims.

[0013] The object of performing an in-situ examination or operation as uninterrupted as possible can be supported in a preferred embodiment by intracorporeal cleaning modules.

[0014] According to a first aspect of the invention, a method for image analysis of image data captured by means of a 3D endoscope, in particular for medical applications, is provided, comprising the following steps:

[0015] capturing first image data and second image data by means of at least one first image sensor or by means of a first and second image sensor of the 3D endoscope;

[0016] wherein the captured first and second image data each comprise a two-dimensional image of a work region from a different perspective;

[0017] receiving the image data by a control unit;

[0018] wherein the control unit is configured to analyze the first and second image data in order to determine a quality value in each case;

[0019] operating the 3D endoscope depending on the determined first and second quality value in a first playback mode or a second playback mode;

[0020] wherein the control unit is configured to output three-dimensional image data of the work region based on the combination of the two two-dimensional images, in the first playback mode; and wherein the control unit is configured to output a two-dimensional image of the work region based on the first image data or the second image data, in the second playback mode.

[0021] The at least one image sensor or two image sensors of the 3D endoscope each form a stereo instrument to capture a working region of any non-visible cavity from different perspectives. The term at least one image sensor also comprises the options of two, three, four or more image sensors. In other words, the examples mentioned, of one image sensor or two image sensors, are not to be understood as limiting. In this case, the stereo images generated by the 3D endoscope can be captured by a common image sensor if a right-hand and left-hand image are generated as stereoscopic half-images that are offset by a parallax. In the case of a single image sensor, this means that the first image data (e.g., right-hand image) and the second image data (left-hand image) are recorded from different spatial positions or angles, wherein the image sensor can have two separate light-sensitive surfaces for this purpose. In this context, the term “stereo” refers to the two image channels offset from each other by a distance, also called stereo base, needed to create a 3D image.

[0022] Alternatively, a first image sensor can capture first image data and a second image sensor can capture second image data in real time from different perspectives in order to also create a three-dimensional (3D) image. Image sensors typically include CCD (charge-coupled device) sensors with two-dimensional CCD arrays, CMOS sensors, or similar.

[0023] For example, if the user is working with a 3D endoscope with two image sensors, one of the image sensors can be assigned to the user's right eye (first image channel with first image data) and the other of the two image sensors can be assigned to the user's left eye (second image channel with second image data). If a cover glass of the two image sensors is contaminated or otherwise significantly impaired, a control unit uses an analysis to determine a quality value that differs from the quality value of an unimpaired image sensor. Based on the determined quality loss, a two-dimensional image can be output manually or automatically in a second playback mode on the basis of the image data of the sensor that does not show any change in the quality value. In other words, the user can manually or automatically switch to the two-dimensional second playback mode on the basis of the image data of the unimpaired image sensor, depending on a quality value automatically determined by the control unit.

[0024] If this switching occurs automatically, it is possible to dynamically switch to the image sensor that is not contaminated or otherwise impaired. As soon as two-dimensional images are presented to the user, no impairments such as headaches due to inadequate 3D representations are to be expected. A particular advantage of automatic switching is that the work of the 3D endoscope user is not interrupted.

[0025] Alternatively, the control unit can also issue a recommendation based on the determined quality value to switch to the second playback mode so that the user can manually switch to the second playback mode or to a 2D view. Any extracorporeal cleaning that may be necessary can be postponed if the remaining image sensor is still functional.

[0026] Various method steps of the method according to the invention, such as the analysis or the generation or calculation of the 3D images, can be computer-implemented and based on suitable image processing algorithms and / or software programs. The execution of the method steps can be carried out in different locations from the 3D endoscope itself, i.e., in a processor of a computer, a cloud and / or on decentralized servers. The playback of three-dimensional image data or two-dimensional image data can be carried out on a suitable playback or display device such as a display, monitor or suitable glasses which have a display for each eye.

[0027] When using 3D glasses with one microdisplay per eye, when the control unit switches from the first playback mode (output of 3D images) to the second playback mode (output of two-dimensional images), the poorer image data can be switched off, so that one eye would be black. According to an alternative embodiment, when switching to the second playback mode, the image data with the better quality value can be output to both eyes of the 3D glasses. The latter has the advantage that the perceived image brightness is not affected.

[0028] According to a preferred embodiment, the analysis of the first and second image data for determining the quality value comprises an image processing algorithm and / or a self-learning module for detecting at least one of the following events:

[0029] contamination, at least one interfering object; a loss of image quality, condensation, damage or smoke.

[0030] With the help of computer-implemented algorithms, even events unnoticed by the user can, as mentioned above, be automatically determined, thus preventing unintentional continuation in the first playback mode. Thus, as soon as an event disturbing a partial image is detected using the quality value, the image data of one image sensor of two image sensors not affected by the event or, in the case of a single image sensor, the image data of a first light-sensitive area of two surfaces, are displayed to the user in two dimensions. In this way, the second playback mode can be switched on manually or automatically to avoid irritation, pain or fatigue of the user.

[0031] The analysis of the first and second image data to determine the quality value using an image processing algorithm can be based on a wide variety of known image processing algorithms. In addition, self-learning modules can preferably be used in conjunction with training data, wherein the self-learning module can also use known image processing algorithms. For example, a self-learning module can use Gaussian methods to determine contamination or other disturbance events. See, in this respect, known literature, as an example of an algorithm for event classification C E Rasmussen, K. I. Williams, Gaussian Processes for Machine Learning, in MIT Press (2006).

[0032] In order to be able to recognize the event to be detected, the image data sets of the first and second image data can be analyzed, among other things for a deviation from the normal state or from the other partial image in each case. In this context, a wide variety of image processing algorithms can be used for anomaly detection. Classification problems can be addressed for example with the so-called “nearest neighbor” analysis (see, for example, T. Cover and P. Hart, Nearest neighbor pattern classification, in IEEE Trans. Information Theory (1967; 21-27.) This method classifies images according to their similarity to other images. With the help of the self-learning module, which is based on machine learning, data patterns can thus be recognized without the need for an exact match with patterns stored in a storage unit or images provided as training data.

[0033] According to a preferred embodiment of the method, the control unit determines that if only one of the two quality values is representative of at least one of the events contamination, interfering object, loss of image quality, condensation, damage or smoke, a two-dimensional image based on the image data, which is assignable to the other quality value, is automatically or manually output in the second playback mode.

[0034] In other words, if two image sensors are provided, the control unit determines that a quality value that can be assigned to the image data exclusively to one image sensor is representative of at least one of the events contamination, interfering object, image quality loss, condensation, damage or smoke, the 3D endoscope is operated automatically or manually in the second playback mode based on the image data of the other of the two image sensors.

[0035] According to a preferred embodiment of the method, the analysis of the first and second image data comprises determining an average image contrast in order to determine the quality value based on a comparison of the corresponding average image contrast by means of a visual threshold condition.

[0036] In this way, the corresponding quality value can be determined using known image processing algorithms. In this case, the average image contrast can be determined, for example, by analyzing whether a difference occurs (e.g., with the above-mentioned nearest neighbor analysis). For example, if smoke appears in front of one of two image sensors, the image contrast is lower compared with the normal image of the image sensor without smoke.

[0037] According to a preferred embodiment of the method, the average image contrast is determined by at least one of the following analysis methods:

[0038] histogram method, application of a Gaussian filter, pattern recognition, corner detection, edge detection and recognition of objects.

[0039] According to a preferred embodiment of the method, the first and second image data each comprise a plurality of colors occurring in the work region, wherein the analysis of the first and second image data each comprises the detection of an average color tone to determine the quality value based on a comparison of the most frequently occurring color from the plurality of colors with the corresponding average color tone.

[0040] In this way, an image processing algorithm can be used to determine the similarity between the first image data and the second image data using the color or color tone parameter. If a deviation or difference in the average color tone is greater than a specified threshold, the second playback mode can be activated for a two-dimensional image with the image data whose color tone does not reach the threshold and thus represents an average color tone typical for the work region.

[0041] According to a preferred embodiment of the method, the first and second image data each comprise a plurality of colors occurring in the work region, wherein if the most frequently occurring color among the plurality of colors is white or gray, smoke is detected; or if the most frequently occurring color among the plurality of colors is red, blood contamination is detected.

[0042] In this way, with the help of a color analysis of the image data, an event such as smoke or a blood splash that is limited to an image sensor or a light-sensitive surface of a single sensor can be determined and the affected image sensor or sensor surface can be switched off as part of the second playback mode.

[0043] Regarding the colors that occur, it should be noted in principle that the at least one image sensor or the plurality of image sensors for capturing the image data is or are sensitive to light that is visible to the human eye, according to a common application example. This comprises, for example, a wavelength range between 380 nm and 780 nm (nanometers), but this should not be understood as limiting. The color red is known to be in the high wavelength range between 620 nm and 780 nm.

[0044] In particular, the above-mentioned embodiment does not exclude other embodiments also being able to capture image data for observation in the infrared or near-infrared range or in the ultraviolet range. This is helpful, for example, when the 3D endoscope is used for so-called photodynamic procedures such as PDD (photodynamic diagnostics) or for fluorescence observation.

[0045] According to a preferred embodiment, the method further comprises the method step of automatically outputting a warning message when a control instruction for activating another playback mode is automatically output by the control unit.

[0046] This informs the user that the playback mode has been changed. This allows the user to be prepared for the fact that no further depth information is available in the second playback mode. On the other hand, after the disturbance event has been resolved, a return to the three-dimensional image can be indicated by means of a warning message. This allows the next work steps of the examination to be adapted to the corresponding playback mode and increases patient safety.

[0047] According to a preferred embodiment of the method, in a method step of the pre-analysis, the respective image data are subdivided into image portions, wherein the quality value can be determined for each of the image portions, wherein the control unit is configured to display exclusively the image portions with a permissible percentage of contamination or a permissible loss of quality, and / or to display at least the image portions that can be assigned to an image center of the corresponding image sensor.

[0048] By pre-analyzing at least a subset of the image data, such as an image portion, a local loss of quality with a corresponding quality value can be detected. A storage unit can provide data to determine a quality value for a given subset or image portion and thus permissible or impermissible contamination by comparing historical image data in the database.

[0049] Based on the pre-analysis of preferred regions or image portions, playback can be targeted for these regions or image portions. Depending on the quality value, the image center can be preferably displayed either two-dimensionally or three-dimensionally, since this is usually where the object to be examined is located and the user has a particular interest in the image being displayed optimally. If a 3D endoscope with two image sensors is provided, two-dimensional images of the not contaminated image sensor can be displayed depending on the contamination of only one image sensor, determined by the quality value.

[0050] According to a preferred embodiment of the method, on the basis of the determined quality value, control instructions are issued manually or automatically by the control unit for activating a cleaning module by means of fluid and / or gas, wherein the cleaning module is an activatable unit of the 3D endoscope for preferably intracorporeal cleaning or is provided as an extracorporeal unit.

[0051] In this way, depending on the contamination or other event, electively one or two image sensors or the associated light-sensitive surfaces can be cleaned intracorporeally or extracorporeally, wherein the cleaning process can be enabled manually or actuated automatically. In this case, the cleaning module is configured to clean at least one cover glass of an image sensor or parts thereof with at least one fluid. Suitable fluids for intracorporeal cleaning are preferably water or sodium chloride or another physiological fluid. A gaseous fluid is also chosen so that it is physiologically safe and biocompatible and can be, for example, carbon dioxide. With the cleaning module, a defined flushing quantity or volume of gas or liquid can be guided, preferably intracorporeally, through the shaft close to the respective image sensor surfaces with a predeterminable flushing pressure.

[0052] For example, if critical contamination has been detected using the quality value, the decision to clean can be made automatically and it is possible to signal to the cleaning module to open a fluid valve for a predetermined volume of gas or liquid (e.g., carbon dioxide or sodium chloride). As long as cleaning is limited to one image sensor or sensor partial surface, the other image sensor or sensor partial surface can continue to capture images for the second playback mode. After activation, the control unit can automatically give the control instruction to terminate the cleaning process and at the same time switch back to the first playback mode if cleaning is successful.

[0053] If the cleaning module has at least two fluid channels and associated nozzles, it is suitable for specifically cleaning one of two image sensors or two sensor partial surfaces with fluid and / or gas. In the case of one fluid channel per image sensor, it is necessary to switch between fluid and gas because only one channel is available per image sensor. If both cleaning methods (liquid cleaning and gas drying) are actuatable quickly one after the other, two fluid channels per image sensor are advantageous. In all configurations, the control unit can simultaneously control cleaning (liquid and / or gas) and a switch to the second playback mode. Switching to the sensor surface that is not to be cleaned prevents the operator from noticing the cleaning as a disturbance and allows them to continue to work with the two-dimensional image.

[0054] According to a preferred embodiment of the method, the control unit has a cleaning control algorithm which checks the cleaning effectiveness extracorporeally and / or intracorporeally with the activatable unit of the 3D endoscope for one or two image sensors, so that at least one two-dimensional image or one three-dimensional image can be reproduced with sufficiently good image quality or a repetition of the cleaning is activated.

[0055] According to a preferred embodiment, the method comprising a cleaning module is configured to adapt the type of cleaning by changing the cleaning parameters, depending on the degree of contamination, wherein one or more cleaning parameters are selected from a group comprising:

[0056] type of fluid, fluid volume, fluid volumes, fluid velocity, pressure, pulse duration, number of pulses, pulse-pause ratio and / or total cleaning duration. If the cleaning module is intracorporeal, it is possible to switch back to a first three-dimensional playback mode, depending on the determined improvement in the degree of contamination of both image sensors or both sensor surfaces of an image sensor.

[0057] According to a preferred embodiment of the method, the self-learning module determines, by means of an analysis based on artificial intelligence, at least one image structure from the image data of the corresponding image sensor or a sensor partial surface of an individual sensor, preferably using a neural network, in order to classify an event by means of the at least one determined image structure based on a comparison with image structures of a reference database, stored in a storage unit, in the event of a detected deviation.

[0058] A storage unit, which can be provided locally in the control unit or decentrally, e.g., via servers or networks, has at least one database for this purpose. This database comprises at least one reference database with image data comprising image structures that are indicative of an event such as contamination or damage.

[0059] According to a preferred embodiment of the method, the self-learning module comprises a model that is trained with training data of image structures stored in the storage unit, wherein the trained model of the self-learning module is trained to classify the image data into the following event-dependent database classes:

[0060] non-contaminated images,

[0061] contaminated images that can be cleaned intracorporeally;

[0062] contaminated images that can be cleaned by a cleaning module;

[0063] fogged images that can be dried by a module using gas;

[0064] smoky images, wherein the smoke can be extracted by an extraction module;

[0065] images with a loss of quality that can be optimized by other modules;

[0066] images that have one or more interfering objects; and / or

[0067] images that indicate at least one damage.

[0068] With the help of machine-trained database classes, a trained model can reliably and reproducibly classify current first or second image data of an examined work region. In this case, the trained model can recognize when events such as the above-mentioned ones, e.g., the appearance of interfering objects, have occurred. Furthermore, the database classes can be used to automatically determine whether a recognized image structure to be examined has changed, for example, due to smoke, condensate or contamination or other interference factors. For this purpose, the 3D endoscope advantageously has a storage unit or is communicatively connected, preferably wirelessly, to a storage unit.

[0069] One advantage of a machine-trained model is that it does not depend on subjective judgments from users. Based on the detected change, control instructions regarding the playback mode and / or cleaning can be issued manually or automatically from a control unit to a unit for activating cleaning by means of a cleaning module. This ensures image optimization of visibility conditions and viewing quality during an operation.

[0070] For the above-mentioned methods based on algorithms or machine learning, the control unit comprises elements of a computer such as one or more microprocessors or graphics processors. For example, a graphics processor (or graphics processing unit, GPU) can display high-quality 2D or 3D images in real time to a user on a suitable display or playback device such as a display or via 3D glasses.

[0071] According to a preferred embodiment of the method, a 3D image is displayed in the first playback mode and a 2D image is displayed in the second playback mode using a display device and / or 3D glasses.

[0072] In addition, combinations of a display device with special 3D glasses as an aid are conceivable. In the case of passive color-coded image separation, the user can be informed to remove or put on polarized glasses by means of a warning message that is automatically issued by the control unit when a different playback mode is selected.

[0073] According to a preferred embodiment of the method, the 3D endoscope is selected from the following group:

[0074] a stereoscope comprising at least a first image sensor, preferably with two separate light-sensitive surfaces or configured as a facet lens;

[0075] a stereoscope comprising at least a first image sensor and a second image sensor;

[0076] an imaging scope comprising at least a first image sensor, a second image sensor and a third image sensor;

[0077] an imaging scope comprising at least a first image sensor, a second image sensor, a third image sensor and a fourth image sensor; and

[0078] a stereoscope configured as a fiber optic endoscope.

[0079] If the individual image sensor is configured as a facet lens, also called a fly's eye, a large number of microlenses are provided. The large number of microlenses can capture closely spaced individual microimages with respective image data, with each microimage depicting the overall image from the corresponding perspective. The facet lens can reproduce three-dimensional images that do not require any special tools for viewing. If a large part of the microlenses becomes dirty, a two-dimensional image of the remaining uncontaminated microlenses can be displayed in the second playback mode without any loss of quality.

[0080] In an imaging scope with three or more image sensors, the control unit analyzes the image data sets from preferably three or more image sensors. Alternatively, an imaging scope with at least three image sensors may be configured as standard such that two of the plurality of image sensors are activated at a time to produce stereo images like a stereoscope.

[0081] In an embodiment by way of example, intended to take into account the position of the 3D endoscope, three image sensors are arranged at the distal end portion of the 3D endoscope such that the image sensors are evenly arranged on a circular line. The control unit is preferably configured to activate the pair of the three image sensors whose connecting line between the image sensor centers is as parallel as possible and optimally parallel to a horizon plane. The horizon plane is a plane perpendicular to the vector of gravity. In this way, in each case two image sensors can be selected depending on the position of the 3D endoscope, to ensure that the generated 3D image does not rotate or rotates as little as possible when the endoscope is rotated about its longitudinal axis in relation to a horizontal plane.

[0082] For each of the two activated image sensors of an image endoscope with three image sensors, the method according to the invention can carry out an analysis of the first and second image data by means of the control unit in order to determine two quality values. If one image sensor is contaminated, the camera switches to the second playback mode based on the image data from the unimpaired image sensor. In addition, if the quality value of one image sensor is insufficient, the third image sensor can be activated and the image data received by the third image sensor can be analyzed in the same way. Depending on the specific quality values of the third image sensor and the further image sensor, the first playback mode or the second playback mode is then selected.

[0083] If more than three image sensors are provided, it is possible to switch back and forth between two pairs of sensors in each case. Alternatively, all image sensors can be activated simultaneously, similar to a facet lens, with the microlenses. Depending on the evaluation of the respective image data sets and the determined quality values, the first playback mode can then be output based on the corresponding image data for at least one unimpaired pair of adjacent image sensors.

[0084] The simultaneous use of three, four or more image sensors has the advantage that possible ambiguities or inaccuracies, which can occur when evaluating stereo image data sets from only two image data sets, can be largely avoided. The accuracy of the 3D image dataset can be increased by increasing the number of image sensors. In addition, with an even number of image sensors, a greater depth of focus can be achieved by using several pairs of image sensors with different focal lengths of the lenses. This can be controlled via appropriate software.

[0085] According to a further aspect of the invention, a control system for image analysis of image data captured by means of a 3D endoscope, in particular for medical applications for carrying out a method according to any of the preceding claims, is provided, wherein the system comprises:

[0086] a 3D endoscope with at least one first image sensor, wherein the first image sensor is configured to capture first image data and second image data; or a 3D endoscope with a first image sensor configured to capture first image data and a second image sensor configured to capture second image data; wherein the captured first and second image data each comprise a two-dimensional image of a work region from different perspectives;

[0087] a control unit in communication with the at least one image sensor for receiving the first and second image data; wherein the control unit is configured to analyze the first and second image data in order to determine a quality value in each case; wherein the control unit is configured to automatically or manually output control instructions to the 3D endoscope for a first or second playback mode based on a specific first and second quality value;

[0088] wherein the control unit is configured to output three-dimensional image data of the work region in the first playback mode based on the combination of the two two-dimensional images; and

[0089] wherein the control unit is configured to output a two-dimensional image of the work region in the second playback mode based on the first image data or the second image data.

[0090] Furthermore, a computer program product is provided which comprises instructions which, when the program is executed by a computer, cause the computer to perform the steps of one of the methods described above.

[0091] Furthermore, a computer-readable medium is provided, on which said computer program is stored.

[0092] Furthermore, a trained model is provided, preferably self-learning and trained with training data preferably comprising stored image structures and / or a collection of features, and wherein the trained model is configured to carry out the steps of at least one of the methods described above.BRIEF DESCRIPTION OF THE FIGURES

[0093] The invention, as well as further advantageous embodiments and developments thereof, are described and explained in more detail below with reference to the examples shown in the drawings. The drawings are for illustration purposes only and are not to scale. Terms such as right or left or top and bottom are not to be understood as restrictive. The features found in the following description and the drawings can be used according to the invention individually or in groups in any combination.

[0094] FIG. 1a is a schematic perspective view of a distal end of a 3D endoscope with a first and second image sensor for capturing a stereoscopic image pair;

[0095] FIG. 1b is a schematic perspective view of the 3D endoscope shown in FIG. 1a with a schematic representation of a contamination of an image sensor and the image captured with the uncontaminated image sensor;

[0096] FIG. 1c is a schematic perspective view of the 3D endoscope shown in FIG. 1a and with a schematic representation of further contamination of an image sensor and the image generated with the uncontaminated image sensor;

[0097] FIG. 2a is a schematic perspective view of a distal end of a 3D endoscope with a single image sensor having two separate light-sensitive surfaces and a schematic representation of the two-dimensional image pair generated with this sensor;

[0098] FIG. 2b is a schematic perspective view of the 3D endoscope shown in FIG. 2a with one-sided contamination of the image sensor;

[0099] FIG. 2c is a schematic perspective view of the 3D endoscope shown in FIG. 2a with further contamination of the image sensor;

[0100] FIG. 3 schematically shows an embodiment of a 3-endoscope with two separate image sensors, four illumination devices and further components such as control unit and playback device;

[0101] FIG. 4 shows a flowchart of a method comprising image optimization or image adaptation from 3D to 2D or 2D to 3D and query to active 3D glasses;

[0102] FIG. 5a shows a perspective view of another embodiment of a 3D endoscope with a single image sensor and a cleaning module comprising two fluid channels and a nozzle arrangement;

[0103] FIGS. 5b and 5c show an exploded view of the embodiment according to FIG. 5a and a detailed view of the distal end of the two fluid channels;

[0104] FIG. 6 schematically shows an embodiment of a 3D endoscope with a control unit and units communicating therewith for carrying out a cleaning including a storage unit for storing cleaning parameters;

[0105] FIG. 7 schematically shows the components of a 3D endoscope with image capturing device, control unit with storable routines or methods for image optimization including 3D to 2D adaptation (output in the second playback mode) and a cleaning module;

[0106] FIG. 8 schematically shows, in the flow diagram, a further embodiment of the method according to the invention for image optimization comprising in particular a contamination detection for 3D / 2D adaptation and / or cleaning with a liquid fluid and optionally a gaseous fluid.DETAILED DESCRIPTION OF THE FIGURES

[0107] FIG. 1a schematically shows a distal end of a 3D endoscope 100 with a shaft 150 and two image sensors (first image sensor 111 and second image sensor 112, wherein the recording axes are arranged horizontally shifted). Each sensor records so-called half-images (11, 12) or flat images, which form a stereoscopic image pair.

[0108] Both recordings show the same object (here a smiley to illustrate a possible object in the center of the image), but with a location offset laterally by the so-called stereo base (x, 125). In this case, the recording axes must be parallel and the recording conditions or setting properties of the two image sensors 111, 112 must be identical (same focal length, sharpness and filters used). The stereo image sensor system uses the two image sensors 111, 112 to simultaneously capture the two partial, half, or flat images, as long as no contamination or other interference factors significantly affect one of the two image sensors 111, 112.

[0109] Based on the two captured half images 11, 12, which are offset from each other by the stereo base x (reference sign 125), a 3D image can be generated using suitable image software. This can then be shown using a suitable playback device. For example, a car stereo monitor that is directed at an observer, or a monitor based on wavelength division multiplex technology, or an LCD television monitor with 3D glasses such as shutter glasses as an aid and / or active 3D glasses are suitable for this purpose.

[0110] FIG. 1b shows the stereo system of FIG. 1a with two image sensors (111, 112), wherein the first image sensor 111 is affected by contamination 113. Both partial images or fields are analyzed by an image processing algorithm or a self-learning module in such a way that a first or second quality value is determined. In the example shown, the analysis of the image results in a quality value Q1, which indicates that the cover glass of the first image sensor 111 is approximately 100% covered with dirt 113. In contrast, the analysis 124 of the captured image 12 of the second image sensor 112 results in a quality value Q2, which indicates that the cover glass of the second image sensor 112 is clean and thus corresponds to the initial values of the image sensor during white balance. In this way, depending on the determined first and second quality values, switching to the clean image sensor 112 can be carried out either automatically or manually after a corresponding indication. The two-dimensional field of the unimpaired second image sensor 112 can be shown using a playback device (not shown here).

[0111] FIG. 1c shows the case of contamination 114 on the second image sensor 112. The image analysis 124 results in a quality value Q2, which indicates an event such as 100% contamination or a significant loss of image quality. Threshold values can also be defined here at which switching to a 2D mode instead of a 3D mode occurs. If the image sensor 112 is 100% contaminated, as shown in FIG. 1b, image data can now be captured only with the first image sensor 111. Based on the image analysis, which is representative of a contamination-free cover glass, a quality value Q1 is obtained. The user can now continue working with the two-dimensional image 11 of the object (smiley) in a second playback mode (2D mode) without any loss of quality. If the first image sensor 11 also becomes significantly contaminated at a later time and the 3D endoscope does not have a distal cleaning module for intracorporeal cleaning, the user must try to remedy the situation without a cleaning module or remove the endoscope and clean it extracorporeally. For this purpose, the 3D endoscope can issue a warning message such as “wipe on the liver” or “clean ex situ”.

[0112] FIG. 2a is a schematic perspective view of a distal end of a 3D endoscope 100 with a single image sensor 110 with two separate light-sensitive surfaces 110R and 110L. In the dotted circle, an enlargement of the image sensor 110 is shown schematically. The left-hand image sensor area 110L and the right-hand image sensor area 110R view the same conical object, which is shown two-dimensionally as a triangle.

[0113] In addition to the perspectively displayed 3D endoscope, the two-dimensional fields as seen by the two image sensor surfaces 110R, 110L from two different perspectives are shown schematically. As an example object, the cone shape is shown here, which is recorded from the two perspectives of the recording axes offset around the stereo base x (see double arrow above partial surfaces 110R and 100L), which are each located centrally in the sensor partial surfaces 110R, 110L. In this case, the right-hand field 12R is captured by the sensor surface 110R and the left-hand field 11L, offset by the stereo base 110X, is captured by the surface 110L. A playback device (not shown here) is suitable for reproducing both two-dimensional 2D images and 3D images based on the fields 11L and 12R. The playback mode is selected depending on the quality values determined based on the image data.

[0114] FIG. 2b is a schematic perspective view of the 3D endoscope shown in FIG. 2a with one-sided contamination of the image sensor. The contamination 113R covers approximately 100% of the sensor surface 110R. The dashed rectangle of the FIG. 2b shows that only the field 11L with the object (here cone as triangle) can be captured by means of the surface 110L. The image analysis 124 using a conventional image processing algorithm or based on AI (artificial intelligence) with preferably a self-learning module results in corresponding quality values QR or QL for the respective sensor surfaces. Depending on the recorded quality values, it is possible to switch to the clean cover glass, and the two-dimensional image 11L can be shown.

[0115] FIG. 2c is a schematic perspective view of the 3D endoscope shown in FIG. 2a with another example of contamination of the image sensor 110. Here, not only the image sensor surface 110L is completely contaminated with dirt 114L, but also a few parts of the other image sensor surface 110R with further dirt 114R and a line-like contamination 114r. Thus, by means of the image analysis 124, a quality value QL is determined which represents 100% contamination for the surface 110L. For the other surface 110R, the quality value QR is determined based on the image data 12R and the hidden image parts 114R and 114r, which corresponds to a partial contamination of less than 30%.

[0116] The specific corresponding quality values QR and QL indicate that both sensor surfaces are contaminated to varying degrees and QL still provides the user with a sufficient field of view. Based on the analysis results, the system automatically or manually switches to the cover glass of the sensor 110R, which is less contaminated. The playback mode in 2D is illustrated in FIG. 2c with the two-dimensional image with the image data 12 R.

[0117] In principle, a classification into different classes of contamination can be made. In the case shown, it is still possible to distinguish that the image center of the surface 110R is not affected by the contamination, and therefore the conical object to be examined in the image center is still clearly visible and the user can continue working on the object.

[0118] FIG. 3 schematically shows a further embodiment of a 3D endoscope 100 with two separate image sensors 111, 112 and on both sides of them illumination devices 154, 155 and 156, 157. The illumination devices 154, 155, 156 and 157 can be configured as optical fibers that are guided in the shaft 150 from the distal end to the proximal end of the 3D endoscope 100 for connection to a supply unit. They are configured to transmit light to the surgical region or site. The aim of the plurality of lighting devices is to provide the user with the most natural endoscopic image possible, with high resolution, for his intervention or inspection. The image sensors 111, 112 can have flat glasses as cover glasses with lenses behind them and are connected to other components such as the control unit and the playback device.

[0119] The control unit 120 comprises a processor 121 for image analysis 124 and dirt detection 125 and a storage unit 122. Using the analysis methods mentioned, a quality value Q1 and Q2 can be determined for each image sensor 111, 112. Depending on these quality values, which can generally be described as a function of a quality value with f (Q), i.e., on the basis of a specific first and second quality value (Q1, Q2), control instructions are automatically or manually output to the 3D endoscope 100 for a first or second playback mode (method step 103).

[0120] If the analysis of image data 11 and 12 shows that both cover glasses are contaminated, the degree of contamination can be determined using the analysis 124 and determination of the quality values (Q1, Q2). If the contamination does not exceed a certain threshold or if it only exists in the edge region and not in the center of the image, then it is possible to switch to the less or only partially contaminated cover glass.

[0121] Instead of playback or display devices 430, active glasses can also be used that can project 3D in the displays for each eye. The so-called active 3D glasses can then actively switch to a two-dimensional second playback mode or vice versa, depending on the specific quality value. This display option using 3D glasses is shown in FIG. 4 in the flow chart.

[0122] FIG. 4 shows a flowchart of a method 400 comprising image optimization or image adaptation from 3D to 2D or 2D to 3D. As soon as the playback mode is to be changed from the first to the second or vice versa in method step 103 on account of the determined quality values, a warning message is issued to the user (see steps 402, 403).

[0123] Electively in step 402 or in step 403 the user is warned that image optimization is possible. In step 402, he is warned that it is necessary to switch from 3D to 2D when e.g., only one lens is contaminated. Alternatively, in step 403, a warning can be given before the mode change from 2D to 3D if, for example, one contaminated lens of two has been successfully cleaned and both can be used again. In method steps 401 (2D ok?) or 411 (3D ok?) an optional query can be made as to whether image optimization is actually desired.

[0124] If the second playback mode, i.e., 2D, is desired, the image optimization software is activated automatically in step 412 via step 414 or after a positive query (YES arrow).

[0125] In step 422, the output signal of the control unit is automatically switched to 2D. If, however, 3D is desired (YES arrow after step 411), the corresponding software is activated in step 413.

[0126] If no warning message or query and no option for manual adjustment is desired, the image optimization software can also be automatically activated directly from method step 103 via the dashed route (see steps 414 and 415).

[0127] A query will also be made as to whether active 3D glasses are in use. If this is the case, the process proceeds to step 432 via “YES,” in that the active 3D glasses 431 are automatically adjusted to the 2D image.

[0128] Similarly, after activating the software in step 413 for adaptation to a 3D image, an output signal of the 3D endoscope can be automatically switched to 3D in step 423 (2D→3D) and then active 3D glasses are requested. If the query is positive, the 3D glasses can be adjusted in step 433. If no active 3D glasses are detected, the process continues without activating 3D glasses. If image adjustment to a different playback mode is denied at the beginning of the respective queries 401 and 402, no adjustment is made (NO arrow).

[0129] FIG. 5a shows a perspective view of another embodiment of a 3D endoscope with a single image sensor and a cleaning module comprising a nozzle arrangement 140. The single image sensor 110 comprises two light-sensitive surfaces 110R, 100L. Illumination devices 151 and 152 are arranged laterally.

[0130] FIGS. 5b and c show an exploded view of FIG. 5a and a detailed view of the distal end of two fluid channels 131, 132 which open into the nozzle arrangement 140. If liquid is carried in each fluid channel, cleaning can be carried out in a targeted manner for each partial surface. In addition, gas for drying can also be provided in each channel.

[0131] FIG. 6 schematically shows an embodiment of a 3D endoscope with an image capture device 115, which was shown in the FIG. 5a-c and schematically shows other components such as a control unit and units communicating with it to carry out cleaning.

[0132] The captured first image data 11R and 12L are transmitted to the control unit 120 for further processing by at least one processor 121. The control unit 120 can be provided locally as a camera control unit 116 (CCU).

[0133] Furthermore, a storage unit 122 may be provided, which in this embodiment is arranged locally. Alternatively, the control unit 120 and the storage unit 122 may not be arranged locally at the distal end of the endoscope, but may be provided via cable or wirelessly outside the endoscope. The local or external storage unit 122 may store a plurality of captured first and second image data from the image sensor 110.

[0134] The processor 121 may comprise one or more microprocessors and / or graphics processors and may be used for optics recognition 123 and analysis 124 of the first image data 11R and second image data 12L. The optics recognition 123 can be used as an initialization routine to detect the connected image sensor 110 and, depending on this, inform the user whether a 3D endoscope has been detected. The system has a cleaning module 130 at the distal end of the 3D endoscope for intracorporeal cleaning and can be transmitted to the cleaning module 130 for cleaning control or activation with the cleaning parameters 128 stored in the storage unit 122. Cleaning parameters 128 such as volume V, pressure p and time t of the fluid pulses can also be preselected depending on the detected optics. The cleaning parameters 128 can then be applied specifically for each fluid channel and assignable partial surface. A dashed triangle for each sensor surface 110R and 110L indicates a local cleaning possibility for each sensor surface, which can be achieved by the two fluid channels (see 131, 132) and suitable nozzles of the nozzle arrangement 140. The range of the corresponding cleaning nozzle can also be extended so that the illumination devices 151, 152 can also be cleaned.

[0135] FIG. 7 schematically shows the components of a 3D endoscope system 700, which comprises an image capturing device 115 and control unit 120 and is suitable for carrying out the methods according to the invention. The first method step 101 comprises the capture (101) of first image data (11, 11L) and second image data (12, 12R) by means of at least one image sensor of an image capturing device 115 of the 3D endoscope. Further method steps according to the invention are preferably computer-implemented and comprise automatable analysis steps for image optimization, comprising an adaptation from 3D to 2D and vice versa, and optionally a cleaning with a cleaning module 130.

[0136] In the first case, the image capturing device 115 may be an image sensor 110 having a single image surface divided such that first and second image data (11L, 12R) can be captured with at least two separate partial surfaces (110L, 110R). These image data (11L, 12R) are received in method step 102 via a control unit (102) (120).

[0137] In the second case, there may in particular be at least two image sensors with spatially separated image surfaces, wherein each image sensor 111, 112 has at least one data output, the information of which (first and second image data 11, 12) is sent to the control unit 120 (see arrows to the processor 121 of the control unit 120).

[0138] Alternatively, an image capturing device 115 configured as a facet lens is conceivable, wherein a plurality of microlenses is provided. The large number of microlenses can capture closely spaced individual microimages with respective image data. Furthermore, other types of 3D endoscopes can be connected to the system, which include at least 3 image sensors or four image sensors or more.

[0139] In addition to the processor 121, the storage unit 120 has a storage unit 122 which can store parameters and routines. The processor 121 may comprise one or more microprocessors or graphics processors and may be used for image analysis 124 and optics recognition 123. The optics recognition 123 can be used as an initialization routine to recognize the connected image capturing device 115 and, depending on the recognized image capturing device 115, to transmit stored control or image parameters to the playback device 430 for the corresponding playback mode (3D or 2D).

[0140] In method step 103 of the method according to the invention, the control unit 120 can automatically or manually output control instructions to the 3D endoscope for a first playback mode (3D) or second playback mode (2D) on the basis of a first and second quality value (Q1, Q2 or QL, QR) determined by means of an analysis, i.e., depending on image sensor-specific quality values-f (Q) (see double arrow in playback device 430).

[0141] The analysis routines may include image analysis 124, contamination detection 125, contamination degree analysis 126, and average color tone detection 321 or average image contrast determination 317, as well as classification 315, or other image analysis methods. A surgical environment 127 can also be recognized by means of suitable comparisons with stored image structures.

[0142] For image optimization, a self-learning module 320 can be used, which is based in particular on artificial intelligence and can carry out the aforementioned methods with the help of stored data or databases. The self-learning module has a trained model 322 which is trained by means of suitable training data 331 (e.g., in the form of labeled image data) to evaluate individual images, image portions or pixels as to whether there is contamination and how severe this contamination is. In order to be able to quantify the degree of contamination, a classification 315 is made into corresponding categories. The classification 315 contains at least two classes such as uncontaminated images and contaminated images that can be cleaned using a cleaning module

[0143] In the storage 122, not only data but also the above-mentioned routines such as image analysis 124 etc. as well as cleaning parameters 128 for the cleaning module 130 can be stored. The cleaning parameters 128 can define parameters selected from the following group for individual fluid channels: fluid volume V, pressure p, pulse or cleaning duration t, number of pulses, total cleaning duration, pulse-pause ratio, type of fluid, fluid volume V, fluid volumes (liquid or gas quantity) and / or fluid velocity.

[0144] Based on the determined quality values (Q1, Q2 or QR, QL), manual or automatic control instructions can be issued by the control unit to activate (method step 104) a cleaning module using fluid and / or gas. With the aid of the cleaning parameters 128, the pressure p and the pulse duration t of a fluid pulse or a plurality of pulses at the distal end of the 3D endoscope for intracorporeal cleaning can preferably be controlled. In particular, very short fluid pulses with a duration in the range of only 200-1000 ms can only be reliably realized with the help of an automated controller. This allows the system to be controlled much more precisely than through manual activation and deactivation by a user.

[0145] An embodiment of a cleaning module 130 can, as shown in FIGS. 5a and 5b, have two separate fluid channels 131, 132 in order to be able to clean the partial surfaces 110r and 110L of an image sensor or the two image sensors 111, 112 separately from one another. Then, the contaminated image sensor can be cleaned, while the uncontaminated image sensor can continue to be used for 2D playback mode. In this case, each fluid channel 131, 132 can convey both liquid and gas in one channel to the nozzle arrangement 140 in order to also enable drying of an image sensor surface or image sensor.

[0146] FIG. 8 shows a further embodiment of the method according to the invention with a schematic flow chart. The flow chart is divided into five regions, indicated in part by columns: the first region of initialization 300, the second region of analysis 301, the third region of process implementation 303 for optimization, preferably by adaptation from 3D to 2D and / or by cleaning, and the fourth region 304 of the optimization result with monitoring routine 129 and possible parameter adjustment 138 of the cleaning parameters 128. Finally, the possible termination of the process 160. Optimum image quality is achieved in this case when the final values after cleaning correspond to the initial values at the beginning with white balance.

[0147] In the initialization phase 300, the method is started in step 401. In this case, a video signal from a 3D endoscope can be provided as an input signal. In step 302, it is checked whether a video signal is present. Based on this check, either a positive result (YES) or a negative result (NO) is obtained. If this query 302 results in NO, the process is terminated in step 403. Since there is no video signal in the case of termination of the process 162, it should be checked after termination of the process 162 whether all connections are present and whether a power supply is available. The user can also be notified that no optics were detected.

[0148] If the check or query 302 produces a positive result (YES), the process continues in the analysis region 301. For a cleaning process, cleaning parameters 128 can be preselected according to the connected optics of the 3D endoscope.

[0149] In step 124, the image analysis of the first and second image data of a 3D endoscope takes place. This analysis can be performed by an algorithm and / or by a self-learning module 320 (see FIG. 7). The images can optionally be divided into image portions. In this way, each field can be divided into different portions (e.g., central region of the image) and an automatic detection of contaminants in the relevant central field of view can be carried out.

[0150] In the next method step 127, the images of a 3D endoscope comprising first and further image data are analyzed to determine whether an operating room environment or intracorporeal structures can be recognized. For this purpose, the images are compared with images from a database stored in the storage 122 of the 3D endoscope or externally. Preferably, a comparison of at least one specific image structure with image structures of a reference database takes place. In this case, object recognition of typical intracorporeal structures can preferably be carried out. If no operating room environment or intracorporeal structure is detected, the process is terminated (arrow NO to 162). Otherwise, it continues to the dirt detection 125 method step.

[0151] The step of classification 315 into different classes or categories can optionally take place between the steps of operating room environment detection 127 and dirt detection 125. Here, not only contamination classification (contaminated or not contaminated) but also the following classifications can be made: smoky images, where the smoke can be extracted by an extraction module; images with a loss of quality which can be optimized by modules other than a cleaning module; images which have one or more interfering objects; and / or images which show at least one damage. If a specific class has been recognized, this can also be displayed to the user. For example, if smoke is detected, communication can be established with at least one other operating room unit to extract the smoke.

[0152] The method step 125 serves to detect contamination, i.e., whether contamination is present or not. If there is no contamination, the method can continue with method step 124 of the image analysis (see “NO” arrow to step 124). If, however, there is contamination present, the method can be continued at method step 126. In this step 126, the type and degree of contamination is determined e.g., by means of a comparison with data from the reference database using algorithms, or preferably with a self-learning module 322 of the control unit 120 (see FIG. 4).

[0153] Contamination detection 125 and / or analysis of the degree of contamination in method step 126 can result in a specific quality value for each image sensor or sensor partial surface. The quality values can be determined, for example, using a training-based model (see reference sign 322 in FIG. 7). This model 322 is part of a self-learning module 320 in a control unit 120 of the image optimization system and works together with a reference database. An external or local storage unit 122 can store the history of previous image capturing. Labeled video images of a 3D endoscope can also be stored in the storage 122 in order to thereby determine the corresponding quality value (Q1, Q2). In this way, a captured image can be qualified in terms of image quality using stored parameters or characteristics, and contamination can be detected more quickly and the degree of contamination can then be determined.

[0154] The classification history is stored in the storage 122 and is continuously supplemented with the currently captured image data. In this case, not only the captured images from the previous steps are saved, but also the corresponding evaluations of the video signals. Storage in the storage unit 122 can be local or decentralized. The so-called image history allows for continuous documentation to take place and for the model 322 to be trained to be continuously optimized. The larger the retrievable data sets, the more precise the machine learning can be and thus the learning ability of the model 322 can be increased. With a sufficiently large data set, it is for example possible to use artificial intelligence with a deep data model.

[0155] In step 126, the degree of contamination can be determined based on an evaluation of the image history stored in storage 122. A percentage loss of image quality can be indicated by the quality values being worse by a factor of x % than the initial values without contamination (see YES arrow x %). Preferably, in step 126, the image quality is evaluated depending on permissible percentage “contamination” portions. In this case, regions at the edges of the image can be given less weight than the center of the image. If only one of two image sensors is contaminated or if one of two contaminated image sensors is only slightly contaminated, e.g., in the edge regions, there is partial contamination and the image can be automatically adjusted from 3D to 2D by switching the output signal of the control unit in method step 422. The user can only manually confirm this switch from 3D to 2D or suggested image optimization after receiving a corresponding warning message.

[0156] If it was assessed in step 126 of the contamination level detection that cleaning of at least one image sensor or a partial surface of an image sensor can (cleanable by fluid) and should be carried out, the method continues (see arrow YES to method step 141). In the area of the process implementation 303, for example a cleaning module 130 can be activated to carry out cleaning with liquid 141 or optionally drying 142 with a gas. These two cleaning types 141 and 142 can also be combined. The process implementation 303 of the cleaning process can be activated automatically by a self-learning module 320 (see FIG. 7) or alternatively, after the self-learning module 320 has recommended cleaning, it can be activated manually. If only one image sensor or a partial surface is contaminated, cleaning can be carried out at the same time as image optimization 422.

[0157] If the cleaning module has two fluid channels, only the corresponding contaminated image sensor or sensor partial surface can be cleaned in a targeted manner using a corresponding nozzle directed at each image sensor. If condensate is detected, cleaning can also be carried out using gas only and drying can be initiated in step 142. For this purpose, the previously defined cleaning parameters are used according to the endoscope used. As a rule, in the case of heavy contamination, liquids are used for cleaning and corresponding liquid parameters 128 are set, while in the case of light contamination, gas is sufficient for cleaning.

[0158] The monitoring routine 129 checks the cleaning effectiveness after activation of an activatable cleaning unit of the cleaning module 130. In particular, it is monitored in this case whether the field of view and image quality are optimal again and thus correspond to the associated quality value. If this is the case, it goes back to the analysis routine 124 (see arrow YES). The cleaning parameters 128 can optionally be continuously optimized in the method step 138 by a self-learning module based on artificial intelligence.

[0159] A closed control loop is provided for the monitoring routine 129, which checks whether or not predetermined target values of the image quality are achieved by the activated cleaning 141 and / or drying 142. The monitoring routine 129 can increase patient safety. If the cleaning result is not optimal, firstly a repeat of the cleaning 141 and / or drying 142 can be initiated. If the monitoring routine 129 determines that the quality of the image is not improved by the cleaning 126 or 127, the optimization method can be terminated by means of the cleaning module in the region 160 (see step 161: end).

[0160] The invention and an adaptation of the playback mode to 2D or 3D can be used for a large number of 3D endoscopes established on the market in order to be able to continuously display the corresponding examination object and thus be able to diagnose it reliably and to avoid disturbances at the site. In this case, the optimization method and optimization system according to the invention can output control signals automatically or after manual confirmation as to whether optimization is necessary and whether image optimization can be carried out by the controllable devices. For example, automated dirt detection can be performed and image adjustment to the second playback mode (3D→2D) with an optional cleaning of only the contaminated image sensor can take place automatically.

[0161] In particular in medical technology, quality losses in imaging and quick solutions such as image adjustment are very important. In this case, an automatic system advantageously prevents the user from being disturbed for long periods and eliminates the contamination or image disturbance as quickly as possible. Through the continuous provision of training data, the quality of the AI algorithms is continuously improved and continuous parameter adjustments ensure optimal “tuning” of the process implementation.

[0162] Software for adapting 3D images to 2D or vice versa, as well as a computer program product, may be configured to perform the image optimization method. In this way, image analysis algorithms can be used to quickly detect suboptimal images or disturbances such as image contamination, which would not be noticed immediately or even at all by a user in 3D image displays. By adapting to 2D, fatigue or pain due to inadequate 3D images can be avoided. Using image analysis, a quality value and existing image data (image history) or parameter data can be evaluated and compared with the latest image data and previous optimization results. If a self-learning module is used, existing data sets in an open artificial network can be corrected by experts in addition to automatic methods, and the reference database in the storage 122 can be expanded automatically or manually to include new data sets. Continuous semi-automatic or automatic check of the optimization method leads to increased safety for the user and thus for the person being examined using the endoscopic procedure.List of reference signs 11image data or field captured by the first image sensor 11Ldata captured from the left-hand partial surface of the imagesensor 12data or half-image captured by the second image sensor 12Rdata captured from the right-hand partial surface of the imagesensor1003D endoscope101capturing first image data (11) and second image data (12)102receiving the image data (11, 12) by a control unit (120)103operating the 3D endoscope -f (Q)- in a first or secondplayback mode;104cleaning105stereo base110image sensor110Rright-hand light-sensitive surface110Lleft-hand light-sensitive surface111first image sensor112second image sensor113contamination on the first image sensor114contamination on the second image sensor114R, rcontamination on right-hand sensor partial surface 110R115image capturing device116CCU120control unit121processor122storage123initialization routine124image analysis125method step including contamination detection126analyze the degree of contamination127detection of the operating room environment128cleaning parameters or selection of cleaning parametersdepending on the determined endoscope type129monitoring routine130cleaning module131first fluid channel132second fluid channel138parameter adjustment140nozzle arrangement141cleaning with liquid141cleaning with gas: drying150shaft151first illumination device152second illumination device154first illumination device155second illumination device156third illumination device157fourth illumination device160termination of the process161end162termination of the process300initialization phase301analysis302video signal query304optimization result315classification317determine average image contrast320self-learning module321determine average color tone322trained model400image optimization flowchart401start402warning message about possible 2D playback mode403warning message about possible 3D playback mode411decision Yes / No412activation of the image optimization software for adaptation to2D413activation of the image optimization software for adaptation to3D414automated activation of the software for adaptation withoutquery415automated activation of the software for adaptation to 3D422switching the output signal for second playback mode (2D)423switching the output signal for first playback mode (3D)430playback device431active 3D glasses432adaptation of the 3D glasses to 2D433adaptation of the 3D glasses to 3D7003D endoscope systemQ, Q1,quality valuesQ2, QR,QLXstereo base

Claims

1-18. (canceled)19. A method of image analysis of image data captured by means of a three-dimensional (“3D”) endoscope, comprising:capturing the image data comprising a first image data and a second image data by at least one first image sensor or by means of a first image sensor and a second image sensor of the 3D endoscope, wherein the captured first and second image data each comprise a two-dimensional image of a work region from different perspectives;receiving the first and second image data by a control unit;analyzing, by the control unit, the first and second image data, to determine a quality value for each of the first and second image data;operating the 3D endoscope in one of a first playback mode or a second playback mode determined from the first and second quality values;outputting, by the control unit, three-dimensional image data of the work region based on the combination of the two two-dimensional images, in the first playback mode; andwherein the control unit is configured to output a two-dimensional image of the work region based on the first image data or the second image data, in the second playback mode.

20. The method of claim 19, wherein analyzing the first and second image data to determine the quality value for each of the first and second image data, comprises determining, by at least one of an image processing algorithm or a self-learning module, that the quality value indicates at least one event comprising: contamination, an interfering object, a loss of image quality, condensation, damage, or smoke.

21. The method of claim 20, wherein, upon the control unit determining that the quality value that is representative of the at least one event, automatically outputting a two-dimensional image, by at least one of the control unit or manually in the second playback mode, based on the first image data or the second image data that is without the at least one event.

22. The method of claim 19, wherein the analysis of the first and second image data comprises determining an average image contrast to determine the quality value based on a comparison of the corresponding average image contrast using a visual threshold condition.

23. The method of claim 22, wherein the average image contrast is determined by at least one of a histogram method, application of a Gaussian filter, pattern recognition, corner detection, edge detection, and recognition of objects.

24. The method of claim 19, wherein:the first and second image data each comprise a plurality of colors occurring in the work region; andthe analysis of the first and second image data each comprises the detection of an average color tone; anddetermining the quality value comprises determining the quality value based on a comparison of the most frequently occurring color from the plurality of colors with the corresponding average color tone.

25. The method of claim 24, wherein determining the quality value to indicate smoke upon determining the most frequently occurring color among the plurality of colors is white or gray.

26. The method of claim 24, wherein determining the quality value to indicate blood contamination upon determining the most frequently occurring color among the plurality of colors is red.

27. The method of claim 19, further comprising automatically outputting a warning message when a control instruction for activating a different playback mode is automatically output by the control unit.

28. The method of claim 19, further comprising:pre-analysis of a subdivision of the image data into image portions;determining the quality value for each of the image portions; anddisplaying exclusively, by the control unit, one or more of the image portions comprising a permissible percentage of contamination, a permissible loss of quality, or assignable to an image center of the corresponding image sensor.

29. The method of claim 19, further comprising:causing, by the control unit, a cleaning module to be activated comprising emission of at least one of a liquid or gas by a cleaning unit.

30. The method of claim 29, wherein the control unit comprises a cleaning control algorithm to checks the cleaning effectiveness of an activatable unit of the 3D endoscope for one or two image sensors, so that at least one two-dimensional image or one three-dimensional image can be reproduced with image quality above a previously determine sufficiency threshold.

31. The method of claim 19, further comprising:determining, by a self-learning module, at least one image structure from the image data of the corresponding image sensor, wherein the self-learning module comprises at least one of a neural network to classify an event by means of the at least one determined image structure based on a comparison with image structures of a reference database; andwherein a detected deviation event is stored in a storage unit.

32. The method of claim 31, wherein the self-learning module comprises a model that is trained with training data of image structures stored in the storage unit,wherein the trained model of the self-learning module is trained to classify the image data into one or more of the following event-dependent database classes:non-contaminated images,contaminated images that can be cleaned intracorporeally;contaminated images that can be cleaned by a cleaning module;fogged images that can be dried by a module using gas;smoky images, wherein the smoke can be extracted by an extraction module;images with a loss of quality that can be optimized by other modules;images that have one or more interfering objects; andimages that indicate at least one damage.

33. The method of claim 19, wherein a 3D image is displayed in the first playback mode and a 2D image is displayed in the second playback mode using a display device and / or 3D glasses.

34. The method of claim 19, wherein the 3D endoscope is selected from the following group:a stereoscope comprising at least a first image sensor, preferably with two separate light-sensitive surfaces;a facet lens;a stereoscope comprising at least a first image sensor and a second image sensor;an imaging scope comprising at least a first image sensor, a second image sensor and a third image sensor;an imaging scope comprising at least a first image sensor, a second image sensor, a third image sensor and a fourth image sensor; anda stereoscope configured as a fiber optic endoscope.

35. A control system for image analysis of image data captured by means of a three-dimensional (“3D”) endoscope, comprising:at least one first image sensor, wherein the first image sensor is configured to capture first image data and second image data, wherein the captured first and second image data each comprise a two-dimensional image of a work region from different perspectives;a control unit, in communication with the at least one image sensor, configured to analyze the first and second image data to determine a quality value for each thereof, wherein the control unit is configured to output control instructions to the 3D endoscope for a first or second playback mode based on a specific first and second quality value;wherein the control unit is configured to output three-dimensional image data of the work region in the first playback mode based on the combination of the two two-dimensional images; andwherein the control unit is configured to output a two-dimensional image of the work region in the second playback mode based on the first image data or the second image data.

36. The control system of claim 35, wherein the 3D endoscope comprises a second image sensor configured to capture the second image data.

37. A control system for image analysis of image data captured by means of a three-dimensional (“3D”) endoscope, comprising:at least one first image sensor, wherein the first image sensor is configured to capture first image data and second image data, wherein the captured first and second image data each comprise a two-dimensional image of a work region from different perspectives;a control unit comprising trained model, in communication with the at least one image sensor, configured to analyze the first and second image data to determine a quality value for each thereof, wherein the control unit is configured to output control instructions to the 3D endoscope for a first or second playback mode based on a specific first and second quality value;wherein the control unit is configured to output three-dimensional image data of the work region in the first playback mode based on the combination of the two two-dimensional images; andwherein the control unit is configured to output a two-dimensional image of the work region in the second playback mode based on the first image data or the second image data.

38. The control system of claim 37, wherein the trained model is configured with access to stored image structures utilized for the analysis.