Detecting and differentiating critical structures in surgical procedures using machine learning
Through multi-configuration training of neural network models, the problem of identifying and distinguishing the cystic artery and cystic duct during surgery is solved, achieving accurate identification and safety improvement of these structures, reducing the risk of complications, and providing enhancement of real-time video streaming Realistic feedback.
Patent Information
- Application Number
- CN202280089201.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-28
- Publication Date
- 2024-08-30
AI Technical Summary
In surgical procedures, especially laparoscopic cholecystectomy, existing techniques struggle to effectively identify and differentiate the cystic artery and cystic duct, especially when these structures are occluded or lack context, leading to possible complications.
A neural network model was used to detect and identify multiple structures in laparoscopic surgery videos by training different machine learning model configurations, including using a first configuration to detect multiple structures and generate annotated videos, a second configuration to identify anatomical structures, and a combination of The temporal model provides context to enable accurate identification of the cystic artery and cystic duct.
It improves the accuracy and safety of structure recognition during surgical operations, reduces the occurrence of complications, and provides user feedback through real-time video stream processing and augmented reality technology, enhancing the surgeon's operational accuracy and safety.
Smart Images

Figure HDA0004949329390000051 
Figure HDA0004949329390000071 
Figure HDA0004949329390000081
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of U.S. Provisional Application No. 63 / 163,425, filed on March 19, 2021, entitled “Detection of Critical Structures In Surgical Data Using Label Relaxation and Self-Supervision,” and U.S. Provisional Application No. 63 / 211,098, filed on June 16, 2021, entitled “Prediction of Anatomical Structures In Surgical Data Using Machine Learning,” the contents of which are incorporated herein by reference in their entirety. Background Art
[0003] The present disclosure relates generally to computing techniques, and more particularly to computing techniques that use machine learning to automatically detect and distinguish critical structures in surgery and provide user feedback based on the automatic detection.
[0004] Computer-assisted systems can be used to enhance a person's physical senses, perceptions, and responsiveness. For example, such a system can effectively provide information corresponding to a field of view that is extended in time and space, which enables a person to adjust current and future actions and decisions based on portions of the environment that are not included in his or her physical field of view. In addition, the system can draw attention to portions of the field of view that are obscured, for example, by structures, blood, etc. However, providing such information relies on the ability to process a portion of the extended field of view in a useful manner. Highly variable, dynamic, and / or unpredictable environments present challenges in defining rules that dictate how representations of the environment are to be processed to output data to effectively assist a person in performing an action. Summary of the invention
[0005] The technical solution described herein includes a computer-implemented method that includes detecting a plurality of structures in a video of a laparoscopic surgical procedure using a first configuration of a neural network. The method further includes identifying a first type of anatomical structure and a second type of anatomical structure from the plurality of structures using a second configuration of the neural network. The method further includes generating an enhanced video, the generating including annotating the video with the first type of anatomical structure and the second type of anatomical structure.
[0006] In one or more aspects, the surgical procedure is a laparoscopic cholecystectomy, the first type of anatomical structure is the cystic artery, and the second type of anatomical structure is the cystic duct.
[0007] In one or more aspects, in a frame of the video, an anatomical structure of the plurality of structures occludes at least one other anatomical structure of the plurality of structures. In one or more aspects, the second configuration includes using one or more temporal models to provide context for the frame.
[0008] In one or more aspects, the neural network is trained to generate the second configuration based on weak labels.
[0009] In one or more aspects, the video is a real-time video stream of the surgical procedure.
[0010] In one or more aspects, the first type of anatomical structures are annotated differently than the second type of anatomical structures.
[0011] In one or more aspects, the annotation includes adding at least one of a mask, a bounding box, and a label to the video.
[0012] The technical solution described herein includes a system comprising a training system configured to train one or more machine learning models using a training data set. The system further includes a data collection system configured to capture a video of a surgical procedure being performed. The system further includes a machine learning model execution system configured to execute the one or more machine learning models to perform a method. The method includes detecting a plurality of structures in the video by using a first configuration of the one or more machine learning models. The method further includes identifying at least one type of anatomical structure from the plurality of structures by using a second configuration of the one or more machine learning models. The system further includes an output generator configured to generate an enhanced video by annotating the video to mark the at least one type of anatomical structure.
[0013] In one or more aspects, the first machine learning model is trained to detect the plurality of structures and the second machine learning model is trained to identify the at least one type of anatomical structure from the plurality of structures.
[0014] In one or more aspects, the same machine learning model is used to detect the plurality of structures and identify the at least one type of anatomical structure from the plurality of structures. In one or more aspects, the same machine learning model detects the plurality of structures using the first configuration including the first set of hyperparameter values and identifies the at least one type of anatomical structure using the second configuration including the second set of hyperparameter values.
[0015] In one or more aspects, the training system is further configured to train a third machine learning model to identify at least one surgical instrument from the plurality of structures.
[0016] In some aspects of the technical solution, a computer program product includes a memory device having computer executable instructions stored thereon, which when executed by one or more processors cause the one or more processors to perform a method for predicting features in surgical data using machine learning. The method includes using a neural network model to detect a plurality of structures in an input window, the input window including one or more images in a video of a surgical procedure, the neural network model being trained using surgical training data. The method further includes using the neural network model to identify at least one type of anatomical structure among the plurality of structures detected. The method further includes generating a visualization of the surgical procedure by displaying a graphical overlay at the location of at least one type of anatomical structure in the video of the surgical procedure.
[0017] In one or more aspects, the neural network model detects the location of the at least one type of anatomical structure based on identifying a phase of a surgical procedure being performed.
[0018] In one or more aspects, one or more visual attributes of the graphics overlay are configured based on the at least one type of anatomical structure. In one or more aspects, the one or more visual attributes assigned to the at least one type of anatomical structure are user configurable.
[0019] In one or more aspects, the neural network model is configured with a first set of hyperparameters to detect the plurality of structures and is configured with a second set of hyperparameters to identify the at least one type of anatomical structure.
[0020] In one or more aspects, the neural network model includes a first neural network for semantic image segmentation and a second neural network for encoding.
[0021] In one or more aspects, the plurality of structures includes one or more anatomical structures and one or more surgical instruments.
[0022] Additional technical features and benefits are achieved through the technology of the present invention. Various aspects of the present invention are described in detail herein and are considered part of the subject matter claimed for protection. For a better understanding, please refer to the detailed description and the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The details of the exclusive rights described herein are particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other features and advantages of various aspects of the present invention will be apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:
[0024] Figure 1 An example snapshot of a laparoscopic cholecystectomy being performed is shown;
[0025] Figure 2 A system for detecting structures in surgical data using machine learning according to one or more aspects is shown;
[0026] Figure 3 A flow chart depicting a method for using machine learning to detect structures in surgical data and distinguish anatomical structures from structural data in accordance with one or more aspects;
[0027] Figure 4 depicts visualization of surgical data for training a machine learning model according to one or more aspects;
[0028] Figure 5 depicts a second machine learning model for detecting structures in surgical data according to one or more aspects;
[0029] Figure 6 depicts an example enhanced visualization of a surgical view generated according to one or more aspects;
[0030] Figure 7 depicts a flow chart for depth estimation of an agent for obtaining relative depth in an image;
[0031] Figure 8 depicts a flow chart for automatically predicting anatomical structures in surgical data using machine learning according to one or more aspects;
[0032] Fig. 9 Described is a computer system according to one or more aspects; and
[0033] Fig.10 Surgical systems according to one or more aspects are described.
[0034] The figures depicted herein are illustrative. Without departing from the spirit of the present invention, there may be many variations in these figures or the operations described therein. For example, actions may be performed in different orders, or actions may be added, deleted, or modified. In addition, the term "coupled" and its variations describe having a communication path between two elements, and do not imply a direct connection between elements without intermediate elements / connections. All of these variations are considered part of this specification. DETAILED DESCRIPTION
[0035] Exemplary aspects of the technical solutions described herein relate, among other things, to devices, systems, methods, computer-readable media, techniques, and methodologies for improving surgical safety and workflow by automatically detecting one or more anatomical structures in surgical data using machine learning and computer vision, which structures are considered critical to an actor (e.g., a surgeon) involved in performing one or more actions during a surgical procedure. In one or more aspects, these structures are detected dynamically and in substantially real time as surgical data is captured by the technical solutions described herein. The detected structures can be anatomical structures, surgical instruments, etc. Further, aspects of the technical solutions described herein address the technical challenges of distinguishing between structures that occlude the field of view and / or lack contextual challenges to identification.
[0036] The technical solutions of this article are described using laparoscopic cholecystectomy as an example surgical procedure. However, it should be understood that the technical solutions described herein are not limited to this type of surgical procedure. The technical solutions described herein are applicable to any other type of surgical procedure in which detecting anatomical structures in captured frames (e.g., images or video frames) and distinguishing between detected anatomical structures is helpful.
[0037] Laparoscopic cholecystectomy is a common procedure to remove the gallbladder. This involves exposing the cystic duct and cystic artery, clamping and dividing them, and then extracting the gallbladder. Figure 1 An example snapshot of a laparoscopic cholecystectomy is shown 10 with two anatomical structures labeled. Figure 1 In the illustrated snapshot 10, the cystic artery 12 and cystic duct 14 are labeled. As can be seen, it is difficult to distinguish these two anatomical structures using only visual cues without context (e.g., viewing direction, gallbladder location, etc.). Complications may arise when these structures are misidentified or confused with other nearby structures (e.g., the common bile duct), particularly when these structures may be difficult to distinguish without a thorough dissection.
[0038] Current solutions provide official guidance requiring the surgeon to establish a “critical safety view” (CVS) before clipping and segmentation. In the CVS, these two structures can be clearly and individually identified and tracked when entering the gallbladder. Some prior art techniques create bounding box detection systems based on anatomical landmarks that include the common bile duct and cystic duct14 but not the cystic artery12. Some prior art techniques use joint segmentation of the hepatobiliary anatomy and classification of the CVS.
[0039] The technical solution described herein uses a machine learning model with two different settings: first, a single "combined key structure" setting, which is used to detect structures; and second, separate "cystic artery" and "cystic duct" settings, which are used to classify the detected structures into two corresponding types. In one or more aspects, the same machine learning model is used in different settings. In some aspects, different machine learning models are used sequentially, that is, a first machine learning model is used in a first setting and a second machine learning model is used in a second setting. As previously described, in other types of surgical procedures where different types of structures are to be distinguished, the machine learning model uses different settings.
[0040] In some examples, a computer-assisted surgery (CAS) system is provided that uses one or more machine learning models trained with surgical data to enhance environmental data directly sensed by an actor (e.g., a surgeon) involved in performing one or more actions during a surgical procedure. This enhancement of perception and action can improve action accuracy, optimize ergonomics, improve action effectiveness, enhance patient safety, and improve the standard of surgical procedures.
[0041] The surgical data provided for training the machine learning model may include data captured during the surgical procedure as well as simulated data. The surgical data may include time-varying image data corresponding to the surgical environment (e.g., simulated / real video streams from different types of cameras). The surgical data may also include other types of data streams, such as audio, radio frequency identifiers (RFID), text, robotic sensors, other signals, etc. The machine learning model is trained to detect and recognize "structures" in the surgical data, including specific tools, anatomical objects, and actions performed during the simulated / real surgical phase. In one or more aspects, the machine learning model is trained to define one or more parameters of the model in order to learn how to transform new input data (data on which the model is not trained) to identify one or more structures. During training, one or more data streams are input to the model, which may be enhanced with data indicating structures in the data stream (such as indicated by metadata and / or image segmentation data associated with the input data). The data used during training may also include a time series of one or more input data.
[0042] In one or more aspects, simulation data can be generated to include image data (e.g., which can include time-series image data or video data and can be generated at any sensitivity wavelength) associated with variable viewpoints, camera poses, lighting (e.g., intensity, hue, etc.), and / or motion of an imaged object (e.g., a tool). In some instances, multiple data sets can be generated—each corresponding to the same imaged virtual scene, but differing in viewpoint, camera pose, lighting, and / or motion of an imaged object, or differing in a modality used to sense, for example, a red-green-blue (RGB) image, or depth or temperature. In some instances, each of the multiple data sets corresponds to a different imaged virtual scene, and further differs in viewpoint, camera pose, lighting, and / or motion of an imaged object.
[0043] The machine learning model may include a fully convolutional network adaptation (FCN) and / or a conditional generative adversarial network model configured with one or more hyperparameters for performing image segmentation classification. For example, a machine learning model (e.g., a fully convolutional network adaptation) may be configured to perform supervised, self-supervised, or semi-supervised semantic segmentation in multiple categories-each category corresponds to a specific surgical instrument, anatomical body part (e.g., typically or in a specific state) and / or environment. Alternatively or additionally, a machine learning model (e.g., a conditional generative adversarial network model) may be configured to perform unsupervised domain adaptation to convert simulated images into semantic segmentation. In one or more aspects, the machine learning model uses the neural network architecture of DeepLabV3+ and ResNet101 encoders. It should be understood that other types of machine learning models or combinations thereof may be used in one or more aspects.
[0044] The trained machine learning model can then be used in real time to process one or more data streams (e.g., video streams, audio streams, RFID data, etc.). Processing can include detecting and characterizing one or more structures at various instants or over a period of time. The structure(s) can then be used to identify the presence, location, and / or use of one or more features. Alternatively or additionally, the structures can be used to identify stages within a workflow (e.g., represented via a surgical data structure), predict future stages within a workflow, etc.
[0045] Figure 2A system 100 for detecting structures in surgical data using machine learning according to one or more aspects is shown. According to some aspects, the system 100 uses a data stream in the surgical data to identify a surgical state. The system 100 includes a surgical control system 105 that collects image data and coordinates outputs in response to detected structures and states. The surgical control system 105 may include one or more devices (e.g., one or more user devices and / or servers) located in and / or associated with a surgical operating room and / or a control center. The system 100 further includes a machine learning processing system 110 that uses a machine learning model to process surgical data to identify a surgical state (also referred to as a period or stage), which is used to identify a corresponding output. It will be understood that the machine learning processing system 110 may include one or more devices (e.g., one or more servers), each of which may be configured to include part or all of one or more of the depicted components of the machine learning processing system 110. In some instances, part or all of the machine learning processing system 110 is located in the cloud and / or remote from an operating room and / or physical location corresponding to part or all of the surgical control system 105. For example, the machine learning training system 125 may be a separate device (e.g., a server) that stores its output as one or more trained machine learning models 130 that are accessible by a model execution system 140 that is separate from the machine learning training system 125. In other words, in some aspects, the device that "trains" the model is separate from the device that "infers" (i.e., uses the trained model 130 to perform real-time processing of surgical data).
[0046] The machine learning processing system 110 includes a data generator 115 configured to generate simulated surgical data (such as a virtual image set) or record surgical data from an ongoing surgery to train a machine learning model. The data generator 115 can access (read / write) a data storage 120 with recorded data (including multiple images and / or multiple videos). The images and / or videos may include images and / or videos collected during one or more surgeries (e.g., one or more surgical procedures). For example, the images and / or videos may have been collected by a user device worn by a participant (e.g., a surgeon, a surgical nurse, anesthesiologist, etc.) during surgery and / or a non-wearable imaging device located in an operating room.
[0047] Each image and / or video included in the recorded data may be defined as a base image and may be associated with other data characterizing the associated surgery and / or rendering specification. For example, the other data may identify the type of surgery, the location of the surgery, one or more persons involved in performing the surgery, and / or the outcome of the surgery. Alternatively or in addition, the other data may indicate the surgical stage to which the image or video corresponds, the rendering specification to which the image or video corresponds, and / or the type of imaging device that captured the image or video (e.g., if the device is a wearable device, and / or the role of a specific person wearing the device, etc.). Further, the other data may include image segmentation data that identifies and / or characterizes one or more objects (e.g., tools, anatomical objects, etc.) depicted in the image or video. The representation may indicate the position, orientation, or posture of an object in the image. For example, the representation may indicate a set of pixels corresponding to an object and / or an object state resulting from past or current user operations.
[0048] The data generator 115 identifies one or more sets of rendering specifications for a virtual image set. Which rendering specifications are particularly fixed and / or variable are identified. Alternatively or additionally, the rendering specifications to be fixed (or variable) are predefined. Identification can be based on, for example, input from a client device, the distribution of one or more rendering specifications on a base image and / or video, and / or the distribution of one or more rendering specifications on other image data. For example, if a particular specification is substantially constant over a relatively large data set, the data generator 115 defines a fixed corresponding value for the specification. As another example, if the rendering specification values from at least a predetermined amount of data span a range, the data generator 115 defines the rendering specification based on the range (e.g., spanning the range or spanning another range that is mathematically related to the distribution range of these values).
[0049] A set of rendering specifications can be defined to include discrete or continuous (finely quantized) values. A set of rendering specifications can be defined by a distribution, such that a particular value is selected by sampling from the distribution using a random or biased process.
[0050] One or more sets of rendering specifications may be defined independently or in a related manner. For example, if the data generator 115 identifies five values for a first rendering specification and four values for a second rendering specification, the one or more sets of rendering specifications may be defined to include combinations of twenty or fewer rendering specifications (e.g., if one of the second rendering specifications is used in conjunction with only an incomplete subset of the first rendering specification values, or vice versa). In some instances, different rendering specifications may be identified for different surgical stages and / or other metadata parameters (e.g., surgical type, surgical location, etc.).
[0051] Using the rendering specifications and the base image data, the data generator 115 generates simulated surgical data (e.g., a set of virtual images), which are stored in the data storage 120. For example, the base image data can be used to generate a three-dimensional model of the environment and / or one or more objects. Given a specific set of rendering specifications (e.g., background lighting intensity, viewing angle, zoom, etc.) and other surgery-related metadata (e.g., surgery type, surgical status, imaging device type, etc.), the model can be used to generate virtual image data to be determined. Generation can include, for example, performing one or more transformations, conversions, and / or scaling operations. Generation can further include adjusting the overall intensity of pixel values and / or transforming RGB values to achieve specific color-specific specifications.
[0052] The machine learning training system 125 trains one or more machine learning models using the recorded data in the data storage 120, which may include simulated surgical data (e.g., a virtual image set) and actual surgical data. The machine learning model can be defined based on a model type and a hyperparameter set (e.g., defined based on input from a client device). The machine learning model can be configured based on a parameter set, which can be dynamically defined based on (e.g., continuous or repeated) training (i.e., learning, parameter adjustment). The machine learning training system 125 can define the parameter set using one or more optimization algorithms to minimize or maximize one or more loss functions. The set of (learned) parameters can be stored in a trained machine learning model data structure 130, which can also include one or more non-learnable variables (e.g., hyperparameters and / or model definitions).
[0053] The model execution system 140 can access the machine learning model data structure 130 and configure the machine learning model for inference (i.e., detection) accordingly. The machine learning model can include, for example, a fully convolutional network adaptation, an adversarial network model, or other types of models indicated in the data structure 130. The machine learning model can be configured according to one or more hyperparameters and a learned parameter set.
[0054] The machine learning model receives as input the surgical data to be processed during execution and generates inferences based on the training. For example, the surgical data may include a data stream (e.g., an array of intensity, depth, and / or RGB values) for each frame in a single image or a set of frames that represent a fixed or variable length time window in the video. The input surgical data may be received from a real-time data collection system 145, which may include one or more devices located in the operating room and / or streaming real-time imaging data collected during the performance of the surgery. The surgical data may include additional data streams, such as audio data, RFID data, text data, measurements from one or more instruments / sensors, etc., which may represent the stimulus / surgical state in the operating room. Different inputs from different devices / sensors are synchronized before being input into the model.
[0055] The machine learning model analyzes the surgical data and, in one or more aspects, detects and / or characterizes structures included in visual data from the surgical data. The visual data may include images and / or video data in the surgical data. The detection and / or characterization of the structure may include segmenting the visual data or detecting the location of the structure with a probabilistic heat map. In some instances, the machine learning model includes or is associated with preprocessing or enhancement (e.g., intensity normalization, resizing, cropping, etc.) performed before segmenting the visual data. The output of the machine learning model may include image segmentation or probabilistic heat map data indicating which structures (if any) of a defined set of structures are detected within the visual data, the location and / or location and / or posture of (multiple) structures within the image data, and / or the state of (multiple) structures. The location may be a set of coordinates in the image data. For example, the coordinates may provide a bounding box. Alternatively, the coordinates provide a boundary around the detected (multiple) structures.
[0056] The state detector 150 can use the output from the execution of the machine learning model to identify the state within a surgical procedure ("operation"). The surgical tracking data structure can identify a set of potential states that may correspond to a portion of the execution of a particular type of surgery. Different surgical data structures (e.g., and different machine learning model parameters and / or hyperparameters) can be associated with different types of surgeries. The data structure may include a set of nodes, each corresponding to a potential state. The data structure may include directed connections between nodes, which indicate (via directions) the expected order in which states will be encountered throughout the program iteration. The data structure may include one or more branch nodes that feed into multiple next nodes, and / or may include one or more divergence points and / or convergence points between nodes. In some instances, the surgical state indicates a surgical action being performed or that has been performed and / or indicates a combination of actions that have been performed. "Surgical actions" may include operations such as incision, compression, anastomosis, clamping, suturing, cauterization, sealing, or any other such actions performed to complete a step / stage in a surgical procedure. In some instances, the surgical state is related to the biological state of a patient undergoing surgery. For example, the biological state may indicate a complication (eg, blood clot, arterial / venous obstruction, etc.), a pre-existing condition (eg, lesion, polyp, etc.).
[0057] Each node within the data structure can identify one or more characteristics of a state. These characteristics can include visual characteristics. In some instances, the node identifies one or more tools that are typically in use or available for use (e.g., trying on a tool) during the state, one or more roles of a person who is typically performing a surgical task, typical types of movement (e.g., movement of a hand or tool), etc. Therefore, the state detector 150 can use the segmented data generated by the model execution system 140 indicating the presence and / or characteristics of a specific object in the field of view to identify the estimated node corresponding to the real image data. The identification of the node (and / or state) can be further based on the previously detected state of a given program iteration and / or other detected input (e.g., verbal audio data including requests or comments from one person to another, explicit identification of the current or past state, information requests, etc.).
[0058] Output generator 160 can use the state to generate output. Output generator 160 can include an alarm generator 165, which generates and / or obtains information associated with the state and / or potential next events. For example, the information can include details about warnings and / or suggestions corresponding to current or expected surgical actions. The information can further include one or more events to be monitored. The information can identify the next recommended action.
[0059] The user feedback may be transmitted to an alarm output system 170, which may output the user feedback via a user device and / or other device located, for example, in an operating room or control center. The user feedback may include visual, auditory, tactile, or haptic outputs of the indicative information. The user feedback may facilitate the issuance of an alarm to an operator (e.g., a surgeon or any other user of the system).
[0060] The output generator 160 may also include an enhancer 175 that generates or obtains one or more graphics and / or text to be visually presented on or near (e.g., overlaid on) the real-time capture of the surgery (e.g., presented below, near, or on a separate screen). The enhancer 175 may further identify the location where the graphics and / or text are to be presented (e.g., within a specified size of the display). In some instances, a defined portion of the field of view is designated as the portion of the display that includes the enhanced data. In some instances, the location of the graphics and / or text is defined so as not to obscure the view of important portions of the surgical environment and / or to overlay certain graphics (e.g., graphics of tools) with corresponding real-world representations.
[0061] The enhancer 175 may send graphics and / or text and / or any positioning information to an augmented reality device 180, which may integrate the graphics and / or text with the user's environment in real time as an augmented visualization. The augmented reality device 180 may include a pair of goggles that may be worn by a person participating in the portion of the surgery. It will be appreciated that in some instances, the augmented display may be presented on a non-wearable user device, such as on a computer or tablet computer. The augmented reality device 180 may present graphics and / or text at a location and / or predefined location identified by the enhancer 175. Thus, the user may maintain a real-time view of the surgical operation and further view relevant status related information.
[0062] Figure 3 A flow chart of a method 200 for detecting and distinguishing anatomical structures in surgical data using machine learning is depicted in accordance with one or more aspects. The method 200 may be performed by the system 100 as a computer-implemented method.
[0063] Method 200 includes training and using (inference phase) a first machine learning model 350 at box 202 to detect surgical phases being performed in a surgery captured by surgical data. These phases can be determined using "surgical workflow analysis", which includes using machine learning to systematically deconstruct the surgery into steps and phases. A "step" refers to the completion of a specified surgical goal (e.g., hemostasis), while a "phase" represents a surgical event (e.g., closure) consisting of a series of steps. During each step, certain surgical instruments (e.g., forceps) are used to achieve specific goals, and there may be technical errors (mistakes in surgical technique). Identifying these elements based on machine learning allows for the automatic generation of surgical workflow analysis. Artificial deep neural networks (DNNs) or other types of machine learning models can be used to achieve automatic and accurate phase recognition in surgical procedures (such as cataract surgery, laparoscopic cholecystectomy, endoscopic endonasal transsphenoidal approach (eTSA) pituitary adenoma resection, or any other surgical procedure).
[0064] The machine learning model used in the detection phase includes a feature encoder for detecting features from surgical data of the surgery. The feature encoder can be based on one or more artificial neural networks, such as a convolutional neural network (CNN), a recurrent neural network (RNN), a feature pyramid network (FPN), a transformer network, or any other type of neural network or a combination thereof. The feature encoder can use known supervised, self-supervised or unsupervised (e.g., autoencoder) techniques to learn efficient data "encoding" in the surgical data. The "encoding" maps the input data to a feature space that a feature decoder can use to perform semantic analysis of the surgical data. In one or more aspects, the machine learning model includes a task-specific decoder that detects the instrument being used in an instance in the surgical data based on the detected features.
[0065] It should be noted that the machine learning model operates on each frame of surgical data, but can use information from the previous frame or windows of previous frames. Figure 4A visualization of surgical data 300 for training a machine learning model according to one or more aspects is depicted. The depicted example surgical data 300 includes video data, i.e., a set of N images 302. In some examples, the N images may be continuous. Alternatively or additionally, the N images may be a temporal collection of arbitrary samplings of frame / sensor / data information. An audio / video system 364 may be used to capture audiovisual data. The audio / video system 364 may include one or more video capture devices, which may include a camera placed in an operating room to capture events around a patient (i.e., outside the body). Additionally or alternatively, the audio / video system 364 may include a camera (e.g., an endoscopic camera) that passes through a patient's body to capture endoscopic data. The endoscopic data provides a video, image of a surgical procedure for identifying structures such as anatomical structures, surgical instruments, etc. In order to train a machine learning model, the images 302 and other inputs are annotated. The annotations may include a time annotation 306 that identifies the surgical stage to which the image belongs or tracking information for different structures. Accordingly, a particular set or subset of sequential synchronized images from surgical data 302 ("images 302") represents a surgical stage or tracking state. A subset of sequential images 302 may include one or more images.
[0066] Further, the annotations may include spatial annotations 308 that identify one or more objects in the image 302. For example, the spatial annotations 308 may specify one or more regions of the image and identify corresponding objects in the regions. Further, the image 302 may include sensor annotations 310 that include one or more sensor measurements when the image 302 was captured. The sensor measurements may be from sensors associated with the patient, such as oxygen levels, blood pressure, heart rate, etc. Alternatively or in addition, the sensor measurements may be associated with one or more components used in the surgical procedure, such as the brightness level of an endoscope, the liquid level in a container, the energy output of a generator, etc. The sensor measurements may also come from a real-time robotic system that indicates surgical activation or information about the position or posture of an instrument. In other aspects, other types of annotations may be used to train machine learning models.
[0067] In one or more examples, sensor information can be received from a surgical instrument system 362. The surgical instrument system 362 can include power sensors, electrical impedance sensors, force sensors, bubbles, occlusion sensors, and / or various other types of sensors. The power sensor can measure and indicate the amount of electrical energy applied to one or more surgical instruments used in a surgical procedure. The impedance sensor can indicate the amount of impedance measured by the surgical instrument (e.g., from tissue undergoing surgery). The force sensor can indicate the magnitude of the force applied by the surgical instrument. Measurements from various other sensors (e.g., position sensors, pressure sensors, flow meters) can also be input. This instrument data can be used to train a machine learning algorithm to determine one or more actions being performed during a surgical procedure. For example, machine learning can be used to detect vessel closure, clamping, or any other manipulation of a surgical instrument based at least in part on the instrument data.
[0068] When detecting features in the surgical data 300, the machine learning model may consider one or more temporal inputs, such as sensor information, acoustic information, and spatial annotations 308 associated with the images 302. A set of such temporally synchronized inputs from the surgical data 300 that are analyzed together by the machine learning model may be referred to as an "input window" 320. During inference, the machine learning model operates on the input window 320 to detect the surgical stage represented by the images 302 in the input window 320 (box 202). Each image 302 in the input window 320 is associated with synchronized temporal and spatial annotations, such as measurements at a specific point in time, including sensor information, acoustic information, and other information. The images 302 used by the machine learning model may or may not be consecutive.
[0069] In one or more examples, the inputs from the surgical instrument system 362 and the audio / video system 364 are time synchronized. A set of such time synchronized inputs from the surgical data 300 that are analyzed together by the machine learning model can be referred to as an "input window" 320. During inference, the machine learning model operates on the input window 320 to detect the surgical stage represented by the image in the input window 320 (box 202). Each input window 320 can include multiple data streams from different sources: one or more images 302 (or videos), synchronized temporal and spatial data (such as measurements, including sensor measurements), acoustic information, and other information used by the (multiple) machine learning models to autonomously detect / detect one or more aspects.
[0070] Aspects also include time synchronization of video data from the surgical instrument system 362 and the audio / video system 364. Synchronization includes identifying (multiple) images 302 from video data associated with manipulation of the surgical instrument at time point t1. Alternatively, synchronization includes identifying surgical instrument data associated with the image 302 at time point t2. In one or more examples, the surgical instrument system 362 and the audio / video system 364 operate using a synchronized clock and include a timestamp from such a clock when recording the corresponding data. The timestamp from the synchronized clock can be used to synchronize the two data streams. Alternatively, the surgical instrument system 362 and the audio / video system 364 operate on a single clock and the timestamp can be used to synchronize the corresponding data streams.
[0071] Further, at block 204, Figure 3 The method 200 includes training and using (inference phase) a second machine learning model to detect structural data in the surgical data in the input window 320. Figure 5 A second machine learning model 400 for detecting structures in surgical data according to one or more aspects is depicted. The second machine learning model 400 can be a computer vision model. The second machine learning model 400 can be a combination of one or more artificial neural networks such as encoders, recurrent neural networks (RNNs, such as LSTM, GRU, etc.), CNNs, time convolutional neural networks (TCNs), decoders, Transformers, other deep neural networks, etc. In some aspects, the second machine learning model 400 uses architectures such as DeepLabv3, PSPNet, etc. or any other architecture. In some aspects, the second machine learning model 400 includes an encoder 402 that is trained using weak labels (such as lines, ellipses, local heat maps, or rectangles) or full labels (segmentation masks, heat maps) to detect features in surgical data. In some cases, full labels can be automatically generated from weak labels using a trained machine learning model. In some other cases, full labels can be transformed into weak labels (e.g., segmentation masks to heat maps). This label transformation can be referred to as "label relaxation," which allows the machine learning model to learn different parts of a structure with different weights / importances. The encoder or backbone 402 may be implemented using an architecture such as ResNet, VGG, or other such neural network architectures. During training, the encoder 402 is trained using input windows 320 that include images 302 annotated with labels (weak labels or full labels).
[0072] The encoder 402 generates a feature space 404 from the input window 320. The feature space 404 includes features extracted from the input window by the encoder 402. The features include one or more labels assigned by the encoder 402 to one or more portions of the surgical data in the input window 320.
[0073] The second machine learning model 400 further includes a decoder 406 that detects and outputs a localization 408 based on the feature space 404. The localization 408 provides the location of one or more structures detected in the input window 320, for example, coordinates, heat maps, bounding boxes, boundaries, masks, etc. The localization 408 can be specified as multiple sets of coordinates (e.g., polygons), a single set of coordinates (e.g., centroids), or any other such manner without limiting the technical features described herein.
[0074] The detected structures may include anatomical structures, surgical instruments, and other such features in the input window 320. The detected anatomical structures may include organs, arteries, implants, surgical supplies (e.g., staples, sutures, etc.), etc. Further, based on the type of surgical procedure being performed, one or more of the detected anatomical structures may be identified as critical structures for the success of the surgery. The detected surgical instruments may include clamps, staples, knives, scalpels, sealers, separators, dissectors, tissue fusion instruments, etc.
[0075] In one or more aspects, localization 408 is limited to the spatial domain of detected structures (e.g., bounding boxes, heat maps, segmentation masks), but the temporal consistency of the detection is enhanced using temporal annotations 306. Temporal annotations 306 can be based on sensor measurements, acoustic information, and other such data captured when the corresponding image 302 was captured.
[0076] In one or more aspects, the decoder 406 further uses information output by the first machine learning model 350, including the phase data. The phase information is preferentially injected during training the second machine learning model 400. In one or more aspects, the temporal information provided by the phase information is used to improve the confidence of the detection of the structural data. In one or more aspects, the temporal information is fused (412) with the feature space 404, and the resulting fused information is used by the decoder 406 to output the location 408 of the structural data.
[0077] Feature fusion 412 can implement an image fusion neural network (IFNN) based on a transform domain image fusion algorithm. For example, an initial number of layers in the IFNN extract significant features from the temporal information output by the first model and the feature space 404. Further, the extracted features are fused by appropriate fusion rules (e.g., element-by-element maximum, element-by-element minimum, element-by-element average, etc.) or more complex learning-based neural network modules, which are designed to learn to weight and fuse input data (e.g., using an attention module). These fused features are reconstructed by subsequent layers of the IFNN to produce input data such as information fusion images for analysis by the decoder 406. Other techniques for fusing features can be used in other aspects.
[0078] Positioning 408 may further include a measure of the uncertainty of the processing, i.e., how confident the second machine learning model 400 is that the data points generated by the processing are correct. This measure represents a confidence score for the output of the second machine learning model. The confidence score is a measure of the reliability of the detection from the second machine learning model 400. For example, a confidence score of 95% or 0.95 means that the probability of a reliable detection is at least 95%. The confidence score can be calculated as a distance transformation from the central axis of the structure (i.e., how close to the center of mass of the structure) to attenuate detection near the boundary. The confidence score can also be calculated as a probabilistic formula for the second machine learning model 400 (e.g., Bayesian deep learning, probabilistic output like SoftMax or S-type functions, etc.). In some aspects, the confidence scores of various detections are scaled and / or normalized within a certain range (e.g., [0, 1]).
[0079] In some aspects, the second machine learning model 400 uses the first setting to detect structure in the input window 320. For example, the first setting includes a set of specific values for hyperparameters to be assigned to the second machine learning model 400. The first setting detects structural data in the input based on training the second machine learning model 400.
[0080] refer to Figure 3 , method 200 further includes distinguishing a specific anatomical structure from the structural data identified by the second machine learning model 400 at box 206. In one or more aspects, the second machine learning model 400 is reused under the updated (second) setting to identify the specific anatomical structure from the detected structure (in step 204). Alternatively, another machine learning model (third machine learning model) is trained and used to identify the specific anatomical structure from the detected structural data. The third machine learning model can have the same structure as the second machine learning model 400 and use feature fusion 412 to utilize the stage information detected by the first machine learning model 350 and the structure detected by the second machine learning model 400. For example, the second setting for identifying the anatomical structure includes a set of specific values to be assigned to the hyperparameter. The second setting identifies the specific anatomical structure in the input based on the training of the third (or second 400) machine learning model. Alternatively, the third machine learning model is trained to classify one or more structures detected by the second machine learning model. Such classification can include identifying different types of anatomical structures and surgical instruments. Classification can be performed on one or more positioning 408 (e.g., bounding boxes) output by the second machine learning model 400.
[0081] The localization output by the third machine learning model provides identification of specific anatomical structures (e.g., the cystic artery 12 and the cystic duct 14) in the image 302. The localization can be represented as coordinates in the image that map to pixels 302 in the image 302 that depict the identified anatomical structures. In some aspects, the output of the third machine learning model is an enhanced heat map, segmentation mask, point cloud, or other type of landmark for each anatomical structure. These landmarks can be used to generate enhanced videos as input to additional machine learning models for trajectory estimation or tracking to provide statistics on the location of anatomical structures and tools and use them for real-time or post-operative analysis, etc.
[0082] In one or more aspects, the third machine learning model facilitates recognition of anatomical structures even when the anatomical structures are occluded by at least one other structure in the input window 320. Occlusion can be overcome by using spatiotemporal information of anatomical structures from other input windows 320. For example, spatiotemporal windows are used when training the machine learning model to facilitate learning motion dynamics across time and improve segmentation and re-identification of structures.
[0083] In the example, for laparoscopic cholecystectomy surgery, the second machine learning model 400 is trained in two different settings: a single combined key structure category, and separate cystic artery and cystic duct categories. The trained second machine learning model 400 is used separately, once for detecting structures, and again for distinguishing detected structures. In the example, a training dataset containing 100,000 frames from 1000 videos labeled under expert guidance is used to train the second machine learning model 400. It should be understood that in other embodiments, different training datasets with different numbers of elements can be used to train the second (or any other) machine learning model 400. In the above example, the second machine learning model 400 detects the presence of the structure with a confidence score of 95% under the setting from the combined structure category, and distinguishes / identifies the cystic artery 12 and cystic duct 14 anatomical structures from the detected structures with a confidence score of 91%. This is comparable to the agreement between human annotators (88% before feedback, 92% after feedback). Accordingly, the various aspects described herein provide technical solutions for detecting anatomical structures and further analyzing the detected anatomical structures to distinguish specific types of anatomical structures. These aspects integrate technical solutions into practical applications to perform analysis on input videos using computer vision using (multiple) machine learning models. In one or more aspects, the analysis is performed substantially in real time as the video is streamed and during the performance of the surgical procedure. The output of the analysis helps provide feedback to medical personnel, such as by adding a visual overlay on the video stream. Accordingly, a practical solution is provided. Further, by providing such feedback, computer-assisted surgical systems (e.g., laparoscopic surgical systems, or any other surgical system that provides real-time endoscopic video) are improved, which can improve the quality of the surgical procedure being performed.
[0084] Figure 3 The method 200 further includes generating an enhanced visualization of the surgical view using the data points obtained by the processing at block 208. The enhanced visualization may include, for example, displaying a segmentation mask or probability map on an anatomical structure or a specific point of interest identified in the surgical data 300.
[0085] Figure 6Depicted are example enhanced visualizations of surgical views generated according to one or more aspects. It should be understood that those shown are examples and that various other enhanced visualizations can be generated in other aspects. Images captured during eye surgery are depicted in enhanced visualizations 501, 503. Enhanced visualizations 501, 503 are from different stages of the surgical procedure, and accordingly, the anatomical structures, surgical instruments, and other details in the surgical views are different. Further, depending on the stage of the surgical procedure, the key anatomical structures identified will also change. In enhanced visualization 501, the iris and the specific portion of the iris to be operated on are anatomical structures identified using graphic overlay 502. The sclera, which is also seen, is not marked, for example, because it may not be considered a "critical structure" for the surgical procedure or surgical stage being performed. In enhanced visualization 501, the interior of the eye, such as the ciliary muscle, vitreous gel, fovea, choroid, macula, retina, etc., can be seen. Enhanced visualization 503 depicts a snapshot from a laparoscopic cholecystectomy. Among the anatomical structures seen, the key anatomical structures to be operated on or requested to be identified by the user are marked using graphic overlay 502.
[0086] The user may configure which detections from the machine learning system 100 are to be displayed by the augmentor 175. For example, the user may configure the overlay 502 to be displayed on a partial set of detections, while other detections are not marked in the augmented reality device 180. Further, the user may configure one or more thresholds that determine when to generate an alert based on one or more scales associated with the detection (e.g., certainty, accuracy, etc.). The user may further configure the properties to be used to generate user feedback such as the overlay 502. For example, the color, border, transparency, priority, audible sound, and other such properties of the user feedback may be configured.
[0087] "Critical anatomical structures" may be specific to the type of surgical procedure being performed and automatically identified. Additionally, the surgeon or any other user may configure the system 100 to identify specific anatomical structures that are critical to a particular patient. The selected anatomical structures may be critical to the success of the surgical procedure, such as anatomical landmarks that need to be identified during surgery (e.g., Carlo's triangle, His angle, cystic artery 12, cystic duct 14, etc.) or anatomical landmarks that result from a previous surgical task or procedure (e.g., anastomosed or sutured tissue, clips, etc.).
[0088] Further, the enhanced visualization 501, 503 can use a graphic overlay 502 to mark surgical instruments in the surgical data 300. As described herein, surgical instruments are identified by a machine learning model. In one or more aspects, surgical instruments are marked only when they are within a predetermined threshold proximity to an anatomical structure. In some aspects, surgical instruments are marked only when they are within a predetermined threshold proximity to a key anatomical structure. In some aspects, surgical instruments are always marked with a graphic overlay 502, but the opacity (or any other attribute) of the graphic overlay 502 varies based on the importance score associated with the surgical instrument. The importance score can be based on the surgical procedure being performed. For example, during arthroscopy of a knee for a meniscus injury, arthroscopic scissors, suture cutters, meniscus retractors, or other such surgical instruments may have a higher importance score than arthroscopic punches, bites, etc. The importance score of the surgical instrument can be configured by the user and can be set by default based on the type of surgical procedure being performed. The graphic overlay 502 of other detected features (such as anatomical structures) is also adjusted in the same manner as the surgical instrument.
[0089] Here, "marking" an anatomical structure, surgical instrument, or other feature in the surgical data includes visually highlighting the feature for the surgeon or any other user by using a graphical overlay 502. The graphical overlay 502 may include a heat map, outline, bounding box, mask, highlight, or any other such visualization overlaid on the image 302 from the surgical data 300 displayed to the user. Further, in one or more aspects, the identified particular anatomical structure is marked using a predetermined value assigned to the corresponding anatomical structure. For example, Figure 1 As shown, the cystic artery 12 is marked with a first color value (e.g., purple), and the cystic duct 14 is marked with a second color value (e.g., green). It will be appreciated that visual attributes other than color or a combination thereof may also be assigned to a particular anatomical structure. The assignment of visual attributes to respective anatomical structures may be user configurable. The examples herein depict the use of masks and heat maps as graphical overlays 502. However, different techniques may be used in other aspects.
[0090] Various visual properties of the graphical overlay 502 may be adjusted, such as color, transparency, visual pattern, line thickness, etc. Additionally, the graphical overlay 502 may include annotations. The annotations may be based on detection by the second machine learning model 400 to identify the anatomical structure(s), object(s) marked using the graphical overlay 502. Additionally, the annotations may include notes from the user, sensor measurements, or other such information.
[0091] In one or more aspects, a user can adjust properties of the graphical overlay 502. For example, a user can select a type of highlighting, color, line thickness, transparency, shading pattern, labeling, outline, or any other such property for generating and displaying the graphical overlay on the image 302. In some aspects, the color and / or transparency of the graphical overlay 502 is adjusted based on a confidence score associated with the machine learning model(s)' recognition of the underlying anatomical structure or surgical instrument.
[0092] In some aspects, the graphic overlay 502 is used to provide a critical structure warning. Referring to the flowchart, the method 200 includes predicting whether the surgeon is operating within a predetermined proximity of a critical anatomical structure at block 210. This determination can be made based on the surgical instrument being within a predetermined proximity of the critical anatomical structure (e.g., 0.5 mm, 0.2 mm, etc.). If it is determined that the surgical instrument is within a predetermined threshold of the critical anatomical structure, then one or more preventative measures are taken at block 212.
[0093] Preventive measures can include generating and displaying a graphical overlay 502 on the surgical view to indicate user feedback (e.g., warnings / alerts, annotations, notifications, etc.). Alternatively or additionally, preventive measures can be integrated into the robotic workflow in response to estimates made by the machine learning model described herein. For example, adjusting (e.g., limiting / constraining) operating parameters of one or more surgical instruments to prevent damage to the patient. For example, during ureteroscopy, in order to prevent damage to the ureters and / or pulmonary vessels, the energy level of the monopolar instrument is reduced when dissecting near the neurovascular bundle. In other aspects, additional preventive measures can also be taken by adjusting surgical parameters (such as speed, rotation, vibration, energy, etc.), which can help to prohibit (or enhance) the use of surgical instruments to perform one or more actions.
[0094] Various aspects of the technical solutions described herein improve surgery by improving the safety of surgery. Further, the technical solutions described herein contribute to improving computing technology, particularly computing technology used during surgery. Various aspects of the technical solutions described herein contribute to one or more machine learning models (such as computer vision models) using spatiotemporal information to process images obtained from a real-time video feed of a surgical operation in real time. The machine learning model uses information from a real-time video feed and (if available) a robotic sensor platform using techniques such as neural networks to detect and distinguish one or more features (such as anatomical structures, surgical instruments) in an input window of a real-time video feed, and uses additional machine learning models that can predict the stage of the surgical operation to further improve the prediction. By learning from raw image data and instrument markers (bounding boxes, lines, key points, etc.), additional machine learning models are trained to identify (multiple) surgical stages of surgery and instruments in the field of view. When in robotic surgery, the computer vision model can also accept sensor information (e.g., instrument activation, installation, etc.) to improve predictions. The computer vision model that predicts instruments and key anatomical structures uses time information from the stage prediction model to improve the confidence of real-time predictions. It should be noted that the output of a machine learning model may generally be referred to as a “prediction” unless otherwise specified.
[0095] A graphical overlay is generated and displayed for the surgeon and / or other user in an enhanced visualization of the surgical view using the predictions and corresponding confidence scores. The graphical overlay may mark key anatomical structures, surgical instruments, surgical staples, scar tissue, results of previous surgical actions, etc. The graphical overlay may further illustrate the relationship between the surgical instrument(s) in the surgical view and one or more anatomical structures, and thus guide the surgeon and other users during surgery. The graphical overlay is adjusted according to the user's preferences and / or according to the confidence score of the prediction.
[0096] By using machine learning models and computational techniques to predict and mark various features in surgical views in real time, aspects of the technical solution help surgeons replace visualization based on external contrast agents (e.g., indocyanine green (ICG), ethanethiol, etc.) that must be injected into the patient. Such contrast agents may not always be available due to patient prerequisites or other factors. Accordingly, aspects of the technical solution described herein provide practical applications in surgical procedures. In some aspects, in addition to the technical solutions described herein, contrast agents can also be used. An operator (e.g., a surgeon) can turn on / off one (or both) of the contrast agent-based visualization or the graphic overlay 502.
[0097] Further, aspects of the technical solutions described herein address the technical challenges of predicting complex features in a live video feed of a surgical view in real time. These technical challenges are addressed by analyzing multiple images in a video feed using a combination of various machine learning techniques. Additionally, there are technical challenges in determining relative depth in an image when determining whether a surgical instrument is within a predetermined proximity of a critical anatomical structure. Various aspects of the technical solutions described herein provide machine learning techniques that facilitate training a depth estimation algorithm to obtain a proxy for relative depth in an image. Further, to address the technical challenges of real-time analysis of a surgical view and enhanced visualization, various aspects of the technical solutions described herein predict the current state of a surgical view at a constant frame rate and use a machine learning model to update the current state at a predetermined frame rate.
[0098] Figure 7 A flow chart for depth estimation of an agent for obtaining relative depth in an image is depicted. Surgery is performed in 3D space, and therefore, determining the proximity of surgical instruments and anatomical structures must be performed in 3D space. However, the image 302 representing the surgical view is typically 2D. Therefore, a depth map of the surgical view must be estimated based on the 2D image 302. Depth map calculation is a technical challenge in computing technology because the calculation is expensive in terms of computing resources and time. Various aspects described herein address the technical challenges by using an artificial neural network architecture that improves the runtime of real-time calculation of the depth map 605. Further, a monocular image capture device (e.g., a single camera) may be used to capture the surgical view, which may adversely affect the estimation of the depth map. It should be noted that a "depth map" may represent a disparity map, a stereo map, a distance map, or any other such data structure.
[0099] Aspects described herein address this technical challenge and provide a depth map of the surgical view in real time.
[0100] Figure 7 A machine learning model 625 is depicted being trained to estimate a depth map 605 of a feature seen in a surgical view. The machine learning model 625 is trained using a pair of stereo frames captured using a stereo image capture device (not shown). The stereo image capture device captures two frames, referred to herein as a left frame 602 and a right frame 604. It should be understood that in other aspects, the stereo image capture can produce a top frame and a bottom frame, or any other pair of images that captures a scene in the field of view of the stereo image capture device. The machine learning model 625 can also be trained to extract the depth map 605 using simulated data for which the exact depth is known and a left / right projection can be made. Additionally, the model can also be trained with spatiotemporal information (e.g., using windows of frames / sensors and other inputs, as in other models described herein).
[0101] The machine learning model is based on an artificial neural network architecture. The neural network architecture includes an encoder 606, which is trained to extract features from the left frame 602 and the right frame 604, respectively. The features extracted into the feature space 608 can be based on filters, such as Sobel filters, Prewitt operators or other feature detection operators, such as convolution operators. Further, the decoder 610 determines the depth map 605 by matching the features extracted from the left frame 602 and the right frame 604 and calculating the coordinates of each point in the scene based on the matched features. The encoder 606 and the decoder 610 each include an RNN, a CNN, a Transformer or other such neural network. The depth map 605 provides the depth of each pixel in the scene captured by the stereo pair. During training, the real data of the depth map 605 is known, and accordingly, the encoder 606 and the decoder 610 are trained to find the features that match accurately, and the depth of each pixel in the depth map 605 based on the matching features. Depth map 605 is an image of the same size as left frame 602 and right frame 604 , where the value of each pixel in depth map 605 represents the depth of each point captured in the stereo pair.
[0102] During operation, because a stereo image capture device may not be present, a monocular depth reconstruction is performed using a trained machine learning model 625. The captured image 302 is used to reconstruct a corresponding relative image 614 using a reconstruction network (RecNet) 612. The original image 302 and the corresponding relative image 614 from the reconstruction network 612 are used as input to the trained machine learning model 625 to estimate a stereo image pair (left and right) of the depth map 605.
[0103] Figure 8 A flow chart for automatically predicting anatomical structures in surgical data using machine learning according to one or more aspects is depicted. Input window 320 is input to Figure 2A model execution system 140 is provided, which uses a stage prediction model 702 as a machine learning model to predict the stage of a surgical operation being performed. Further, the second machine learning model 400 analyzes the input window 320 to predict one or more anatomical structures. Further, a surgical instrument prediction model 704 as another machine learning model is used to predict surgical instruments in surgical data. The surgical instrument prediction model 704 can be substantially similar in architecture to the second machine learning model 400 for anatomical structure prediction. Further, the depth estimation model 625 analyzes the input window to generate a depth map 605. The machine learning model is trained using training data, which is substantially similar in structure to the surgical data 300. It should be noted that although separate machine learning models for detecting separate features of surgical data are described herein, it should be understood that in some aspects, a single machine learning model or different combinations of machine learning models (e.g., two models, three models) can be used to detect these features. As described herein, the surgical training data can be recorded surgical data from a previous surgical operation or simulated surgical data. For example, the training data is pre-processed manually to understand the real data, and hyperparameters and other parameters associated with the machine learning model are adjusted during the training phase. The machine learning model is considered trained once the output predictions from the model are within a predetermined error threshold of the real data and the corresponding confidence score of the prediction is above a predetermined threshold.
[0104] During the inference phase, the trained machine learning model is input with real-time surgical data 300 without preprocessing. The machine learning model generates predictions during the inference phase. One or more machine learning models also output corresponding confidence scores associated with the predictions.
[0105] Output generator 160 uses the output from each machine learning model to provide augmented visualization via augmented reality device 180. Augmented visualization may include overlaying a graphical overlay 502 over corresponding features (anatomical structures, surgical instruments, etc.) in image(s) 302.
[0106] In some aspects, the output generator 160 may also provide user feedback via the alert output system 170. The user feedback may include highlighting one or more portions of the image(s) 302 using a graphical overlay 502 to depict the proximity between the surgical instrument(s) and the anatomical structure(s). Alternatively or additionally, the user feedback may be displayed in any other manner, such as a message, icon, etc., overlaid on the image(s) 302.
[0107] In some aspects, to facilitate real-time performance, the input window 320 is analyzed at a predetermined frequency (e.g., 5 times per second, 3 times per second, 10 times per second, etc.). The analysis enables identification of the location of anatomical structures and surgical instruments in the images 302 in the input window 320. It will be appreciated that the video of the surgical procedure includes images 302 between two consecutive input windows 320. For example, if the video is captured at 60 frames per second, and if the input window 320 includes 5 frames, and if the input window 320 is analyzed 5 times per second, a total of 25 frames from the 60 frames captured are analyzed. The remaining 35 frames are between two consecutive input windows 320. It will be appreciated that the capture speed, input window frequency, and other parameters may vary according to different aspects, and the above numbers are examples.
[0108] For the frames between two consecutive input windows 320, i.e., images 302, the positions of the anatomical structure and the surgical instrument are predicted based on the positions predicted in the most recent input window 320. For example, a motion vector of the surgical instrument may be calculated based on the change in position of the surgical instrument in the frames of the previous input window 320. A machine learning model such as a deep neural network may be used to calculate the motion vector. The motion vector is used to predict the position of the surgical instrument in subsequent frames after the input window 320 until the next input window 320 is analyzed.
[0109] The position of the anatomical structure(s) predicted by the machine learning model is also predicted in the same manner in the frames between two consecutive input windows 320. If necessary, the graphical overlay 502 used to overlay the image 302 to represent the predicted features (surgical instruments, anatomical structures, etc.) is adjusted accordingly based on the predicted positions. Accordingly, a smooth visualization is provided to the user in real time while using fewer computing resources. In some aspects, the graphical overlay 502 can be configured to be turned off by the user (e.g., a surgeon) and the system operates without the overlay 502, with the overlay 502 and / or other types of user feedback being generated only when an alert is to be provided (e.g., an instrument within the vicinity of a predetermined anatomical structure).
[0110] During surgery like laparoscopic cholecystectomy, complications such as bile duct injury can severely injure the patient. Technical solutions are provided for facilitating computer assistance during surgery to prevent complications by using machine learning to detect and highlight key anatomical structures such as the cystic duct and cystic artery. According to some aspects, a computer vision system is trained to detect several structures in a real-time video of the surgery and further differentiate between structures such as arteries and ducts despite their similar appearance.
[0111] Now go to Fig. 9, according to one aspect, a computer system 800 is generally shown. As described herein, the computer system 800 may be an electronic computer framework including and / or employing any number of computing devices and networks utilizing various communication technologies and combinations thereof. The computer system 800 may be easily expanded, extended, and modularized, and may have the ability to change to different services or reconfigure some features independently of other features. The computer system 800 may be, for example, a server, a desktop computer, a laptop computer, a tablet computer, or a smart phone. In some examples, the computer system 800 may be a cloud computing node. The computer system 800 may be described in the general context of computer system executable instructions (such as program modules) executed by the computer system. Typically, a program module may include routines, programs, objects, components, logic, data structures, etc. that perform specific tasks or implement specific abstract data types. The computer system 800 may be practiced in a distributed cloud computing environment where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules may be located in local and remote computer system storage media including memory storage devices.
[0112] like Fig. 9 As shown, the computer system 800 has one or more central processing units (CPUs) 801a, 801b, 801c, etc. (collectively or generally referred to as (multiple) processors 801). The processor 801 can be a single-core processor, a multi-core processor, a computing cluster, or any number of other configurations. The processor 801 is also referred to as a processing circuit, which is coupled to a system memory 803 and various other components via a system bus 802. The system memory 803 may include one or more memory devices, such as a read-only memory (ROM) 804 and a random access memory (RAM) 805. The ROM 804 is coupled to the system bus 802 and may include a basic input / output system (BIOS) that controls certain basic functions of the computer system 800. The RAM is a read-write memory coupled to the system bus 802 for use by the processor 801. The system memory 803 provides temporary storage space for the operation of the instructions during operation. The system memory 803 may include a random access memory (RAM), a read-only memory, a flash memory, or any other suitable memory system.
[0113] Computer system 800 includes an input / output (I / O) adapter 806 and a communication adapter 807 coupled to system bus 802. I / O adapter 806 may be a small computer system interface (SCSI) adapter that communicates with hard disk 808 and / or any other similar components. I / O adapter 806 and hard disk 808 are collectively referred to herein as mass storage device 810.
[0114] Software 811 for execution on computer system 800 may be stored in mass storage device 810. Mass storage device 810 is an example of a tangible storage medium readable by processor 801, wherein software 811 is stored as instructions executed by processor 801 to cause computer system 800 to operate as described below with reference to the various figures. Examples of computer program products and execution of such instructions are discussed in greater detail herein. Communications adapter 807 interconnects system bus 802 with network 812, which may be an external network that enables computer system 800 to communicate with other such systems. In one aspect, a portion of system memory 803 and mass storage device 810 together store an operating system, which may be a coordinating Fig. 9 The various components shown function as any suitable operating system.
[0115] Additional input / output devices are shown connected to the system bus 802 via a display adapter 815 and an interface adapter 816. In one aspect, adapters 806, 807, 815, and 816 may be connected to one or more I / O buses that are connected to the system bus 802 via an intermediate bus bridge (not shown). A display 819 (e.g., a screen or display monitor) is connected to the system bus 802 by a display adapter 815, which may include a graphics controller and a video controller for improving the performance of graphics-intensive applications. A keyboard, mouse, touch screen, one or more buttons, speakers, and the like may be interconnected to the system bus 802 via an interface adapter 816, which may include, for example, a super I / O chip that integrates multiple device adapters into a single integrated circuit. Suitable I / O buses for connecting peripheral devices such as hard disk controllers, network adapters, and graphics adapters typically include common protocols such as the Peripheral Component Interconnect (PCI). Thus, as shown in FIG. Fig. 9 As configured, the computer system 800 includes processing capabilities in the form of a processor 801, storage capabilities including a system memory 803 and a mass storage device 810, input devices such as buttons and a touch screen, and output capabilities including a speaker 823 and a display 819.
[0116] In some aspects, the communication adapter 807 can use any suitable interface or protocol (such as Internet Small Computer System Interface, etc.) to transmit data. The network 812 can be a cellular network, a radio network, a wide area network (WAN), a local area network (LAN), or the Internet, etc. An external computing device can be connected to the computer system 800 through the network 812. In some examples, the external computing device can be an external network server or a cloud computing node.
[0117] It should be understood that Fig. 9 The block diagram is not intended to indicate that the computer system 800 will include Fig. 9 Instead, the computer system 800 may include Fig. 9 800 (e.g., additional memory components, embedded controllers, modules, additional network interfaces, etc.). Further, the aspects described herein with respect to computer system 800 may be implemented with any appropriate logic, wherein, in various aspects, the logic as mentioned herein may include any appropriate hardware (e.g., a processor, an embedded controller, or an application specific integrated circuit, etc.), software (e.g., an application, etc.), firmware, or any appropriate combination of hardware, software, and firmware.
[0118] In one or more cases, the reports / views / notes and other information described herein are added to an electronic medical record (EMR). In some aspects, information about a particular surgical procedure can be stored in a patient record associated with the patient undergoing surgery during the surgical procedure. Alternatively or additionally, the information is stored in a separate database for later retrieval. The retrieval can be associated with the patient's unique identifier, such as an EMR identifier, a social security number, or any other unique identifier. The stored data can be used to generate patient-specific reports. In some aspects, information can also be retrieved from the EMR to enhance one or more surgeries described herein. In one or more aspects, surgical notes can be generated, which include one or more outputs from a machine learning model. The surgical notes can be stored as part of the EMR.
[0119] Fig.10 A surgical system 900 is depicted according to one or more aspects. Fig.10 The example depicts a surgical support system 902 configured to communicate with a surgical scheduling system 930 via a network 920. The surgical support system 902 may include or may be coupled to Figure 2 The surgical support system 902 may use one or more cameras 904 to acquire image data, such as Figure 4 The surgical support system 902 may also interface with a plurality of sensors 906 and effectors 908. The sensors 906 may be associated with surgical support equipment and / or patient monitoring. The effectors 908 may be robotic components or other devices controllable by the surgical support system 902. The surgical support system 902 may also interact with one or more user interfaces 910, such as various input and / or output devices. While a surgical procedure is being performed, the surgical support system 902 may store, access and / or update surgical data 914 associated with a training data set and / or real-time data. The surgical support system 902 may store, access and / or update surgical objectives 916 to aid in training and guiding one or more surgical procedures.
[0120] The surgical scheduling system 930 can access and / or modify scheduling data 932 for tracking planned surgical operations. Scheduling data 932 can be used to schedule physical resources and / or human resources to perform planned surgical operations. Based on the surgical manipulation predicted by one or more machine learning models and the current operation time, the surgical support system 902 can estimate the expected time for the end of the surgical operation. This can be based on previously observed similar complex cases recorded in the surgical data 914. Changes in the predicted end of the surgical operation can be used to notify the surgical scheduling system 930 to prepare the next patient, who can be identified in the record of the scheduling data 932. The surgical support system 902 can send an alarm to the surgical scheduling system 930, which triggers a scheduling update associated with a later surgical operation. Scheduling changes can be captured in the scheduling data 932. Predicting the end time of the surgical operation can improve the efficiency of running parallel sessions in the operating room because resources can be allocated between operating rooms. Based on the scheduling data 932 and the predicted surgical manipulation, a request to enter the operating room can be transmitted as one or more notifications 934.
[0121] As surgical maneuvers and steps are completed, progress can be tracked in surgical data 914 and status can be displayed via user interface 910. Status information can also be reported to other systems via notification 934 when a surgical maneuver is completed or any problems (such as complications) are observed.
[0122] The present invention may be a system, method and / or computer program product at any possible level of integrated technical detail. The computer program product may include a computer-readable storage medium (or media) having computer-readable program instructions thereon to cause a processor to perform various aspects of the present invention.
[0123] Computer readable storage medium can be a tangible device that can retain and store instructions for use by instruction execution devices. Computer readable storage medium can be, for example, but not limited to, electronic storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the above. A non-exhaustive list of more specific examples of computer readable storage medium includes the following: portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device (such as punch card or the convex structure in the groove with instructions recorded thereon) and any suitable combination of the above. Computer readable storage medium used herein should not be interpreted as instantaneous signal itself, such as radio waves or other free propagating electromagnetic waves, electromagnetic waves propagated by waveguides or other transmission media (for example, light pulses transmitted by fiber optic cables), or electrical signals transmitted by wires.
[0124] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to a corresponding computing / processing device via a network (e.g., the Internet, a local area network, a wide area network, and / or a wireless network), or downloaded to an external computer or external storage device. The network can include copper transmission cables, optical transmission fibers, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in a computer-readable storage medium in the corresponding computing / processing device.
[0125] The computer-readable program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, configuration data of an integrated circuit, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, and procedural programming languages such as "C" programming language or similar programming languages. The computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, and partially on a remote computer, or completely on a remote computer or server. In the latter scenario, a remote computer may be connected to a user's computer via any type of network (including a local area network (LAN) or a wide area network (WAN)), or may be connected to an external computer (e.g., via the Internet, using an Internet service provider). In some respects, an electronic circuit including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may be personalized electronic circuits to execute computer-readable program instructions using the state information of the computer-readable program instructions, so as to perform various aspects of the present invention.
[0126] Various aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, devices (systems) and computer program products according to various aspects of the present invention. It will be understood that each frame of the flowchart illustration and / or block diagram and the combination of frames in the flowchart illustration and / or block diagram can be implemented by computer-readable program instructions.
[0127] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device create a way to implement the functions / actions specified in one or more boxes of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, which can instruct a computer, a programmable data processing device, and / or other equipment to operate in a specific manner, so that the computer-readable storage medium in which the instructions are stored includes an article of manufacture, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes of the flowchart and / or block diagram.
[0128] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operating steps to be performed on the computer, other programmable apparatus, or other device, thereby producing a computer-implemented process, so that the instructions executed on the computer, other programmable apparatus, or other device implement the functions / actions specified in one or more boxes of the flowchart and / or block diagram.
[0129] The flowcharts and block diagrams in the accompanying drawings show the architecture, functions and operations of possible implementations of systems, methods and computer program products according to various aspects of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, fragment or part of an instruction, which includes one or more executable instructions for implementing (multiple) specific logical functions. In some alternative embodiments, the functions marked in the box may not occur in the order marked in the accompanying drawings. For example, depending on the functions involved, the two boxes shown in succession can actually be executed substantially simultaneously, or these boxes can sometimes be executed in reverse order. It will also be noted that each box of the block diagram and / or flowchart illustration and the combination of boxes in the block diagram and / or flowchart illustration can be implemented by a dedicated hardware-based system that performs a combination of a specified function or action or performs dedicated hardware and computer instructions.
[0130] The description of various aspects of the present invention is presented for the purpose of illustration, but is not intended to be exhaustive or limited to the disclosed aspects. Various modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described aspects. The terms used herein are selected to best explain the principles of various aspects, practical applications or technical improvements over existing technologies on the market, or to enable those of ordinary skill in the art to understand the various aspects described herein.
[0131] Various aspects of the present invention are described herein with reference to the accompanying drawings. Without departing from the scope of the present invention, alternative aspects of the present invention may be designed. Various connections and positional relationships (e.g., above, below, adjacent, etc.) between elements are described below and in the accompanying drawings. Unless otherwise indicated, these connections and / or positional relationships may be direct or indirect, and the present invention is not intended to be limited in this respect. Accordingly, the coupling of entities may refer to direct or indirect coupling, and the positional relationship between entities may be direct or indirect positional relationships. In addition, the various tasks and process steps described herein may be incorporated into a more comprehensive program or process with additional steps or functions not described in detail herein.
[0132] The following definitions and abbreviations are used to interpret the claims and specification. As used herein, the terms "comprises / comprising / includes / including", "has / having", or "contains / containing" or any other variation thereof are intended to cover a non-exclusive inclusion. For example, a composition, mixture, process, method, article, or apparatus that includes a list of elements is not necessarily limited to only those elements but may include other elements not expressly listed or inherent to such composition, mixture, process, method, article, or apparatus.
[0133] Additionally, the term "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any aspect or design described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other aspects or designs. The terms "at least one" and "one or more" may be understood to include any integer greater than or equal to one, i.e., one, two, three, four, etc. The term "plurality" may be understood to include any integer greater than or equal to two, i.e., two, three, four, five, etc. The term "connected" may include both indirect "connections" and direct "connections."
[0134] The terms "about," "substantially," "approximately," and variations thereof are intended to include the degree of error associated with measuring a particular quantity based on the equipment available at the time the application was filed. For example, "about" may include a range of ±8% or 5% or 2% of a given value.
[0135] For the sake of brevity, conventional techniques related to making and using various aspects of the present invention may or may not be described in detail herein. In particular, various aspects of computing systems and specific computer programs for implementing the various technical features described herein are well known. Accordingly, for the sake of brevity, many conventional implementation details are only briefly mentioned herein or omitted entirely, without providing well-known system and / or process details.
[0136] It should be understood that the various aspects disclosed herein may be combined in combinations different from those specifically presented in the specification and drawings. It should also be understood that, according to examples, certain actions or events of any process or method described herein may be performed in a different order, may be added, combined, or omitted entirely (e.g., all described actions or events may not be necessary to implement these techniques). In addition, although for clarity, certain aspects of the present disclosure are described as being performed by a single module or unit, it should be understood that the technology of the present disclosure may be performed by a combination of units or modules associated with, for example, a medical device.
[0137] In one or more examples, the described techniques may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions or codes on a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include non-transitory computer-readable media, which corresponds to tangible media such as data storage media (e.g., RAM, ROM, EEPROM, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and can be accessed by a computer).
[0138] Instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application-specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Accordingly, the term "processor" as used herein may refer to any of the above structures or any other physical structures suitable for implementing the described techniques. In addition, these techniques may be fully implemented in one or more circuits or logic elements.
Claims
1. A computer-implemented method comprising: using a first configuration of the neural network to detect a plurality of structures in a video of a laparoscopic surgical procedure; identifying a first type of anatomical structure and a second type of anatomical structure from the plurality of structures using a second configuration of the neural network; as well as An enhanced video is generated, the generating comprising annotating the video with the first type of anatomical structure and the second type of anatomical structure.
2. The computer-implemented method of claim 1, wherein: The surgical procedure is a laparoscopic cholecystectomy, the first type of anatomical structure is the cystic artery, and the second type of anatomical structure is the cystic duct.
3. The computer-implemented method of claim 1, wherein: In a frame of the video, an anatomical structure of the plurality of structures occludes at least one other anatomical structure of the plurality of structures.
4. The computer-implemented method of claim 3, wherein: The second configuration includes using one or more temporal models to provide context for the frame.
5. The computer-implemented method of claim 1, wherein: The neural network is trained to generate the second configuration based on the weak labels.
6. The computer-implemented method of claim 1, wherein: This video is a live video stream of the surgical procedure.
7. The computer-implemented method of claim 1, wherein: The first type of anatomical structures are annotated differently than the second type of anatomical structures.
8. The computer-implemented method of claim 1, wherein: The annotation includes adding at least one of a mask, a bounding box, and a label to the video.
9. A system comprising: a training system configured to train one or more machine learning models using the training dataset; a data collection system configured to capture video of a surgical procedure being performed; A machine learning model execution system configured to execute the one or more machine learning models to perform a method comprising: detecting a plurality of structures in the video using a first configuration of the one or more machine learning models; as well as identifying at least one type of anatomical structure from the plurality of structures using a second configuration of the one or more machine learning models; as well as An output generator is configured to generate an enhanced video by annotating the video to mark the at least one type of anatomical structure.
10. The system of claim 9, wherein: The first machine learning model is trained to detect the plurality of structures, and the second machine learning model is trained to identify the at least one type of anatomical structure from the plurality of structures.
11. The system of claim 9, wherein: The same machine learning model is used to detect the plurality of structures and to identify the at least one type of anatomical structure from the plurality of structures.
12. The system of claim 11, wherein: The same machine learning model detects the plurality of structures using the first configuration comprising the first set of hyperparameter values and identifies the at least one type of anatomical structure using the second configuration comprising the second set of hyperparameter values.
13. The system of claim 9, wherein: The training system is further configured to train a third machine learning model to identify at least one surgical instrument from the plurality of structures.
14. A computer program product comprising a memory device having stored thereon computer executable instructions which, when executed by one or more processors, cause the one or more processors to perform a method for predicting features in surgical data using machine learning, the method comprising: detecting a plurality of structures in an input window comprising one or more images in a video of a surgical procedure using a neural network model trained using surgical training data; using the neural network model to identify at least one type of anatomical structure among the plurality of structures detected; as well as A visualization of the surgical procedure is generated by displaying a graphical overlay at the location of the at least one type of anatomical structure in the video of the surgical procedure.
15. The computer program product of claim 14, wherein: The neural network model detects the location of the at least one type of anatomical structure based on identifying a phase of a surgical procedure being performed.
16. The computer program product of claim 14, wherein: One or more visual attributes of the graphics overlay are configured based on the at least one type of anatomical structure.
17. The computer program product of claim 16, wherein: The one or more visual attributes assigned to the at least one type of anatomical structure are user configurable.
18. The computer program product of claim 14, wherein: The neural network model is configured with a first set of hyperparameters to detect the plurality of structures and is configured with a second set of hyperparameters to identify the at least one type of anatomical structure.
19. The computer program product of claim 14, wherein: The neural network model includes a first neural network for semantic image segmentation and a second neural network for encoding.
20. The computer program product of claim 14, wherein: The plurality of structures includes one or more anatomical structures and one or more surgical instruments.
