COMPUTER IMPLEMENTED SYSTEM AND METHOD FOR ANALYZING QUALITY INSPECTION OF ENDOSCOPIC PROCEDURES - Patent application

A computer-implemented system analyzes video frames from medical procedures to assess and enhance the quality of examinations by providing real-time feedback on exposure, trajectory, and velocity, addressing the lack of inspection quality evaluation in existing systems.

JP2024537198APending Publication Date: 2024-10-10COSMO ARTIFICIAL INTELLIGENCE AI LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024520966
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-10-08
Filing Date
2022-10-07
Publication Date
2024-10-10

AI Technical Summary

Technical Problem

Existing medical imaging systems fail to provide real-time analysis and feedback on the quality of an operator's examination technique during procedures such as endoscopy, lacking the ability to evaluate specific areas or the entire procedure, and do not offer visual feedback to improve inspection quality.

Method used

A computer-implemented system that processes video frames from medical procedures to analyze factors like exposure, trajectory, and velocity, generating data representations and graphical feedback to indicate inspection quality levels, allowing real-time assessment and improvement of the operator's technique.

Benefits of technology

Enhances the quality of medical examinations by providing real-time feedback on inspection quality, ensuring thorough coverage of patient areas and improving operator technique through graphical displays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024537198000001_ABST
    Figure 2024537198000001_ABST
Patent Text Reader

Abstract

A computer-implemented system is provided that includes at least one processor configured to analyze a plurality of frames from the real-time video to identify frames during which an operator interacts with an imaging device to inspect an area of ​​a patient. The at least one processor is further configured to generate, from the identified frames, a data representation of a first area inspected by the operator interacting with the imaging device and to generate a data representation of one or more additional areas inspected by the operator interacting with the imaging device. The at least one processor is also configured to aggregate the data representation of the first area with the data representation of the one or more additional areas, use the aggregated data representation to determine an inspection quality level of the area inspected by the operator, and display a graphical representation indicative of the inspection quality level of the area inspected by the operator on a display device during the medical procedure.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to U.S. Patent Application No. 63 / 253,700, filed October 8, 2021, the contents of which are incorporated by reference in their entirety into this specification.

[0002] The present disclosure relates generally to the field of imaging systems and computer-implemented systems and methods for processing video from imaging systems or devices. More specifically, but not by way of limitation, the present disclosure relates to systems, methods, and computer-readable media for processing frames of video from an imaging device and performing analysis, such as examination quality analysis. The systems and methods disclosed herein can be used in a variety of applications, such as during a medical procedure to examine a patient. The systems and methods disclosed herein can also be implemented to provide real-time image processing functions, such as determining and providing examination quality level analysis in real time during a procedure utilizing a medical imaging device. [Background technology]

[0003] Modern medical procedures require accurate and precise examination of a patient's body and organs. For example, the rate of detection of malignant lesions during an endoscopy can be increased if the endoscope operator carefully and thoroughly examines each area of ​​the colon. Conversely, malignant lesions may be missed if the operator inadvertently misses or otherwise inadequately examines an area of ​​the patient's body. Several factors may affect the operator's level of examination, such as skill level, fatigue level, and recall as to whether a particular area has been examined.

[0004] Various medical imaging and inspection systems have been developed, many of which suffer from one or more shortcomings or drawbacks. For example, existing solutions are unable to provide any analysis or visual feedback to the operator regarding the quality or level of examination of a particular area. In addition, existing systems and methods are unable to provide real-time analysis and feedback of the operator's examination technique that can assist the operator in correcting his or her technique while examining a patient's body or organ. Furthermore, existing systems and methods are unable to evaluate or provide feedback regarding not only the examination of a particular area, but also the entire medical procedure or a portion thereof.

[0005] Thus, there is a need for improved imaging systems and methods, including those used in medical procedures to examine a patient. In particular, there is a need for providing computer-implemented analysis and feedback regarding the quality or level of an operator's examination technique, for example, during a medical procedure. There is also a need for computer-implemented systems and methods for analyzing data and determining examination quality levels in real time as a patient's body or organs are navigated and examined. Embodiments of the present disclosure can provide such improvements and address one or more of the above-mentioned shortcomings or drawbacks of existing solutions. Summary of the Invention

[0006] Embodiments of the present disclosure include systems, methods, and computer readable media for analyzing examination quality during a medical procedure, such as an endoscopy. Consistent with certain disclosed embodiments, systems, methods, and computer readable media are provided for processing frames of video and performing area exposure, trajectory, and / or velocity analysis, for example, during an endoscopic procedure. Embodiments of the present disclosure also relate to systems and methods for identifying an operator's interaction with an imaging device and determining an examination quality level in real time as the operator examines a patient's body or organ. As disclosed herein, the examination quality level analysis may be based on a combination of factors, such as exposure, trajectory, and / or velocity. One or more of these factors, including exposure, trajectory, and / or velocity, may be displayed to the operator individually or together while examining the patient's body or organ. These and other embodiments, features, and implementations are described herein.

[0007] Consistent with this disclosure, one or more computer systems may be configured to perform those operations or actions by having software, firmware, hardware, or a combination thereof installed on the system that, during operation, causes the system to perform the operations or actions. One or more computer programs may be configured to perform such operations or actions by including instructions that, when executed by a data processing device (such as one or more processors), cause the device to perform the operations or actions.

[0008] One general aspect includes a computer-implemented system for processing video captured during a medical procedure, such as an endoscopy. The computer-implemented system may include at least one processor configured to receive video including a plurality of frames captured from an imaging device during a medical procedure performed on a patient. The at least one processor may be further configured to analyze the plurality of frames to identify frames during which an operator interacts with the imaging device to inspect an area of ​​the patient for analysis, generate from the identified frames a data representation of a first area inspected by the operator interacting with the imaging device, and generate from the identified frames a data representation of one or more additional areas inspected by the operator interacting with the imaging device, and aggregate the data representation of the first area with the data representation of the one or more additional areas. The at least one processor may further be configured to use the aggregated data representation to determine an inspection quality level of the area inspected by the operator, and display on a display device a graphical representation indicative of the determined inspection quality level of the area inspected by the operator. Other embodiments include corresponding computer methods, apparatus, and computer programs stored on one or more computer storage devices, each configured to perform the operations or functions described above.

[0009] Implementations may include one or more of the following features: The inspection quality level may be based on one or more of a trajectory of the imaging device, a speed of the imaging device, and / or a ratio of an area inspected by the operator to an area of ​​the model surface. The data representation of the first area and the one or more further areas may include at least one of two-dimensional data and three-dimensional data. The system may include a neural network configured to perform a context evaluation to identify, from among the plurality of frames, a frame during which the operator is interacting with the imaging device to inspect the area of ​​the patient for analysis.

[0010] The at least one processor may be further configured to determine the examination quality level in real time during the medical procedure and update the determined examination quality level as the medical procedure is performed on the patient. The at least one processor may be further configured to modify the graphical display when the determined examination quality level is updated during the medical procedure. Additionally, the at least one processor may be configured to modify at least one of a color, a pattern, an image, a video, or an alphanumeric character of the graphical display. The at least one processor may be further configured to determine a short-term examination quality level of an area examined by the operator and a long-term examination quality level of a plurality of areas examined by the operator while the medical procedure is performed on the patient. The medical procedure may include at least one of an endoscopy, an esophagogastroduodenoscopy, a colonoscopy, a sigmoidoscopy, an endoscopic retrograde cholangiopancreatography, or a small intestine endoscopy. The examined area during the medical procedure may include a portion of the patient's colon.

[0011] The at least one processor may be further configured to generate a first three-dimensional representation of the examined first region of the patient from the identified frame, and further to generate a second three-dimensional representation of the examined second region of the patient from the identified frame, determine a proximity of the first three-dimensional representation to the second three-dimensional representation in three-dimensional space, and if the determined proximity is within a threshold, merge at least a portion of the first three-dimensional representation with at least a portion of the second three-dimensional representation, and use the merged portions of the first and second three-dimensional representations to identify a region of the patient not examined by an operator during the medical procedure. Implementations of the described techniques may include hardware, methods or processes, or computer software on a computer-accessible medium.

[0012] Another general aspect includes a computer-implemented system for processing video captured during a medical procedure. The computer-implemented system may include at least one processor configured to receive video including a plurality of frames captured from an imaging device while a medical procedure is being performed on a patient. The at least one processor may be further configured to analyze the plurality of frames to identify frames during which an operator interacts with the imaging device to inspect an area of ​​the patient for analysis, and generate from the identified frames a data representation of each local area inspected by the operator interacting with the imaging device. The at least one processor may further be configured to use the data representation of each local area to determine a short-term inspection quality level of the portion inspected by the operator, and to display on a display device during the medical procedure a graphical representation indicative of a long-term inspection quality level of each local area inspected by the operator. Other embodiments include corresponding computer methods, apparatus, and computer programs stored on one or more computer storage devices, each configured to perform the operations or functions described above.

[0013] Implementations may include one or more of the following features: The data representation of each local region may be aggregated by at least one processor, and the short-term inspection quality level may be determined by the at least one processor using the aggregated data representation. Additionally or alternatively, in the computer-implemented system, the short-term inspection quality level may be based on at least one of an imaging device trajectory, an imaging device speed, or an area exposure. The area exposure may be based on a ratio of an area inspected by the operator to an area of ​​the model surface. The at least one processor may be further configured to aggregate the data representations of the multiple local regions inspected by the operator into a long-term data representation. The at least one processor may be further configured to determine a long-term inspection quality level based on the long-term data representation, the long-term inspection quality level indicating a total amount of the area inspected throughout the medical procedure. The data representations of the multiple local regions may include two-dimensional data and three-dimensional data, and the at least one processor may be further configured to construct at least one model of each local region using the point cloud. The system may include a neural network configured to perform context evaluation to identify, from among a plurality of frames, a frame during which an operator is interacting with the imaging device to examine an area of ​​a patient for analysis.

[0014] The at least one processor may be further configured to determine at least one of a depth, a camera position, or an edge for each identified frame. The at least one processor may be further configured to determine a short-term examination quality level in real time during the medical procedure and update the determined short-term examination quality level as the medical procedure is performed on the patient. The at least one processor may be further configured to modify the graphical display when the determined short-term examination quality level is updated during the medical procedure. The at least one processor may be further configured to modify at least one of a color, a pattern, an image, a video, or an alphanumeric character of the graphical display. The medical procedure may include at least one of an endoscopy, an esophagogastroduodenoscopy, a colonoscopy, a sigmoidoscopy, an endoscopic retrograde cholangiopancreatography, or a small intestine endoscopy. The examined area during the medical procedure may include a portion of the patient's colon.

[0015] Systems and methods consistent with the present disclosure may be implemented using any suitable combination of software, firmware, and hardware. Implementations of the present disclosure may include machine-built and / or specially programmed programs or instructions to perform functions associated with the disclosed operations or behaviors. Furthermore, non-transitory computer-readable storage media storing program instructions executable by at least one processor may be used to perform the processes and / or methods described herein.

[0016] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosed embodiments. [Brief description of the drawings]

[0017] The following drawings, which form a part of this specification, illustrate several embodiments of the present disclosure and, together with the description, serve to explain the principles and features of the disclosed embodiments.

[0018] [Figure 1] FIG. 1 is a schematic diagram of an exemplary computer-implemented system for processing real-time video consistent with an embodiment of the present disclosure.

[0019] [Diagram 2] FIG. 2 illustrates an example computing device that can be used in connection with the example system of FIG. 1 and other embodiments of the present disclosure.

[0020] [Diagram 3] FIG. 3 illustrates an exemplary method for processing video captured during a medical procedure consistent with an embodiment of the present disclosure.

[0021] [Figure 4] FIG. 4 illustrates an exemplary method for generating a three-dimensional representation of an examined area consistent with an embodiment of the present disclosure.

[0022] [Figure 5A] FIG. 5A illustrates an example of a graphical display for showing velocity information, consistent with an embodiment of the present disclosure. [Figure 5B] FIG. 5B illustrates an example of a graphical display for showing trajectory information, consistent with embodiments of the present disclosure.

[0023] [Figure 6] FIG. 6 illustrates an example system for processing frames of video consistent with embodiments of this disclosure.

[0024] [Figure 7] FIG. 7 illustrates an exemplary method for determining short-term and long-term inspection quality levels consistent with an embodiment of the present disclosure.

[0025] [Figure 8] FIG. 8 illustrates an example method for generating short-term and long-term data displays consistent with embodiments of the present disclosure.

[0026] [Figure 9] FIG. 9 illustrates an exemplary method for determining long-term inspection quality levels and / or other information from short-term and long-term data displays consistent with embodiments of the present disclosure.

[0027] [Figure 10] FIG. 10 illustrates an exemplary longitudinal data display consistent with an embodiment of the present disclosure.

[0028] [Figure 11] FIG. 11 illustrates an exemplary method for processing video captured during a medical procedure consistent with an embodiment of the present disclosure.

[0029] [Figure 12A] FIG. 12A illustrates an example of a graphical display for indicating an inspection quality level and / or other attributes of operator navigation, consistent with embodiments of the present disclosure. [Figure 12B] FIG. 12B illustrates an example of a graphical display for indicating inspection quality level and / or other attributes of operator navigation, consistent with embodiments of the present disclosure.

[0030] [Figure 13A] FIG. 13A illustrates a further example of a graphical display for indicating an inspection quality level and / or other attributes of operator navigation, consistent with embodiments of the present disclosure. [Figure 13B] FIG. 13B illustrates further examples of graphical displays for indicating inspection quality levels and / or other attributes of operator navigation, consistent with embodiments of the present disclosure. [Figure 13C] FIG. 13C illustrates further examples of graphical displays for indicating inspection quality levels and / or other attributes of operator navigation, consistent with embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0031] Preferred embodiments are described below with reference to the accompanying drawings. The figures are not necessarily drawn to scale. Although examples and features of the disclosed principles are described herein, modifications, applications, and other implementations can be made without departing from the spirit and scope of the disclosed embodiments. Also, the terms "comprising," "having," "containing," and "including," and other similar forms, are intended to be equivalent in meaning and open-ended in that the items following any one of these terms are not meant to be exhaustive in enumerating such items or to be limited to only the enumerated items. It should also be noted that as used herein and in the appended claims, the singular forms "a," "an," and "the" include plural references unless the context clearly dictates otherwise.

[0032] In the following description, various examples are provided for purposes of illustration only, but it will be understood that the present disclosure may be practiced without one or more of these details.

[0033] References to "disclosed embodiments" throughout this disclosure refer to examples of inventive ideas, concepts, and / or manifestations described herein. Many related and unrelated embodiments are described throughout this disclosure. The fact that some "disclosed embodiments" are described as exhibiting a certain feature or characteristic does not necessarily mean that other disclosed embodiments share that feature or characteristic.

[0034] The embodiments described herein include a non-transitory computer readable medium that includes instructions that, when executed by at least one processor, cause the at least one processor to perform a method or sequence of operations. The non-transitory computer readable medium may be any medium capable of storing data in any memory in such a manner that it can be read by any computing device with a processor to execute the method or any other instructions stored in the memory. The non-transitory computer readable medium may be implemented as software, firmware, hardware, or any combination thereof. The software may be implemented as an application program tangibly embodied in a program storage device or computer readable medium, preferably consisting of components, or as a specific device and / or combination of devices. The application program may be uploaded to and executed by a machine including any suitable architecture. Preferably, the machine may be implemented on a computer platform having hardware such as one or more central processing units ("CPUs"), memory, and input / output interfaces. The computer platform may also include an operating system and microinstruction code. The various processes and functions described in this disclosure may be part of the microinstruction code or part of the application program, or any combination thereof, and may be executed by a CPU, whether or not such a computer or processor is explicitly shown. In addition, various other peripheral devices may be connected to the computer platform such as an additional data storage device and a printing device. Further, the non-transitory computer readable medium may be any computer readable medium except a transitory propagating signal.

[0035] Memory may include any mechanism for storing electronic data or instructions, including random access memory (RAM), read only memory (ROM), hard disk, optical disk, magnetic media, flash memory, other permanent, fixed, volatile, or non-volatile memory. Memory may include one or more individual storage devices arranged or distributed capable of storing data structures, instructions, or any other data. Memory may further include memory portions that contain instructions for executing a processor. Memory may also be used as a working memory device for the processor or as temporary storage.

[0036] Some embodiments may include at least one processor. The processor may be any physical device or group of devices having electrical circuitry that performs logical operations on inputs. For example, the at least one processor may include one or more integrated circuits (ICs), including application specific integrated circuits (ASICs), microchips, microcontrollers, microprocessors, all or part of a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), a field programmable gate array (FPGA), a server, a virtual server, or other circuitry suitable for executing instructions or performing logical operations. The instructions executed by the at least one processor may be preloaded, for example, in a memory integrated or embedded in the controller, or may be stored in a separate memory.

[0037] In some embodiments, the at least one processor may include two or more processors. Each processor may have a similar structure or may be of different structures where the processors are electrically connected or disconnected from each other. For example, the processors may be individual circuits or may be integrated into a single circuit. When two or more processors are used, the processors may be configured to operate independently or in concert. The processors may be coupled electrically, magnetically, optically, acoustically, mechanically, or by other means that allow them to interact.

[0038] Embodiments consistent with the present disclosure may include a network. A network may comprise any type of physical or wireless computer network arrangement used to exchange data. For example, a network may be the Internet, a private data network, a virtual private network using a public network, a Wi-Fi network, a local area network ("LAN"), a wide area network ("WAN"), and / or other suitable connections that may enable information exchange between various components of the system. In some embodiments, a network may include one or more physical links used to exchange data, such as Ethernet, coaxial cable, twisted pair cable, fiber optics, or any other physical medium suitable for exchanging data. A network may also include one or more networks, such as a private network, a public switched telephone network ("PSTN"), the Internet, and / or a wireless cellular network. A network may be a secured or unsecured network. In other embodiments, one or more components of the system may communicate directly through a dedicated communication network. Direct communication may use any suitable technology including, for example, BLUETOOTH®, BLUETOOTH LE (BLE)®, Wi-Fi, Near Field Communication (NFC), or other suitable communication method that provides a medium for exchanging data and / or information between the individual entities.

[0039] In some embodiments, the machine learning network or algorithm can be trained using training examples, for example, as described below. Some non-limiting examples of such machine learning algorithms can include classification algorithms, data regression algorithms, image segmentation algorithms, visual detection algorithms (such as object detectors, face detectors, people detectors, motion detectors, edge detectors, etc.), visual recognition algorithms (such as face recognition, people recognition, object recognition, etc.), speech recognition algorithms, mathematical embedding algorithms, natural language processing algorithms, support vector machines, random forests, nearest neighbor algorithms, deep learning algorithms, artificial neural network algorithms, convolutional neural network algorithms, recurrent neural network algorithms, linear machine learning models, nonlinear machine learning models, ensemble algorithms, etc. For example, the trained machine learning network or algorithm can include inference models such as predictive models, classification models, regression models, clustering models, segmentation models, artificial neural networks (such as deep neural networks, convolutional neural networks, recurrent neural networks, etc.), random forests, support vector machines, etc. In some examples, the training examples can include an input of examples along with a desired output corresponding to the input of examples. Further, in some examples, the training examples can be used to train the machine learning algorithm to generate a trained machine learning algorithm, which can be used to predict outputs for inputs not included in the training examples. The training can be supervised, unsupervised, or a combination thereof. In some examples, the engineers, scientists, processes, and machines that train the machine learning algorithm can further use validation examples and / or test examples.For example, the validation examples and / or test examples may include inputs of the examples along with desired outputs corresponding to the inputs of the examples, and the trained machine learning algorithm and / or the intermediately trained machine learning algorithm may be used to estimate outputs for the inputs of the examples of the validation examples and / or test examples, and the estimated outputs may be compared to the corresponding desired outputs, and the trained machine learning algorithm and / or the intermediately trained machine learning algorithm may be evaluated based on the results of the comparison. In some examples, the machine learning algorithm may have parameters and hyperparameters, where the hyperparameters are set manually by a human or automatically by a process external to the machine learning algorithm (such as a hyperparameter search algorithm), and the parameters of the machine learning algorithm are set by the machine learning algorithm according to the training examples. In some implementations, the hyperparameters are set according to the training examples and the validation examples, and the parameters are set according to the training examples and the selected hyperparameters. The machine learning network or algorithm may be further retrained based on any outputs.

[0040] Certain embodiments disclosed herein may include a computer-implemented system for performing operations or methods that include a series of steps. The computer-implemented systems and methods may be implemented by one or more computing devices, which may include one or more processors as described herein, configured to process real-time video. The computing devices may be one or more computers, or any other device capable of processing data. Such computing devices may include displays, such as LCD displays, augmented reality (AR) displays, or virtual reality (VR) displays. However, the computing devices may also be implemented in a computing system that includes back-end components (e.g., as a data server), or includes middleware components (e.g., an application server), or includes front-end components (e.g., a user device having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or includes any combination of such back-end, middleware, or front-end components. The components of the system and / or computing devices may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a LAN network, a WAN network, and the Internet. The computing devices may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on corresponding computers and having a client-server relationship to each other.

[0041] FIG. 1 illustrates an exemplary computer-implemented system 100 for processing real-time video, according to an embodiment of the present disclosure. As shown in FIG. 1, the system 100 includes an imaging device 140 and an operator 120 that operates and controls the imaging device 140 through control signals transmitted from the operator 120 to the imaging device 140. By way of example, in an embodiment in which the video feed includes medical video, the operator 120 may be a doctor or other medical professional performing a medical procedure on a patient. The imaging device 140 may include a medical imaging device, such as an endoscopic imaging device, an X-ray machine, a computed tomography (CT) machine, a magnetic resonance imaging (MRI) machine, or any other medical imaging device that generates a video or one or more images of a human body or a portion thereof. The operator 120 may interact with and control the imaging device 140 during a medical procedure being performed on a patient, for example, by controlling the capture rate of the imaging device 140 and / or the movement or navigation of the imaging device 140 through or relative to the patient's or individual's body, among other things. In some embodiments, imaging device 140 may include a swallowable capsule device or other form of capsule endoscopic device, as opposed to a traditional endoscopic imaging device that is inserted through a body cavity.

[0042] In the example of FIG. 1, imaging device 140 can transfer captured video as multiple image frames to computing device 160 during a medical procedure performed on a patient. Computing device 160 can include one or more processors to process the video as described herein (see, e.g., FIG. 2). In some embodiments, one or more of the processors can be implemented as separate components (not shown) that are not part of computing device 160 but are in network communication with computing device 160. In some embodiments, one or more processors of computing device 160 can implement one or more networks, e.g., trained neural networks. Examples of neural networks include object detection networks, classification detection networks, interaction detection networks, and / or other networks. Computing device 160 can receive and process multiple image frames from imaging device 140. In some embodiments, control or information signals can be exchanged between computing device 160 and operator 120 for purposes of controlling, directing, and / or creating one or more augmented videos. These control or information signals may be communicated to computing device 160 as data through imaging device 140 or directly from operator 120. Examples of control and information signals include signals for controlling components of computing device 160, such as the machine learning algorithms described herein.

[0043] In the example of FIG. 1, computing device 160 may process and enhance video received from imaging device 140 and then forward the enhanced video to display device 180. In some embodiments, enhancing or modifying the video may include providing one or more overlays, alphanumeric characters, shapes, figures, images, animated images, or any other suitable graphical display within or with the video frame. As shown in FIG. 1, computing device 160 may also be configured to relay the original, unaugmented video directly from imaging device 140 to display device 180. For example, computing device 160 may perform the direct relay under certain conditions, such as when there is no overlay or other enhancement or modification to be generated. In some embodiments, computing device 160 may perform the direct relay when operator 120 forwards a command as part of a control signal to computing device 160 to perform the direct relay. Commands from operator 120 may be generated by operation of buttons and / or keys included on the operator's device and / or input device (not shown), such as a mouse click, cursor hover, mouse over, button press, keyboard entry, voice command, interaction performed in virtual or augmented reality, or any other input.

[0044] To enhance the video, computing device 160 can process the video from imaging device 140, alone or in conjunction with control or information signals from operator 120, to create a modified video stream to send to display device 180. The modified video can include original image frames with enhanced information that are displayed to the operator via display device 180. The enhanced information can include one or more graphical representations of the determined inspection quality levels or values, alone or in combination with other information, such as exposure, speed, and / or trajectory information. In the modified video stream, the graphical representations can be overlaid on the video and positioned away from the view or field of view of the main camera (e.g., in an upper or lower corner of the display, or another location that does not obstruct the view or field of view of the main camera). In some embodiments, the graphical representations can be selectively presented (e.g., in response to an ON / OFF or other control signal by the operator) and / or displayed on individual panels or displays (i.e., as separate video outputs and not as an overlay on the real-time video from imaging device 140). Display device 180 may include any display or similar hardware suitable for presenting images or modified images, such as an LCD, LED, or OLED display, an augmented reality display, or a virtual reality display.

[0045] 2 illustrates an example computing device 200 for processing real-time video consistent with embodiments of the present disclosure. Computing device 200 may be used in conjunction with an implementation of the example system of FIG. 1 (e.g., including computing device 160). It should be appreciated that in some embodiments, the computing device may include multiple subsystems, such as a cloud computing system, a server, and / or any other components suitable for receiving and processing real-time video.

[0046] As shown in FIG. 2, computing device 200 may include one or more processors 230, which may include, for example, one or more integrated circuits (ICs), including application specific integrated circuits (ASICs), microchips, microcontrollers, microprocessors, all or part of a central processing unit (CPU), as discussed above, a graphics processing unit (GPU), a digital signal processor (DSP), a field programmable gate array (FPGA), a server, a virtual server, or other circuitry suitable for executing instructions or performing logical operations. In some embodiments, processor 230 may include or be a component of a larger processing unit implemented with one or more processors. One or more processors 230 may be implemented by any combination of general purpose microprocessors, microcontrollers, digital signal processors (DSPs), field programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gated logic, discrete hardware components, dedicated hardware finite state machines, or any other suitable entity capable of performing calculations or other manipulations of information.

[0047] As further shown in FIG. 2, the processor 230 may be communicatively coupled to the memory 240 via a bus or network 250. The bus or network 250 may be configured to communicate data and other forms of information. The memory 240 may include a memory portion 245 that includes instructions that, when executed by the processor 230, perform the operations and methods described in more detail herein. The memory 240 may also be used as a working memory, temporary storage, and other memory or storage role for the processor 230 in some cases. By way of example, the memory 240 may be a volatile memory, such as, but not limited to, a random access memory (RAM), or a non-volatile memory (NVM), such as, but not limited to, a flash memory.

[0048] The processor 230 may also be communicatively coupled to one or more I / O devices 210 via a bus or network 250. The I / O devices 210 may include any type of input and / or output device or peripheral device. The I / O devices 210 may include one or more network interface cards, APIs, data ports, and / or other components to support connectivity with the processor 230 via the network 250.

[0049] As further shown in FIG. 2, the processor 230 and other components (210, 240) of the computing device 200 may be communicatively connected to a database or storage device 220. The storage device 220 may electronically store data in an organized format, structure, or set of files. The storage device 220 may include a database management system to facilitate the storage and retrieval of data. Although illustrated in FIG. 2 as a single device, it should be understood that the storage device 220 may include multiple devices that are collocated or distributed. In some embodiments, the storage device 220 may be implemented on a remote network, such as cloud storage.

[0050] The processor 230 and / or memory 240 may also include a machine-readable medium for storing software or instruction sets. As used herein, "software" refers broadly to any type of instructions, whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise. The instructions may include code (e.g., code in source code format, binary code format, executable code format, or any other suitable format). The instructions, when executed by one or more processors 230, may cause the processors to perform various operations and functions, which are described in further detail herein.

[0051] The implementation of the computing device 200 is not limited to the exemplary embodiment shown in FIG. 2. The number and arrangement of the components (210, 220, 230, 240) can be changed and rearranged. Furthermore, although not shown in FIG. 2, the computing device 200 can electronically communicate with other networks, such as the Internet, local area networks, wide area networks, metro area networks, and other networks that may enable communication between elements of the computing architecture. Also, the computing device 200 can read data or other information described herein from any source, including the storage device 220, as well as a network or other database. Furthermore, the computing device 200 can include one or more machine learning models used to implement the neural networks described herein, and can read or receive weights or parameters of the machine learning models, training information or training feedback, and / or any other data and information described herein.

[0052] FIG. 3 illustrates an example method 300 for processing video captured during a medical procedure consistent with an embodiment of the present disclosure. The example method 300 may be implemented utilizing at least one processor (e.g., at least one processor of the computing device 160 or processor 230), or a non-transitory computer-readable medium such as a CPU, an FPGA, an ASIC, or any other processing structure or storage medium of a computing device. As shown in FIG. 3, in step 310, the at least one processor may receive real-time video captured from an imaging device during a medical procedure on a patient. As used herein, "real-time video" may refer to video received from a video source (e.g., an imaging device) with no perceptible delay by the at least one processor, computing device, and / or system. For example, the at least one processor may be configured to receive real-time video captured from a medical imaging device during a medical procedure performed on a patient. The medical imaging device may include any device capable of generating a video or one or more images of a human body or a portion thereof, such as an endoscopy device, an X-ray machine, a CT machine, or an MRI machine, as described above. A medical procedure may be any action or series of operations performed to examine, determine, detect, measure, and / or diagnose a condition of a patient. Examples of medical procedures include endoscopy, esophagogastroduodenoscopy, colonoscopy, sigmoidoscopy, endoscopic retrograde cholangiopancreatography, or small intestine endoscopy. During a medical procedure, an operator may interact with an imaging device to examine an area of ​​a patient for analysis. Parts of the human body that an operator may examine for analysis include the rectum, sigmoid colon, descending colon, transverse colon, ascending colon, or cecum. In some embodiments, a medical procedure may include an endoscopic procedure. For example, during an endoscopic procedure, an operator may interact with an imaging device to examine an area of ​​a patient's colon and identify an object of interest (e.g., a lesion or polyp). However, it should be understood that the disclosed systems and methods may be used for other procedures and applications.

[0053] The real-time video received from an imaging device during a medical procedure may include multiple frames, consistent with disclosed embodiments. As used herein, a "frame" may refer to any digital representation, such as a collection of pixels, that represents a scene or field of view of the real-time video. In such embodiments, a pixel may refer to an individual element characterized by a value or intensity in a color space (e.g., based on an RGB, RYB, CMY, CMYK, or YUV color model). A frame may be encoded in any suitable format, such as Joint Photographic Experts Group (JPEG) format, Graphics Interchange Format (GIF), bitmap format, Scalable Vector Graphics (SVG) format, Encapsulated PostScript (EPS) format, or any other format. The term "video" may refer to any digital representation of a scene or region of interest that is comprised of multiple consecutive frames. Video may be encoded in any suitable format, such as Moving Picture Experts Group (MPEG) format, Flash Video format, Audio Video Interleaved (AVI) format, or any other format. However, the video need not be encoded and may more generally comprise a number of frames, which may be in any order, including random order, and in some embodiments the video or frames may be associated with or combined with audio.

[0054] The plurality of frames may include a representation of an object of interest. As used herein, "object of interest" may refer to any visual item or visual feature in the plurality of frames that may be desired to be detected or characterized. For example, the object of interest may be a person, a place, an entity, a feature, an area, or any other identifiable visual item or thing. In an embodiment in which the plurality of frames includes images captured from a medical imaging device, for example, the object of interest may include at least one of a formation on or in human tissue, a change in human tissue from one cell type to another, a loss of human tissue from a location where human tissue is expected, or a lesion. Examples of objects of interest in an image captured by an imaging device may include a polyp (a growth protruding from the gastrointestinal mucosa), a tumor (a swelling of a body part), a contusion (a change from healthy cells to discolored cells), a pit (a loss of human tissue), or an ulcer or abscess (a damaged tissue, i.e., a lesion). Other examples of objects of interest will be apparent from this disclosure.

[0055] Referring again to FIG. 3, in step 320, the at least one processor may identify frames from video (also referred to herein as "real-time video") received from an imaging device during a medical procedure performed on a patient. During a medical procedure, an operator may interact with the imaging device to inspect an area of ​​the patient's organ for analysis. The type of operator interaction with the imaging device may be determined by analyzing multiple frames of video from the imaging device and classifying the frames into one or more of a number of actions, for example, using an image classification algorithm or a neural network. By way of example, during a medical procedure, an operator may spray water on an area, navigate a camera of the imaging device around an intestine or other organ to inspect one or more areas, zoom into an area, inspect a lesion or other formation or object, remove a lesion or other formation or object, perform a biopsy, insert an imaging device, remove an imaging device, or perform other actions that may aid in the analysis or treatment of the patient. Each frame or group of frames may be classified based on the action performed by the operator. As non-limiting examples, a frame or groups of frames may be classified as "spraying" if a stream or spurt of water is detected in the frame, a frame may be classified as "removing" if a surgical tool is detected in the frame, a frame may be classified as "inspecting" if the area of ​​the object is determined to be large in the frame, thereby indicating that the operator has zoomed in to analyze the object, and / or a frame may be classified as "searching" if the field of view in the frame is determined to be substantially along the axis of the patient's body organ, thereby indicating that the operator is moving toward (or away from) the organ. Classification of a frame into one or more of the actions may indicate that the operator is interacting with the imaging device to inspect an area of ​​the patient for analysis.For example, frames categorized as "inspect" or "search" may be identified as frames in which the operator is interacting with the imaging device to inspect an area of ​​the patient for analysis, as those actions may indicate that the operator is navigating the patient's organs or other body parts to identify objects of interest. Conversely, frames categorized as "spray" or "remove" may be identified as frames in which the operator is not interacting with the imaging device to inspect an area of ​​the patient for analysis, as those actions may indicate that the operator is performing other actions and is not navigating the patient's organs or other body parts to identify objects of interest. The classification may be displayed and determined in any format, such as a numeric category (e.g., "1" for search, "2" for inspection, "0" for no classification, etc.), an alphanumeric category (e.g., "search", "remove", "N / A", etc.), or any other format. It should be understood that any suitable classification or context may be used to categorize one or more frames and / or determine that the operator is interacting with the imaging device to inspect an area of ​​the patient for analysis, and the examples described above are merely illustrative and not limiting of embodiments consistent with the present disclosure.

[0056] In some embodiments, the neural network may be configured to perform a context evaluation to identify, from among the plurality of frames, frames during which the operator is interacting with the imaging device to inspect an area of ​​the patient's organ for analysis. For example, the plurality of frames may be fed to one or more neural networks (e.g., deep neural networks, convolutional neural networks, recurrent neural networks, etc.), random forests, support vector machines, or any other suitable models as described above that are trained to classify the plurality of frames. The neural network may be trained using the plurality of training frames or portions thereof that are labeled based on the classification of one or more actions. For example, a first set of training frames (or a portion of frames) in which the operator is performing an action (e.g., spraying an area with water) may be labeled as that action (e.g., "spraying"), and a second set of training frames (or a portion of frames) in which the operator is not performing that action (e.g., "not spraying") or is performing a completely different action (e.g., "searching") may be labeled accordingly. Other labeling conventions can be used, both binary classification (e.g., "inspect" vs. "don't inspect") and multi-classification (e.g., "inspect" vs. "remove" vs. "spray"). Weights or other parameters of the neural network may be adjusted based on the output for a third set of unlabeled training frames (or portions of frames) until convergence or other metric is achieved, and the process may be repeated with additional training frames (or portions thereof) or raw data as described herein.

[0057] The machine learning algorithm, model, or weights may be stored within the computing device and / or system, or may be recalled from a network or database prior to processing. In some embodiments, the machine learning network or algorithm may be retrained based on one or more of its outputs, e.g., a correct or incorrect classification output. Feedback for retraining may be generated automatically by the system or computing device, or may be manually entered by an operator or other user (e.g., via a mouse or keyboard or other input device). Weights or other parameters of the machine learning network or algorithm may be adjusted based on the feedback. Additionally, traditional non-machine learning classification algorithms may be used alone or in combination with the machine learning classification network or algorithm to classify the multiple frames.

[0058] In some embodiments, information defining the identified operator actions and / or the decision of whether the operator interacts with the imaging device to inspect the patient's region may be displayed on the display in any suitable graphical representation. Such information may indicate when the identified operator actions occurred and may be displayed, for example, in real time on the display device. Information may also be collected and updated over time (e.g., during the course of a medical procedure) and a cumulative amount for each action may be displayed on the display device. For example, a pie chart may be displayed with a label and / or number indicating the percentage of frames (e.g., since the beginning of the medical procedure) that correspond to this determination, such as "Search 35%" if 35 percent of the frames were identified as frames in which the operator moved from one region to another, or "Remove 20%" if 20 percent of the frames were identified as frames in which the operator removed a polyp or other object of interest. Other types of graphical presentations and displays may be used, such as other types of charts (e.g., bar graphs), alphanumerics (e.g., labels and / or percentages only), symbols (e.g., water droplet icons indicating spraying), videos or animated images (e.g., videos of removal), and / or any other visual display.

[0059] In step 330 of Figure 3, the at least one processor may generate, from the identified frames, a data representation of a first region inspected by an operator interacting with the imaging device. The data representation of the region may be represented as two-dimensional information (e.g., planar information in a coordinate system defined by x and y coordinates), as three-dimensional information (e.g., point cloud information in a coordinate system defined by x, y, and z coordinates), or as a combination of both. For example, the data representation may be generated by calculating spatial properties in and around the field of view of the frames, such as depth, pose, and edges, although any other visual attributes may be used to generate the data representation.

[0060] For example, depth can be determined by calculating the difference between corresponding image points in two frames. For example, in an embodiment including two or more cameras, depth can be determined according to the following formula:

number

[0061] Also, the pose may be calculated using any algorithm suitable for determining the position and / or rotation of the imaging device relative to a coordinate system. In some embodiments, the pose may be estimated using one or more neural networks trained to estimate the relative displacement of the camera from two or more image frames, which may be used as a proxy for the camera pose. In some embodiments, such a neural network may utilize depth information of each frame to determine the relative displacement of the camera. Furthermore, a loss function or another optimization technique may be used to ensure uniform scaling of the determined displacement across multiple frames. The neural network may be applied to consecutive image frames (although in some embodiments, some frames may be skipped) and the results may be stored during the entire procedure or a portion of the procedure so that the camera pose at any time during the procedure can be tracked. For example, the camera pose at a given time relative to an initial time (e.g., 0 time) may be obtained by concatenating the relative displacements calculated for each pair of frames. The concatenation may be further refined, for example, using an optimization algorithm, a smoothing operation, or any other suitable refinement process. However, other methods of calculating or estimating the pose may be used as will be understood by those of skill in the art upon review of this disclosure.

[0062] Edges of the surfaces of the frame may also be identified. The edges may be determined using any suitable edge detection algorithm (e.g., Canny, Sobel, difference, convolution, or any other method). For example, in an embodiment in which the frames are captured during an endoscopy, edges of folds in the patient's colon may be detected to segment the surfaces shown in the frames. The detected edges and / or edge-defined regions may then be used to generate a data representation of the area inspected by the operator during the medical procedure. Additionally, the edges and / or edge-defined regions may be used in displaying feedback to the operator. For example, a graphical representation of the operator's navigation may be segmented or otherwise segmented using edge and / or region information, as described further herein. Thus, it should be understood that the visual attributes used to generate the data representation of the area inspected by the operator may also be used for other purposes, such as operator feedback. Additionally, the types of visual attributes listed above are provided for illustrative purposes only and are not intended to be exhaustive.

[0063] Consistent with the above description, spatial properties such as depth, pose, and edges may be determined using one or more machine learning networks. For example, one or more neural networks may be trained to directly regress depth, pose, and / or edges from a single frame by visual features via supervised learning by minimizing regression loss. As another example, one or more neural networks may be trained to predict disparity / depth and / or pose from two or more frames in either a supervised (e.g., by manual validation) or unsupervised (e.g., by a spatial transformer network). The machine learning network may be retrained based on one or more outputs, e.g., correct or incorrect depth, pose, or edge calculations. Feedback for retraining may be generated automatically by the system or computing device, or may be manually entered by an operator or other user (e.g., via a mouse or keyboard or other input device). Weights or other parameters of the machine learning network may be adjusted based on the feedback. In addition, traditional non-machine learning algorithms may be used alone or in combination with machine learning networks or algorithms to determine spatial properties such as depth, pose, and / or edges of frames.

[0064] Additionally, the calculated spatial characteristics may be further refined after calculation. For example, a visual odometry algorithm may be applied to refine the calculated pose estimate. The visual odometry algorithm may be used to estimate the change in position of the imaging device over time across multiple frames. The visual odometry algorithm may include a pre-processing step (e.g., distortion removal, etc.), although in some embodiments, pre-processing may not be necessary. A correlation between corresponding visual features in two or more frames may be calculated. A motion flow or pattern may then be estimated based on this correlation (e.g., using the Lucas-Kanade method, Horn-Schunck method, Buxton-Buxton method, Black-Jepson method, or any other method). Other refinements may be applied depending on the particular spatial characteristics calculated or any other information.

[0065] Referring again to the exemplary method of FIG. 3, in step 340, the at least one processor may generate, from the identified frame, a data representation of one or more additional regions inspected by an operator interacting with the imaging device. The data representation of the one or more additional regions inspected by the operator may be generated in the same or similar manner as the first region inspected by the operator, as described above (e.g., by calculating spatial properties in and around the field of view of the frame, such as depth, pose, and edges, although other visual attributes may be used to generate the data representation). The first region inspected by the operator and the one or more additional regions need not be adjacent or inspected consecutively, but rather may represent different regions of the patient's body and may be inspected at different times during a medical procedure.

[0066] In step 350, at least one processor may aggregate the data representation of the first region with the data representation of one or more additional regions. The multiple data representations may be aggregated by combining adjacent representations of the region inspected by the operator. For example, two adjacent data representations may be aggregated into a single data representation using two-dimensional data, three-dimensional data, or both. An exemplary method for aggregating data representations using three-dimensional data of the inspected region is described below with reference to FIG. 4. The aggregation may be performed using a coordinate system used to define the data representation, such as an x, y, and z coordinate system. For example, two data representations that include one or more overlapping points with identical x, y, and z coordinates may be aggregated using the overlapping points as a reference. In some embodiments, if the data representations include missing or corrupted data, thereby creating "holes" in the data representation, an interpolation or hole-filling algorithm may be performed to create a single seamless data representation by removing such holes. Additionally, in some embodiments, a distance threshold or other criterion may be applied to determine whether two or more data representations are sufficiently close to each other in coordinate space to warrant aggregation. It will be appreciated that the data views need not be aggregated into a single data view, but rather may be calculated and stored as multiple individual data views.

[0067] In step 360 of FIG. 3, the at least one processor can use the aggregated data representation to determine an inspection quality level of the area inspected by the operator. As used herein, "inspection quality level" can refer to the quality of the operator's inspection of the area captured by the imaging device. The inspection quality level can be determined using the aggregated data representation, for example, by calculating a ratio of the area inspected by the operator to the area of ​​the model surface. The inspection quality level can also be determined using other information available to or generated by the computing device, as well as information related to the imaging device, the captured real-time video or frames, or other information such as the trajectory of the imaging device, the velocity of the imaging device, etc. In still further embodiments, the examination quality is determined based on one or more of the following factors or information: (i) timing of or related to a certain examination or medical procedure, for example, removal from a position or region of a body organ (e.g., the fundus of the cecum) for a threshold time or more (e.g., 6 minutes); (ii) CWT statistics related to actions performed by an endoscopist or operator, for example, calculated by a context analyzer (see, for example, WO 2021 / 156159 A1, entitled "Systems and Methods for Contextual Image Analysis," the disclosure of which is expressly incorporated herein) using colonoscope removal time (CWT) statistics that compare one or more thresholds, trajectories, instantaneous velocities, velocity statistics, and aggregated data representations of the surface of the colon or other organ with information about exposed portions (e.g., intestinal mucosa) and angles and / or distances. The above factors or information are complementary, not exclusive, and may be examined in combination to determine an examination quality level.

[0068] In some embodiments, the inspection quality level may be a quality level of the inspection during the medical procedure determined from the exposure level. For example, to determine the level of surface exposure (i.e., "exposure level"), a ratio of the area inspected by the operator to the area of ​​the model surface may be calculated. As used herein, "model surface" may refer to a representation, e.g., a two-dimensional or three-dimensional model, of an object or object inspected by the operator. For example, in an embodiment in which the operator performs an endoscopic examination, the model surface may be a model of the patient's colon. Following this example, the model surface may include a series of cylinders of different diameters arranged in the shape of a colon. This model surface may be used to calculate a ratio of the area inspected by the operator to the area of ​​the model surface to indicate the exposure level. For example, the area of ​​a two-dimensional data representation of a surface captured in one or more frames may be compared to the area of ​​a corresponding two-dimensional surface of the model surface. As another example, the area of ​​a three-dimensional data representation of a surface captured in one or more frames may be compared to the area of ​​a corresponding three-dimensional surface of the model surface. A ratio may be calculated based on this comparison to determine the level of surface exposure, and this ratio may be expressed in any desired form (e.g., 25% of surfaces inspected, 45% of surfaces inspected, etc.).

[0069] As an example, a cylindrical projection may be performed by at least one processor to determine the exposure level, in which the estimated three-dimensional data representation of the captured surface and the three-dimensional model of the colon are projected in two dimensions. The three-dimensional model of the colon can be generated in one or more ways, for example, by (i) applying a self-supervised depth estimation algorithm based on monocular video to enforce frame-to-frame consistency, (ii) collecting three-dimensional data using a three-dimensional sensor of the colon (e.g., active stereo or stereo camera) or by ex vivo measurements, and (iii) creating a three-dimensional synthetic data set including colon shape, colon deformation, colon texture, etc., where the synthetic colon model is created, for example, as a sketch by a graphic designer or in a parametric way by parameter fitting and / or estimation providing a large data set. The projection axis can be estimated from the three-dimensional colon model and the three-dimensional reconstructed model. The three-dimensional reconstructed model can be aligned to the three-dimensional colon model using conventional algorithms such as the iterative closest point (ICP) algorithm. In some embodiments, the projections to two dimensions may be done sequentially or simultaneously based on the shape of the patient's colon or an estimate thereof. Once the projections of the three-dimensional colon model and the three-dimensional reconstructed model are available, the two projected regions can be compared. In some embodiments, the cylindrical projection technique may not require a colon model. In such a case, a cylindrical projection can be applied to the three-dimensional reconstructed model and the exposed region can be compared to the entire cylinder.

[0070] In some embodiments, a ground truth three-dimensional colon reconstruction model may be used to estimate the amount of surface inspection from the three-dimensional representation. This model may be trained, tested, and validated before being used in the analysis of inspection quality levels during a medical procedure. In some embodiments, the ground truth three-dimensional colon reconstruction model may be generated based on the latest depth from a monocular vision system. The accuracy of the three-dimensional model generated using this technique may be high, but this technique may be resource intensive. Alternatively, in some embodiments, the ground truth three-dimensional colon reconstruction model may be generated by using a depth sensor and comparing the reconstruction from the depth data with the reconstruction from standard color frame data. In still other embodiments, the ground truth three-dimensional colon reconstruction model may be generated based on a synthetic model, and a video sequence may be generated using a graphic rendering tool. Once the video sequence is generated, a three-dimensional reconstruction algorithm may be run on the video sequence, and the results may be compared to the synthetic model created.

[0071] In some embodiments, at least one three-dimensional colon model may be used to estimate the amount of exposed surface from the generated three-dimensional representation. In some embodiments, one or more three-dimensional colon models may be provided, and a particular model may be selected from among these models and compared to the three-dimensional representation based on the completeness of the three-dimensional representation. As an example, if a single long-term three-dimensional representation including an unmerged short-term representation is available, it may be compared to a colon model in a database of standard colon models. If the long-term representation partially occupies one or more portions of the colon, the long-term representation may be compared to a database of one or more portions of the colon, e.g., a segment, a cecum, or an ascending colon, to estimate the amount of exposure of the colon surface of the patient. In some embodiments, the system may generate multiple short-term representations, or a combination of a long-term representation and several unmerged short-term representations. In such cases, a cylindrical projection technique may be used to determine an appropriate fit to the available partial short-term and long-term representations.

[0072] In other embodiments, the exposure may be measured by directly projecting the three-dimensional reconstructed model onto the three-dimensional colon model surface. In such cases, each three-dimensional vertex or face of the three-dimensional reconstructed model can be projected onto the three-dimensional colon model. The exposure level can be determined from the ratio of the area of ​​the three-dimensional colon model that coincides with the projected point or vertex to the total area of ​​the three-dimensional model surface.

[0073] Depending on the patient, there may be differences in terms of the physical dimensions and characteristics of the patient's intestine. However, the intestine has a common anatomical structure and a set of landmarks (such as curvatures, valves, openings, etc.) between patients. Using these common features and landmarks, a standard model of the intestine can be constructed. Such a model can provide a sufficient level of accuracy to identify mucosal regions in a patient's colon. Furthermore, any differences can be addressed by the disclosed system and method by training on data from various patients. Alternatively or additionally, information related to the patient's colon (e.g., shape, size, and other characteristics) may be used to select one of multiple colon models as part of an optimal operation, or this information may be used to make adjustments to a reference colon model.

[0074] The embodiments of the present disclosure may also be configured to address differences between different endoscopic cameras. This may be done to minimize any effects on the collected image data and the determined exposure levels. For example, one or more camera calibration methods may be applied. In some embodiments, the monocular depth estimation technique is improved by applying a unique camera calibration, which may be performed at least once for each imaging device, for example, at the time of installation and / or before every medical procedure. More advanced algorithms may accommodate uncalibrated cameras and provide estimates of the camera parameters at the output of the convolutional neural network. For example, <https: / / openaccess.thecvf.com / content_ICCV_2019 / papers / Gordon_Depth_From_Videos_in_the_Wild_Unsupervised_Monocular_Depth_Learning_ICV_2019_paper.pdf> >Please refer to.

[0075] In some embodiments, the examination quality level may be a quality level of the examination during the medical procedure determined from the trajectory of the imaging device. The trajectory of the imaging device may be determined using any suitable trajectory estimation algorithm. For example, corresponding points in two or more frames may be identified. The identified corresponding points may then be transformed into coordinates of a predefined coordinate system (e.g., a coordinate system having x, y, and z coordinates). A rotation matrix and a translation vector representing the rotation and translation of the two or more frames, respectively, may then be calculated using the translation coordinates. A fitting algorithm, for example, Random Sample Consensus (RANSAC), Maximum Likelihood Estimator Sample Consensus (MLESAC), PEARL, Hough, least squares fitting, or any other fitting algorithm, may then be applied to find the best rotation matrix and translation vector by ignoring outlying points. The calculated rotation matrix and translation vector may then be transformed into a coordinate system to calculate the trajectory of the imaging device relative to a starting point (e.g., the first frame). The above process may be repeated for other frames of the real-time video to generate a trajectory of the imaging device for a portion of the real-time video. However, it will be appreciated that other orbit estimation algorithms may be utilized.

[0076] In some embodiments, the examination quality level may be a quality level of the examination during the medical procedure determined from the speed of the imaging device. The speed of the imaging device may be determined using any suitable speed estimation algorithm. For example, the relative speed between two or more consecutive frames (although some frames may be skipped) may be calculated after calculating the trajectory of the imaging device as described above. The speed may be calculated based on the distance traveled by the imaging device during the trajectory between two or more frames. As a further example, an accelerometer or tracking device may be used to determine the speed of the imaging device as an operator interacts with the imaging device during the medical procedure. However, it will be appreciated that other processes or algorithms for estimating the speed may be utilized.

[0077] In some embodiments, the inspection quality level may be a quality level of the inspection during a medical procedure determined using a combination of features. The computing device may determine the inspection quality level using, for example, the imaging device trajectory, the imaging device speed, the ratio of the area inspected by the operator to the area of ​​the model surface, and / or any other information available to or generated by the computing device. For example, a high inspection quality level may be the result of a good imaging device trajectory, an appropriate imaging device speed, and / or a high exposure level (e.g., a high ratio of the inspection surface to the model surface). Conversely, a low inspection quality level may be the result of a poor imaging device trajectory, an inappropriate imaging device speed, and / or a low exposure level (e.g., a low ratio of the inspection surface to the model surface). In general, the trajectory may be evaluated in terms of its smoothness, regularity, symmetry, and / or any other attribute associated with the trajectory. As an example, in the case of an endoscope, a good imaging device trajectory should follow a spiral or helical trajectory as opposed to a linear trajectory. Other features of the trajectory may also be ascertained. By way of example, the trajectory of the endoscopic camera should minimize the distance from the mucosa, optimize the angle with respect to the mucosal surface so that the viewing direction is perpendicular to the mucosal surface, and / or provide a view of the mucosa behind the colonic folds. In some embodiments, the examination quality level may be a qualitative binary value. Some examples of qualitative binary values ​​include good or poor, low or high, acceptable or unacceptable, and fail or pass. In some embodiments, the examination quality level may be a numerical value, such as a score on a continuous scale (e.g., a score on a scale of 0 to 1, 1 to 10, or 1 to 100, etc.).

[0078] In some embodiments, the inspection quality level may be determined based on a threshold value of the total exposed area. As an example, the inspection quality level may be considered high or good if the total exposed area of ​​the organ is 50% or more. However, if the total exposed area of ​​the organ is 50% or less, the inspection quality level may be considered low or poor. It will be understood that other thresholds may be used and other ways of expressing the inspection quality level (e.g., pass or fail) may be implemented.

[0079] In some embodiments, the trajectory is determined based on estimates of the camera pose in successive frames. As disclosed herein, for an endoscopic camera, the trajectory should maximize visibility of the area behind the colonic folds and optimize the viewing direction and distance from the mucosal surface. A spiral trajectory (bottom) is preferred over a linear trajectory. In some embodiments, a more accurate trajectory assessment is achieved by analyzing the collective field of view of the camera while moving along the trajectory.

[0080] In some embodiments, the inspection quality level may be determined based on the imaging device speed, alone or in combination with other factors or information. For example, the speed may be considered optimal if it is within predefined speed limits recommended by guidelines for minimum procedural timing and / or if the speed is smooth and constant (e.g., there are no excessive peaks and / or drops in the speed). Additionally or alternatively, the imaging device speed may be considered optimal if the mucosal surface can be clearly observed. In some embodiments, a combination of a good imaging device trajectory and an optimal imaging device speed may be desirable and may result in a determination of a high inspection quality level. As a further example, if the imaging device is moving along a good trajectory but at an above optimal speed such that the mucosal surface is not imaged sufficiently or clearly, the inspection quality level may be determined to be low. In some embodiments, the inspection quality level may be determined based on the surface exposure, alone or in combination with other factors or information. For example, the exposure may be considered sufficient if the ratio of the inspected surface to the model surface is within a predefined exposure range, which may be based on local or short exposure and / or global or long exposure. As used herein, "exposure" refers to the ratio of the observed colon surface area to the total colon surface area. In still further embodiments, one or more analyzed factors such as trajectory, speed, and / or exposure may be used to determine the examination quality level. However, as explained above, other analyzed values ​​or calculations may be used to determine the examination quality level.

[0081] In some embodiments, the at least one processor may be further configured to determine the examination quality level in real time during the medical procedure and update the determined examination quality level as the medical procedure is performed on the patient. For example, the examination quality level may be updated periodically (e.g., every millisecond, every second, every minute, every hour, etc.) during the medical procedure using a predefined time interval, or at random intervals that may be within a prescribed period. As another example, the examination quality level may be updated based on the amount of area inspected by the operator (e.g., the examination quality level may be updated every few centimeters or inches inspected), the distance the imaging device has moved (e.g., the examination quality level may be updated every few centimeters or inches moved), and / or other suitable intervals or underlying variables. As a further example, the examination quality level may be updated based on operations performed by at least one processor of the computing device, such as after generating a data representation of the area inspected by the operator, after aggregating the data representation, or after any other operation performed by the at least one processor. The examples provided above are merely illustrative and are not intended to be exhaustive.

[0082] In step 370 of the exemplary method of FIG. 3, the at least one processor may display on a display device during the medical procedure a graphical display indicative of an inspection quality level of the area inspected by the operator. The display device, e.g., display device 180 described above in connection with FIG. 1, may be an LCD display, a virtual reality display, an augmented reality display, or the like. The inspection quality level may be displayed in any desired format, e.g., a percentage value, a classification label, alphanumeric characters, colors, images, videos, graphs, or any other format. For example, the inspection quality level may be displayed as a number of regions corresponding to the areas inspected by the operator during the medical procedure and may be displayed as different colors depending on the inspection quality level (e.g., green for a high inspection quality level and red for a low inspection quality level). As a further example, if during or a portion of the medical procedure (e.g., during the last section of the surface, the last few minutes, the entire medical procedure, etc.), the computing device determines that only 25 percent of the area of ​​the surface is inspected by the operator, a percentage value or exposure classification indicative of the inspection quality level, such as "25% exposure" or "low exposure," may be presented. As a further example, a two-dimensional or three-dimensional model having one or more sections may be presented to the operator to indicate the inspection quality level of each section (e.g., green sections for a high inspection quality level and red sections for a low inspection quality level). As yet another example, the graphical display may indicate the ratio of the area inspected by the operator to the area of ​​the model surface and / or the area not inspected, which may be expressed as a percentage, a value, a classification, or any other suitable format. Further exemplary graphical displays for displaying inspection quality levels or values ​​are shown in Figures 12A and 12B. These examples may be modified to include other information, such as speed and / or trajectory information (see, e.g., Figures 5A and 5B). However, other graphical displays may be used as will be appreciated from this disclosure.

[0083] In some embodiments, the at least one processor may be further configured to modify the graphical display when the determined inspection quality level is updated during the medical procedure. As a non-limiting example, the at least one processor may be configured to modify at least one of the color, pattern, image, video, and / or alphanumeric characters of the graphical display. For example, in an embodiment in which the inspection quality level is displayed as a number of regions corresponding to the regions inspected by the operator, the color of the regions may be changed in response to the change in the inspection quality level (e.g., from green to red to indicate a change from high to low inspection quality level, and from red to green to indicate a change from low to high inspection quality level). As a further example, in an embodiment in which the inspection quality level is displayed as a percentage value or exposure classification, the percentage or classification may be changed in response to the change in the inspection quality level (e.g., from "25% inspection quality level" to "50% inspection quality level" to indicate an improvement in the inspection quality level from 25 percent to 50 percent, and from "low inspection quality level" to "high inspection quality level" to indicate an improvement in the inspection quality level from low to high). As yet another example, in embodiments in which the inspection quality level is displayed as a two-dimensional or three-dimensional model having one or more sections, a visual attribute of the model may change in response to changes in the inspection quality level (e.g., a section may change from green to red to indicate a decrease in the inspection quality level from a high to a low inspection quality level, or a section may change from red to green to indicate an increase in the inspection quality level from a low to a high inspection quality level), however, as will be appreciated from this disclosure, other changes to the graphical display may be used to indicate changes in exposure.

[0084] 4 illustrates an exemplary method 400 for generating a three-dimensional representation of an inspected region consistent with an embodiment of the present disclosure. The method 400 may be performed on frames identified as frames during an operator's interaction with an imaging device to inspect a region of a patient's organ for analysis. The exemplary method 400 may be implemented in one or more processors, e.g., at least one processor of the computing device 160 or the processor 230, and may be executed as part of a process for determining an inspection quality level or value (see, e.g., the exemplary method of FIG. 3). It will be appreciated that the method 400 is a non-limiting example.

[0085] As shown in FIG. 4, at step 410, a first three-dimensional representation of the inspected first region may be generated, and at step 420, a second three-dimensional representation of the inspected second region may be generated, both of which may be in the form of a point cloud in a coordinate system having x, y, and z coordinates. Furthermore, in some embodiments, the generated three-dimensional representation (and / or the two-dimensional data) may be used to generate a data representation. As mentioned above, generating the data representation may include calculating spatial characteristics in and around the field of view of the frame, such as depth, pose, and edges. Then, at step 430, a proximity between the first and second three-dimensional representations in the coordinate system space may be determined. The proximity may be calculated by comparing coordinates of points along the first and second three-dimensional representations and determining the minimum distance between two of the points. If there is an overlap between the first and second three-dimensional representations, the proximity may be determined to be zero. If no overlap exists, a threshold may be applied to determine whether the proximity falls within a predefined threshold, indicating that the first and second three-dimensional representations are sufficiently close to each other in coordinate system space. If the proximity falls within the threshold, at least a portion of the first and second three-dimensional representations may be merged in step 440 to create a single three-dimensional representation. In step 450, areas not inspected by the operator may be identified using the merged portion, for example, by comparing the portion to a surface model, as described further herein. After completing method 400, the aggregated three-dimensional representation may be used to determine an inspection quality level, as described herein.

[0086] Each three-dimensional representation may be based on its own coordinates when it was generated. In some embodiments, the merging process may merge two or more three-dimensional representations. By way of example, the merging process may include a merging algorithm executed by at least one processor to bring the two or more three-dimensional representations into a common frame of reference. The merging algorithm may use prior information associated with each three-dimensional representation to estimate an initial relative position between the representations. For example, the merging algorithm may use the time difference between the last frame of a three-dimensional representation and the first frame of a subsequent representation. In some embodiments, the merging process may further include executing a geometric registration algorithm, such as an iterative closest point (ICP) and photometry algorithm. If there is any overlap found between the first and second three-dimensional representations, the registration may be said to be successful. If there is no overlap, the registration may not be said to be successful and it may be considered that the long-term three-dimensional representation is not available.

[0087] In some embodiments, the method may include generating a short-term representation of the inspected area by aggregating a plurality of three-dimensional representations constructed from successive frames of the portion of the organ inspected by the operator. The aggregation of the plurality of three-dimensional representations may be interrupted by factors including, but not limited to, rapid movement of the camera, the camera focused on water or hitting the mucosa, triggers from the context assessment model, algorithm failure, among other factors. If a first short-term representation from the plurality of three-dimensional representations is interrupted, the method may include initializing a second short-term representation from the plurality of three-dimensional representations that may be formed. After two or more short-term representations are formed, a merging process may be performed to merge at least two short-term representations to form a long-term representation, for example, by performing a merging algorithm as described above. In some embodiments, all short-term representations may be merged to form the long-term representation, such that there are no unmerged short-term representations. However, in some embodiments, the merging process may result in the formation of a long-term representation and some unmerged short-term representations. The output of the merging process may be used to form a three-dimensional reconstruction model of the inspected surface of the patient's organ, for example the patient's colon.

[0088] Further, in some embodiments, the examination quality level can be estimated based on a combination of factors including speed, device trajectory, and an estimate of the proportion of mucosa exposure. In some embodiments, the proportion of mucosa exposure can be estimated as a global score, for example, from a weighted average of exposures based on short-term and long-term representations. In some embodiments, the proportion of mucosa exposure can be estimated based on a comparison of the generated long-term three-dimensional representation to a complete three-dimensional model of the patient's organ.

[0089] As disclosed herein, information or statistics can be generated and presented to indicate the quality of the operator's navigation and / or to reflect or determine an examination quality level or value. For example, speed and / or trajectory information can be determined and displayed on the operator's display device (e.g., display 180 of FIG. 1). This information can be presented separately (e.g., on a separate display or output) or as augmented information overlaid with real-time video from an imaging device (e.g., on display 180). In some embodiments, speed and / or trajectory information can be presented as part of one or more graphical displays. The graphical displays can be combined and / or include a graphical display of an examination quality level or value. By way of example, FIGS. 5A and 5B show exemplary graphical displays of speed and trajectory information that can be generated and displayed to the operator (e.g., separately or as augmented information). The exemplary information of FIGS. 5A and 5B can be determined and displayed during a medical procedure to provide feedback regarding the quality of the operator's navigation during the medical procedure. Additionally, the velocity and / or trajectory information may be updated and presented in real-time (e.g., at predetermined time intervals) during a medical procedure as a result of operator actions. Exemplary methods and algorithms for determining velocity and trajectory information are described above, and further embodiments are described below (see, e.g., the exemplary method of FIG. 6).

[0090] FIG. 5A, for example, illustrates a graphical representation 520 of the imaging device's speed. Although shown as a speed dial in FIG. 5A, the speed can be represented in any other suitable format, such as a measured speed (e.g., "1 mm / sec"), a speed classification (e.g., "fast" or "slow"), an image (e.g., a stop sign indicating high speed), a video or video (e.g., a flashing light indicating high or low speed), or any other suitable format. Additionally, the speed information can be presented with real-time updates during the medical procedure, at predefined time intervals, as a result of an operator's actions, or at any other time. For example, the speed dial in FIG. 5A can be moved to the right or left as the imaging device's speed increases or decreases, respectively. In FIG. 5B, a graphical representation 540 of the imaging device's trajectory is illustrated. Although shown in FIG. 5B as a binary classification of "good" or "bad" trajectory, the trajectory may be represented in any other suitable format, such as a trajectory line (e.g., as a solid line in a two-dimensional or three-dimensional representation of the patient's colon), a sliding scale or dial (e.g., a scale similar to the speed dial of FIG. 5A), other classifications (e.g., "very good," "very poor," or "average"), an image (e.g., a stop sign indicating a poor trajectory), a video or animation (e.g., a flashing light indicating a good or poor trajectory), or any other suitable format. Additionally, the trajectory representation may be updated in real time during the medical procedure, at predetermined time intervals or as a result of the operator's actions. For example, if the operator's trajectory changes from an unacceptable level to an acceptable level during the medical procedure, the "good" text in FIG. 5B may be highlighted to replace the "bad" text.

[0091] FIG. 6 illustrates an exemplary system for processing frames of video consistent with embodiments of the present disclosure. As shown in FIG. 6, system 600 may include an image device 610, a context evaluator 620, a data display generator 630, an examination quality evaluator 640, and a display device 680. Image device 610 may be the same as or similar to image device 140 (e.g., an endoscopic device, an X-ray device, a CT device, an MRI device, or any other medical imaging device) described above in connection with FIG. 1, and display device 680 may be the same as or similar to display device 180 (e.g., an LCD, LED, or OLED display, an augmented reality display, a virtual reality display, or any other suitable display device) also described above in connection with FIG. 1. Image device 610 may be configured to capture video or real-time video, which in some embodiments may be captured during a medical procedure (e.g., an endoscopic procedure) as described above. Image device 610 may be configured to provide the captured real-time video to context evaluator 620.

[0092] The context evaluator 620 may include one or more processors implementing one or more machine learning networks or algorithms, conventional algorithms, or a combination of both, as described above. The context evaluator 620 may be configured to identify a type of operator interaction with the imaging device 610 in one or more frames of the captured video. For example, the context evaluator 620 may classify a frame or frames of the captured video based on operator actions in those frames, such as spraying water on an area, zooming in on an area, inspecting a lesion, removing a lesion, performing a biopsy, performing an insertion of an imaging device, performing an extraction of an imaging device, or any other action consistent with the above description. The context evaluator 620 may be further configured to determine whether the operator interacts with the imaging device to inspect an area of ​​the patient for analysis based on the identified interactions. Frames identified as those in which the operator is exposing an area may be further processed by the system 600, while frames not so identified may be discarded or ignored by the system 600. For example, frames classified as "inspect" or "probe" may be identified as frames in which an operator is interacting with the imaging device to inspect an area of ​​the patient for analysis, while frames classified as "spray" or "remove" may not be so identified. The context evaluator 620 may provide the former frames to the data display generator 630 for further processing.

[0093] The data display generator 630 may include one or more processors configured to generate a data display from the frames identified by the context evaluator 620 as frames in which an operator is interacting with the imaging device to inspect an area of ​​the patient for analysis. The data display may be generated based on three-dimensional data, two-dimensional data, or both, as described above. The data display generator 630 may be further configured to aggregate at least a portion of the generated data display. In some embodiments, a distance threshold or other criteria may be applied to determine whether aggregation is warranted, as described above. Furthermore, in some embodiments, aggregation may not be performed if aggregation is not warranted or necessary. The data display generator 630 may then provide the aggregated (or non-aggregated) data display to the examination quality evaluator 640.

[0094] The inspection quality evaluator 640 may include one or more processors configured to determine an inspection quality level of an area inspected by an operator. This determination may be performed locally or short-term (e.g., by analyzing the area inspected in one or more particular frames), globally or long-term (e.g., by analyzing the area inspected during an entire medical procedure or a portion thereof), or both. As described above, the inspection quality level may be determined based on information related to the quality of the operator's inspection of an area, such as an exposure level determined from a ratio of the area inspected by the operator to the area of ​​the model surface, the trajectory of the imaging device, the velocity of the imaging device, and / or any other information available to or generated by the system 600. As shown in FIG. 6, for example, the inspection quality evaluator 640 may include one or more computer-implemented components for analyzing certain characteristics of the operator's inspection quality, such as a trajectory evaluator 650 for analyzing the trajectory of the imaging device, a velocity evaluator 660 for analyzing the velocity of the imaging device, and an exposure evaluator 670 for comparing the area inspected by the operator to the area of ​​the model surface. However, it should be understood that the test quality evaluator 640 may include any one or more of these components. Additionally, the test quality evaluator 640 may include other components for analyzing other specific characteristics of the operator's test quality beyond the components shown in FIG. 6, depending on the particular application or context.

[0095] 6, system 600 may include one or more computing devices (such as computing device 160), which may include one or more processors configured to modify the image from imaging device 610 with augmented information including one or more graphical displays of inspection quality levels or values ​​calculated by inspection quality evaluator 640, trajectories calculated by trajectory evaluator 650, speeds calculated by speed evaluator 660, ratios or areas calculated by exposure evaluator 670, and / or any other desired information. The augmented image may be provided to display device 680 for viewing by the operator of imaging device 610 and other users during (i.e., in real time with) the medical procedure.

[0096] In some embodiments, the inspection quality level can be calculated as a combination of one or more short-term inspection quality levels and one or more long-term inspection quality levels. The short-term inspection quality level can represent the inspection quality level of the area currently inspected by the operator. The long-term inspection quality level can represent the inspection quality level of the area inspected so far by the operator during the entire medical procedure or a portion thereof. The short-term inspection quality level can be calculated in the same or similar manner as described above for the inspection quality level, for example, by calculating the trajectory of the imaging device, the speed of the imaging device, the ratio of the area inspected by the operator to the area of ​​the model surface, and / or any other factor or information available to or generated by the computing device. The long-term inspection quality level can be a combination of two or more short-term inspection quality levels, which can be calculated as the sum, average, mean, median, mode, distribution, or any other representation of two or more short-term inspection quality levels.

[0097] FIG. 7 illustrates an exemplary method 700 for determining short-term and long-term examination quality levels consistent with embodiments of the present disclosure. The exemplary method 700 may be implemented by at least one processor (e.g., at least one processor of the computing device 160 of FIG. 1 or the processor 230 of FIG. 2). It will be understood that the method 700 is a non-limiting example. As shown in FIG. 7, at step 701, a new frame may be captured (e.g., by the imaging device 140 of FIG. 1) and received by the at least one processor. At step 703, the at least one processor may perform a context evaluation to identify a type of operator interaction with the imaging device (e.g., the imaging device 140 of FIG. 1) in the frame. For example, the at least one processor may classify the captured frame of video based on an operator action, such as spraying water on an area, zooming in on an area, visually inspecting a lesion, removing a lesion, performing a biopsy, performing an insertion of an imaging device, performing an extraction of an imaging device, or any other action consistent with the above description.

[0098] In step 703, the at least one processor may determine whether the operator is interacting with the imaging device to inspect an area within the frame, which determination may be based on the identified movement. If in step 707, the at least one processor determines that the operator is not interacting with the imaging device to inspect an area within the frame, statistics or other data may be generated based on the at least one processor's analysis of the current frame and / or previous frames. For example, in step 725, the determined statistics or data may be displayed as a graph, table, or other graphical display that is subsequently presented or otherwise provided as an output. Although not shown in FIG. 7, such a graph, table, or other graphical display may be displayed to the operator along with a label and / or number indicating the percentage of frames that corresponds to this determination, such as "Search 35%" if 35 percent of the frames were identified as frames in which the operator moved from one area to another, or "Remove 20%" if 20 percent of the frames were identified as frames in which the operator removed a polyp or other object of interest. However, in some embodiments, the statistics or data may not be output. In either case, processing of the frame may end at step 725. However, if the at least one processor determines that an operator is interacting with the imaging device to inspect an area within the frame, processing of the frame may continue at steps 709 and 717.

[0099] In step 709, the at least one processor may perform a short-term exposure assessment of the frame. The short-term exposure assessment may include generating a short-term data representation 711 corresponding to the surface in the frame, which may be based on three-dimensional data, two-dimensional data, or both, as described above. The short-term exposure assessment may also include determining a short-term inspection quality level 713 corresponding to the quality of the operator's inspection of the surface in the frame. The short-term inspection quality level may be determined by analyzing the short-term data representation, for example, by calculating a ratio of the area of ​​the short-term data representation to the area of ​​the model surface. As will be appreciated from this disclosure, other methods of determining the short-term level of exposure of the surface in the frame may be used. As shown in the exemplary method of FIG. 7, the short-term inspection quality level may be determined by calculating information related to the imaging device at the time the frame was captured, such as a short-term trajectory / velocity 715. The determined short-term inspection quality level 713 and short-term trajectory / velocity 715 may be output in step 725. Although not shown in FIG. 7, the determined short-term inspection quality level 713 and short-term trajectory / velocity 715 may be displayed to an operator and / or other user using a display device or through any other means.

[0100] In step 717, the at least one processor may perform a long-term exposure assessment of the frame. The long-term exposure assessment may include aggregating the short-term data representation 711 with other previously generated data representations into a long-term data representation 719, which may be based on three-dimensional data, two-dimensional data, or both, as described above. The long-term exposure assessment may also include determining a long-term estimated quality level 721 corresponding to the quality of the operator's inspection of the surface during the entire medical procedure or a portion thereof. The long-term estimated quality level may be determined by analyzing the long-term data representation, for example, by calculating a ratio of the area of ​​the long-term data representation to the area of ​​the model surface. As will be appreciated from this disclosure, other methods of determining the long-term level of exposure of the surface during the entire medical procedure or a portion thereof may be used. As further shown in FIG. 7, the long-term inspection quality level may be determined by calculating information related to the imaging device during the entire medical procedure or a portion thereof, such as a long-term trajectory / velocity 723. The determined long-term inspection quality level 721 and long-term trajectory / velocity 723 may be presented as an output in step 725 or provided in another manner. Although not shown in FIG. 7, the determined long-term inspection quality level 721 and long-term trajectory / velocity 723 may be displayed to an operator and / or other user using a display device or through any other means.

[0101] FIG. 8 illustrates an exemplary method 800 for generating short-term and long-term data displays consistent with embodiments of the present disclosure. Method 800 may be performed on frames identified as frames in which an operator is interacting with an imaging device to inspect an area of ​​a patient's organ for analysis (e.g., as described in connection with method 700 of FIG. 7). Concurrent with method 800 or subsequent to method 800, short-term and long-term assessments may be performed as described herein to determine short-term and long-term inspection quality levels, respectively. Exemplary method 800 may be implemented by one or more processors (e.g., at least one processor of computing device 160 of FIG. 1 or processor 230 of FIG. 2). It will be understood that FIG. 8 is a non-limiting example, and that modifications may be made to method 800, for example, by adding, deleting, modifying and / or rearranging steps illustrated and described herein.

[0102] As shown in FIG. 8, at step 810, a new frame may be received by at least one processor (e.g., at least one processor of computing device 160 of FIG. 1 or processor 230 of FIG. 2). At step 820, one or more previously captured frames may also be optionally received by the at least one processor for processing at step 830. The previously captured frames may be stored and retrieved, for example, in a memory, database, or buffer. However, in some embodiments, processing may be performed on a frame-by-frame basis without processing the previously captured frames together with the newly captured frames. At step 830, a short-term data representation (e.g., using two-dimensional data, three-dimensional data, or both) may be generated based on the newly captured frame and, optionally, based on one or more previously captured frames. As discussed above, the data representation may be generated by calculating spatial properties in and around the field of view of the frame, such as depth, pose, and edges. For example, a short-term data representation may include a set of consecutive (or non-consecutive) images and their depths, a pose between each pair of consecutive (or non-consecutive) frames, and a three-dimensional point cloud or surface of the area associated with the short-term data representation. As will be appreciated, additional, less, or different data may be part of the short-term data representation depending on the particular application and context.

[0103] At step 840, the at least one processor may optionally retrieve data associated with the long-term data display. The data associated with the long-term data display may be retrieved from a memory, a database, or any other source. However, in some embodiments, such as when the captured frame is the first frame for which a data display is generated, data belonging to a previously stored long-term data display may not be retrieved. Furthermore, in some embodiments, multiple data displays need not be aggregated into a long-term data display, but rather may be generated and stored as a single data display. At step 850, the generated short-term data display and the retrieved long-term data display may be aggregated to form a new continuous long-term data display. As discussed above, this may include detecting areas of overlap in the two data displays and / or applying a distance threshold or other criteria to determine whether aggregation is warranted. Additionally, as indicated by the double arrow between steps 840 and 850, the newly generated long-term data display may be stored (e.g., in a memory or database) to replace the old retrieved long-term data display for use in subsequent iterations of method 800. For example, consistent with the above discussion, the long-term data representation may include a sparse set of images and their depths, poses between pairs of frames, and a three-dimensional point cloud or surface of the area associated with the long-term data representation. As will be appreciated, additional, less, or different data may be part of the long-term data representation depending on the particular application and context.

[0104] At step 860, any post-processing steps may be performed on the aggregated data representation. For example, an interpolation or hole-filling algorithm may be applied to address any missing or corrupted information in the aggregated data representation. Other suitable post-processing steps, such as distortion removal, noise removal, shape refinement, and / or other refinement steps, may be applied, alone or in combination. Furthermore, although such steps are illustrated in FIG. 8 as occurring after aggregation, refinement steps may also be performed both before and after aggregation, only before aggregation, or no refinement steps may be performed at all. Additionally, post-processing steps may be performed before storing the newly generated longitudinal data representation. At step 870, the at least one processor may output information such as an aggregated data representation (or a singular non-aggregated data representation). As disclosed herein, the aggregated data representation may be used by other processes to determine an inspection quality level or value.

[0105] 9 illustrates an exemplary method 900 for determining a long-term inspection quality level and / or other information from the short-term and long-term data displays consistent with embodiments of the present disclosure. Method 900 may be performed (e.g., as described above in connection with method 800 of FIG. 8) simultaneously with or subsequent to the generation of the short-term and long-term data displays. Example method 900 may be implemented by one or more processors (e.g., at least one processor of computing device 160 of FIG. 1 or processor 230 of FIG. 2). It will be understood that FIG. 9 is a non-limiting example and that modifications may be made to method 900, for example, by adding, deleting, modifying and / or rearranging steps illustrated and described herein.

[0106] As shown in FIG. 9, in step 910, a short-term data representation can be generated (e.g., by calculating spatial characteristics in and around the frame's field of view, such as depth, pose, and edges) and / or retrieved (e.g., from a memory, database, or other source). In step 920, a long-term data representation can be generated (e.g., by calculating spatial characteristics in and around the frame's field of view, such as depth, pose, and edges) and / or retrieved (e.g., from a memory, database, or other source). In an exemplary embodiment of method 900, short-term data representation 910 and long-term data representation 920 can include both two-dimensional and three-dimensional information of the area inspected by the operator. However, as disclosed herein, the data representation may include only two-dimensional information, only three-dimensional information, or any combination or type of spatial and / or visual information.

[0107] In step 930, the two-dimensional information pertaining to the short-term data display 910 and the long-term data display 920 may be analyzed to generate a new continuous long-term data display. Any suitable algorithm may be used to perform the two-dimensional data analysis, for example, by retrieving previously captured frames associated with the short-term data display 910 and the long-term data display 920. Corresponding points and / or features in the previously captured frames may be matched to identify overlaps. The retrieved frames may be transformed or otherwise modified to facilitate analysis, for example, correlation or other distance functions may be calculated to determine the best match for identifiable feature points in the short-term and long-term data displays.

[0108] In step 940, the three-dimensional information belonging to the short-term data representation 910 and the long-term data representation 920 may also be analyzed to generate a new continuous long-term data representation. The three-dimensional data analysis may be performed using any suitable algorithm to align the short-term and long-term data representations. For example, the three-dimensional analysis may be performed by utilizing a point cloud registration algorithm to identify a spatial transformation that aligns two or more point clouds, including, but not limited to, an iterative closest point (ICP) algorithm, a robust point matching (RMP) algorithm, a kernel correlation (KC) algorithm, a coherent point drift (CPD) algorithm, a sorting the correspondence space (SCS) algorithm, a Bayesian coherent point drift (BCPD) algorithm, and / or combinations thereof. As another example, the three-dimensional analysis may be performed by utilizing range imaging algorithms to estimate the three-dimensional structure from the two-dimensional image frames, including, but not limited to, structure from motion (SfM) algorithms, time of flight (ToF) algorithms, stereo triangulation, sheet of light triangulation, structured light, interferometry, coded aperture, and / or combinations thereof. Corresponding points and / or features in the estimated three-dimensional structure may be matched to identify overlaps. The estimated three-dimensional structure may be transformed or otherwise modified to facilitate analysis, and correlation or other distance functions may be calculated to determine the best match.

[0109] In step 950, a new long-term data representation may be obtained from the analysis of the two-dimensional data in block 930 and the analysis of the three-dimensional data in block 940. For example, one or more three-dimensional registration algorithms (e.g., ICP, RMP, KC, CPD, SCS, and / or BCPD algorithms) may be applied using the respective three-dimensional data (e.g., three-dimensional point clouds) to obtain a rough registration between the short-term data representation and the long-term data representation. Then, one or more two-dimensional registration algorithms (e.g., keypoint matching algorithms and / or image registration algorithms) may be applied using the respective three-dimensional data (e.g., image frames) to perform a fine registration between the short-term data representation and the long-term data representation. As will be appreciated by those skilled in the art upon reading this disclosure, other techniques utilizing three-dimensional and / or two-dimensional information may also be used. For example, an alternative technique may include iteratively minimizing a registration error based on the three-dimensional and / or two-dimensional data. Thus, in some embodiments by combining two-dimensional information (e.g., from image readout) and three-dimensional information (e.g., from point cloud registration), the accuracy of the new long-term data representation can be maximized by merging the short-term data with the long-term data. Furthermore, in step 960, information related to the quality of the operator's inspection can be calculated taking into account the new long-term data representation 950. As shown in FIG. 9, for example, measures of long-term inspection quality level, long-term trajectory, and / or long-term velocity can be calculated. For example, the total area of ​​the new long-term data representation 950 can be compared to a model surface to determine the long-term inspection quality level. Furthermore, the trajectory of the camera can be calculated (if not previously calculated) during the capture of the short-term data representation 910 and the long-term data representation 920 and combined to obtain the long-term trajectory of the new long-term data representation 950. Similarly, the velocity of the camera can be calculated (if not previously calculated) during the capture of the short-term data representation 910 and the long-term data representation 920 and combined to obtain the long-term velocity of the new long-term data representation 950.In step 970, information may be output, such as the long-term examination quality level, trajectory, velocity, and / or any other information related to an estimate of the quality of the operator's examination of the new long-term data display calculated in step 960.

[0110] When constructing a three-dimensional representation of the colon surface, each three-dimensional point can be recorded with one or more of the following information: best and average direction of observation, closest and average distance from the camera, exposure time, and exposure speed. For example, it may happen that some parts of the mucosal surface are only observed from a distance. Thus, in some embodiments, not only a binary mask for observing the exposure is generated (such as in FIG. 10 described below), but also a heat map is generated in which a color is associated for each pixel or region with the quality of observation, from very high quality (e.g., close to the surface, perpendicular to the surface, slow) to zero quality (e.g., not in the field of view of the endoscope). In some embodiments, the heat map can be calculated or visualized on the three-dimensional model, or on a flat two-dimensional projection (such as in FIG. 10 described below).

[0111] FIG. 10 illustrates an exemplary longitudinal data display 1000 consistent with disclosed embodiments. As shown in FIG. 10, the exemplary longitudinal data display 1000 may be displayed as a cylindrical projection of the patient's organ examined during the procedure, in this case the colon. However, the longitudinal data display may be displayed as other shapes depending on the particular organ or region examined. Additionally, while shown as an image for purposes of illustration, it should be understood that the longitudinal data display may include a variety of information, whether two-dimensional and / or three-dimensional, such as one or more images, depth data, pose data, and / or three-dimensional point cloud or surface data. As further shown in FIG. 10, the longitudinal data display 1000 may be divided into multiple anatomical segments, for example, different portions of the colon, including the rectum, sigmoid colon, descending colon, transverse colon, ascending colon, or cecum. The longitudinal data display 1000 may indicate the region examined by the operator during the examination, as shown in FIG. 10 as a grayscale region that mimics the anatomical structure, or implemented as a colored region on a display device (not shown) for the operator. Conversely, dark regions, such as regions 1020a, 1020b, 1020c, 1020d, and 1020e, may indicate areas where the operator has examined poorly or not examined at all. As further shown, the dark regions may span multiple anatomical segments, as shown by region 1020a spanning rectal segment 1010a and sigmoid segment 1010b. Thus, the longitudinal data display 1000 may be used to track the operator's examination quality level (or any other attribute, such as speed, trajectory, or exposure) during an entire medical procedure or portions thereof.

[0112] 11 illustrates an example method 1100 for processing video captured during a medical procedure consistent with embodiments of the present disclosure. The example method 1100 may be implemented using at least one processor (e.g., at least one processor of computing device 160 of FIG. 1 or processor 230 of FIG. 2). It will be understood that FIG. 11 is a non-limiting example and that modifications may be made to method 1100, for example, by adding, deleting, modifying and / or rearranging steps shown and described herein.

[0113] As shown in FIG. 11, in step 1100, at least one processor may receive real-time video including a plurality of frames captured from an imaging device during a medical procedure on a patient. In step 1120, at least one processor may analyze the plurality of frames to identify frames during which an operator interacts with the imaging device to inspect an area of ​​the patient for analysis. As disclosed herein, the type of interaction of the operator with the imaging device may be determined by analyzing the frames and classifying them into one or more of a plurality of actions using any suitable image classification algorithm, trained neural network, or a combination of both. In step 1130, at least one processor may generate a data representation from the identified frames for each local area inspected by the operator interacting with the imaging device. As used herein, a "local area" may correspond to a current area being analyzed by the operator. The data representation may be generated by calculating spatial characteristics in and around the field of view of the frames, such as depth, pose, and edges. As will be appreciated from this disclosure, other visual attributes may be used to generate the data representation. In step 1140, at least one processor may aggregate the data representation for each local area. The data representation for each local region may be aggregated by combining adjacent representations for the region inspected by the operator, as described herein. In some embodiments, the data representations for two or more local regions may be aggregated to create a data representation for the region analyzed by the operator during the entire medical procedure or a portion thereof to create a longitudinal data representation. In step 1150, the at least one processor may use the aggregated data representation for each local region to determine a short-term inspection quality level for the portion inspected by the operator. The short-term inspection quality level may be determined, for example, by calculating the ratio of the local region inspected by the operator to the area of ​​the model surface, the trajectory of the imaging device, the speed of the imaging device, and / or any other information available to or generated by the computing device.In step 1160, the at least one processor may display on a display device during the medical procedure a graphical display indicating the short-term examination quality level of each local region examined by the operator. The determined examination quality level may be displayed in any desired format, such as a percentage value, a classification label, alphanumeric characters, color, image, video, graph, or any other format. Additionally, other information or statistics may be presented along with the determined examination quality level, as disclosed herein.

[0114] 12A and 12B show example graphical displays for indicating inspection quality levels and / or other attributes of the operator's navigation (e.g., speed, trajectory, and / or exposure) consistent with disclosed embodiments. The graphical displays of FIGS. 12A and 12B or similar displays may be updated and displayed on a display after each determination of the inspection quality level or any other attribute of the operator's navigation as described herein. Such graphical displays may be presented separately (e.g., on a separate display or output) or may be presented as augmented information overlaid with real-time video from an imaging device (e.g., on display 180). In some embodiments, information related to the inspection quality level, trajectory, speed, exposure, and / or other attributes of the inspection may be presented as part of one or more graphical displays. For example, the graphical displays of the inspection quality levels may be combined and / or may include graphical displays of other determined information (e.g., speed and / or trajectory information). 12A and 12B may be determined and displayed during a medical procedure to provide feedback regarding the examination quality level, trajectory, speed, exposure, and / or other attributes of the examination during the medical procedure. Additionally, information related to the examination quality level or any other attribute may be updated and presented in real time (e.g., at predetermined time intervals) during the medical procedure as a result of operator actions.

[0115] FIG. 12A illustrates an example graphical display 1200A for inspection quality level and / or other attributes of operator navigation, including, for example, a series of sections arranged as a wheel. A wheel, for example wheel 1210, may include one or more sections 1212, 1214, 1216, and 1218. Each wheel may represent a different depth along the field of view of one or more frames. For example, the innermost wheel 1210 may represent an area in the frame furthest from the imaging device, while the outermost wheel 1230 may represent an area in the frame closest to the imaging device. Although the wheels 1210, 1220, and 1230 are illustrated as concentric rings, other arrangements, such as non-concentric rings, may be used as desired. Additionally, each section of the wheel may have a different color within each section that indicates the inspection quality level, trajectory, speed, exposure, and / or other attributes of the inspection. For example, a green color may indicate a high inspection quality level (or any other attribute) of the surface corresponding to that section, while a red color may indicate a low inspection quality level (or any other attribute) of the surface corresponding to that section. As the inspection quality level is iteratively determined during the medical procedure, the presented colors may be updated and changed to reflect the operator's inspection of the patient's organ, as mentioned above. In some embodiments, each section of the ring may be represented by a different visual characteristic, including but not limited to a color, pattern, shape, or other feature.

[0116] In FIG. 12B, another example of a graphical display reflecting an examination quality level and / or other attributes of the operator's navigation is provided. In this example, the graphical display is based on a model 1200B of an area to be examined, e.g., a patient's colon, as shown in FIG. 12B. The model 1200B may be two-dimensional, three-dimensional, or a combination of both. As shown, the model 1200B may be represented as including one or more sections. Each section, such as colon sections 1240, 1242, or 1244, may represent one or more surfaces to be examined by the operator during a medical procedure. Each section may have a different color within each section that indicates an examination quality level, trajectory, speed, exposure, and / or other attributes of the examination. Similar to FIG. 12A, for example, a green color may indicate a high examination quality level (or any other attribute) of the surface corresponding to that section, while a red color may indicate a low examination quality level (or any other attribute) of the surface corresponding to that section. As mentioned above, the colors may be updated and / or changed during a medical procedure. It will be appreciated that other graphical displays may be used to indicate the inspection quality level, and the examples of Figures 12A and 12B are not intended to limit the scope of this disclosure.

[0117] 13A, 13B, and 13C illustrate example graphical displays for indicating examination quality level and / or other attributes of the operator's navigation (e.g., speed, trajectory, or exposure) consistent with disclosed embodiments. As illustrated, the example graphical displays of FIGS. 13A-13C are provided as overlays or information changes to video frames. These graphical displays can be updated and displayed (e.g., on display 180) during the medical procedure to provide the operator with feedback regarding the examination quality level, trajectory, speed, exposure, and / or other attributes of the examination during the medical procedure. Additionally, the example information of FIGS. 13A-13C can be updated in real time during the medical procedure as a result of the operator's actions.

[0118] FIG. 13A illustrates an exemplary graphical display 1310 for indicating an examination quality level and / or other attributes of the operator's navigation, including, for example, a series of sections arranged as three rings similar to the graphical display of FIG. 12A. As with FIG. 12A, each ring may represent a different depth along the field of view of the image frame illustrated in FIG. 13A. For example, the innermost ring may represent an area in the image frame furthest from the imaging device, while the outermost ring may represent an area in the frame closest to the imaging device. Additionally, consistent with the above description, each section of the ring may have a different color within each section that indicates an examination quality level, trajectory, speed, exposure, and / or other attribute of the examination. For example, a green color may indicate a high examination quality level (or any other attribute) of the surface corresponding to that section, while a red color may indicate a low examination quality level (or any other attribute) of the surface corresponding to that section. As the examination quality level is iteratively determined during the medical procedure, the presented colors may be updated and changed to reflect the operator's examination of the patient's organ, as discussed above.

[0119] In FIG. 13B, another example of a graphical display reflecting an examination quality level and / or other attributes of the operator's navigation overlaid on an image frame is provided. In this example, the graphical display may be based on the trajectory taken by the operator during the medical procedure, although the graphical display may be based on other factors or attributes of the operator's navigation. As shown in FIG. 13B, the graphical display may be lines with different colors that may indicate the examination quality level, trajectory, speed, exposure, and / or other attributes at that location. For example, line segment 1320 may be green to indicate a high examination quality level (or any other attribute) of the examination. Similarly, line segment 1330 may be red to indicate a low examination quality level (or any other attribute) of the navigation. Additionally, although shown as a solid line, any other graphical display may be used, such as dots, arrows, intermittent lines, icons, text (e.g., "good" or "bad"), or any other visual display. As mentioned above, the colors may be updated and / or changed during the medical procedure.

[0120] FIG. 13C shows another exemplary graphical display reflecting the examination quality level and / or other attributes of the operator's navigation overlaid on the image frame. In this example, the graphical display can be used to draw attention to a particular area of ​​the patient's organ that the operator may have inspected inadequately or missed entirely. As shown in FIG. 13C, an image such as an icon 1340 can be used to point to the area of ​​interest. In some embodiments, the icon 1340 may be presented simultaneously with another graphical display (e.g., graphical display 1310 of FIG. 13A or 1320 / 1330 of FIG. 13B), or the graphical displays may alternate with each other (e.g., based on time, distance from the area of ​​interest, or as a result of an operator action such as a button press, or by a change in settings). Although the icon 1340 of FIG. 13C is shown as an eye with a slash through it, it will be understood that any other visual indication may be used to draw attention to the area, such as a word (e.g., "overlooked area"), a shape (e.g., an arrow), other icon, or other graphical display or icon. The icon and / or any of its visual attributes (e.g., color or size) can be updated and changed during a medical procedure, as mentioned above. It will be understood that other graphical displays may be used to indicate the exam quality level and / or any other attribute, and the examples in Figures 13A-13C are not intended to limit the scope of the present disclosure.

[0121] The diagrams and components in the figures described above illustrate the architecture, functionality, and operation of executable implementations of systems, methods, and computer hardware or software products according to various exemplary embodiments of the present disclosure. For example, each block in a flowchart or diagram may represent a module, segment, or portion of code that includes one or more executable instructions for implementing a specific logical function. It should also be understood that in some alternative implementations, the functions shown in the blocks may occur regardless of the order mentioned in the figures. For example, two blocks or steps shown in succession may be executed or implemented substantially simultaneously, or the two blocks or steps may be executed in reverse order depending on the functions involved. Furthermore, some blocks or steps may be omitted. It should also be understood that each block or step of the diagram, and combinations of blocks or steps, may be implemented by a dedicated hardware-based system that performs a specific function or operation, or by combining dedicated hardware and computer instructions. A computer program product (e.g., software or program instructions) may also be implemented based on the described embodiments and illustrated examples.

[0122] It should be understood that the systems and methods described above can be modified in many ways and different features can be combined in different ways. In particular, not all features illustrated above in a particular embodiment or implementation are required for all embodiments or implementations. Further combinations of the above features and implementations are also considered to be within the scope of the embodiments or implementations disclosed herein.

[0123] While certain embodiments and features of implementations have been described and illustrated herein, modifications, substitutions, changes, and equivalents will be apparent to those skilled in the art. It will therefore be understood that the appended claims are intended to cover all such modifications and changes that fall within the scope of the disclosed embodiments and features of the illustrated implementations. It should also be understood that the embodiments described herein are presented merely as examples and not as limitations, and that various changes in form and details may be made. Any part of the systems and / or methods described herein may be implemented in any combination, except mutually exclusive combinations. By way of example, the implementations described herein may include various combinations and / or subcombinations of the functions, components, and / or features of the different embodiments described.

[0124] Furthermore, although exemplary embodiments have been described herein, the scope of the disclosure includes any and all embodiments having equivalent elements, modifications, omissions, combinations (e.g., aspects across various embodiments), adaptations, or modifications based on the embodiments disclosed herein. Furthermore, the elements in the claims should be interpreted broadly based on the language used in the claims, and not limited to the examples described in the specification or during the prosecution of this application. Instead, these examples should be interpreted as non-exclusive. Thus, it is intended that the specification and examples herein be considered as exemplary only, with the true scope and spirit being indicated by the full scope of the following claims and their equivalents.

Claims

1. 1. A computer-implemented system for processing video captured during a medical procedure, comprising: During a medical procedure performed on a patient, receiving video comprising a plurality of frames captured from an imaging device during a medical procedure on a patient; identifying frames from the video during which an operator interacts with the imaging device to examine an area of ​​the patient's organ for analysis; generating a data representation from the identified frame of a first area examined by the operator interacting with the imaging device; generating from the identified frame a data representation of one or more further areas examined by the operator interacting with the imaging device; aggregating the data representation of the first region with the data representation of the one or more further regions; Using the aggregated data representation to determine an inspection quality level of the area inspected by the operator; A system comprising at least one processor configured to display, on a display device, a graphical representation indicative of the determined inspection quality level of the area inspected by the operator.

2. 2. The system of claim 1 , wherein the at least one processor is further configured to determine the inspection quality level based on one or more of a trajectory of the imaging device, a velocity of the imaging device, or a ratio of the area inspected by the operator to an area of ​​a model surface.

3. The system of claim 1 , wherein the data representation of the first region and the one or more further regions comprises at least one of two-dimensional data and three-dimensional data.

4. 10. The system of claim 1, further comprising a neural network configured to perform context evaluation to identify from among the plurality of frames of the real-time video a frame during which the operator is interacting with the imaging device to inspect an area of ​​the patient for analysis.

5. 10. The system of claim 1, wherein the at least one processor is further configured to determine the examination quality level in real time during the medical procedure and to update the determined examination quality level as the medical procedure is performed on the patient.

6. The system of claim 5 , wherein the at least one processor is further configured to modify the graphical display when the determined exam quality level is updated during the medical procedure.

7. The system of claim 6 , wherein the modification to the graphical display comprises a modification to at least one of a color, a pattern, an image, a video, or alphanumeric characters of the graphical display.

8. 2. The system of claim 1, wherein the at least one processor is further configured to generate a short-term data display of an area examined by the operator and a long-term data display of multiple areas examined by the operator while the medical procedure is being performed on the patient.

9. The at least one processor: determining a short-term inspection quality level using said short-term data representation; The system of claim 8 , further configured to use the long-term data representation to determine a long-term inspection quality level.

10. The system of claim 1 , wherein the medical procedure includes endoscopy, esophagogastroduodenoscopy, colonoscopy, sigmoidoscopy, endoscopic retrograde cholangiopancreatography, or small intestine endoscopy.

11. The system of claim 1 , wherein the examined area during the medical procedure includes a portion of an organ of the patient.

12. The at least one processor: generating a first three-dimensional representation of the examined first region of the patient from the identified frames; and generating a second three-dimensional representation of a second examined region of the patient from the identified frame; determining a proximity of the first three-dimensional representation to the second three-dimensional representation in three-dimensional space; merging at least a portion of the first three-dimensional representation with at least a portion of the second three-dimensional representation if the determined proximity is within a threshold; 10. The system of claim 1, further configured to use the merged portions of the first and second three-dimensional representations to identify areas not examined by the operator during the medical procedure.

13. 13. The system of claim 12, wherein the at least one processor is further configured to generate a graphical display indicating a proportion of the area inspected by the operator and the area not inspected by the operator.

14. 1. A method for processing images, the method comprising the steps of: receiving video captured from an imaging device during a medical procedure on a patient, the video comprising a plurality of frames; identifying frames from the video during which an operator interacts with the imaging device to examine an area of ​​the patient's organ for analysis; generating from the identified frames a data representation of a first area examined by the operator interacting with the imaging device; generating from the identified frames a data representation of one or more additional areas examined by the operator interacting with the imaging device; aggregating the data representation of the first region into the data representation of the one or more further regions; using the aggregated data representation to determine an inspection quality level of the area inspected by the operator; and displaying, on a display device, a graphical representation indicative of the determined inspection quality level of the area inspected by the operator.

15. 15. The method of claim 14, further comprising determining the inspection quality level based on one or more of a trajectory of the imaging device, a speed of the imaging device, or a ratio of the area inspected by the operator to an area of ​​a model surface.

16. The method of claim 14 , wherein the data representation of the first region and the one or more further regions comprises at least one of two-dimensional data and three-dimensional data.

17. 15. The method of claim 14, further comprising performing a contextual assessment using a neural network to identify from among the plurality of frames of real-time video, frames during which the operator was interacting with the imaging device to inspect an area of ​​the patient for analysis.

18. 15. The method of claim 14, further comprising determining the examination quality level in real time during the medical procedure and updating the determined examination quality level as the medical procedure is performed on the patient.

19. 20. The method of claim 18, further comprising modifying the graphical display when the determined exam quality level is updated during the medical procedure.

20. 20. The method of claim 19, wherein modifying the graphical display comprises modifying at least one of a color, a pattern, an image, a video, or alphanumeric characters of the graphical display.

21. 15. The method of claim 14, further comprising generating a short-term data display of an area examined by the operator and a long-term data display of a plurality of areas examined by the operator while the medical procedure is being performed on the patient.

22. determining a short-term inspection quality level using said short-term data representation; and 22. The method of claim 21, further comprising using the long-term data representation to determine a long-term inspection quality level.

23. 15. The method of claim 14, wherein the medical procedure includes endoscopy, esophagogastroduodenoscopy, colonoscopy, sigmoidoscopy, endoscopic retrograde cholangiopancreatography, or small intestine endoscopy.

24. The method of claim 14 , wherein the examined area during the medical procedure includes a portion of an organ of the patient.

25. The following operations are performed by the at least one processor: generating a first three-dimensional representation of the examined first region of the patient from the identified frames; and generating a second three-dimensional representation of a second examined region of the patient from the identified frame. determining a proximity of the first three-dimensional representation and the second three-dimensional representation in three-dimensional space; merging at least a portion of the first three-dimensional representation with at least a portion of the second three-dimensional representation if the determined proximity is within a threshold; and 15. The method of claim 14, further comprising using the merged portions of the first and second three-dimensional representations to identify areas not examined by the operator during the medical procedure.

26. 26. The method of claim 25, further comprising generating a graphical display indicating a ratio of the area inspected by the operator to the area not inspected by the operator.

27. 1. A computer-implemented system for processing video captured during a medical procedure, comprising: receiving real-time video comprising a plurality of frames captured from an imaging device during a medical procedure on a patient; Analyzing the plurality of frames and identifying frames during which an operator interacted with the imaging device to examine an area of ​​the patient for analysis; generating from the identified frames a data representation of each local area examined by the operator interacting with the imaging device; using the data representation for each local region to determine a short-term inspection quality level for the portion inspected by the operator; 11. A system comprising: at least one processor configured to display on a display device during the medical procedure a graphical display indicative of the short-term inspection quality level of each local area inspected by the operator.

28. The at least one processor: aggregating said data representations for each local region; 30. The system of claim 27, further configured to use the aggregated data representation to determine the short-term inspection quality level of the parts inspected by the operator.

29. 30. The system of claim 27, wherein the short-term inspection quality level is based on at least one of a trajectory of the imaging device, a speed of the imaging device, or an area exposure.

30. 30. The system of claim 29, wherein the face exposure is based on a ratio of the area inspected by the operator to an area of ​​a model surface.

31. 30. The system of claim 27, wherein the at least one processor is further configured to aggregate data representations of multiple local regions examined by the operator into a longitudinal data representation.

32. 32. The system of claim 31, wherein the at least one processor is further configured to determine a long-term examination quality level based on the long-term data representation, the long-term examination quality level indicating a total amount of area examined throughout the medical procedure.

33. 32. The system of claim 31 , wherein the data representation of the plurality of local regions includes two-dimensional and three-dimensional data, and the at least one processor is further configured to construct at least one model of each local region using the point cloud.

34. 28. The system of claim 27, further comprising a neural network configured to perform context evaluation to identify from the plurality of frames a frame during which the operator was interacting with the imaging device to examine an area of ​​the patient for analysis.

35. 30. The system of claim 27, wherein the at least one processor is further configured to determine at least one of a depth, a camera position, or an edge for each identified frame.

36. 30. The system of claim 27, wherein the at least one processor is further configured to determine the short-term examination quality level in real time during the medical procedure and to update the determined short-term examination quality level as the medical procedure is performed on the patient.

37. 37. The system of claim 36, wherein the at least one processor is further configured to modify the graphical display when the determined short-term examination quality level is updated during the medical procedure.

38. 40. The system of claim 37, wherein the at least one processor is further configured to change at least one of a color, a pattern, an image, a video, or alphanumeric characters of the graphical representation.

39. 30. The system of claim 27, wherein the medical procedure includes at least one of endoscopy, esophagogastroduodenoscopy, colonoscopy, sigmoidoscopy, endoscopic retrograde cholangiopancreatography, or small intestine endoscopy.

40. 28. The system of claim 27, wherein the examined area during the medical procedure includes a portion of an organ of the patient.