Virtual ruler for surgical environments
The computer system uses instrument pose and calibration data to generate a virtual ruler that overcomes limitations of existing systems, enabling accurate measurement of short distances on irregular surfaces and within cavities.
Patent Information
- Application Number
- PCT/US2026/028393
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-21
- Filing Date
- 2026-05-15
- Publication Date
- 2026-11-26
AI Technical Summary
Existing digital rulers in surgical environments are limited to measuring larger distances due to inaccurate depth maps at close distances and struggle with irregular tissue surfaces, making it difficult to measure shorter distances accurately, especially within cavities.
A computer system that uses the pose of a medical instrument and calibration data from a stereo camera to generate a virtual ruler aligned with the instrument, allowing accurate measurement of shorter distances by adjusting graduations based on camera proximity and instrument movement.
Enables accurate measurement of distances as short as 1 millimeter on irregular surfaces and within cavities, independent of depth map quality, without requiring point placement on the surface.
Smart Images

Figure US2026028393_26112026_PF_FP_ABST
Abstract
Description
Attorney Docket No. P07068-WO (163190)VIRTUAL RULER FOR SURGICAL ENVIRONMENTSCROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims benefit of co-pending United States provisional patent application Serial No. 63 / 809,787 filed May 21, 2025. The aforementioned related patent application is herein incorporated by reference in its entirety.TECHNICAL FIELD
[0002] The present disclosure relates generally to medical systems (e.g., digital fiducial systems, anatomy detection systems, clinical guidance systems, and surgical systems). Specifically, the present disclosure relates to providing a virtual ruler in surgical environments.BACKGROUND
[0003] Doctors use computer assisted medical systems to perform different medical tasks. For example, doctors may use computer assisted surgical systems to perform operations on patients, even remotely. During the operations, doctors may use rulers (e.g., physical rulers or virtual rulers) to measure distances in the surgical environments. For example, the doctors may use the rulers to measure where to make incisions or where to stop incisions. Physical rulers are difficult to introduce and remove from some surgical environments, and it may be difficult to manipulate the physical rulers safely in the surgical environments. As a result, some operators prefer using digital rulers.
[0004] In existing systems that implement a digital ruler, the operator places two digital points on two locations on a tissue surface, and the systems compute the distance between the two points using a depth map. The depth map may be extracted from a calibrated stereo camera / endoscope, and a computer vision algorithm may convert points in the field of view around the camera into known measurable three-dimensional (3D) space. For the user to see the two locations and to place the two points on the locations, the camera that provides the view of the surgical environment should be sufficiently far away from the tissue surface. When the camera is far (e.g., greater than 10 centimeters) from the tissue surface, however, the depth map becomes inaccurate. As a result, the distance measurement between the two pointsAttorney Docket No. P07068-WO (163190)becomes less accurate, especially as the distance between the two points becomes smaller. Thus, in existing systems, the ruler may be limited to measuring larger distances (e.g., greater than 3 centimeters). Additionally, the tissue surface may have an irregular shape (and may become more irregular as an operation progresses), which makes it even more difficult to accurately measure the distance between two points on the tissue surface. Furthermore, the ruler may not be used to measure the distances within cavities (e.g., hernias) because points may not be positioned within the cavities.
[0005] Moreover, some existing systems may force the operator to move the camera much closer to the tissue surface to place the points, but a different (and more complicated) workflow may be needed to compute the distance between the points. Additionally, it may be challenging to know how close to the surface to be to measure smaller distances accurately.SUMMARY
[0006] The present disclosure describes a computer system and method for implementing a digital ruler in surgical environments. According to an embodiment, the computer system includes one or more memories and one or more processors communicatively coupled to the one or more memories. The one or more processors, individually or collectively, perform an operation that includes receiving, from a stereo camera, an image showing a medical instrument, determining a pose of the medical instrument, and displaying, based on calibration parameters of the stereo camera or the pose of the medical instrument, a ruler that extends from a point on the medical instrument and that aligns with the medical instrument.
[0007] According to another embodiment, the method includes receiving, from a stereo camera, an image showing a medical instrument, determining a pose of the medical instrument, and displaying, based on calibration parameters of the stereo camera or the pose of the medical instrument, a ruler that extends from a point on the medical instrument and that aligns with the medical instrument. Other embodiments include a non-transitory machine-readable medium storing instructions that, when executed by one or more processors, cause the one or more processors to, individually or collectively, perform the method.Attorney Docket No. P07068-WO (163190)
[0008] The foregoing general description and the following detailed description are exemplary and explanatory in nature and are intended to provide an understanding of the present disclosure without limiting the scope of the present disclosure. In that regard, additional aspects, features, and advantages of the present disclosure will be apparent to one skilled in the art from the following detailed description.BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figures 1A through 1C illustrate an example medical system.
[0010] Figure 2A illustrates an example medical system.
[0011] Figure 2B illustrates an example medical instrument system in the medical system of Figure 2A.
[0012] Figure 2C illustrates an example portion of the medical instrument system of Figure 2B.
[0013] Figure 3 illustrates an example operation for providing a ruler.
[0014] Figure 4 illustrates an example operation for providing a ruler.
[0015] Figure 5 illustrates an example operation for controlling display of a ruler.
[0016] Figure 6 illustrates an example operation for moving a ruler.
[0017] Figure 7 illustrates an example operation for adjusting a ruler.
[0018] Figure 8 illustrates an example operation for providing a ruler in a disassociated mode.
[0019] Figure 9 illustrates an example operation for controlling display of a ruler.
[0020] Figure 10 illustrates an example operation for controlling display of a ruler.
[0021] Figure 11 A illustrates an example surgical environment.
[0022] Figure 11 B illustrates an example grid in a surgical environment.
[0023] Figure 11 C illustrates an example ruler in a surgical environment.
[0024] Figure 11 D illustrates an example ruler in a surgical environment.Attorney Docket No. P07068-WO (163190)
[0025] Figure 11 E illustrates an example ruler in a surgical environment.
[0026] Figures 12A and 12B illustrate example rulers in a surgical environment.
[0027] Figure 13 illustrates an example ruler in a surgical environment.
[0028] Figure 14A illustrates an example ruler in a surgical environment.
[0029] Figure 14B illustrates an example ruler in a surgical environment.
[0030] Figure 15 is a flowchart of an example method for providing a ruler.DETAILED DESCRIPTION
[0031] Doctors may use computer assisted surgical systems to perform operations on patients, even remotely. During an operation, a doctor may use a virtual ruler provided by the system to measure distances in the surgical environment. The virtual rulers provided by existing systems, however, may be limited to measuring larger distances (e.g., greater than 3 centimeters) due to the nature of the technology and difficulty in communicating how accurate the ruler is relative to the distance to the surgical surface and calibration factors.
[0032] The present disclosure describes a computer system that implements a virtual ruler using the pose of an instrument in the surgical environment and / or calibration data from the stereo camera (e.g., intrinsic and extrinsic parameters). The computer system may use the pose and the calibration data to generate a three-dimensional grid (e.g., with 1 millimeter graduations) around the instrument. The computer system may then align the grid with the pose of the instrument.
[0033] When the camera is sufficiently close to the instrument (e.g., less than 5 centimeters away), the computer system may use portions of the grid to generate a virtual ruler that aligns with the instrument. For example, the computer system may use a portion of the grid that extends along the length of the instrument to present a linear ruler that extends along the length of the instrument. As another example, the computer system may use a plane within the grid that is within a plane of the instrument to present a two-dimensional planar ruler that lies within the plane of the instrument. As the instrument moves, the computer system may move the ruler along with the instrument. Additionally, as the camera approaches closer to the instrument,Attorney Docket No. P07068-WO (163190)the computer system may change the units or graduations on the ruler to increase the granularity of the ruler (e.g., from centimeters to millimeters).
[0034] In certain embodiments, the computer system provides several technical advantages. For example, the computer system may provide a virtual ruler that measures shorter distances (e.g., < 3 cm) relative to existing systems. As another example, the virtual ruler may provide more accurate distance measurements relative to existing systems. The computer system may measure distances on an anatomical structure without requiring the operator to provide two points on the anatomical structure. The measurement may not depend on the quality of a depth map, which may be impacted by specular reflection, dirty or foggy lenses, or correct placement of points. As another example, the computer system may allow measurement of distances on irregular shaped surfaces (e.g., curved tissue surfaces, vessel surfaces, etc.) or distances within cavities / holes (e.g., because the operator cannot place points within cavities / holes).
[0035] In some examples, one or more components of the medical system may be implemented as a computer-assisted surgical system. It is understood, however, that the medical system may be implemented in any type of medical system (e.g., digital fiducial systems, anatomy detection systems, and clinical guidance systems). Figure 1A shows an example computer-assisted surgical system 100 that may implement some of the features described herein.
[0036] The surgical system 100 may include a manipulator assembly 102, a user control apparatus 104, and an auxiliary apparatus 106, all of which are communicatively coupled to each other. The surgical system 100 may be utilized by a medical team to perform a computer-assisted medical procedure or other similar operation on a body of a patient 108 or on any other body as may serve a particular implementation. The medical team may include a first user 110-1 (such as a surgeon for a surgical procedure), a second user 110-2 (such as a patient-side assistant), a third user 110-3 (such as another assistant, a nurse, a trainee, etc.), and a fourth user 110-4 (such as an anesthesiologist for a surgical procedure), all of whom may be collectively referred to as users 110, and each of whom may control, interact with, or otherwise be a user of the surgical system 100. More, fewer, or alternative users may be present during a medical procedure as may serve a particular implementation. ForAttorney Docket No. P07068-WO (163190)example, team composition for different medical procedures, or for non-medical procedures, may differ and include users with different roles.
[0037] Although Figure 1A illustrates an ongoing minimally invasive medical procedure such as a minimally invasive surgical procedure, it will be understood that the surgical system 100 may similarly be used to perform open medical procedures or other types of operations. For example, operations such as exploratory imaging operations, mock medical procedures used for training purposes, and / or other operations may also be performed.
[0038] The manipulator assembly 102 may include one or more manipulator arms 112 (e.g., manipulator arms 112-1 through 112-4) to which one or more instruments may be coupled. The instruments may be used for a computer-assisted surgical procedure on the patient 108 (e.g., by being at least partially inserted into the patient 108 and manipulated within the patient 108). While the manipulator assembly 102 is depicted and described herein as including four manipulator arms 112, the manipulator assembly 102 may include a single manipulator arm 112 or any other number of manipulator arms as may serve a particular implementation. Although the example of Figure 1A illustrates the manipulator arms 112 as robotic manipulator arms, in some examples, one or more instruments may be partially or entirely manually controlled, such as by being handheld and controlled manually by a person. These partially or entirely manually controlled instruments may be used in conjunction with, or as an alternative to, computer-assisted instrumentation that is coupled to the manipulator arms 112.
[0039] During the medical operation, the user control apparatus 104 may facilitate teleoperational control by the user 110-1 of the manipulator arms 112 and instruments attached to the manipulator arms 112. To this end, the user control apparatus 104 may provide the user 110-1 with imagery of an operational area associated with the patient 108 as captured by an imaging device. The manipulator arms 112 or any instruments coupled to the manipulator arms 112 may mimic the dexterity of the hand, wrist, and fingers of the user 110-1 across multiple degrees of freedom of motion. In this manner, the user 110-1 may intuitively perform a procedure (e.g., an incision procedure, a suturing procedure, etc.) using one or more of the manipulator arms 112 or any instruments coupled to the manipulator arms 112.Attorney Docket No. P07068-WO (163190)
[0040] The auxiliary apparatus 106 may include one or more computing devices that perform auxiliary functions in support of the procedure, such as providing insufflation, electrocautery energy, illumination or other energy for imaging devices, image processing, or coordinating components of the surgical system 100. In some examples, the auxiliary apparatus 106 may include a display monitor 114 that displays one or more user interfaces, or graphical or textual information in support of the procedure. In some instances, the display monitor 114 may be a touchscreen display that provides user input functionality. Augmented content provided by a region-based augmentation system may be similar, or differ from, content associated with the display monitor 114 or one or more display devices in the operation area (not shown).
[0041] The manipulator assembly 102, user control apparatus 104, and auxiliary apparatus 106 may be communicatively coupled one to another in any suitable manner. For example, the manipulator assembly 102, user control apparatus 104, and auxiliary apparatus 106 may be communicatively coupled by way of control lines 116, which may represent any wired or wireless communication link as may serve a particular implementation. To this end, manipulator assembly 102, user control apparatus 104, and auxiliary apparatus 106 may each include one or more wired or wireless communication interfaces, such as one or more local area network interfaces, Wi-Fi network interfaces, cellular interfaces, and so forth.
[0042] Figure 1B illustrates an example manipulator assembly 102. As seen in Figure 1 B, the manipulator assembly 102 includes a base 118, a manipulator arm 112-1, a manipulator arm 112-2, a manipulator arm 112-3, and a manipulator arm 112-4. Each manipulator arm 112-1, 112-2, 112-3, and 112-4 is pivotably coupled to the base 118. Although the base 118 may include casters to allow ease of mobility, in some embodiments, the manipulator assembly 102 is fixedly mounted to a floor, ceiling, operating table, structural framework, or the like.
[0043] In a typical procedure, two of the manipulator arms 112-1, 112-2, 112-3, or 112-4 hold surgical instruments and a third holds a stereo endoscope. The remaining manipulator arms are available so that other instruments may be introduced at the work site. Alternatively, the remaining manipulator arms may be used for introducing another endoscope or another image capturing device, such as an ultrasound transducer, to the work site.Attorney Docket No. P07068-WO (163190)
[0044] Each of the manipulator arms 112-1, 112-2, 112-3, and 112-4 may be formed of links that are coupled together and manipulated through actuatable joints. Each of the manipulator arms 112-1, 112-2, 112-3, and 112-4 may include a setup arm and a device manipulator. The setup arm positions its held device so that a pivot point occurs at its entry aperture into the patient. The device manipulator may then manipulate its held device so that the held device may be pivoted about the pivot point, inserted into and retracted out of the entry aperture, and rotated about its shaft axis. Each of the manipulator arms 112-1, 112-2, 112-3, and 112-4 may include sensors (e.g., kinematics sensors, position sensors, accelerometers, etc.) that detect or track movement of the manipulator arms 112-1, 112-2, 112-3, and 112-4. For example, these sensors may detect how far or how quickly a manipulator arm 112-1, 112-2, 112-3, or 112-4 moves in a certain direction.
[0045] Figure 1C illustrates an example user control apparatus 104. The user control apparatus 104 includes a stereo vision display 120 so that the user may view the surgical work site in stereo vision from images captured by the stereoscopic camera of the manipulator assembly 102. Left and right eyepieces 122 and 124 are provided in the stereo vision display 120 so that the user may view left and right display screens inside the display 120 respectively with the user's left and right eyes. While viewing typically an image of the surgical site on a suitable viewer or display, the surgeon performs the surgical procedures on the patient by manipulating master control input devices, which in turn control the motion of robotic instruments.
[0046] The user control apparatus 104 also includes left and right input devices 126 and 128 that the user may grasp respectively with his / her left and right hands to manipulate devices (e.g., surgical instruments) being held by the manipulator arms 112-1, 112-2, 112-3, and 112-3 of the manipulator assembly 102 in preferably six or more degrees of freedom (“DOF”). Foot pedals 130 with toe and heel controls are provided on the user control apparatus 104 so the user may control movement and / or actuation of devices associated with the foot pedals.
[0047] A processing device 132 is provided in the user control apparatus 104 for control and other purposes. The processing device 132 performs various functions in the surgical system 100. One function performed by processing device 132 may be to translate and transfer the mechanical motion of input devices 126 and 128 to actuateAttorney Docket No. P07068-WO (163190)their corresponding joints in their associated manipulator arms 112-1, 112-2, 112-3, and 112-4 so that the surgeon can effectively manipulate devices, such as the surgical instruments. Another function of the processing device 132 may be to implement the methods, crosscoupling control logic, and controllers or processors described herein. The auxiliary apparatus 106 may include a processing device 132 that performs the functions or actions described herein. The processing device 132 may include a processor and a memory that perform the functions described herein.
[0048] The processor may include any electronic circuitry, including, but not limited to one or a combination of microprocessors, microcontrollers, application specific integrated circuits (ASIC), application specific instruction set processor (ASIP), and / or state machines, that communicatively couples to a memory and controls the operation of the user control apparatus 104 and / or the auxiliary apparatus 106. The processor may be 8-bit, 16-bit, 32-bit, 64-bit or of any other suitable architecture. The processor may include an arithmetic logic unit (ALU) for performing arithmetic and logic operations, processor registers that supply operands to the ALU and store the results of ALU operations, and a control unit that fetches instructions from memory and executes them by directing the coordinated operations of the ALU, registers and other components. The processor may include other hardware that operates software to control and process information. The processor executes software stored on a memory to perform any of the functions described herein. The processor controls the operation and administration of the user control apparatus 104 or the auxiliary apparatus 106 by processing information (e.g., information received from the user control apparatus 104, the manipulator assembly 102, the auxiliary apparatus 106, and / or a memory). The processor is not limited to a single processing device and may encompass multiple processing devices contained in the same device or computer or distributed across multiple devices or computers. The processor is considered to perform a set of functions or actions if the multiple processing devices collectively perform the set of functions or actions, even if different processing devices perform different functions or actions in the set.
[0049] Figure 2A illustrates an example computer-assisted surgical system 200 that may implement some of the features described herein. The surgical system 200 can be used, for example, in surgical, diagnostic, therapeutic, biopsy, or non-medicalAttorney Docket No. P07068-WO (163190)procedures. As shown in Figure 2A, the surgical system 200 (which may be a robotically-assisted surgical system) includes one or more manipulator assemblies 202 for operating one or more medical instrument systems 204 in performing various procedures on a patient P positioned on a table T in a medical environment. For example, the manipulator assembly 202 can drive catheter or end effector motion, can apply treatment to target tissue, and / or can manipulate control members. The manipulator assembly 202 can be teleoperated, non-teleoperated, or a hybrid teleoperated and non-teleoperated assembly with select degrees of freedom of motion that can be motorized and / or teleoperated and select degrees of freedom of motion that can be non-motorized and / or non-teleoperated. An operator input system 206, which can be inside or outside of the medical environment, generally includes one or more control devices for controlling the manipulator assembly 202. The manipulator assembly 202 supports a medical instrument system 204 and can optionally include a plurality of actuators or motors that drive inputs on the medical instrument system 204 in response to commands from a control system 212. The actuators can optionally include drive systems that when coupled to the medical instrument system 204 can advance the medical instrument system 204 into a natural or surgically created anatomic orifice. Other drive systems can move the distal end of the medical instrument in multiple degrees of freedom, which can include three degrees of linear motion (e.g., linear motion along the x, y, and z Cartesian axes) and in three degrees of rotational motion (e.g., rotation about the x, y, and z Cartesian axes). The manipulator assembly 202 can support various other systems for irrigation, treatment, or other purposes. Such systems can include fluid systems (e.g., reservoirs, heating / cooling elements, pumps, and valves), generators, lasers, interrogators, and ablation components.
[0050] The surgical system 200 also includes a display system 210 for displaying an image or representation of the surgical site and a medical instrument system 204. The image or representation is generated by an imaging system 209, which may include an endoscopic imaging system. The display system 210 and operator input system 206 may be oriented so that an operator O can control the medical instrument system 204 and the operator input system 206 with the perception of telepresence. A graphical user interface can be displayable on the display system 210 and / or a display system of an independent planning workstation.Attorney Docket No. P07068-WO (163190)
[0051] In some examples, the imaging system 209 includes an endoscopic imaging system with components that are integrally or removably coupled to the medical instrument system 204. However, in some examples, a separate imaging device, such as an endoscope, attached to a separate manipulator assembly can be used with the medical instrument system 204 to image the surgical site. The imaging system 209 can be implemented as hardware, firmware, software, or a combination thereof, which interact with or are otherwise executed by one or more computer processors, which can include the processors 214 of the control system 212.
[0052] The surgical system 200 also includes a sensor system 208. The sensor system 208 may include a position / location sensor system (e.g., an actuator encoder or an electromagnetic (EM) sensor system) and / or a shape sensor system (e.g., an optical fiber shape sensor) for determining the position, orientation, speed, velocity, pose, and / or shape of the medical instrument system 204. These sensors may also detect a position, orientation, or pose of the patient P on the table T. For example, the sensors may detect whether the patient P is face-down or face-up. As another example, the sensors may detect a direction in which the head of the patient P is directed. The sensor system 208 can also include temperature, pressure, force, or contact sensors, or the like.
[0053] The surgical system 200 can also include a control system 212, which includes at least one memory 216 and at least one computer processor 214 for effecting control between the medical instrument system 204, the operator input system 206, the sensor system 208, and the display system 210. The control system 212 includes programmed instructions (e.g., a non-transitory machine-readable medium storing the instructions) to implement a procedure using the surgical system 200, including for navigation, steering, imaging, engagement feature deployment or retraction, applying treatment to target tissue (e.g., via the application of energy), or the like.
[0054] The control system 212 may further include a virtual visualization system to provide navigation assistance to the operator O when controlling medical instrument system 204 during an image-guided surgical procedure. Virtual navigation using the virtual visualization system can be based upon reference to an acquired pre-operative or intra-operative dataset of anatomic passageways. The virtual visualization systemAttorney Docket No. P07068-WO (163190)processes images of the surgical site imaged using imaging technology, such as computerized tomography (CT), magnetic resonance imaging (MRI), fluoroscopy, thermography, ultrasound, optical coherence tomography (OCT), thermal imaging, impedance imaging, laser imaging, nanotube X-ray imaging, and / or the like. The control system 212 uses a pre-operative image to locate the target tissue (using vision imaging techniques and / or by receiving user input) and create a pre-operative plan, including an optimal first location for performing treatment. The pre-operative plan can include, for example, a planned size to expand an expandable device, a treatment duration, a treatment temperature, and / or multiple deployment locations.
[0055] The processor 214 is any electronic circuitry, including, but not limited to one or a combination of microprocessors, microcontrollers, application specific integrated circuits (ASIC), application specific instruction set processor (ASIP), and / or state machines, that communicatively couples to the memory 216 and controls the operation of the control system 212. The processor 214 may be 8-bit, 16-bit, 32-bit, 64-bit or of any other suitable architecture. The processor 214 may include an arithmetic logic unit (ALU) for performing arithmetic and logic operations, processor registers that supply operands to the ALU and store the results of ALU operations, and a control unit that fetches instructions from memory and executes them by directing the coordinated operations of the ALU, registers and other components. The processor 214 may include other hardware that operates software to control and process information. The processor 214 executes software stored on the memory 216 to perform any of the functions described herein. The processor 214 controls the operation and administration of the control system 212 by processing information (e.g., information received from the manipulator assembly 202, the operator input system 206, and the memory 216). The processor 214 is not limited to a single processing device and may encompass multiple processing devices contained in the same device or computer or distributed across multiple devices or computers. The processor 214 is considered to perform a set of functions or actions if the multiple processing devices collectively perform the set of functions or actions, even if different processing devices perform different functions or actions in the set.
[0056] The memory 216 may store, either permanently or temporarily, data, operational software, or other information for the processor 214. The memory 216Attorney Docket No. P07068-WO (163190)may include any one or a combination of volatile or non-volatile local or remote devices suitable for storing information. For example, the memory 216 may include random access memory (RAM), read only memory (ROM), magnetic storage devices, optical storage devices, or any other suitable information storage device or a combination of these devices. The software represents any suitable set of instructions, logic, or code embodied in a computer-readable storage medium. For example, the software may be embodied in the memory 216, a disk, a CD, or a flash drive. In particular embodiments, the software may include an application executable by the processor 214 to perform one or more of the functions described herein. The memory 216 is not limited to a single memory and may encompass multiple memories contained in the same device or computer or distributed across multiple devices or computers. The memory 216 is considered to store a set of data, operational software, or information if the multiple memories collectively store the set of data, operational software, or information, even if different memories store different portions of the data, operational software, or information in the set.
[0057] Figure 2B illustrates an example medical instrument system 204 in the surgical system 200. In some embodiments, the medical instrument system 204 is used in an image-guided medical procedure. For example, the medical instrument system 204 may be used for non-teleoperational exploratory procedures or in procedures involving traditional manually operated medical instruments, such as endoscopy.
[0058] The medical instrument system 204 includes an elongate flexible device 220, such as a flexible catheter or endoscope (e.g., gastroscope, bronchoscope), coupled to a drive unit 222. The elongate flexible device 220 includes a flexible body 224 having a proximal end 226 and a distal end, or tip portion, 228. In some embodiments, the flexible body 224 has an approximately 14-20 millimeter outer diameter. Other flexible body outer diameters may be larger or smaller. The flexible body 224 has an appropriate length to reach certain portions of the anatomy, such as the lungs, sinuses, throat, or the upper or lower gastrointestinal region, when the flexible body 224 is inserted into a patient’s oral or nasal cavity.
[0059] The medical instrument system 204 includes a tracking system 230 for determining the position, orientation, speed, velocity, pose, and / or shape of the distalAttorney Docket No. P07068-WO (163190)end 228 and / or of one or more segments 232 along the flexible body 224 using one or more sensors and / or imaging devices. The entire length of the flexible body 224, between the distal end 228 and the proximal end 226, is effectively divided into the segments 232. The tracking system 230 is implemented as hardware, firmware, software, or a combination thereof, which interact with or are otherwise executed by one or more computer processors, which may include the processors 214 of control system 212.
[0060] The tracking system 230 tracks distal the end 228 and / or one or more of the segments 232 using a shape sensor 234. In some embodiments, the tracking system 230 tracks the distal end 228 using a position sensor system 236, such as an electromagnetic (EM) sensor system. In some examples, the position sensor system 236 measures six degrees of freedom (e.g., three position coordinates x, y, and z and three orientation angles indicating pitch, yaw, and roll of a base point) or five degrees of freedom (e.g., three position coordinates x, y, and z and two orientation angles indicating pitch and yaw of a base point).
[0061] The flexible body 224 includes one or more channels 238 sized and shaped to receive one or more medical instruments 240. In some embodiments, the flexible body 224 includes two channels 238 for separate instruments 240, however, a different number of channels 238 can be provided. Figure 2C illustrates an example portion of the medical instrument system 204 of Figure 2B. As seen in Figure 2C, the medical instrument 240 extends through the flexible body 224. In some embodiments, the medical instrument 240 can be used for procedures and aspects of procedures, such as surgery, biopsy, ablation, mapping, imaging, illumination, irrigation, or suction. The medical instrument 240 is deployed through the channel 238 of the flexible body 224 and is used at a target location within the anatomy. The medical instrument 240 includes, for example, image capture devices, biopsy instruments, ablation instruments, catheters, laser ablation fibers, and / or other surgical, diagnostic, or therapeutic tools. The medical tools include end effectors having a single working member such as a scalpel, a blunt blade, a lens, an optical fiber, an electrode, and / or the like. Other end effectors include, for example, forceps, graspers, balloons, needles, scissors, clip appliers, and / or the like. Other end effectors further include electrically activated end effectors such as electrosurgical electrodes, transducers,Attorney Docket No. P07068-WO (163190)sensors, imaging devices, and / or the like. The medical instrument 240 is advanced from the opening of the channel 238 to perform the procedure and then retracted back into the channel when the procedure is complete. The medical instrument 240 is removed from the proximal end 226 of the flexible body 224 or from another optional instrument port (not shown) along the flexible body 224. The medical instrument 240 may be used with an image capture device (e.g., an endoscopic camera) also within the elongate flexible device 220. Alternatively, the medical instrument 240 may itself be the image capture device.
[0062] The medical instrument 240 additionally houses cables, linkages, or other actuation controls (not shown) that extend between the proximal and distal ends to controllably bend the distal end of the medical instrument 240. The flexible body 224 also houses cables, linkages, or other steering controls (not shown) that extend between the drive unit 222 and the distal end 228 to controllably bend the distal end 228 as shown, for example, by the broken dashed line depictions 242 of the distal end 228. In some examples, at least four cables are used to provide independent “up-down” steering to control a pitch motion of the distal end 228 and “left-right” steering to control a yaw motion of the distal end 228. In embodiments in which the medical instrument system 204 is actuated by a robotically-assisted assembly, the drive unit 222 can include drive inputs that removably couple to and receive power from drive elements, such as actuators, of the teleoperational assembly. In some embodiments, the medical instrument system 204 includes gripping features, manual actuators, or other components for manually controlling the motion of the medical instrument system 204. The information from the tracking system 230 can be sent to a navigation system 244, where the information is combined with information from the visualization system 246 and / or the preoperatively obtained models to provide the physician or other operator with real-time position information.
[0063] Figures 3 through 15 illustrate example operations performed by a computer system in a medical system (e.g., the surgical system 100 of Figure 1 A or the surgical system 200 of Figure 2A). Generally, the computer system (which may be implemented in the user control apparatus 104 and / or the auxiliary apparatus 106 of the surgical system 100 using the processing device 132 and / or in the control systemAttorney Docket No. P07068-WO (163190)212 of the surgical system 200 using the processor 214 and the memory 216) implements a digital ruler.
[0064] The computer system may be described as performing certain actions (e.g., capturing video, moving cameras, detecting objects, providing feedback, etc.) that may involve other components, such as cameras, motors, etc. In these instances, it is understood that the controller performs these actions by communicating signals to the other components that causes those components to perform the actions.
[0065] Each of these figures may describe the computer system using or analyzing different types of inputs. Although depicted separately, it is understood that the computer system may consider any number of these different types of inputs together or separately. Additionally, it is understood that the computer system may perform any number of the example operations together or separately.
[0066] Figure 3 illustrates an example operation 300 for providing a ruler. The computer system performs the operation 300. Generally, the computer system performs the operation 300 to present or display a ruler that aligns with a medical instrument shown in the view of a camera.
[0067] The computer system begins by receiving one or more images 302. The image 302 may be captured or generated by a camera in a surgical environment. In some instances, the image 302 may be a frame of a video captured or generated by the camera. In some embodiments, the computer system receives multiple images 302 from multiple cameras (e.g., a stereo camera), which may allow the computer system to determine the depths of various objects in the surgical environment. As seen in Figure 3, the image 302 may show an instrument 304 (e.g., a medical or surgical instrument) and an anatomical structure 306. Generally, the instrument 304 may perform an operation (e.g., grabbing, cutting, suturing, etc.) on the anatomical structure 306.
[0068] The computer system may determine a pose 308 of the instrument 304 in the surgical environment. The pose 308 may include coordinates that indicate the positioning and / or orientation of the instrument 304. The computer system may use kinematics data that tracks the movement of the instrument 304 in the surgical environment to determine the pose 308 of the instrument 304. In some instances, theAttorney Docket No. P07068-WO (163190)computer system may also analyze the image 302 to assist in determining the pose 308 of the instrument 304 in the surgical environment.
[0069] The computer system may also receive and / or determine calibration parameters 310 of the camera used to capture or generate the image 302. The calibration parameters 310 may include extrinsic parameters and intrinsic parameters of the camera. The extrinsic parameters generally indicate the positioning and / or orientation of the camera in the surgical environment. The intrinsic parameters generally indicate internal characteristics of the camera such as focal length, field of view, spacing between stereo cameras, etc. The computer system may use the calibration parameters to map pixels (e.g., coordinates of pixels) in the two-dimensional (2D) image 302 to points in the three-dimensional (3D) surgical environment.
[0070] The computer system uses the pose 308 of the instrument 304 in the surgical environment and / or the calibration parameters 310 to determine where to present or display a ruler 312 in the image 302. For example, the pose 308 of the instrument 304 may indicate the position and / or orientation of the instrument 304 in the 3D surgical environment. The computer system may use the calibration parameters 310 to map the position and / or orientation of the instrument 304 in the 3D surgical environment to pixels in the image 302. The computer system may then present or display the ruler 312 in the image 302 according to the pixels that show the instrument 304 in the image 302.
[0071] Generally, the ruler 312 extends along the instrument 304 from a point on the instrument 304 (e.g., from a joint). As a result, the ruler 312 aligns with the directionality of the instrument 304. As the instrument 304 moves and / or rotates in the surgical environment, the pose 308 update or change. The computer system uses the updated pose 308 to update the positioning and orientation of the ruler 312 such that the ruler 312 continues to extend along the instrument 304 from the point on the instrument 304.
[0072] The computer system may also use the calibration parameters 310 to determine distances between pixels in the image 302. For example, the computer system may use the calibration parameters 310 to determine distances along theAttorney Docket No. P07068-WO (163190)instrument 304. The computer system may then present or display markers on the ruler 312 that indicate certain distances. For example, the distances between the markers may indicate once centimeter, one millimeter, etc. in the surgical environment. In some embodiments, the computer system may update or change the graduations or the markers (e.g., the units of the ruler 312) depending on the distance between the camera and the instrument 304 and / or the zoom level of the camera. When the instrument is positioned in the image 302, the operator may use the markers on the ruler 312 to measure distances in the image 302. For example, the operator may move and / or position the instrument 304 besides objects in the image 302 to use the ruler 312 to measure the objects (e.g., the lengths or widths of the objects).
[0073] As a result, the ruler 312 may be presented in 3D space like an augmented reality ruler. The ruler 312 may be presented in a stereo view from a stereo camera and be maneuvered in the 3D space.
[0074] Figure 4 illustrates an example operation 400 for providing a ruler. The computer system performs the operation 400. Generally, by performing the operation 400, the computer system determines where in an image to present or display the ruler.
[0075] The computer system begins with the calibration parameters 310 of a camera (e.g., a stereo camera) that captures the image 302 of the surgical environment. As discussed above, the calibration parameters 310 may include the extrinsic parameters and the intrinsic parameters of the camera. The computer system may use the calibration parameters 310 to map pixels in the image 302 to coordinates in the 3D surgical environment. Additionally, the computer system may use the calibration parameters 310 to determine distances between pixels in the image 302. For example, the computer system may map the pixels in the image 302 to coordinates in the 3D surgical environment, and then, the computer system may calculate the distances between the coordinates to determine the distances in the 3D surgical environment represented or shown by the pixels.
[0076] The computer system then generates and adds a grid 402 to the image 302 using the calibration parameters 310. For example, the grid 402 may be a 2D or 3D grid that is centered on the instrument in the image 302. Additionally, the grid 402Attorney Docket No. P07068-WO (163190)may be rotated or oriented along the instrument such that some of the gridlines of the grid 402 are oriented with the instrument. Generally, the grid 402 may not be visible in the image 302. Rather, the grid 402 is a data object that is used to generate the ruler in the image 302. The computer system may determine the spacing between gridlines of the grid 402 using the calibration parameters 310. For example, if the computer system determines that consecutive gridlines should indicate distances that are one centimeter apart from each other, then the computer system may determine, from the calibration parameters 310, the pixels in the image 302 that map to 3D coordinates that are one centimeter apart from each other. The computer system may then add gridlines for the grid 402 through these pixels.
[0077] In one example, the computer system may determine a pixel of the image 302 that shows a point on the instrument (e.g., a joint or a tip). The computer system may add a gridline through the point on the instrument. The computer system may then add parallel gridlines through pixels of the image 302 that are one centimeter increments away from the gridline through the point on the instrument. The computer system may repeat this process (e.g., multiple times) to add gridlines that are orthogonal to the previously added gridlines. The orthogonal gridlines may also be spaced in one centimeter increments.
[0078] As another example, the computer system may generate the grid 402 with the desired graduations (e.g., one centimeter). The computer system may then determine, from the pose 308, the positioning and orientation of the instrument in the image 302. The computer system may then move and orient the grid 402 in the image 302 such that a gridline of the grid 402 extends through the point on the instrument and such that other gridlines of the grid 402 extend along or parallel to the instrument. In this manner, the computer system orients the grid 402 with the instrument in the image 302.
[0079] After adding the grid 402 to the image 302, the computer system may use the pose 308 of the instrument in the image 302 to determine a portion 404 of the grid 402. The portion 404 may extend along the instrument from the gridline that passes through the point on the instrument. As an example, the computer system may first determine the gridline that passes through the point on the instrument. The computer system may then determine, from the pose 308, the position and orientation of theAttorney Docket No. P07068-WO (163190)instrument. The computer system may then determine the portion 404 of the grid 402 that extends from the gridline that passes through the point on the instrument and that extends along the direction of the instrument. The computer system may then display the portion 404 of the grid 402 as the ruler. In this manner, the ruler has the same units and / or graduations as the grid 402.
[0080] The portion 404 may be a linear portion of the grid 402 or a planar portion of the grid 402. For example, the portion 404 may include a single line (e.g., a gridline) that extends parallel to the instrument and that includes intersecting gridlines to indicate ruler markings. As another example, the portion 404 may include a plane of the grid 402 that is coplanar with the instrument in the image 302. The portion 404 may then be used to measure distances in the plane of the instrument.
[0081] Figure 5 illustrates an example operation 500 for controlling display of a ruler. The computer system performs the operation 500. Generally, by performing the operation 500, the computer system controls when the ruler is displayed in the image 302.
[0082] As an example, the computer system may display the ruler 312 in the image 302 (e.g., by displaying the portion of the grid in the image 302) based on how close the camera is to the instrument in the image 302. As seen in Figure 5, the computer system may use the pose 308 of the instrument and the calibration parameters 310 of the camera to determine a distance 502 between the camera and the instrument. For example, the computer system may use the position of the instrument and the extrinsic parameters of the camera to determine the distance 502.
[0083] The computer system may then compare the distance 502 to a threshold 504. If the distance 502 falls below the threshold 504, then the computer system may display the ruler 312 in the image 302. If the distance 502 exceeds the threshold 504, then the computer system may stop displaying the ruler 312 in the image 302. As the camera and / or the instrument move in the surgical environment, the pose 308 and the calibration parameters 310 may update. The computer system may update the distance 502 based on the changes to the pose 308 and the calibration parameters 310 to determine whether to display the ruler 312 in the image 302 or not.Attorney Docket No. P07068-WO (163190)
[0084] In some embodiments, the computer system may receive or determine an accuracy 506 of the calibration parameters 310. The computer system may then determine or adjust the threshold 504 based on the accuracy 506. For example, if the accuracy of the calibration parameters 310 is high, then the computer system may increase the threshold 504. As another example, if the accuracy of the calibration parameters 310 is low, then the computer system may reduce the threshold 504.
[0085] In certain instances, the computer system may display the ruler 312 in the image 302 or stop displaying the ruler 312 in the image 302 based on input 508. The input 508 may be provided by the operator. For example, the input 508 may be user input that indicates that the ruler 312 should or should not be displayed in the image 302. When the computer system receives the user input, the computer system may follow the user input and display the ruler 312 or stop displaying the ruler 312. In this manner, the computer system allows the operator to manually control when the ruler 312 is displayed.
[0086] Figure 6 illustrates an example operation 600 for moving a ruler. The computer system performs the operation 600. Generally, by performing the operation 600, the computer system performs the operation 600 to maintain alignment between the ruler and the instrument.
[0087] As seen in Figure 6, the computer system begins with a pose 602 of the instrument in the image. The pose 602 indicates the position and / or rotation of the instrument in the surgical environment. The computer system may analyze the pose 602 to determine that the instrument has moved (e.g., translated and / or rotated to another positioned or orientation). For example, the computer system may compare the pose with a prior pose of the instrument to determine how the instrument has moved.
[0088] The computer system may then determine a corresponding movement 604 for the ruler 312 based on the pose 602 and / or the movement of the instrument. For example, the computer system may determine that the movement 604 should mimic the movement of the instrument. As a result, the movement 604 may cause the ruler 312 to move along with the instrument and to remain aligned with the instrument as the instrument moves. The computer system may then apply the movement 604 toAttorney Docket No. P07068-WO (163190)the ruler 312 in the image such that the ruler 312 is displayed as making the movement 604. In this manner, the computer system updates the display of the ruler 312 when the instrument moves in the surgical environment.
[0089] Figure 7 illustrates an example operation 700 for adjusting a ruler. The computer system performs the operation 700. By performing the operation 700, the computer system changes or adjusts the graduations of the ruler.
[0090] The computer system begins with the distance 502 between the camera and the instrument in the surgical environment. As discussed above, the computer system may determine the distance 502 using the pose of the instrument and the calibration parameters (e.g., extrinsic parameters) of the camera. The computer system may then adjust or set a graduation 704 of the ruler 312 according to the distance 502. For example, as the camera and the instrument are moved closer together (e.g., to reduce the distance 502), the computer system may change the graduations 704 of the ruler 312 so that the markings on the ruler 312 measure smaller distances (e.g., change from centimeter markings to millimeter markings). As the camera and the instrument are moved further apart (e.g., to increase the distance 502), the computer system may change the graduations 704 of the ruler 312 so that the markings on the ruler 312 measure larger distances (e.g., change from millimeter markings to centimeter markings). In this manner, the computer system adjusts the ruler 312 to measure the distances presented in the field of view of the camera.
[0091] In some embodiments, the computer system also determines a zoom level 702 of the camera, and the computer system adjusts the graduations 704 of the ruler 312 based on the zoom level 702. For example, as the zoom level 702 increases, the computer system may change the graduations 704 of the ruler 312 so that the markings on the ruler 312 measure smaller distances (e.g., change from centimeter markings to millimeter markings). As the zoom level 702 decreases, the computer system may change the graduations 704 of the ruler 312 so that the markings on the ruler 312 measure larger distances (e.g., change from millimeter markings to centimeter markings). In this manner, the computer system adjusts the ruler 312 to measure the distances presented in the field of view of the camera.Attorney Docket No. P07068-WO (163190)
[0092] Figure 8 illustrates an example operation 800 for providing a ruler in a disassociated mode. The computer system performs the operation 800. Generally, by performing the operation 800, the computer system presents or displays a ruler that is untethered from the instrument. As a result, the ruler may be displayed even when the instrument is not in the field of view of the camera. Additionally, the ruler may move and / or rotate according to the movement of the camera rather than the movement of the instrument. This mode of operation in which the ruler is disassociated or untethered from the instrument may be referred to as the disassociated mode.
[0093] The computer system begins with the calibration parameters 310 of the camera that indicate the position or orientation of the camera in the surgical environment. Generally, during the disassociated mode, the ruler 312 is tethered to the camera rather than to the instrument. As a result, the computer system may determine a distance 802 from the camera and present the ruler 312 at the distance 802. The distance 802 may be a predetermined distance and may be configurable by the operator. When the camera moves, the calibration parameters 310 may change or update. The computer system may analyze the calibration parameters 310 to determine a movement 804 for the ruler 312. For example, the computer system may determine the movement 804 that mimics the movement of the camera. The computer system then applies the movement 804 to the ruler 312 such that the ruler 312 moves along with the camera.
[0094] In some embodiments, the distance 802 may be a distance along the viewing axis of the camera. The ruler 312 may be presented or displayed in the image the distance 802 away from the camera along the viewing axis of the camera. The viewing axis of the camera may be orthogonal or normal to the ruler 312. The computer system may maintain the relative positions and orientations of the ruler 312 and the camera such that the viewing axis of the camera remains orthogonal or normal to the ruler 312 as the camera moves. Additionally, the computer system may move the ruler 312 such that the ruler 312 remains at the distance 802 from the camera. In this manner, the computer system may present and move the ruler 312 independent of the movement of the instrument (e.g., even when the instrument is not in the field of view of the camera).Attorney Docket No. P07068-WO (163190)
[0095] The operator may use the ruler 312 to measure distances (e.g., distances on the anatomical structure 306) during the disassociated mode. For example, the operator may move the camera such that a surface of the anatomical structure 306 is near the distance 802 from the camera. As a result, the ruler 312 may be displayed on the surface of the anatomical structure 306. The operator may rotate the camera such that the ruler aligns with a contour of the surface of the anatomical structure 306. The operator may then use the markings on the ruler 312 to measure a distance on the surface of the anatomical structure 306. In this manner, the operator may use the ruler 312 to measure distances without necessarily moving the instrument in the surgical environment.
[0096] In some embodiments, the computer system may enter or leave the disassociated mode based on input 806. For example, the input 806 may be user input provided by the operator. When the operator instructs the computer system to enter the disassociated mode, the computer system may tether the ruler 312 to the camera rather than the instrument. When the operator instructs the computer system to leave the disassociated mode, the computer system may tether the ruler 312 to the instrument.
[0097] In certain instances, the computer system may tilt or rotate the ruler 312 in the disassociated mode (e.g., without tilting or rotating the camera). This feature allows the operator to untether the tilting and rotating of the ruler 312 from the camera. The computer system may tilt or rotate the ruler 312 based on the input 806 (e.g., user instructions to tilt or rotate the ruler 312). For example, the operator may use an input device (e.g., mouse) to issue input 806 that tilts or rotates the ruler 312, which may cause the normal of a planar ruler to not remain aligned with the view axis of the camera. Additionally or alternatively, the computer system may tilt or rotate the ruler 312 based on the anatomical structure 306 in the image. For example, the computer system may tilt or rotate the ruler 312 along the contours of the surface of the anatomical structure 306. In this manner, the ruler 312 may be automatically aligned with the contours of the surface.
[0098] The computer system may present or display the ruler 312 during the disassociated mode in a similar manner as the operation 300 shown in Figure 3. For example, the computer system may add a grid to the image. The grid may be centeredAttorney Docket No. P07068-WO (163190)on a point the distance 802 away from the camera. The computer system may also rotate the grid such that the grid aligns with the view axis of the camera. The grid may not be visible in the image. To present or display the ruler 312, the computer system may display a portion of the grid that is the distance 802 away from the camera. The ruler 312 may be linear or planar.
[0099] Figure 9 illustrates an example operation 900 for controlling display of a ruler. The computer system performs the operation 900. By performing the operation 900, the computer system changes the display of portions of the ruler when those portions of the ruler are obstructed or covered by objects in the surgical environment (e.g., an anatomical structure).
[0100] The computer system begins by presenting the ruler 312 in the image of the surgical environment. The ruler 312 may include one or more portions 902. In the example of Figure 9, the ruler 312 includes the portions 902A and 902B. As the computer system moves the ruler 312 (e.g., due to movement of the instrument or due to movement of the camera in the disassociated mode), one or more portions 902 of the ruler 312 may extend into or be obstructed by an object in the surgical environment. For example, the computer system may move the ruler 312 such that a portion 902 of the ruler 312 extends into an anatomical structure in the surgical environment.
[0101] The computer system may reference a depth map 904 of the surgical environment to determine when the portion 902 of the ruler 312 extends into or is obstructed by an object in the surgical environment. Generally, the depth map 904 may indicate the depths of various surfaces or objects in the surgical environment. As the computer system moves the ruler 312, the computer system may track the depth of the ruler 312 relative to the depths of the surfaces or objects in the surgical environment. Using the depth information, the computer system may determine when a portion 902 of the ruler 312 extends into or is obstructed by a surface of object in the surgical environment.
[0102] The computer system may then adjust or change a notation 906 of the portion 902 of the ruler 312. For example, the computer system may change the portion 902 of the ruler 312 to be displayed using dashed lines instead of solid lines when the computer system determines that the portion 902 of the ruler 312 extendsAttorney Docket No. P07068-WO (163190)into or is covered by a surface or object in the surgical environment. In the example of Figure 9, the portion 902A of the ruler 312 is displayed using a notation 906A, and the portion 902B of the ruler 312 is displayed using a notation 906B. Initially, the notations 906A and 906B may be the same (e.g., solid lines). As the ruler 312 moves, the computer system may determine, from the depth map 904, that the portion 902B of the ruler 312 extends into or is obstructed by a surface or object in the surgical environment. In response, the computer system adjusts or changes the notation 906B (e.g., from solid lines to dashed lines). As a result, the computer system may use a different notation 906B to display the portion 902B of the ruler 312 than the notation 906A used to display the portion 902A of the ruler 312. If the ruler 312 moves such that the portion 902B no longer extends into or is no longer obstructed by the surface or object, the computer system may adjust the notation 906B (e.g., from dashed lines to solid lines). In this manner, the computer system indicates when portions 902 of the ruler 312 extend into or are obstructed by objects in the surgical environment.
[0103] In some embodiments, the computer system presents in an ultrasound image 908 a portion 902 of the ruler 312 extending into an anatomical structure. The ultrasound image 908 may be produced by an ultrasound sensor or probe in the surgical environment by the anatomical structure. The ultrasound image 908 may show subsurface structures of the anatomical structure. When the ruler 312 is moved such that the portion 902 extends into the anatomical structure, the computer system may present or display the portion 902 in the ultrasound image 908. The operator may then use the portion 902 of the ruler 312 to measure distances in the ultrasound image 908. For example, the operator may use the portion 902 of the ruler 312 to measure the lengths or widths of the subsurface structure.
[0104] Figure 10 illustrates an example operation 1000 for controlling display of a ruler. The computer system may perform the operation 1000. By performing the operation 1000, the computer system updates the notation used for portions of the ruler based on movement of the ruler.
[0105] Continuing with the previous example of Figure 9, the computer system may detect movement 1002 of the ruler 312. For example, the ruler 312 may move in response to movement of an instrument or movement of the camera in the disassociated mode. The movement 1002 of the ruler 312 may cause additionalAttorney Docket No. P07068-WO (163190)portions 902 of the ruler 312 to extend into or become obstructed by an object in the surgical environment. In the example of Figure 10, the movement 1002 of the ruler 312 may cause a portion 902C of the portion 902A to extend into an anatomical structure. The computer system may detect that the portion 902C extends into the anatomical structure and change the notation 906A (e.g., solid lines) originally used for the portion 902C into the notation 906B (e.g., dashed lines). As a result, the portions 902B and 902C that extend into the anatomical structure may be updated to use the notation 906B to indicate that the portion 902B and 902C extend into the anatomical structure.
[0106] Figure 11 A illustrates an example surgical environment. The view shown in Figure 11A may be an image or video captured by a camera in the surgical environment. The computer system may present or display the image or video. As seen in Figure 11 A, the surgical environment includes the instrument 304 and the anatomical structure 306. The instrument 304 may be maneuvered and operated in the surgical environment to grab portions of the anatomical structure 306.
[0107] Figure 11B illustrates an example grid 402 in a surgical environment. Generally, the computer system may determine a pose of the instrument 304 and / or calibration parameters of the camera. The computer system then determines a position and orientation of the grid 402 based on the pose of the instrument 304 and / or the calibration parameters of the camera. For example, the computer system may determine, from the pose of the instrument 304, a position and orientation of the instrument 304. The computer system may then position the grid 402 on the instrument 304 (e.g., such that a gridline of the grid 402 passes through a point on the instrument 304, such as a joint or tip of the instrument 304). The computer system may also rotate the grid 402 such that the grid 402 is aligned with the instrument 304 (e.g., such that a gridline of the grid 402 is aligned with the orientation of the instrument 304).
[0108] In some instances, the computer system may use the calibration parameters to determine the spacing between the gridlines of the grid 402. For example, the computer system may use the calibration parameters to determine a number of consecutive pixels in the image or video that show a particular unit distance of the grid 402. The computer system may then position consecutive gridlines of the grid 402 toAttorney Docket No. P07068-WO (163190)pass through the ends of the consecutive pixels. As an example, if the computer system determines from the calibration parameters that five consecutive pixels of the image or video show a unit distance of the grid 402, then the computer system may position consecutive gridlines of the grid 402 to pass through the first and fifth pixels of the five consecutive pixels. In this manner, the computer system positions, orients, and sizes the grid 402 to measure unit distances (e.g., centimeters, millimeters, etc.) in the surgical environment.
[0109] For clarity, Figure 11 B shows the grid 402 in the image or video. In many instances, the grid 402 is a virtual object that is not visible in the image or video. The computer system adds the grid 402 to the image or video, but the computer system does not present or display the grid 402 when presenting or displaying the image or video.
[0110] Figure 11C illustrates an example ruler 312 in a surgical environment. Generally, the computer system presents or displays the ruler 312 in the image or video of the surgical environment. The ruler 312 may extend along the instrument 304 starting from a point along the instrument 304. In the example of Figure 11 C, the ruler 312 is a linear ruler that extends along the instrument 304 starting from a joint 1102 of the instrument 304. In some instances, the ruler 312 may extend from another point on the instrument 304, such as the tip 1104 of the instrument 304. The ruler 312 is considered to be extending from the point on the instrument 304 even though the ruler 312 is positioned slightly above or below the instrument 304. In other words, the ruler 312 is considered to be extending from the point on the instrument 304 if the starting point for the ruler 312 is near the instrument 304 and aligned with the point on the instrument 304.
[0111] The ruler 312 extends along the instrument 304 such that the ruler 312 is aligned with the orientation of the instrument 304. In the example of Figure 11 C, the ruler 312 extends from the joint 1102 of the instrument 304 and towards an end or tip 1104 of the instrument 304. The ruler 312 may extend past the end or tip 1104 of the instrument 304.
[0112] As discussed previously, the ruler 312 may be a portion of a grid (e.g., the grid 402 shown in Figure 11 B) that the computer system added to the image or video.Attorney Docket No. P07068-WO (163190)The computer system may determine the portion of the grid that extends from the point on the instrument and that aligns with the instrument. The computer system may then present or display the portion of the grid, which is the ruler 312. As seen in Figure 11 C, the ruler 312 includes markings 1106 that indicate the unit distance measured by the ruler 312 (e.g., centimeters, millimeters, etc.). The markings 1106 may be the gridlines in the portion of the grid that is presented or displayed as the ruler 312.
[0113] The operator may move the instrument 304, and the computer system may move the ruler 312 such that the relative position and orientation between the ruler 312 and the instrument 304 are maintained. As a result, the operator may move the instrument 304 by portions of the anatomical structure 306 and then use the ruler 312 to measure distances on the surface of the anatomical structure 306.
[0114] Figure 11 D illustrates an example ruler 312 in a surgical environment. As explained previously, the ruler 312 may be a linear ruler or a planar ruler. In the example of Figure 11D, the ruler 312 is a planar ruler that extends from the point on the instrument 304 and along the instrument 304. The ruler 312 may be positioned within the plane of the instrument 304. The ruler 312 includes markings 1120 that indicate the unit distance measured by the ruler 312.
[0115] Similar to previous examples, the computer systems presents or displays the ruler 312 by presenting or displaying a portion of the grid that lies within the plane of the instrument 304. The gridlines within this portion of the grid form the markings 1120 of the ruler 312. Unlike the linear ruler, however, the planar ruler may be used to measure distances in two different axes. The operator man move the instrument 304, and the computer system may move the ruler 312 such that the relative position and orientation between the ruler 312 and the instrument 304 are maintained. As a result, the operator may move the instrument 304 by portions of the anatomical structure 306 and then use the ruler 312 to measure distances on the surface of the anatomical structure 306.
[0116] Figure 11 E illustrates an example ruler 312 in a surgical environment. As seen in Figure 11 E, the instrument 304 has been moved in the surgical environment. Likewise, the computer system has moved the ruler 312 such that the relative position and orientation between the instrument 304 and the ruler 312 are maintained. TheAttorney Docket No. P07068-WO (163190)ruler 312 continues to extend from the point on the instrument 304 in a direction that aligns with the instrument 304. As the instrument 304 continues to move, the computer system may continue to update the position and orientation of the ruler 312.
[0117] Figures 12A and 12B illustrate example rulers in a surgical environment. Generally, Figures 12A and 12B show the computer system changing the graduations on a ruler 312. As seen in Figure 12A, the computer system presents or displays the ruler 312 with the markings 1202. In Figure 12B, the view has changed. For example, the distance between the instrument 304 and the camera may have been reduced. As another example, the zoom level of the camera may have been increased. In response to the view change, the computer system changes the graduations on the ruler 312 such that the ruler 312 includes the markings 1204. The spacing between the markings 1204 is smaller than the spacing between the markings 1202 in the view of Figure 12A. As a result, the ruler 312 in Figure 12B measures a smaller unit distance than the ruler 312 in Figure 12A.
[0118] Figure 13 illustrates an example ruler 312 in a surgical environment. Generally, Figure 13 shows the computer system presenting or displaying the ruler 312 during a disassociated mode when the ruler 312 is untethered from an instrument in the surgical environment. In the example of Figure 13, the instrument is not in the field of view of the camera. The computer system instead tethers the ruler 312 to the camera such that the ruler 312 is presented or displayed a certain distance from the camera. Additionally, the ruler 312 may be a planar ruler, and the normal of the plane is aligned with the view axis of the camera. As the camera moves in the surgical environment, the computer system moves the ruler 312 to maintain the relative position and orientation between the ruler 312 and the camera. As a result, the operator may move the camera to position the ruler 312 by a surface of the anatomical structure 306 to measure distances on the surface of the anatomical structure 306.
[0119] Figure 14A illustrates an example ruler 312 in a surgical environment. As seen in Figure 14A, the ruler 312 is a planar ruler that is positioned in the plane of the instrument 304. Additionally, a portion of the ruler 312 extends into or beneath the surface of the anatomical structure 306. The computer system applies different notations 906 to distinguish the portions of the ruler 312 that are above the surface of the anatomical structure 306 and the portions of the ruler 312 that are beneath theAttorney Docket No. P07068-WO (163190)surface of the anatomical structure 306. In the example of Figure 14A, the computer system uses a notation 906A (e.g., solid lines) to indicate the portions of the ruler 312 that are above the surface of the anatomical structure 306, and the computer system uses a notation 906B (e.g., dashed lines) to indicate the portions of the ruler 312 that extend into or are beneath the surface of the anatomical structure 306. As the ruler 312 moves in the surgical environment, the computer system may continue to determine the portions of the ruler 312 that extend into or move beneath the surface of the anatomical structure 306 and change the notation 906 for those portions of the ruler 312.
[0120] Figure 14B illustrates an example ruler 312 in a surgical environment. In the example of Figure 14B, the ruler 312 is a linear ruler. The instrument 304 is holding an ultrasound probe or sensor 1402. When the instrument 304 maneuvers the ultrasound probe or sensor 1402 on the surface of the anatomical structure, the computer system receives an ultrasound image 908 from the ultrasound probe or sensor 1402. The ultrasound image 908 may project from the ultrasound probe or sensor 1402 and may show subsurface structures of the anatomical structure 306. The computer system may present or display the ultrasound image 908 and include in the ultrasound image 908 the portion of the ruler 312 that extends into or beneath the surface of the anatomical structure 306. The operator may then use the ruler 312 to measure distances in or on the subsurface structure.
[0121] Additionally, the example of Figure 14B shows that the computer system may orient the ruler 312 such that the ruler 312 extends from the instrument 304 (e.g., a point on the instrument 304) without aligning with the instrument 304. For example, in some instances, the ruler 312 may be directed at an angle relative to the instrument 304. As another example, the ruler 312 may be orthogonal to the instrument 304.
[0122] Figure 15 is a flowchart of an example method 1500 for providing a ruler. The computer system may perform the method 1500. By performing the method 1500, the computer system presents or displays a ruler that is aligned with an instrument in the surgical environment.
[0123] At 1502, the computer system receives an image captured or generated by a camera in the surgical environment. The image may be a frame of a video capturedAttorney Docket No. P07068-WO (163190)or generated by the camera. The image may show an anatomical structure in the surgical environment and an instrument in the surgical environment.
[0124] At 1504, the computer system determines a pose of the instrument in the surgical environment. For example, the computer system may use kinematics data that tracks the position and / or movement of the instrument in the surgical environment to determine the pose of the instrument. The pose may indicate the position and orientation of the instrument in the surgical environment.
[0125] At 1506, the computer system displays a ruler. The ruler may extend from a point on the instrument (e.g., from a joint or tip of the instrument), and the ruler may align with the orientation of the instrument. The computer system may generate the ruler by positioning a grid (e.g., a 3D grid) on the instrument and by rotating the grid such that the grid aligns with the instrument. The grid may have gridlines that are spaced according to the unit distance measured by the ruler. The computer system may then present or display a portion of the grid that extends along the instrument. This portion of the grid is the ruler.
[0126] As the operator maneuvers the instrument, the computer system may update the position and orientation of the ruler such that the relative position and orientation between the ruler and the instrument are maintained. The operator may then position the instrument by the anatomical structure and use the ruler to measure distances on the anatomical structure.
[0127] This description and the accompanying drawings that illustrate aspects, embodiments, or modules should not be taken as limiting. Various mechanical, compositional, structural, electrical, and operational changes may be made without departing from the spirit and scope of this description and the claims. In some instances, well-known circuits, structures, or techniques have not been shown or described in detail in order not to obscure other features. Like numbers in two or more figures represent the same or similar elements.
[0128] In this description, specific details are set forth describing some embodiments consistent with the present disclosure. Numerous specific details are set forth in order to provide a thorough understanding of the embodiments. It will be apparent, however, to one skilled in the art that some embodiments may be practicedAttorney Docket No. P07068-WO (163190)without some or all of these specific details. The specific embodiments disclosed herein are meant to be illustrative but not limiting. One skilled in the art may realize other elements that, although not specifically described here, are within the scope and the spirit of this disclosure. In addition, to avoid unnecessary repetition, one or more features shown and described in association with one embodiment may be incorporated into other embodiments unless specifically described otherwise or if the one or more features would make an embodiment non-functional.
[0129] Further, the terminology in this description is not intended to be limiting. For example, spatially relative terms-such as “beneath”, “below”, “lower”, “above”, “upper”, “proximal”, “distal”, and the like may be used to describe one element’s or feature’s relationship to another element or feature as illustrated in the figures. These spatially relative terms are intended to encompass different positions (i.e., locations) and orientations (i.e., rotational placements) of the elements or their operation in addition to the position and orientation shown in the figures. For example, if the content of one of the figures is turned over, elements described as “below” or “beneath” other elements or features would then be “above” or “over” the other elements or features. Thus, the exemplary term “below” can encompass both positions and orientations of above and below. A device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein interpreted accordingly. Likewise, descriptions of movement along and around various axes include various special element positions and orientations. In addition, the singular forms “a”, “an”, and “the” are intended to include the plural forms as well, unless the context indicates otherwise. And, the terms “comprises”, “comprising”, “includes”, and the like specify the presence of stated features, steps, operations, elements, and / or components but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and / or groups. Components described as coupled may be electrically or mechanically directly coupled, or they may be indirectly coupled via one or more intermediate components.
[0130] Elements described in detail with reference to one embodiment, or module may, whenever practical, be included in other embodiments, or modules in which they are not specifically shown or described. For example, if an element is described in detail with reference to one embodiment and is not described with reference to aAttorney Docket No. P07068-WO (163190)second embodiment, the element may nevertheless be claimed as included in the second embodiment. Thus, to avoid unnecessary repetition in the following description, one or more elements shown and described in association with one embodiment, or application may be incorporated into other embodiments, or aspects unless specifically described otherwise, unless the one or more elements would make an embodiment or embodiments non-functional, or unless two or more of the elements provide conflicting functions.
[0131] In some instances, well known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the embodiments.
[0132] This disclosure describes various devices, elements, and portions of computer-assisted devices and elements in terms of their state in three-dimensional space. As used herein, the term “position” refers to the location of an element or a portion of an element in a three-dimensional space (e.g., three degrees of translational freedom along Cartesian x-, y-, and z-coordinates). As used herein, the term “orientation” refers to the rotational placement of an element or a portion of an element (three degrees of rotational freedom - e.g., roll, pitch, and yaw). As used herein, the term “shape” refers to a set positions or orientations measured along an element. As used herein, and for a device with repositionable arms, the term “proximal” refers to a direction toward the base of the computer-assisted device along its kinematic chain and “distal” refers to a direction away from the base along the kinematic chain.
[0133] Aspects of this disclosure are described in reference to computer-assisted systems and devices, which may include systems and devices that are teleoperated, remote-controlled, autonomous, semiautonomous, robotic, and / or the like. Further, aspects of this disclosure are described in terms of an embodiment using a medical system, such as the DA VINCI SURGICAL SYSTEM or ION SYSTEM commercialized by Intuitive Surgical, Inc. of Sunnyvale, California. Knowledgeable persons will understand, however, that aspects disclosed herein may be embodied and implemented in various ways, including robotic and, if applicable, non-robotic embodiments. Techniques described with reference to surgical instruments and surgical methods may be used in other contexts. Thus, the instruments, systems, and methods described herein may be used for humans, animals, portions of human orAttorney Docket No. P07068-WO (163190)animal anatomy, industrial systems, general robotic, or teleoperational systems. As further examples, the instruments, systems, and methods described herein may be used for non-medical purposes including industrial uses, general robotic uses, sensing or manipulating non-tissue work pieces, cosmetic improvements, imaging of human or animal anatomy, gathering data from human or animal anatomy, setting up or taking down systems, training medical or non-medical personnel, and / or the like. Additional example applications include use for procedures on tissue removed from human or animal anatomies (with or without return to a human or animal anatomy) and for procedures on human or animal cadavers. Further, these techniques can also be used for medical treatment or diagnosis procedures that include, or do not include, surgical aspects.
[0134] Although illustrative embodiments have been shown and described, a wide range of modification, change and substitution is contemplated in the foregoing disclosure and in some instances, some features of the embodiments may be employed without a corresponding use of other features. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. Thus, the scope of the disclosure should be limited only by the following claims, and it is appropriate that the claims be construed broadly and, in a manner, consistent with the scope of the embodiments disclosed herein.
Claims
Attorney Docket No. P07068-WO (163190)WHAT IS CLAIMED IS:
1. A computer system for implementing a digital ruler, the computer system comprising:one or more memories; andone or more processors communicatively coupled to the one or more memories, the one or more processors configured to, individually or collectively, perform an operation comprising:receiving, from a stereo camera, an image showing a medical instrument;determining a pose of the medical instrument; anddisplaying, based on calibration parameters of the stereo camera or the pose of the medical instrument, a ruler that extends based on a point on the medical instrument.
2. The computer system of Claim 1 , wherein displaying the ruler comprises: determining, based on the calibration parameters of the stereo camera, a three-dimensional grid in a field of view of the stereo camera; andmoving the three-dimensional grid such that the three-dimensional grid aligns with the pose of the medical instrument.
3. The computer system of Claim 2, wherein displaying the ruler further comprises displaying a portion of the three-dimensional grid that extends based on the point on the medical instrument and that aligns with the medical instrument.
4. The computer system of Claim 1, wherein the calibration parameters comprise an intrinsic parameter and an extrinsic parameter of the stereo camera.
5. The computer system of Claim 1, wherein the operation further comprises determining, based on the calibration parameters and the pose of the medical instrument, that a distance between the stereo camera and the medical instrument falls below a threshold and wherein displaying the ruler is based on determining that the distance falls below the threshold.Attorney Docket No. P07068-WO (163190)6. The computer system of Claim 5, wherein the operation further comprises determining the threshold based on an accuracy of the calibration parameters.
7. The computer system of Claim 1 , wherein displaying the ruler is based on user input.
8. The computer system of Claim 1 , wherein the ruler is a linear ruler.
9. The computer system of Claim 1 , wherein the ruler is a planar ruler.
10. The computer system of Claim 1, wherein the operation further comprises:detecting a movement of the medical instrument; andmoving the ruler based on the movement of the medical instrument.
11. The computer system of Claim 1, wherein the point on the medical instrument is at least one of a joint of the medical instrument or a tip of the medical instrument.
12. The computer system of Claim 1, wherein the operation further comprises adjusting, based on at least one of a distance between the stereo camera and the medical instrument or a zoom level of the stereo camera, a graduation of the ruler.
13. The computer system of Claim 1, wherein the operation further comprises, during a disassociated mode:moving the ruler based on the calibration parameters of the stereo camera; and displaying the ruler a predetermined distance from the stereo camera.
14. The computer system of Claim 13, wherein the operation further comprises:detecting a movement of the stereo camera; andmoving the ruler based on the movement of the stereo camera.Attorney Docket No. P07068-WO (163190)15. The computer system of Claim 13, wherein the operation further comprises at least one of tilting or rotating the ruler based on at least one of user input or an anatomical structure in the image.
16. The computer system of Claim 13, wherein the ruler has a normal that aligns with a view axis of the stereo camera.
17. The computer system of Claim 1, wherein the ruler comprises a first portion and a second portion, wherein the operation further comprises determining, based on a depth map for an anatomical structure in the image, that the first portion extends into the anatomical structure, and wherein displaying the ruler comprises displaying the first portion using a different notation than the second portion.
18. The computer system of Claim 17, wherein the operation further comprises positioning the first portion on an ultrasound image of the anatomical structure.
19. The computer system of Claim 18, wherein the operation further comprises receiving the ultrasound image from an ultrasound probe positioned by the anatomical structure.
20. The computer system of Claim 17, wherein the operation further comprises:detecting a movement of the medical instrument that causes a third portion of the second portion of the ruler to extend into the anatomical structure; and adjusting the third portion such that the third portion is displayed using the different notation.
21. The computer system of Claim 1, wherein the ruler aligns with the medical instrument.
22. A method for implementing a digital ruler, the method comprising: receiving, from a stereo camera, an image showing a medical instrument; determining a pose of the medical instrument; andAttorney Docket No. P07068-WO (163190)displaying, based on calibration parameters of the stereo camera or the pose of the medical instrument, a ruler that extends based on a point on the medical instrument and that aligns with the medical instrument.
23. The method of Claim 22, wherein displaying the ruler comprises: determining, based on the calibration parameters of the stereo camera, a three-dimensional grid in a field of view of the stereo camera; andmoving the three-dimensional grid such that the three-dimensional grid aligns with the pose of the medical instrument.
24. The method of Claim 23, wherein displaying the ruler further comprises displaying a portion of the three-dimensional grid that extends based on the point on the medical instrument and that aligns with the medical instrument.
25. The method of Claim 22, wherein the calibration parameters comprise an intrinsic parameter and an extrinsic parameter of the stereo camera.
26. The method of Claim 22, further comprising determining, based on the calibration parameters and the pose of the medical instrument, that a distance between the stereo camera and the medical instrument falls below a threshold and wherein displaying the ruler is based on determining that the distance falls below the threshold.
27. The method of Claim 26, further comprising determining the threshold based on an accuracy of the calibration parameters.
28. The method of Claim 22, wherein displaying the ruler is based on user input.
29. The method of Claim 22, wherein the ruler is a linear ruler.
30. The method of Claim 22, wherein the ruler is a planar ruler.
31. The method of Claim 22, further comprising:detecting a movement of the medical instrument; andmoving the ruler based on the movement of the medical instrument.Attorney Docket No. P07068-WO (163190)32. The method of Claim 22, wherein the point on the medical instrument is at least one of a joint of the medical instrument or a tip of the medical instrument.
33. The method of Claim 22, further comprising adjusting, based on at least one of a distance between the stereo camera and the medical instrument or a zoom level of the stereo camera, a graduation of the ruler.
34. The method of Claim 22, further comprising, during a disassociated mode:moving the ruler based on the calibration parameters of the stereo camera; and displaying the ruler a predetermined distance from the stereo camera.
35. The method of Claim 34, further comprising:detecting a movement of the stereo camera; andmoving the ruler based on the movement of the stereo camera.
36. The method of Claim 34, further comprising at least one of tilting or rotating the ruler based on at least one of user input or an anatomical structure in the image.
37. The method of Claim 34, wherein the ruler has a normal that aligns with a view axis of the stereo camera.
38. The method of Claim 22, wherein the ruler comprises a first portion and a second portion, further comprising determining, based on a depth map for an anatomical structure in the image, that the first portion extends into the anatomical structure, and wherein displaying the ruler comprises displaying the first portion using a different notation than the second portion.
39. The method of Claim 38, further comprising positioning the first portion on an ultrasound image of the anatomical structure.
40. The method of Claim 39, further comprising receiving the ultrasound image from an ultrasound probe positioned by the anatomical structure.
41. The method of Claim 38, further comprising:Attorney Docket No. P07068-WO (163190)detecting a movement of the medical instrument that causes a third portion of the second portion of the ruler to extend into the anatomical structure; and adjusting the third portion such that the third portion is displayed using the different notation.
42. A non-transitory machine-readable medium storing instructions for implementing a digital ruler that, when executed by one or more processors, cause the one or more processors to, individually or collectively:perform the method of any of Claims 22 through 41.
