Devices, systems, and methods for intraoperative visualization
By receiving and processing the fusion of graphics streams and video streams in the intraoperative visualization system, and switching to the failover stream when a fault occurs, the problem of image display interruption caused by faults in the intraoperative visualization system is solved and the fault tolerance of the system is improved. and surgical reliability.
Patent Information
- Application Number
- CN202280082817.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2021-10-15
- Filing Date
- 2022-10-14
- Publication Date
- 2024-09-24
AI Technical Summary
In intraoperative visualization systems, the mixing of multiple streams can cause unexpected malfunctions, preventing medical personnel from seeing images, affecting the performance of the surgery, increasing the likelihood of errors, and possibly even causing the surgery to be aborted.
By receiving and processing graphics streams and real-time video streams with alpha channels, using buffers and processors to fuse graphics frames with video frames, and automatically switching to failover streams when a failure occurs, ensuring the display of real-time video streams, including stereoscopic Processing and display of live video streams.
The fault tolerance of the intraoperative visualization system is improved, ensuring that medical personnel can always see clear images during the operation, reducing the impact of failures on the operation, and improving the reliability and safety of the operation.
Smart Images

Figure CN118695823A
Abstract
Description
Technical Field
[0001] The subject matter disclosed herein relates to intraoperative visualization, and in particular to apparatus, systems, and methods for enhancing error tolerance in intraoperative visualization systems. Background Art
[0002] Visualization systems are often used intraoperatively to image tissue, perform biopsies, surgeries, diagnose, and / or other medical procedures. As used herein, the term "intraoperative" refers to actions performed or events that occur during any medical procedure (invasive or non-invasive). In the case where the visualization system mixes and fuses multiple streams, unexpected failures may result in no images being displayed to medical personnel. Because visualization is often extremely important for the performance of many medical procedures, failures may adversely affect the performance of the surgery, causing delays, increasing the likelihood of errors, interrupting flows, reducing equipment utilization, and in some cases, resulting in the termination of the surgery. Therefore, some embodiments disclosed herein enhance safety and efficacy by enhancing fault tolerance in intraoperative visualization systems. Summary of the invention
[0003] In some embodiments, a method may include: receiving one or more graphics streams having an alpha channel, wherein the graphics streams include one or more graphics frames; receiving at least one first intraoperative real-time video stream including real-time video frames, the at least one first intraoperative real-time video stream being received from a medical device; storing at least one current graphics frame in a first buffer; blending the at least one current graphics frame from the first buffer with the at least one current real-time video frame into at least one fused frame; and in response to a simultaneous determination that the blending will result in non-display of the at least one current real-time video frame, initiating display of the current real-time video frame in real time during the intraoperative procedure. In some embodiments, the at least one first intraoperative real-time video stream may be obtained by blending two intraoperative real-time video streams. In some embodiments, the at least one first intraoperative real-time video stream may include a stereoscopic real-time video stream.
[0004] In some embodiments, the above method may further include displaying the at least one current real-time video frame and an error indication in real time.
[0005] In some embodiments, the determination to initiate display of the current real-time video frame may occur within the time of completing the fusion of the at least one current graphics frame with the at least one current real-time video frame. In some embodiments, the determination to initiate display of the at least one current real-time video frame may be based on a ratio of the number of solid rows in the at least one fused frame to the total number of rows in the at least one fused frame. For example, a determination to initiate display of the at least one current real-time video frame may be made when the ratio exceeds a threshold.
[0006] In some embodiments, in response to a determination that the fusion will result in display of the at least one current real-time video frame, display of the at least one fused frame may be initiated. For example, a determination to initiate display of the at least one fused frame may be made when the ratio of the number of solid lines in the at least one fused frame to the total number of lines in the at least one fused frame does not exceed a threshold.
[0007] In some embodiments, receiving at least one first intraoperative real-time video stream may include at least one of: optionally storing the at least one current real-time video frame in at least one second buffer; or downsampling the at least one current real-time video frame and storing the at least one downsampled current real-time video frame in at least one third buffer; or a combination thereof. In some embodiments, downsampling may be performed in real time.
[0008] In another aspect, an apparatus may include: at least one memory including a plurality of buffers; and a processor coupled to the memory, wherein the processor is configured to: receive one or more graphics streams having an alpha channel, wherein the graphics streams include one or more graphics frames; receive at least one first intraoperative real-time video stream including real-time video frames, the at least one first intraoperative real-time video stream being received from a medical device; store at least one current graphics frame in a first buffer; blend the at least one current graphics frame from the first buffer with the at least one current real-time video frame into at least one blended frame; and in response to a simultaneous determination that the blending will result in non-display of the at least one current real-time video frame, initiate display of the current real-time video frame in real time during the intraoperative procedure. In some embodiments, the at least one first intraoperative real-time video stream may be obtained by blending two intraoperative real-time video streams. In some embodiments, the at least one first intraoperative real-time video stream may include a stereoscopic real-time video stream. In some embodiments, the apparatus and / or the processor may be configured to perform the above method.
[0009] In yet another aspect, a system may include: means for receiving one or more graphics streams having an alpha channel, wherein the graphics streams include one or more graphics frames; means for receiving at least one first intraoperative real-time video stream including real-time video frames, the at least one first intraoperative real-time video stream being received from a medical device; means for storing at least one current graphics frame in a first buffer means; means for blending the at least one current graphics frame from the first buffer means with the at least one current real-time video frame into at least one fused frame; means for initiating display of the current real-time video frame in real time during the intraoperative procedure in response to a simultaneous determination that an output of the blend means will result in non-display of the at least one current real-time video frame. In some embodiments, a robotic medical system may include means for performing the methods described herein.
[0010] In yet another aspect, a system may include: at least one memory including a plurality of buffers; and a processor coupled to the memory, wherein the processor is configured to: receive one or more graphics streams having an alpha channel, wherein the graphics streams include one or more graphics frames; receive at least one first intraoperative real-time video stream including real-time video frames, the at least one first intraoperative real-time video stream being received from a medical device; store at least one current graphics frame in a first buffer; blend the at least one current graphics frame from the first buffer with the at least one current real-time video frame into at least one blended frame; and in response to a simultaneous determination that the blending will result in non-display of the at least one current real-time video frame, initiate display of the current real-time video frame in real time during the intraoperative procedure. In some embodiments, the at least one first intraoperative real-time video stream may be obtained by blending two intraoperative real-time video streams. In some embodiments, the at least one first intraoperative real-time video stream may include a stereoscopic real-time video stream. In some embodiments, the device and / or the processor may be configured to perform the methods described herein.
[0011] In some embodiments, a computer-readable medium may include instructions to configure a processor to: receive one or more graphics streams having an alpha channel, wherein the graphics streams include one or more graphics frames; receive at least one first intraoperative real-time video stream including real-time video frames, the at least one first intraoperative real-time video stream being received from a medical device; store at least one current graphics frame in a first buffer; blend the at least one current graphics frame from the first buffer with the at least one current real-time video frame into at least one fused frame; and in response to a simultaneous determination that the blending will result in non-display of the at least one current real-time video frame, initiate display of the current real-time video frame in real time during the intraoperative procedure. In some embodiments, the at least one first intraoperative real-time video stream may be obtained by blending two intraoperative real-time video streams. In some embodiments, the at least one first intraoperative real-time video stream may include a stereoscopic real-time video stream. In some embodiments, the computer-readable medium may include instructions to configure the processor to perform the methods described herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Embodiments of the present invention will now be described, by way of example only, with reference to the accompanying drawings.
[0013] Figure 1 An exemplary diagram is shown illustrating an exemplary system for intraoperative visualization according to certain embodiments disclosed herein.
[0014] Figure 2A and Figure 2BA schematic block diagram of an exemplary embodiment of an apparatus for facilitating error-tolerant intraoperative visualization is shown.
[0015] Figure 3 An exemplary diagram illustrating the signal flow between functional blocks of an apparatus that facilitates fault-tolerant intraoperative visualization is shown.
[0016] Figure 4 A flow chart of an exemplary method for facilitating fault-tolerant intraoperative visualization with failover capabilities is shown.
[0017] Figure 5A and Figure 5B Exemplary images are shown illustrating the operation of a system that facilitates error-tolerant intraoperative visualization.
[0018] Figure 6 An exemplary software architecture associated with a system for intraoperative visualization according to certain embodiments disclosed herein is shown.
[0019] Figure 7 A flow chart is shown of an exemplary method for facilitating error-tolerant intraoperative visualization according to certain embodiments disclosed herein.
[0020] According to certain exemplary embodiments, similar reference numerals and symbols in each figure indicate similar elements. In addition, multiple instances of functional elements can be indicated by adding a letter or a hyphen and a second numeral after the first numeral of the element. For example, multiple instances of element 160 can be indicated as 160-1, 160-2, 160-3, etc. When only the first numeral is used to refer to such an element, any instance of the element (for example, the element 160 in the previous example will refer to element 160-1, 160-2 and / or 160-3) should be understood. DETAILED DESCRIPTION
[0021] Some disclosed embodiments relate to devices, systems, and methods for facilitating intraoperative visualization. In some embodiments, inputs from multiple graphics and video streams may be received. Graphics streams may include instrument sensor data, robot information and parameters (e.g., during robot-assisted surgery), information provided by an artificial intelligence (AI) engine (which may be based on analysis of stored data (e.g., collected during previous intraoperative surgery), etc. The information provided by the AI engine may include intraoperative guidance, suggestions, warnings, and / or assistance. In some embodiments, AI information may be provided in an enhanced form (e.g., using augmented reality (AR) technology on an intraoperative video stream). Video streams may include preoperative images, intraoperative medical images, videos obtained by medical devices (such as endoscopes) during intraoperative surgery, and / or videos from operating room cameras and graphics associated with user interfaces, etc. In some embodiments, one or more intraoperative video streams in an intraoperative video stream may be fused with one or more graphics streams (e.g., using alpha fusion) and displayed to medical personnel (e.g., surgeons) on one or more of a monitor, a headset, and / or a portable computing device to facilitate the execution of intraoperative surgery. For the sake of clarity, the real-time video obtained during the operation by a medical device (such as an endoscope) for performing a medical operation is also referred to herein as a first real-time video stream or a first intraoperative real-time video stream. The term "composite stream" or "fused stream" is used to refer to the result of fusing the first real-time video stream and the graphics stream.
[0022] In some embodiments, errors in the fused stream that would result in non-display or blurring of the first real-time video stream may be automatically detected, and a failover stream corresponding to the first real-time video input stream may be displayed to medical personnel. For example, one or more second input streams being fused may contain no data or invalid data (e.g., due to source error, unavailability of source, transmission error, non-reception, alpha channel loss or error, data error, other stream problems, etc.), which may result in the fused stream not displaying (or blurring) the first real-time video stream (if the fused stream is displayed).
[0023] In some embodiments, the failover stream may be obtained from a failover buffer, which may be configured to store frames, lines, or portions thereof of the first real-time video input stream. For example, video from an endoscope may be stored in a failover buffer, and then automatically and transparently obtained from the failover buffer when it is detected that the fused stream contains invalid data. When the fused stream is correctly incorporated into the first real-time video stream, fusion may be automatically restored. In some embodiments, the switch from fusion to the failover buffer may occur within the time of processing a single video image frame. In some embodiments, when it is detected (before display) that the fused stream will not display or blur the first real-time input video stream, the display of the first input video input stream (e.g., from the failover buffer) may be initiated, and the first real-time video stream may be displayed by one or more displays.
[0024] In conventional scenarios, such unexpected failures may result in no image or a blank screen being displayed to the medical staff. Because visualization of the first real-time video input stream is often critical to the performance of many medical procedures, such failures are unacceptable and may adversely affect the performance of the procedure, causing delays, increasing the likelihood of errors, interrupting the flow, and in some cases, resulting in the termination of the procedure. Additionally, because such failures are unpredictable and may result in the medical staff suddenly being required to "fly blind" - the medical staff may avoid using normal production equipment and tools. Therefore, the disclosed embodiments facilitate fault-tolerant, highly available, continuous intraoperative visualization.
[0025] Figure 1 An exemplary diagram is shown illustrating an exemplary system for intraoperative visualization according to certain embodiments disclosed herein. Figure 1 Patient 130 is shown undergoing a medical procedure involving an endoscope ( Figure 1 The use of (not shown) is not shown.
[0026] like Figure 1 As shown, device 150 (hereinafter referred to as "hub 150") can receive data streams via network 170 (e.g., also referred to as hospital network 170), which can be coupled to devices local to the medical facility. Hub 150 can take the form of or include the functionality of a computing device capable of graphics processing and video processing. Hub 150 can also receive multimedia streams, such as from an endoscope ( Figure 1A), preoperative images (e.g., from a storage device or other device coupled to the network 170), and intraoperative images (e.g., from a local imaging device). The medical professional 120-2 can view the video from the endoscope using a head-mounted display (HMD) 140, which can display high-definition (HD) 3-dimensional (3D) or stereoscopic images. In some embodiments, the video from the endoscope can be received, processed, and then wirelessly transmitted to the HMD 140 by the hub 150. In some embodiments, the endoscopic (first) input video stream seen by the medical professional 120-2 can be fused with one or more second graphics streams (such as graphics, AI input, sensor data, etc.) based on the configuration of the hub 150. The sensor data may include data from sensors associated with the endoscope or other instrument being used by the medical professional 120, which can provide camera pose, instrument status, and other information. The HMD 140 can be a customized or commercially available HMD.
[0027] In some embodiments, the hub 150 may also receive AI information streams, including decision support, video annotations (e.g., marking blood vessels in an image to prevent accidental cutting, detecting bleeding, etc.), warnings (e.g., based on the current state of the tissue and / or endoscopic equipment, etc.). The endoscope may be controlled using an endoscope controller 110, which may include a display 115 and / or be coupled to the display. In some embodiments, the hub 150 may be able to display an enhanced view on the display 115, which may include, for example, an endoscopic view enhanced with one or more additional overlays. As an example, an overlay may be simple (such as a tool kit for instrument use) or complex (such as a fusion of preoperative images that can be displayed in addition to the tool kit, etc.).
[0028] In some embodiments, the hub 150 may include or be coupled to an AI engine that may perform some AI processing locally. In some embodiments, an AI information stream may be received via the network 170 and / or from a cloud-based service 180. Cloud-based services may be hosted on a private cloud, a public cloud, and / or a hybrid public-private cloud. AI functions may be distributed between the hub 150, computing devices, other devices on the hospital network 170, and the cloud 180. For example, the hub 150 may run models to provide AI-based decision support, video annotations, and the like, while AI-related data may be de-identified (e.g., for patient privacy and regulatory reasons) and stored locally and / or on a device coupled to the hospital network 170, while machine learning models may be trained and / or improved using de-identified collected data using AI-related applications provided on the cloud 180.
[0029] In some embodiments, such as Figure 1As shown, an exemplary hub 150 may include a touch screen display 165 that may be used to present a user interface (UI) to enable the medical professional 120 to select an input stream, select an AI model to be run, and configure other functions, such as display of endoscopic images, receipt of sensor data, providing power to devices, and / or controlling instruments and / or devices coupled to the hub 150. In some embodiments, the touch screen 165 may be detachable and capable of wirelessly coupling to a base unit 155 of the hub 150. In some embodiments, the touch screen 165 may form part of a tablet computer and / or other mobile computing device, and processing power may be distributed between the base unit 155 and the tablet computer or mobile computer housing the touch screen 165. In some embodiments, the base unit 155 may also serve as a docking station for the touch screen 165 and / or other tablet computer and / or mobile computing device.
[0030] In some embodiments, the hub 150 can function as a wireless access point (WAP) and broadcast its own local network 160-1, which can be used by authorized devices (e.g., within the operating room and / or within range). Authorized devices can connect to the hub 150 (functioning as a WAP) via the network 160-1 and can be communicatively coupled to the hub 150 via the network 160-1. The hub-centric network 160-1 can shield various intraoperative devices in or near the operating room from wireless network outages, signal reception issues, bandwidth-related issues, etc. that may occur in a hospital-provided wireless network (e.g., hospital network 170) or a medical facility. Thus, the hub-centric network 160-1 can facilitate increased bandwidth and reduced latency between intraoperative devices coupled to the hub 150, and improve information sharing including video, images, graphics, and / or other information while maintaining privacy. For example, hub 150 may receive images from an intraoperative imaging device (e.g., such as a fluoroscope camera) in an operating room (OR) via network 160-1 and may display the images on display 135-1. As another example, hub 150 may send graphics and / or user interface (UI) information for display on tablet computer 145. Medical professional 120-1 may remotely use the UI to configure hub 150 and / or one or more devices coupled to hub 150 via network 160-1.
[0031] Figure 2A and Figure 2B is a schematic block diagram 200 of an exemplary system illustrating functional components of an embodiment of an apparatus that facilitates fault-tolerant intraoperative visualization, such as the exemplary hub 150 .
[0032] like Figure 2AAs shown, a frame processing engine (FPE) 255-1 in the hub 150 may receive multiple input video streams 202 (e.g., high definition (HD) video streams, such as from an endoscope or ultrasound device). The input video streams 202 may include a first input video stream 202-1, which may correspond to a video stream associated with a procedure currently being performed by the medical professional 120-1. The input video streams 202 may be provided via a standard interface (e.g., such as a high-definition multimedia interface (HDMI) or a serial digital interface (SDI), etc.) or a custom interface. The HD video may include 10-bit 4K video, such as, for example, a resolution of 3840x 2160 pixels (also known as 2160p), 1920x 1080 pixels (also known as 1080p video), and 1280x 720 pixels (also known as 720p video), wherein the frame rate is 59.94 image frames per second and / or 60 image frames per second (fps).
[0033] FPE 225-1 may also be capable of outputting video stream 204. In some examples, the number of output channels may reflect the number of input channels, and output video stream 204 may reflect the resolution and frame rate of input video stream 202. Output video stream 204 may be transmitted via an HDMI interface and / or an SDI interface. In some embodiments, output video stream 204 may also be transmitted wirelessly in association with hub 150 (e.g., via a wireless local area network (WLAN)). FPE 225-1 may include and / or be coupled to memory 270. Memory 270 may include a plurality of frame buffers ( Figure 2A 225-1). The memory 270 may store multiple frame buffers for each input video stream. In some embodiments, each frame buffer may be configured to have the same size as the input video stream being processed. The video information and graphics information in the frame buffers associated with the channels may be merged based on the alpha information (e.g., in the graphics stream) and output by the FPE 225-1.
[0034] In some embodiments, errors in the fused stream that would result in non-display or blurring of the first real-time video stream 202-1 (e.g., from an endoscope used by the medical professional 120-2) may be automatically detected, and a failover stream corresponding to the first real-time video input stream may be displayed to the medical professional. For example, one or more of the second input streams being fused may contain no data or invalid data (e.g., due to source errors, unavailability of sources, transmission errors, non-reception, alpha channel loss or errors, data errors, other stream problems, etc.), which may result in the fused stream not displaying (or blurring) the first real-time video stream (if the fused stream should be displayed).
[0035] In some embodiments, the FPE 225-1 may automatically detect that the fused stream is faulty, and in response to the fault detection, may output a failover stream (referred to herein as output stream "204-f") corresponding to the first real-time video input stream 202-1. The detection of the faulty fused stream and the output of the failover stream 204-f may occur within the time of processing and outputting a single frame, so that the transition is seamless. The output stream 204-f may include information to alert the medical staff 120 of the failure of one or more second input streams. In some embodiments, the failover stream may be obtained from a failover frame buffer (hereinafter referred to as a "failover buffer"), which may be configured to store frames, lines, or portions thereof of the first real-time video input stream. For example, the first video input 202-1 from an endoscope may be stored in a failover buffer, and then the first video input may be automatically and transparently obtained from the failover buffer when one or more second input streams containing invalid data are detected. In some embodiments, upon detecting (prior to display) that the fused stream will not display the first real-time input video stream or will blur the first real-time input video stream, display of the first input video stream (e.g., from the failover buffer) may be initiated and the first real-time video stream may be displayed by one or more displays. Furthermore, fusion may be automatically restored when the fused stream is properly incorporated into the real-time video stream and the FPE 225-1 may then again output the fused video stream 204 (rather than the failover stream 204-f).
[0036] In some embodiments, the FPE 225-1 may be implemented using an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) add-on board, and / or using some combination of hardware, software, and firmware. As an example, the FPE 225-1 may use an M2 form factor FPGA and use a peripheral component express (PCIe) interface to communicate with the GPU 220-1 processor 250 and / or other components on the hub 150. PCIe is a high-speed serial computer expansion bus standard. In the above embodiments, the FPE 225-1 may be added as a solution to an existing computing platform such as a PC. For example, the FPE 225-1 (e.g., as an additional PCIe component) may be used to add the functionality disclosed herein to an existing computing platform that may lack the features disclosed herein. In some embodiments, the FPE 225-1 and other hub components may receive power from the power supply 208, which may comply with the IEC 60601-1 standard for medical devices. IEC 60601-1 is a series of standards related to basic safety and essential performance requirements for medical electrical equipment.
[0037] The GPU 220-1 may perform graphics processing and AI processing. For example, the GPU 220-1 may include a tensor processing unit (TPU) or tensor core that may be capable of running AI models, graphics processing including 3D graphics, video rendering, etc. The GPU 220-1 may be capable of receiving and processing video input from the FPE 225-1 and preoperative and intraoperative images related to the patient 130. The AI application running on the GPU 220-1 may process the received input to determine and mark blood vessels, hemorrhages, etc. in the frame. In some embodiments, the GPU 220-2 may provide graphics and / or UI and / or enhancements to the FPE 225-1 in real time, and the GPU may use annotations / enhancements to the video to provide to the medical professional 120 intraoperatively as decision support, guidance, warnings, etc. The GPU 220-1 may also receive video input from the FPE 225-1, which may be displayed on the display 135-1, 165 ( Figure 1 ) and / or on flat plate 145.
[0038] Although shown as being separate from FPE 225-1, functionality associated with one or more of GPU 220-1, processor 250, and memory 270 may be combined with FPE 225-1 (e.g., as a single component, chip, or card), or external to FPE 225-1. For example, memory 270 may be distributed across hub 150 such that one or more components such as processor 250, FPE 225-1, and / or GPU 220-1 may each include local memory and may also access main memory or system memory. In addition, memory 270 may include primary memory and / or secondary memory.
[0039] Program code, data, images, configuration information, graphics, image and video frames, models including AI models, etc. may be stored in the memory 270 and may be read and / or executed by one or more of the FPE 225-1, GPU 220-1, and / or processor 250 to perform the techniques disclosed herein. As used herein, the term "memory" refers to any type of long-term memory, short-term memory, volatile memory, non-volatile memory, or other memory, and is not limited to any specific type of memory or any number of memories, or any type of medium on which memory is stored. Examples of storage media include computer-readable media encoded with databases, data structures, etc. and computer-readable media encoded with computer programs. Computer-readable media may include physical computer storage media. Storage media may be any available media that can be accessed by a computer. By way of example and not limitation, such computer-readable media may include random access memory (RAM) and its variants, including non-volatile RAM (NVRAM), read-only memory (ROM) and its variants, erasable programmable (EPROM), flash memory, etc. Computer-readable media may also include compact disc ROM (CD-ROM), memory cards, portable drives or other optical disc storage, magnetic disk storage, solid-state drives, other storage devices, or any other medium that can be used to store desired program code in the form of instructions and / or data structures and can be accessed by a computer; as used herein, disks and optical discs include compact discs (CDs), laser discs, optical discs, digital versatile discs (DVDs), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0040] The communication interface 226 may be capable of communicating with another device (e.g., HMD 140) either wired (e.g., using wired communication interface 228) or wirelessly (e.g., using wireless communication interface 230) and may be used to receive sensor input 224, communicate with smart instruments 242, and / or other devices such as hospital network 170 ( Figure 1 ) and other external network communications.
[0041] Captured images, AI models, instrument states, sensor inputs 242, inputs from smart instruments 244, robot data, etc. may be received through the communication interface 226. The communication interface 226 may also be used to receive user input (e.g., from the tablet 145) and transmit confirmations / messages. Wireless communications may include communications using one or more of the following: a wireless local area network (WLAN) interface 238 (e.g., with the tablet 145, the display 140, via Wi-Fi, etc.), which may be based on the IEEE 802.11 standard; and / or through a wireless wide area network (WWAN) interface 240 (e.g., with a remote mobile device, a cloud-based edge server, via the cloud 180, etc.), which may be based on a cellular communication standard such as a fifth generation (5G) network or long term evolution (LTE); and / or through a wireless personal area network (WPAN) interface 236 (e.g., with an audio device, some nearby smart instruments 242, etc.), which may be based on IEEE802.11x (e.g., using Bluetooth, etc.).
[0042] In some embodiments, cloud-based applications, AI models, preoperative and intraoperative images, etc. can be downloaded by the processor using wired interface 228 from one or more devices coupled to hub 150 via USB interface 234, and / or a server coupled to hospital network 170 via Ethernet 232 and / or from a cloud-based server coupled to cloud 180 via Ethernet 232.
[0043] In some embodiments, the processor may also send commands to a control device using the device control interface 222 or through the communication interface 226 based on input received from the medical professional 120 or based on instrument status, sensor input, configuration settings, etc. The power interface 220 may be enabled by the processor 150 to supply power to one or more instruments, sensors, and / or other devices coupled to the hub 150. The hub 150 may receive power from the power source 208 when plugged in, and may include backup battery power in some embodiments.
[0044] The processor 150 may also communicate with a device (e.g., a robot or other device) via a custom interface 224, which may be dedicated. In some embodiments, the processor may also run program code to control the operation of the hub 150, record events, notify medical personnel (e.g., via messages), store data, images, sensor inputs, retrieve patient records from a database (local or networked), facilitate the maintenance of multimedia operation synchronization, provide support for medical digital imaging and communications (DICOM) and other standards, facilitate access to cloud-based services, etc. For example, based on user input and configuration information, the processor 150 may record and record a surgery performed using an endoscope for replay (e.g., for training and / or review) and / or analysis (e.g., for training a machine learning model / AI model) at a later time. As another example, the processor 150 may facilitate real-time streaming of surgery via a communication interface 226 (e.g., for educational purposes or training purposes). DICOM is a standard for the communication and management of medical imaging information and related data between devices.
[0045] The methods described herein may be implemented in hardware, firmware, software, or a combination thereof. For hardware implementations, the processor 250, FPE 225, GPU 220 may be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), image processors, digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, electronic devices, other electronic units designed to perform the functions described herein, or any combination thereof. The processor 250 and GPU 220 may also include functionality to perform other well-known computer vision and image processing functions, such as feature extraction from images, image comparison, image matching, object recognition and tracking, image compression and decompression, blending (including line-by-line blending), alpha blending, etc. Figure 2A and Figure 2B The components and / or blocks shown in (e.g., processor 250, GPU 225, FPE 220, memory 270, communication interface 226, etc.) may be coupled using a bus, an interface (e.g., PCIe, etc.), a wired connection, etc.
[0046] Figure 2B 2 is a schematic block diagram 200 of an exemplary system illustrating functional components of another embodiment of an apparatus for facilitating intraoperative visualization, such as the exemplary hub 150. Like labeled components are similarly represented in FIG. Figure 2A It works as described in . Figure 2B The description of the functional blocks and / or components relative to Figure 2A An implementation that implements some change in functionality, behavior, or interaction.
[0047] like Figure 2B As shown, encoder 218-1 may receive and encode a 3D HD video stream 208 (e.g., from a 3D camera or stereo camera associated with an endoscope), which may include a left video channel 208-L and a right video channel 208-R, each at 60 fps. Figure 2B As shown, encoder 218-2 can receive and encode 2 separate HD streams 209 (e.g., from a C-arm extension camera and an ultrasound device), each at 60fps. Switch 290 can receive encoded input video streams 208 and 209 and graphics input in the form of an RGBα stream (RGB stream with an α channel) from GPU 220-2. Figure 2B As shown, the switch 290 may be capable of sending 4 HD input streams at 60fps each and receiving 4 HD graphics RGBα streams at 60fps each to / from the GPU 220-2. The switch 290 may be configured to send the encoded input stream 208 and the RGBα stream to the 3D decoder 280 with alpha fusion. Similarly, the switch 290 may be configured to send the encoded input stream 209 and the RGBα stream to the decoder 275 with alpha fusion and / or to the compression and wireless transmission block 285.
[0048] In normal operation, for example, when the fused (graphics and video) frames output by the 3D decoder with alpha fusion 280 are correctly incorporated into the input video channel 208, the fused stream can be output (e.g., to the HMD 140) as a 3D video stream 214, which may include a left video channel 214-L and a right video channel 214-R at 60 fps each. As another example, when the fused (graphics and video) frames output by the decoder with alpha fusion 275 are correctly incorporated into the input video channel 209, the fused stream can be output as an HD stream 212 at 60 fps each.
[0049] In an instance where the fused stream is faulty and fails to properly merge into the input video streams 208 and / or 209, FPE 225-2 may automatically detect the faulty fused stream and, in response to detection of the faulty fused stream, may output a failover stream (referred to herein as output stream "214-f" or 212-f" corresponding to the first real-time video input stream 208 or 209, respectively).
[0050] The faulty fused stream may be generated by one or more of the second input graphics RGB alpha streams that do not contain alpha data or contain invalid alpha data (e.g., due to source error, unavailability of source, transmission error, non-reception, alpha channel error, data error, other stream problems, etc.). In the above case, if the fused stream is output and displayed, the faulty fused stream will cause a black screen and / or the real-time input video stream (208 or 209) not to be displayed. In the above case, the FPE 225-2 may automatically detect the faulty fused output stream and may output a failover stream (referred to herein as output stream "214-f" or 212-f" corresponding to the first real-time video input stream 208 or 209, respectively). The detection of the faulty second input stream and the output of the failover stream may occur within the time of processing and outputting a single frame, so that the transition is seamless. The output stream 214-f or 212-f may include information to alert the medical staff 120 of the failure of one or more second input streams.
[0051] In some embodiments, the failover stream may be obtained from a failover buffer, which may be configured to store frames, lines, or portions thereof of the first real-time video input stream. The failover buffer may be accessed by each of the decoder with alpha fusion 275 and the 3D decoder with alpha fusion 280. For example, the first video input 208 from an endoscope may be stored in the failover buffer and then automatically and transparently obtained from the failover buffer when one or more second input streams containing invalid data are detected. In addition, fusion may be automatically restored when one or more second input streams include valid data and the FPE 225-2 may then again output the fused video stream 214 (instead of the failover stream 214-f).
[0052] like Figure 2B As shown, FPE 225-2 may also include a wireless compression block 285 that may compress one or more of the input streams for wireless transmission. Figure 2B , for simplicity, stream 216 is shown as being output by wireless compression block 285. However, stream 216 may be sent by wireless compression block 285 to communication interface 226 and then output using wireless communication interface 230 and / or WLAN interface 236.
[0053] Figure 3 A schematic block diagram 300 is shown, which shows the signal and data flow between functional blocks of a device such as hub 150 that facilitates intraoperative visualization. In some embodiments, blocks 375 and 380 (represented by Figure 3 ) may form part of FPE 225 and GPU 220, respectively.
[0054] like Figure 3As shown, in some embodiments, the cross-channel mixing block 302 can receive the first input video stream 202-1 and obtain a suitably downscaled version of the second input video stream 202-2 (e.g., from the downscaled+ frame buffer 304), and can mix the two channels to obtain an exemplary mixed frame 388. In some examples, the first input video stream and the second input video stream can be 3D HD video streams (e.g., Figure 2B In other examples, the first input video stream and the second input video stream may be independent video streams received from two different devices (eg, such as an endoscope and an ultrasound device).
[0055] In some embodiments, such as Figure 3 As shown, each input stream (e.g., 202-1) can be received by an HDMI interface and / or an SDI interface, and an appropriate interface can be selected for input. In some embodiments, the second input video stream 202-2 can be reduced based on mixing parameters before being input into the cross channel mixing frame 302 and placed in a frame buffer of appropriate size by the reduction and frame buffer frame 304. Exemplary mixed frames 388 are only shown to illustrate the mixed frames. In practice, the appearance of mixed frames can depend on the cross channel mixing parameters. When cross channel mixing is turned on by the cross channel mixing enable signal 384, cross channel mixing can be performed.
[0056] In some embodiments, the timestamps associated with streams 202-1 and 202-2 and other input streams may be synchronized. In some embodiments, the timestamps associated with the input streams may be synchronized using the Network Time Protocol (NTP) or the Simple Network Time Protocol (SNTP) or by other suitable methods.
[0057] The cross-channel mixing performed by the cross-channel mixing block 302 can be turned on or off by a cross-channel mixing enable signal 384 from the UI compositor block. In an instance where cross-channel mixing is turned off, cross-channel mixing will not be performed by the cross-channel mixing performed by the cross-channel mixing block 302. In some embodiments, the output of the cross-channel mixing block 302 (e.g., the first input video stream 202-1 when cross-channel mixing is turned off or the mixed stream when cross-channel mixing is turned on) and the second input video stream 202-2 can also be received by: (a) an input stream memory management block 322, which can form part of the GPU 220, and (b) an alpha blending block 314-1 (which receives the output of the cross-channel mixing block 302) and an alpha blending block 314-2 (which receives the second input video stream 202-2). In some embodiments, the RGB alpha stream 222 output by the output stream memory management block 332 can be stored in the frame buffer 306. In some embodiments, each stream may have at least two frame buffers, one buffer is written to while the other buffer is read / processed, and logic may switch between the two buffers. In some embodiments, the input video stream 202 may be blended with the RGB alpha stream 222 (e.g., by an alpha blending block 314).
[0058] In some embodiments, the output of the cross-channel blending block 302 and the second input video stream 202-2 may be forwarded by the input stream memory management block 322 to the AI engine 324, which may de-identify the input data in accordance with patient privacy and other data regulations and then run AI models on the input stream to provide decision support, identify features (e.g., blood vessels, hemorrhages, etc.), perform enhancements, provide warnings and / or recommendations, etc. in real time. The output of the AI engine 324 may be provided to a user interface (UI) compositor block 334, which may composite the input of the AI engine 324 with other UI elements and send the composite UI stream to the output stream memory management block 332, which may output the RGB alpha stream 222 (corresponding to the composite UI stream) and store it in the frame buffer 306. The output of the AI engine 324 may be recorded by the recording block 344 and may also be provided to the de-identification block 340, where further de-identification may occur (if applicable). The de-identification box 340 may provide the de-identified stream along with the output video stream to an input stream memory management box 342 (e.g., which may run on or may be the associated CPU 250), which may use a recording box 346 to record and store the stream along with any recording information provided by the recording box 344 in a storage device 348.
[0059] In some embodiments, the alpha blending block 314-1 (which receives the output of the cross-channel mixing block 302) and the alpha blending block 314-2 (which receives the second input video stream 202-2) may also store the received input streams (e.g., 202) in the failover buffers 312-1 and 312-2, respectively.
[0060] In normal operation, when valid graphics data (with valid alpha channels) are obtained from the corresponding frame buffers 306 by the alpha blending blocks 314-1 and 314-2, the blended stream output will correctly include the real-time input video streams (e.g., the output of the cross-channel blending block 302 and the second input video stream 202-2) and be output as streams 204-1 and 204-2, respectively. In the case where the first input video stream and the second input video stream may be the left 208-L channel and the right 208-R channel of the 3D HD video stream (e.g., such as Figure 2B In the example of the video stream 208 in FIG. 1 , and the output may reflect the left 214 -L channel and the right 214 -R channel of the fused output 3D HD video stream 214 ( Figure 2B ) or the left 204-L channel and the right 214-R channel of the 3D HD video stream 204 are merged and outputted ( Figure 3 ) in the input stream. In some embodiments, the stream may be output to the HMD 140.
[0061] In an example, when the fused stream is faulty and is not correctly merged into the input real-time video stream (e.g., the output of the cross-channel blending block 302 and the second input video stream 202-2), the alpha blending block 314-1 and the alpha blending block 314-2 may: (i) automatically detect that the fused stream contains errors, and (ii) may each output a failover stream (e.g., output stream "204-1f" or 204-2f" corresponding to the output of the cross-channel blending block 302 and the second input stream 202-2, respectively). As an example, when one or more of the input graphics RGB alpha streams 222 being blended contain no data or contain invalid data and / or are missing alpha information (e.g., due to source errors, unavailability of the source, transmission errors, etc.), the alpha blending block 314-1 and the alpha blending block 314-2 may: (i) automatically detect that the fused stream contains errors, and (ii) may each output a failover stream (e.g., output stream "204-1f" or "204-2f" corresponding to the output of the cross-channel blending block 302 and the second input stream 202-2, respectively). The fused stream may be faulty when there is a faulty graphics RGB alpha stream 222 (error, non-reception, alpha channel loss or bad, data error, other stream problems, etc.). When a faulty graphics RGB alpha stream 222 is fused, the fused output (if displayed) may result in a black screen and / or non-display or blurring of the input real-time video stream (e.g., non-display or blurring of the output of the cross-channel mixing block 302 and the second input video stream 202-2). In some embodiments, the detection of the faulty fused stream and the output of the failover streams 204-1f and 204-2f may occur within the time of processing and outputting a single frame, so that the transition is seamless. The output streams 204-1f and 204-2f may include information to alert the medical staff 120 to the error in the RGB alpha stream 222.
[0062] In some embodiments, the failover streams 204-1f and 204-2f may be obtained from failover buffers 312-1 and 312-2, respectively, which may be configured to store frames, lines, or portions thereof of the output of the cross-channel mixing block 302 and the second input stream 202-2, respectively. Fusion may be automatically restored when the fused streams include valid data and the alpha fusion blocks 314-1 and alpha fusion blocks 314-2 may then again output the fused video stream 204 or 214 (instead of the failover stream 204-f or 214-f). The output streams 204-1 and 204-2 may also be received by the compression block 316, where they may be compressed for wireless transmission (e.g., via the WLAN interface 236).
[0063] Figure 4 4 is a flow chart showing an exemplary method 400 for facilitating intraoperative visualization with failover functionality. In some embodiments, some or all of the method 400 may be implemented by the hub 150, and / or functional elements of the hub 150 (such as the FPE 225 and / or the alpha fusion block 314 ( Figure 3 )), and / or a decoder 275 with an alpha blending frame and / or a 3D decoder 280 with an alpha blending frame ( Figure 2B The method 400 may be iteratively performed for each incoming frame.
[0064] In block 405, a graphics / UI frame (eg, a frame from the RGB alpha stream 222) and a first video frame (eg, the first video frame 202-1) may be received from an incoming channel of the connection. Figure 4 As shown, the graphics / UI frames may: (a) include an alpha channel as indicated by the exemplary UI (RGB alpha) frame 482, or (b) be erroneous, as in the exemplary UI frame 480 where the alpha channel is missing. In some embodiments, the received video frames and UI frames may be stored in the frame buffer 306. For example, in Figure 4 The UI frame 410 shown in FIG. 4 as including an alpha channel may be stored in the frame buffer 306 .
[0065] In block 430, alpha blending may be performed using the first or next line 420 of the first input video channel (e.g., 202-1) and the corresponding lines in the UI frame 410 stored in the frame buffer 306. In some embodiments, the perform alpha blending block 430 may detect each solid line (e.g., black) in the current frame and send an indication to the count solid lines block 435.
[0066] In some embodiments, count solid rows box 435 may maintain a running count of solid UI frame rows (e.g., solid rows in UI frame 410) and may increment the number of solid rows each time it receives an indication from perform alpha blending box 430 that a solid row was detected.
[0067] In box 440, if the current row number is not greater than some fraction x of frames (e.g., less than x% of frames have been processed), the fused frame may be maintained as output, which may appear as an exemplary fused frame 484 upon completion when the UI frame 410 is valid and includes a correct alpha channel.
[0068] In block 445, if the solid line count divided by the total number of lines in the frame exceeds x% (e.g., the solid lines account for more than x% of the frame) ("Y" in block 445), block 460 may be invoked. In block 445, if the solid line count divided by the total number of lines in the frame does not exceed x% (e.g., the solid lines account for less than x% of the frame) ("N" in block 445), then output of the fused frame continues, which may appear as exemplary fused frame 484 upon completion when UI frame 410 is valid and includes a correct alpha channel.
[0069] In block 450, each row of the input may be downsampled (e.g., based on the size of failover buffer 455) and stored in failover buffer 455. In some embodiments, the failover buffer may be (100-x)% of a frame. As an example, x% may be selected to be 66.67% and form 2 / 3 of a frame, while the failover buffer size may form 33.33% or 1 / 3 of a frame. The downsampling may be performed in real time.
[0070] In block 460 (called when solid rows account for more than x% of the total row count of a frame), a failover buffer is used as shown in an exemplary output frame 488 , which includes a failover input 465 .
[0071] In block 470, the appropriate frame is output. The output frame may be one of frame 488 (e.g., if the UI frame is determined to have more than x% of the total line count of the frame with line errors) or frame 484 (e.g., when the UI frame is determined to be valid and line errors do not account for more than x% of the total line count of the frame).
[0072] Figure 5A and Figure 5B Exemplary images are shown illustrating the operation of a system that facilitates intraoperative visualization.
[0073] Figure 5AAn exemplary (correct) fused frame 484 (e.g., video frame 202-1) with a first video feed from an endoscope is shown, which shows an endoscopic tool such as an endoscopic cutter and current endoscopic cutter parameters. The fused frame 500 includes UI input (e.g., which can be provided as an RGB alpha frame 222 by the GPU 220 using the UI compositor 334 via the output stream memory management box 332). The UI input may include one or more sub-windows, such as: an exemplary patient information sub-window 515, which can provide information about the patient 130 (e.g., retrieved by the hub 150 from a server coupled to the hospital network 170); a media capture sub-window 510, which can provide information about the number of available video streams and image streams; a gas management sub-window, which can provide information about parameters such as insufflation pressure, air flow, etc.; a map 525, which provides a high-level indication of the location of an intraoperative procedure within a human body and / or a portion of a larger anatomical structure / organ; and an indocyanine green (ICG) display sub-window, which can allow the display mode of the fluoroscopic image to be changed; etc.
[0074] Figure 5B Output frames when the fused frame is faulty are shown. For example, the input UI frame 488 may be invalid or erroneous (e.g., due to the absence of alpha channel information, or an excess of solid lines relative to the total number of lines in the UI frame), so when the fused frame 550 is displayed, sub-windows 510, 512, 515, 520, and 525 do not contain information. However, the first video input frame (e.g., 202-1) that is part of the fused frame 550 continues to be displayed using information from the failover buffer (e.g., 312-1 or 455), thereby facilitating continued visualization of the intraoperative surgery. In addition, a temporary fault is warned to a medical professional (e.g., medical professional 120-2) via an error message displayed in a sub-window 555. In some embodiments, the error message sub-window 555 may be placed in an area that is not used to display the first video frame. In some embodiments, the switch from the fused frame 500 to the fused frame 550 may be seamless and occur in a shorter time than the time to process and output a single fused frame.
[0075] Figure 6 An exemplary system 600 is shown, which illustrates the associated software architecture supporting intraoperative visualization according to certain embodiments disclosed herein. In some embodiments, Figure 6 Some or all of the software architecture shown may be implemented on hub 150 .
[0076] like Figure 6As shown, the software architecture 600 may include a communications and peripheral services layer 660 (to support interface connections and communications with external devices), a connection layer 650 (to enable capture of incoming information and formatting and packaging of the information for output via the communications and peripheral services layer 660), a data layer (to enable intraoperative event logging, event notification, and data management including data storage and uploading to an online web-based portal), a multimedia processing and synchronization layer.
[0077] The UI layer 610 may allow a user to authorize a connection to one or more devices to configure coupled devices, select streams, select AI models to run, select preoperative and intraoperative image sources, configure surgical guidance (e.g., to be provided to medical professionals 120 and / or support personnel), specify notifications (e.g., to be provided to personnel when certain events occur), configure remote coaching, etc.
[0078] The service layer 620, which may be modular, may provide capabilities that enable advanced applications, including AI-based applications, to be used in an intraoperative environment. For example, the service layer 620 may provide: (a) a DICOM service function 626 that may categorize and list available sources for relevant preoperative images and may retrieve and store selected images locally.
[0079] The service layer 620 may also provide (b) a team assistance service function that may categorize and list available AI models for selection and run on a real-time input video stream (e.g., to identify and label blood vessels, etc.); (c) an event service function 622 that may record and log events; (d) a cloud support service that may allow access to cloud-based applications, models, data service providers, etc., and also allow uploading of data for training AI models, etc. The service layer 620 may also provide various other functions, such as a UI service function that may allow interaction between the UI layer and the service.
[0080] In some embodiments, the team assistance service 624 can facilitate human guidance to set up surgical guidelines for a particular surgery preoperatively, and then use these guidelines intraoperatively to follow the steps outlined in the guidelines. The machine learning model can be trained offline based on recorded videos and surgical settings for a particular surgery to automatically identify the phases and steps outlined as part of the surgery. In some embodiments, the trained model can then process the live endoscopic video feed in real time to automatically identify the steps and phases, and automatically advance the on-screen guide to the next step in the surgical guide by changing the content.
[0081] Team support services 624 may also include notification-related services to facilitate messaging from within the operating room (OR) to personnel outside the OR based on the current status of the surgery. The messages may include one or more notifications, such as: the surgery has begun, the surgery may be completed or exceed the scheduled time, the OR is ready, etc. These notifications help with planning and more efficient use of resources.
[0082] In some embodiments, the team assistance service 624 may include image viewing and image-based planning functionality that may facilitate the processing, review, analysis, communication, and media exchange of multi-dimensional digital images acquired preoperatively from imaging modalities (e.g., from computed tomography (CT), magnetic resonance imaging (MRI), diagnostic ultrasound, X-ray, positron emission tomography (PET) scans, etc.). The image viewer and image-based planning may also facilitate preoperative surgical planning and intraoperative display of digital images by enabling 3D rendering and visualization and picture archiving and communication system (PACS) integration. In some embodiments, the image viewing and image-based planning functionality may also make the above information available to authorized personnel on a network or on a web page and facilitate deployment of an online digital surgical portal.
[0083] The integrated anatomy, 3D modeling, and patient outcome simulation capabilities provided by the team assistance service 624 can use available preoperative and intraoperative 3D models and facilitate the display and manipulation of 3D models for preoperative planning and intraoperative reference, and can improve the visualization of anatomical structures and tumors and facilitate the performance of patient-specific and surgery-specific simulations.
[0084] The multimedia processing and synchronization layer 630 may facilitate the management and synchronization of connected input devices, enable data, video and audio fusion and processing, and also provide services for data management (storage, retrieval, tagging, indexing, etc.).
[0085] The data layer 640 may facilitate scalable multi-service and device communications, provide notifications to all stakeholders involved in the intraoperative workflow, and facilitate systematic recording and storage of intraoperative information over the hospital network 170 and / or through a cloud-based data service provider.
[0086] The connection layer 650 may include functionality to facilitate multimedia data exchange and capture multimedia input received in various formats and through various hardware interfaces such as video interfaces, audio interfaces, custom interfaces, etc., and may also output information to a connected display and tablet 145.
[0087] The communications and peripheral interface layer 660 may include software for configuring and managing WLAN (e.g., Wi-Fi), WPAN (e.g., Bluetooth), WWAN (e.g., 5G), Ethernet, USB, custom peripheral port connections, etc.
[0088] like Figure 6 As shown, the communication and peripheral interface layer 660 can facilitate interaction with various external devices and peripheral devices. For example, the video input and output 670 can use an HDMI interface and / or an SDI interface to receive video from devices such as an endoscope 670-1, an ultrasound device 670-2, etc. The video input and output 670 can also output the video to an external display 135 ( Figure 6 not shown).
[0089] The wired and wireless networking interfaces 160 may include a wired network connection such as an Ethernet connection 160-3 that may be used to: connect to servers, storage, services, etc. on the hospital network 170; facilitate data exchange with the digital surgical portal; and may provide connectivity to cloud-based storage and / or services 180. The wireless network 160-1 may include an interface for WLAN connectivity with an external WLAN device 174 such as a tablet 145, which may allow a user to interact with, configure, and manage the system 600. In some embodiments, a local (e.g., operating room) wireless network 160 may be provided by the hub 150, which may be used by authorized devices to access the network to communicate with the hub 150 and / or to communicate between themselves (e.g., improving bandwidth, latency, and reducing reliance on the hospital network). The wireless network 160-1 may include an interface for WPAN connectivity and communication with external WPAN (e.g., Bluetooth) devices such as audio devices, smart instruments, robotic instruments, sensors, etc.
[0090] Peripheral interfaces 680 may include standard interfaces, such as USB, which may provide connectivity to an OR camera, provide power, and support surgical instruments (such as surgical scissors, sealers, etc.). Custom interfaces 683 may include manufacturer-specific interfaces (such as connectors for insufflation devices, electromechanical devices such as pumps, aspirators, irrigators, etc.) Figure 6 not shown).
[0091] Figure 7 An exemplary flow chart of a method 700 for fault-tolerant intraoperative visualization is shown. In some embodiments, the method 700 may be executed on a computing device, such as the hub 150. In some embodiments, the method 700 may be executed by some combination of FPE 225, GPU 220, and / or processor 250. The method 700 may be implemented by some combination of hardware, software, and firmware. As a non-limiting example, the method 700 may be implemented using an add-on M2 expansion card with a PCIe interface to add fault-tolerant intraoperative visualization functionality to an existing intraoperative computing device.
[0092] In block 710, one or more graphics streams 704 including an alpha channel may be received. The graphics streams 704 may include one or more graphics frames. In some embodiments, the one or more graphics streams may include a premultiplied alpha channel.
[0093] In block 715, at least one first intraoperative real-time video stream 702 including real-time video frames may be received, wherein the at least one first intraoperative real-time video stream 702 may be received from a medical device (e.g., an endoscope 670-1 during a medical procedure, an ultrasound device 670-2, etc.). As an example, the real-time video stream 702 may be one of the real-time video streams 208 and / or 209, and the graphics stream 704 may correspond to the graphics (UI) stream 222. In some embodiments, the at least one first intraoperative real-time video stream 702 may be obtained by mixing two intraoperative real-time video streams (e.g., 202-1 and 202-2). For example, cross-channel mixing may be used to obtain the at least one first intraoperative real-time video stream. In some embodiments, the at least one first intraoperative real-time video stream 702 may include a stereoscopic real-time video stream (e.g., 3D real-time video stream 208).
[0094] In block 720 , at least one current graphics frame may be stored in a first buffer (eg, frame buffer 306 - 1 ).
[0095] In block 730, at least one current graphics frame from the first buffer (e.g., 306-1) may be fused with at least one current real-time video frame from at least one second buffer (e.g., 306-2) to obtain at least one fused frame. In some embodiments, the fusion may be performed in real time, and the output may be stored in fused frame buffer 306-4. In some embodiments, the fusion operation may be performed in parallel using multiple processors or processing cores.
[0096] In response to a concurrent determination that fusion will result in non-display of the first real-time intraoperative video stream, display of the current real-time video frame from at least one additional buffer (e.g., failover buffer 312) may be initiated in real-time and during the intraoperative procedure in block 740. For example, upon a determination that fusion will result in blurring or non-visibility of the current real-time video, display of the current real-time video frame from the failover buffer 312 may be enabled. In some embodiments, the determination to initiate display of the current real-time video frame from the at least one third buffer may occur within the time of completing fusion of the at least one current graphics frame with the at least one current real-time video frame.
[0097] In some embodiments, at least one current real-time video frame may be stored in at least one second buffer and at least one third buffer (e.g., failover buffer 312). In some embodiments, at least one current real-time video frame may be downsampled, and at least one downsampled current real-time video frame may be stored in at least one third buffer. In some embodiments, the downsampling may be performed in real time.
[0098] In some embodiments, in block 740, the determination to initiate display of at least one current real-time video frame from at least one third buffer may be based on a ratio of the number of solid lines in at least one fused frame to the total number of lines in at least one fused frame. For example, a determination to initiate display of at least one current real-time video frame from at least one third buffer may be made when the ratio exceeds a threshold.
[0099] In some embodiments, the method may also include displaying in real time at least one current real-time video frame from at least one third buffer along with an error indication (eg, error indication 555).
[0100] In some embodiments, method 700 may also include (e.g., after block 740) a determination to initiate display of at least one fused frame in response to fusion will result in display of at least one first real-time intraoperative video stream. For example, in some embodiments, display of at least one fused frame may be in a "default" mode such that the fused frame is displayed when display of the real-time video stream is not affected. In instances where fusion would result in blurring or non-visibility of the current real-time video (e.g., as determined in block 740), display of the current real-time video frame from the failover buffer 312 may be enabled. For example, a determination to initiate display of at least one fused frame may be made when a ratio of the number of solid lines in the at least one fused frame to the total number of lines in the at least one fused frame is below a threshold.
[0101] Although the present disclosure has been described in conjunction with specific embodiments for illustrative purposes, the present disclosure is not limited thereto. Various adjustments and modifications may be made to the present disclosure without departing from the scope of the present disclosure. Therefore, the essence and scope of the appended claims should not be limited by the foregoing description.
Claims
1. A processor-implemented method, comprising: receiving one or more graphics streams having an alpha channel, wherein the graphics streams include one or more graphics frames; receiving at least one first intraoperative real-time video stream during an intraoperative procedure, the first intraoperative real-time video stream comprising a plurality of real-time video frames, the at least one first intraoperative real-time video stream being received from a medical device; storing at least one current graphics frame in a first buffer; blending the at least one current graphics frame from the first buffer with at least one current real-time video frame from the plurality of real-time video frames into at least one fused frame; as well as In response to a concurrent determination that the fusion will result in non-display of the at least one current real-time video frame, display of the at least one current real-time video frame is initiated in real-time during the intraoperative procedure.
2. The method according to claim 1, wherein: The determination to initiate display of the current real-time video frame occurs within a time of completing the fusion of the at least one current graphics frame with the at least one current real-time video frame.
3. The method according to claim 1, further comprising: The at least one current real-time video frame and the error indication are displayed in real-time.
4. The method according to claim 1, wherein: The determination to initiate display of the at least one current real-time video frame is based on a ratio of a number of solid rows in the at least one fused frame to a total number of rows in the at least one fused frame.
5. The method according to claim 4, wherein: When the ratio exceeds a threshold, the determination is made to initiate display of the at least one current real-time video frame.
6. The method according to claim 1, further comprising: Responsive to a determination that the fusion will result in display of the at least one current real-time video frame, display of the at least one fused frame is initiated.
7. The method according to claim 6, wherein: The determination to initiate display of the at least one fused frame is made when the ratio of the number of solid rows in the at least one fused frame to the total number of rows in the at least one fused frame does not exceed a threshold.
8. The method according to claim 1, wherein: Receiving at least one first intraoperative real-time video stream includes at least one of the following: optionally storing the at least one current real-time video frame into at least one second buffer; or downsampling the at least one current real-time video frame and storing the at least one downsampled current real-time video frame in at least one third buffer; or A combination of them.
9. The method according to claim 8, wherein: The downsampling is performed in real time.
10. The method according to claim 1, wherein: The at least one first intraoperative real-time video stream is obtained by mixing two intraoperative real-time video streams.
11. The method according to claim 1, wherein: The at least one first intraoperative real-time video stream comprises a stereoscopic real-time video stream.
12. The method according to claim 1, wherein the method is executed by a processor, The processor is coupled to a memory in which a plurality of buffers including the first buffer is implemented.
13. A system comprising: a video interface for receiving at least one first intraoperative real-time video stream from a medical device during an intraoperative procedure, wherein the at least one first intraoperative real-time video stream comprises a plurality of real-time video frames; a graphics interface for receiving one or more graphics streams having an alpha channel, wherein the graphics streams include one or more graphics frames; A storage device, the storage device comprising a plurality of buffers; as well as A processor configured to storing at least one current graphics frame of the one or more graphics frames in a first buffer of the plurality of buffers; blending the at least one current graphics frame from the first buffer with at least one current real-time video frame of the plurality of real-time video frames into at least one fused frame, and In response to a determination that the fusion will result in non-display of the at least one current real-time video frame, display of the at least one current real-time video frame is initiated in real-time during the intraoperative procedure.
14. The system according to claim 13, wherein: The determination to initiate display of the at least one current real-time video frame occurs within a time of completing the fusion of the at least one current graphics frame with the at least one current real-time video frame.
15. The system of claim 13, further comprising the processor, the processor causing the at least one current real-time video frame and the error indication to be displayed.
16. The system of claim 13, wherein: The determination to initiate display of the at least one current real-time video frame is based on a ratio of a number of solid lines in the at least one fused frame to a total number of lines in the at least one fused frame.
17. The system of claim 16, wherein: When the ratio exceeds a threshold, the determination is made to initiate display of the at least one current real-time video frame.
18. The system of claim 13, wherein: The processor is further configured to: Responsive to a determination that the fusion will result in display of the at least one current real-time video frame, display of the at least one fused frame is initiated.
19. The system of claim 18, wherein: The determination to initiate display of the at least one fused frame is made when the ratio of the number of solid rows in the at least one fused frame to the total number of rows in the at least one fused frame does not exceed a threshold.
20. A non-transitory computer readable medium comprising instructions to configure a processor to: receiving a graphics stream comprising a plurality of graphics frames; receiving an intraoperative real-time video stream including a plurality of real-time video frames from a medical device; storing a current graphics frame from the graphics stream in a buffer; merging the current graphics frame from the buffer with the current real-time video frame of the intraoperative real-time video stream into a fused frame; as well as In response to a concurrent determination that the fusion will result in non-display of the at least one current real-time video frame, display of the at least one current real-time video frame is initiated in real-time during the intraoperative procedure.
