WO2022156569A1 - Surgical tracking system and control method thereof - Google Patents

Surgical tracking system and control method thereof Download PDF

Info

Publication number
WO2022156569A1
WO2022156569A1 PCT/CN2022/071505 CN2022071505W WO2022156569A1 WO 2022156569 A1 WO2022156569 A1 WO 2022156569A1 CN 2022071505 W CN2022071505 W CN 2022071505W WO 2022156569 A1 WO2022156569 A1 WO 2022156569A1
Authority
WO
WIPO (PCT)
Prior art keywords
marker
tracking
ray
camera
position data
Prior art date
Application number
PCT/CN2022/071505
Other languages
French (fr)
Chinese (zh)
Inventor
毛佳炜
袁进强
Original Assignee
深圳市奥昇医疗科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市奥昇医疗科技有限责任公司 filed Critical 深圳市奥昇医疗科技有限责任公司
Publication of WO2022156569A1 publication Critical patent/WO2022156569A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B90/00Instruments, implements or accessories specially adapted for surgery or diagnosis and not covered by any of the groups A61B1/00 - A61B50/00, e.g. for luxation treatment or for protecting wound edges
    • A61B90/90Identification means for patients or instruments, e.g. tags
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B50/00Containers, covers, furniture or holders specially adapted for surgical or diagnostic appliances or instruments, e.g. sterile covers
    • A61B50/20Holders specially adapted for surgical or diagnostic appliances or instruments
    • A61B50/24Stands

Definitions

  • the present application relates to the technical field of surgical navigation, for example, to a surgical tracking system and a control method thereof.
  • the infrared camera stereo tracking technology is a commonly used technical means.
  • the infrared camera can accurately track the spatial position and angle of the surgical instrument by tracking at least three markers on the surgical instrument.
  • the optical tracking scheme requires that there must be no occlusion between the marker and the camera. If the distance between the camera and the marker is blocked by other objects, or when part of the marker on the surgical instrument is blocked due to rotation, the infrared camera stereo tracking system cannot accurately obtain the position information of the surgical instrument. Therefore, during the operation, the surgeon must always pay attention to the occlusion of the surgical instruments, which limits the flexibility of the operation and increases the risk of the operation.
  • the present application provides a surgical tracking system and a control method thereof, so as to solve the problem that markers are occluded during the surgical tracking process, enhance the tracking accuracy, improve the flexibility of the surgery and reduce the surgical risk.
  • the present application provides a surgical tracking system, the system includes: a tracking object, a controller, a marker and at least two camera devices, the at least two camera devices and the tracking object are both connected in communication with the controller; in,
  • the at least two camera devices are respectively fixed on the fixing device in the surgical tracking system through a camera bracket, the marker is mounted on the tracking object, and the marker is within the camera field of view of each camera device ;
  • the tracking object is provided with a state adjustment device configured to adjust the marking state of the marker
  • the controller is configured to control the state adjustment device to adjust the marking state of the marker based on the marker images collected by the at least two camera devices respectively.
  • the present application also provides a control method for a surgical tracking system, the method comprising:
  • the conversion error data corresponding to the marker is determined, and based on the conversion error data, the state adjustment device in the surgical tracking system is controlled to adjust the marker The marking state of the object; wherein, the local position data and the spatial position data are used to represent the position data of the marker in the tracking object coordinate system and the position in the world coordinate system of the surgical tracking system, respectively. data;
  • the spatial pose of the tracking object is determined.
  • the present application also provides a control device for a surgical tracking system, the device comprising:
  • the spatial position data determination module is configured to acquire at least two marker images respectively collected by at least two camera devices in the surgery tracking system, and determine the marker image in the surgery tracking system based on the at least two marker images. Spatial location data of markers;
  • the marker state adjustment module is configured to determine the conversion error data corresponding to the marker based on the local position data and the spatial position data of the marker, and control the operation tracking system based on the conversion error data.
  • the state adjusting device adjusts the marking state of the marker; wherein, the local position data and the spatial position data are respectively used to represent the position data and Position data in the world coordinate system;
  • the spatial pose determination module is configured to determine the spatial pose of the tracking object based on the adjusted marker image corresponding to the adjusted marker.
  • the present application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to execute the above-mentioned control method of the surgical tracking system.
  • FIG. 1 is a schematic structural diagram of a surgical tracking system provided in Embodiment 1 of the present application.
  • FIG. 2 is a schematic structural diagram of another surgical tracking system provided in Embodiment 1 of the present application.
  • FIG. 3A is a schematic structural diagram of a surgical instrument provided with an active marker provided in Embodiment 2 of the present application;
  • FIG. 3B is a schematic structural diagram of a surgical instrument equipped with a reflective marker according to Embodiment 2 of the present application;
  • FIG. 4A is a schematic structural diagram of a surgical tracking system including a profiler according to Embodiment 2 of the present application;
  • FIG. 4B is a schematic structural diagram of a profiler provided in Embodiment 2 of the present application.
  • 5A is a schematic structural diagram of a remote controller equipped with an active marker according to Embodiment 3 of the present application.
  • 5B is a schematic structural diagram of a remote controller provided with a reflective marker provided in Embodiment 3 of the present application;
  • FIG. 6 is a flowchart of a control method of a surgical tracking system provided in Embodiment 4 of the present application.
  • FIG. 7 is a schematic diagram of a tracking ray provided in Embodiment 4 of the present application.
  • FIG. 8 is a flowchart of a control method of a surgical tracking system provided in Embodiment 5 of the present application.
  • FIG. 9 is a schematic diagram of an angle between a tracking ray and a camera central axis provided by Embodiment 5 of the present application.
  • FIG. 10 is a schematic diagram of an angle between a tracking ray and a central axis of a marker according to Embodiment 5 of the present application;
  • FIG. 11 is a flowchart of a control method of a surgical tracking system provided in Embodiment 6 of the present application.
  • FIG. 12 is a flowchart of another control method of a surgical tracking system provided by Embodiment 6 of the present application.
  • FIG. 13 is a schematic diagram of a control device of a surgical tracking system according to Embodiment 7 of the present application.
  • FIG. 1 is a schematic structural diagram of a surgical tracking system provided in Embodiment 1 of the present application. This embodiment can be applied to the situation of tracking and positioning a tracking object during surgery.
  • the system includes: a tracking object 20, a controller, a marker 21 and at least two camera devices 30, and the at least two camera devices 30, the tracking object 20 and the controller are communicatively connected; wherein, the at least two camera devices 30 are respectively connected by The camera bracket 31 is fixed on the fixing device in the surgical tracking system, the marker 21 is installed on the tracking object 20, and the marker 21 is within the camera field of view of each camera device 30; the tracking object 20 is provided with an adjustable marker 21 The state adjustment device for the marking state; the controller is configured to control the state adjustment device to adjust the current marking state of the marker 21 based on the marker images collected by the at least two camera devices 30 respectively.
  • the state adjusting device is not shown in FIG. 1 , the state adjusting device may be arranged inside or on the surface of the tracking object 20 , and the disposition position of the state adjusting device will be explained in the following embodiments.
  • the state adjustment device may be configured to adjust the switch state and/or the pose state of the marker 21, wherein the pose state includes a position state and/or an angle state, and the pose state is used to describe the relative position of the marker 21.
  • Pose data for tracking the object 20 Exemplarily, when it is detected that the marker 21 corresponding to the marker image is blocked or the tracking quality is poor, the control state adjusting device adjusts the current marker state of the marker 21 until the marker corresponding to the collected marker image is detected. When the object 21 is not blocked and the tracking quality is high, the adjustment operation is completed.
  • the fixture in the surgical tracking system may be a ceiling, a camera fixture, or a lighting fixture.
  • the camera device 30 is fixed on the illumination device 10 in the surgical tracking system through the camera bracket 31 .
  • the camera devices 30 are dispersedly installed on the lighting base 11 of the lighting device 10 , so that the camera field of view can cover the entire tracking area from different directions.
  • the tracking area includes a movable area of the tracking object 20 .
  • the lighting base 11 is disposed on the lighting device 10 through a rotatable assembly.
  • the lighting base 11 is rotatable relative to the lighting device 10 .
  • a moving handle is fixed on the lighting base 11 , and the user can control the lighting base 11 to rotate by moving the handle.
  • the lighting base 11 is connected to one end of the lighting bracket 12, and the other end of the lighting bracket 12 is connected to a fixing device.
  • the fixing device may be a ceiling or a lighting fixing table.
  • the lighting base 11 can be rotated relative to the lighting device 10 and the lighting bracket 12 .
  • a rotatable and/or retractable joint assembly 311 is disposed on each camera bracket 31 , and an encoder for encoding the position of the camera device 30 is disposed in the joint assembly 311 .
  • the position of the camera device 30 fixed on the camera support 31 can be changed by controlling the joint assembly 311 on the camera support 31 to rotate and/or extend and retract.
  • the number of markers 21 is at least three.
  • the six-degree-of-freedom information of the tracking object 20 can be determined based on the spatial position data of the at least three markers 21 , and the six-degree-of-freedom information includes coordinate degrees of freedom on three coordinate axes and rotational degrees of freedom around the three coordinate axes.
  • Three markers 21 are attached to the tracking object 20 shown in FIG. 1 .
  • the tracking object 20 includes at least one of a surgical instrument, a remote control, and a profiler.
  • exemplary surgical instruments include, but are not limited to, puncture needles, cutting knives, surgical scissors, radiofrequency ablation needles, ultrasonic probes, and the like.
  • the profiler may be a laser profiler, which is configured to measure the profile data of the measured object in the target area.
  • the surgical tracking system further includes a robot 40 , an operating table 50 , and a display 60 And computer 70, for example, the controller in the surgical tracking system may be located in computer 70.
  • the robot 40 moves with the remote controller 201 .
  • the function and type of the robot 40 are not limited here.
  • the tracking object 20 is further provided with an indicator, and the indicator includes an indicator light and/or a sound player.
  • the indicator includes an indicator light
  • the indicator light can be set to emit light waves of different colors, and the light waves of different colors can represent different prompt information.
  • the indicator includes a sound player
  • the sound player may be arranged to emit sound waves to convey the prompt information.
  • the indicator on the tracking object 20 is turned on during the process of the state adjustment device adjusting the current marking state of the marker 21 .
  • the state adjustment device can be used to adjust the marked state of the marker.
  • the marked state of the occluded marker solves the problem that the marker is occluded during the tracking process, improves the flexibility of surgery and reduces the risk of surgery.
  • markers are mounted on the tracked object through a marker holder, and the markers include active markers and/or reflective markers.
  • FIG. 3A is a schematic structural diagram of a surgical instrument provided with an active marker provided in the second embodiment of the present application.
  • the marker holder 23 shown in FIG. 3A is cylindrical.
  • the marker holder 23 can also be a polygon or a circle.
  • the shape of the marker holder 23 is not limited here.
  • the active marker 211 may be a light-emitting diode that emits light of a specific wavelength through external power supply. Wherein, for example, the specific wavelength light can be infrared light.
  • the marker holder 23 has a built-in battery, which is configured to supply power to the active marker 211 .
  • the surgical instrument 202 shown in FIG. 3A may be a puncture needle.
  • the active marker 211 is circumferentially mounted on the marker holder 23 , and the surgical instrument 202 is further provided with an indicator 22 and a mounting joint 24 , wherein the mounting joint 24 is configured to connect the marker holder 23 and the surgical instrument 202 .
  • the state adjustment device when the marker 21 includes an active marker 211, the state adjustment device is disposed in the marker holder 23, and the state adjustment device includes a first switch device configured to control the switch state of the marker. The first switch device controls the on or off state of the active marker 211 by controlling the power supply state of the built-in battery.
  • the state adjustment device is a wireless device suitable for passive surgical instruments 202, such as puncture needles and cutting knives.
  • the state adjustment device is a wired device, and the state adjustment device is powered by a cable, which is suitable for active surgical instruments 202, such as radiofrequency ablation needles and ultrasonic probes.
  • the switch state of the active marker 211 is adjusted by the state adjustment device. For example, when the marker A in the active marker 211 is blocked, the marker A is turned off and the marker B is turned on through the state adjustment device.
  • FIG. 3B is a schematic structural diagram of a surgical instrument equipped with a reflective marker according to Embodiment 2 of the present application.
  • the marker 21 includes an active marker 211 and/or a reflective marker 212
  • the marker holder 23 is mounted on the surgical instrument 202 by a state adjustment device 25, which includes a rotatable The actuator, the state adjusting device 25 is provided with an encoder arranged to encode the position of the marker holder 23 .
  • the reflective marker 212 is a marker with a reflective material, for example, the reflective marker 212 may be a marker ball with a reflective material.
  • the posture state of the marker holder 23 is adjusted by the state adjusting device 25 to realize the adjustment of the active marker 211 on the marker holder 23 and/or the pose state of the reflective marker 212 relative to the tracking object 20 .
  • the actuator may be a servo motor, a stepper motor or an encoder.
  • the actuator is responsive to manual rotation.
  • the surgical instrument shown in FIG. 3B is further provided with a mechanical fixing seat 26 , which is configured to connect the state adjusting device 25 and the surgical instrument 202 .
  • FIG. 4A is a schematic structural diagram of a surgical tracking system including a profiler according to Embodiment 2 of the present application.
  • the profilometer 203 is placed in the acquisition area of the camera device 30 , and the surgical tracking system further includes a contour object 80 , and the right side of FIG. 4A is the contour image 801 collected by the profilometer 203 .
  • FIG. 4B is a schematic structural diagram of a profiler provided in Embodiment 2 of the present application.
  • the marker 21 is mounted on the profiler main body 2031 of the profiler 203 through the marker holder 23 .
  • the marker 21 may be an active marker 211 and/or a reflective marker 212 .
  • the profiler 203 shown in FIG. 4B is a laser profiler, and the profiler 203 is provided with a laser 2032 configured for laser emission and laser reception.
  • the marker is installed on the tracking object through the marker bracket, and the tracking object is positioned by using the active marker and/or the reflective marker, which solves the problem that the marker is on the surgical instrument or profiler.
  • the installation problem of the surgical tracking system makes the surgical tracking system suitable for the application fields of surgical instruments and profilers, which expands the application scope of the surgical tracking system.
  • the tracking object includes a remote controller
  • the marker is installed on the remote controller through the control panel, and correspondingly, the state adjustment device is arranged on the control panel, and the marker includes an active marker and/or a reflective marker.
  • FIG. 5A is a schematic structural diagram of a remote controller equipped with an active marker according to Embodiment 3 of the present application. Active markers 211 on the remote control 201 shown in FIG. 5A are mounted on the control panel 27 in an array.
  • the state adjustment device 25 includes a second switch device configured to control the switch state of the marker, the second switch device including a switch button and/or a touch panel.
  • the state adjustment device 25 is arranged to control the open and closed state of the active marker 211 on the control panel 27 .
  • the number of the second switching device is at least one. For example, when the button “1" in the second switching device is activated, active marker A, active marker B and active marker C on the control panel 27 are turned on, when the second switching device button When "2" is triggered, active marker B, active marker C and active marker D on the control panel 27 are turned on.
  • the robot 40 will follow the remote controller 201 to move, when it is detected that the marker 21 corresponding to the marker image is blocked or the tracking quality is poor, or when the state adjusting device 25 adjusts the switch state of the marker 21 , or when the remote controller 201 is turned off, the robot 40 will immediately stop the current operation.
  • FIG. 5B is a schematic structural diagram of a remote controller equipped with a reflective marker according to Embodiment 3 of the present application.
  • the control panel 27 is provided with an intermediate connecting device 271 configured to connect with the reflective marker 212
  • the state adjustment device 25 includes an intermediate connecting device 271 configured to block The hollow plate 251 of the reflective marker 212 .
  • the left diagram in FIG. 5B shows a remote control 201 including an intermediate connection device 271 .
  • the intermediate connecting device 271 may be a screw, which is arranged on the control panel 27 in the form of an array.
  • the reflective marker 212 is a marker ball with internal threads, and the reflective marker 212 can be installed on the control panel 27 through the intermediate connecting device 271 according to requirements.
  • the advantage of this setting is that the distribution state of the reflective markers 212 on the remote controller 201 can be changed at any time.
  • the right diagram in FIG. 5B shows a remote control 201 including a hollow plate 251 .
  • a hollow plate 251 There are hollow areas and solid areas on the hollow plate 251 , so that the reflective markers 212 in the hollow areas can be tracked by the camera device 30 , while the reflective markers 212 in the solid areas cannot be tracked by the camera device 30 .
  • the number of reflective markers 212 in the hollow area is at least three.
  • the state adjustment device 25 includes at least one hollowed-out plate 251 , and the hollowed-out regions and the solid regions on different hollowed-out plates 251 are arranged at different positions.
  • the marker is installed on the tracking object through the control panel, and the tracking object is positioned by using an active marker and/or a reflective marker, which solves the installation problem of the marker on the remote controller.
  • the surgical tracking system is suitable for the application field of the remote control, and the scope of application of the surgical tracking system is expanded.
  • FIG. 6 is a flowchart of a control method of a surgical tracking system provided in Embodiment 4 of the present application. This embodiment is applicable to the situation of tracking and positioning the tracking object in the surgical process, and the method can be controlled by the surgical tracking system.
  • the device can be implemented by means of software and/or hardware, and the device can be configured in a surgical tracking system. It includes the following steps:
  • S410 Acquire at least two marker images separately collected by at least two camera devices, and determine spatial position data of the marker based on the at least two marker images.
  • the marker image is used to represent the image corresponding to at least one marker on the tracking object collected by the camera device, and the spatial position data is used to describe the position data of the marker in the world coordinate system.
  • determining the spatial position data of the marker based on at least two marker images includes: for each marker image, based on a marker center point corresponding to the marker in the marker image and a camera corresponding to the marker image The center point of the camera lens of the device determines the tracking ray corresponding to the image of the marker; for each marker, based on the tracking quality parameter of the tracking ray corresponding to the marker, determine at least two target tracking rays and each target tracking ray corresponding to The ray weight of the marker is determined based on the at least two target tracking rays and the ray weight corresponding to each target tracking ray to determine the spatial position data of the marker.
  • the marker center point is used to describe the center point of the marker in the marker image
  • the camera lens center point represents the center point of the camera lens on the camera device
  • the tracking ray is a line determined based on the marker center point and the camera lens center point.
  • the marker image includes marker center point A and marker center point B corresponding to marker A, marker B, and marker C respectively. and mark the center point C.
  • the tracking ray includes a tracking ray A, a tracking ray B, and a tracking ray C corresponding to the marker A, the marker B, and the marker C, respectively.
  • FIG. 7 is a schematic diagram of a tracking ray according to Embodiment 4 of the present application.
  • Fig. 7 takes a marker as an example, and Fig. 7 shows three camera devices.
  • the leftmost box represents the imaging unit of the camera device.
  • the collected marker image is imaged in the camera.
  • the dark black "X" on the camera imaging unit indicates the marker center point of the marker image.
  • the double circle on the right side of the box represents the camera lens of the camera device, and the orthogonal intersection of the two lines on the camera lens represents the center point of the camera lens of the camera device.
  • the lines connecting the three camera devices and the markers respectively represent tracing rays.
  • the tracking quality parameter may be used to evaluate at least one of the quality of the tracking ray, the quality of the marker image corresponding to the tracking ray, and the quality of the marker corresponding to the tracking ray.
  • a comprehensive quality parameter may be determined based on the multiple tracking quality parameters, and at least two target tracking rays and a ray weight corresponding to each target tracking ray may be determined based on the comprehensive quality parameter.
  • the tracing rays based on the tracing quality parameter Screen the tracing rays based on the tracing quality parameter or adjust the ray weights corresponding to the tracing rays.
  • the number of tracking rays determined based on the marker image is 3, which are respectively tracking ray A, tracking ray B, and tracking ray C, and the tracking quality parameter corresponding to tracking ray A is poor.
  • the tracking quality parameters include image quality, the angular quality of the tracking ray and the central axis of the camera, the stable value of the tracking ray, the error quality of the tracking ray and the marker, and the angular quality of the tracking ray and the central axis of the marker. at least one.
  • the tracking quality parameter includes the error quality of the tracking ray and the marker
  • the tracking quality parameter of the tracking ray corresponding to the marker based on the tracking quality parameter of the tracking ray corresponding to the marker, at least two target tracking rays and a target tracking ray corresponding to each target tracking ray are determined.
  • the ray weight includes: determining at least two target tracking rays and a ray weight corresponding to each target tracking ray based on the error quality between the tracking ray and the marker, so that the spatial position of the marker determined based on the target tracking ray and the ray weight is determined
  • the data satisfies the minimum error mass between the tracking ray and the marker; wherein, the error mass between the tracking ray and the marker is used to characterize the weighted sum of squared distances between the marker and at least two tracking rays.
  • the target tracking ray number i When the target tracking ray number i ⁇ 2, the target tracking ray with large error will be directly removed from the calculation.
  • the weighted distance sum of squares satisfies the formula: Among them, i represents the ith target tracking ray, wi represents the ray weight corresponding to the ith target tracking ray, and Dr i represents the distance between the coordinate point and the ith target tracking ray.
  • the local position data and the spatial position data are used to represent the position data of the marker in the tracking object coordinate system and the position data in the world coordinate system, respectively.
  • the local position data of the i-th marker in the tracking object coordinate system is recorded as
  • the spatial position data corresponding to the i-th marker at time t is recorded as
  • the conversion error data Dm i,t of the ith marker at time t can be obtained by summing the squares of the elements in E i ,t.
  • an optimized search algorithm is used to calculate Minimize ⁇ i Dm i,t . Since each marker has the same weight in the calculation of the spatial pose of the tracked object, when the spatial position data of one of the markers deviates far from the actual marker position data, it will still be included in the calculation, resulting in the subsequent tracking of the object. Spatial pose distortion.
  • optimization calculations are employed make minimum. Among them, w i represents the weight corresponding to the i-th marker. The weight may be the same as the ray weight corresponding to the target tracing ray. For markers with large errors, they are directly removed from the calculation.
  • controlling the state adjustment device to adjust the marking state of the marker includes: adjusting the marking state of the marker removed in the calculation process of the optimization search algorithm to the off state, and maintaining the marking state of the reserved marker in the open state; The actuator adjusts the local position data of the marker relative to the coordinate system of the tracked object.
  • the method further includes: determining a tracking quality evaluation result based on the tracking quality parameters corresponding to the at least two tracking rays respectively; if the tracking quality evaluation result does not meet the tracking quality evaluation standard, turning on the tracking quality Indicator to prompt the tracking quality evaluation result.
  • the tracking quality evaluation result is determined based on the parameter values and parameter weights of the tracking quality parameters corresponding to the at least two tracking rays respectively.
  • the tracking quality evaluation result may be a tracking quality score
  • the tracking quality evaluation standard may be a tracking quality score threshold. If the Tracking Quality Score is less than the Tracking Quality Score Threshold, an indicator on the tracked object is turned on, prompting the user that the procedure can be paused until the Tracking Quality Score is greater than or equal to the Tracking Quality Score Threshold.
  • the conversion error data corresponding to the adjusted marker is determined based on the adjusted marker image, and if the conversion error data is less than or equal to the preset error threshold, then based on the local position data and spatial position data of the adjusted marker, it is determined that the tracking object is in the world
  • the spatial pose in the coordinate system includes position data and angle data, wherein the angle data may be determined based on the spatial position relationship corresponding to the spatial position data of the at least three markers and the local position relationship corresponding to the local position data.
  • the spatial position relationship corresponding to the spatial position data of the three markers is a triangle parallel to the horizontal plane
  • the local position relationship corresponding to the local position data of the three markers is a triangle parallel to the tracking object
  • the tracking object The angle data is parallel to the horizontal plane; if the local positional relationship corresponding to the local position data of the three markers is a triangle perpendicular to the tracking object, the angle data of the tracking object is perpendicular to the horizontal plane.
  • the technical solution of this embodiment is to determine the conversion error data corresponding to the marker by using the spatial position data and local position data determined based on the image of the marker, and control the state adjustment device in the surgical tracking system to adjust the mark of the marker based on the conversion error data. It solves the problem that the marker is occluded during the tracking process, improves the flexibility of surgery and reduces the risk of surgery.
  • FIG. 8 is a flowchart of a control method of an operation tracking system provided in Embodiment 5 of the present application. The technical solution of this embodiment is described on the basis of the above-mentioned embodiment.
  • the tracking quality parameter includes at least one of image quality, angular quality between the tracking ray and the central axis of the camera, stable value of the tracking ray, error quality between the tracking ray and the marker, and angular quality between the tracking ray and the central axis of the marker.
  • S510 Acquire at least two marker images respectively collected by at least two camera devices.
  • For each marker image determine a tracking ray corresponding to the marker image based on the marker center point corresponding to the marker in the marker image and the center point of the camera lens of the camera device corresponding to the marker image.
  • For each marker determine at least two target tracking rays and a ray weight corresponding to each target tracking ray based on the tracking quality parameter of the tracking ray corresponding to the marker.
  • the method further includes: for each marker image, determining, for each marker image, based on at least one image parameter of image size, image brightness, and image roundness of the marker image, determining a marker based on the marker image. The image quality corresponding to the traced ray determined by the object image.
  • the shape of the marker image on the camera imaging unit is a circle. Since the tracking ray is determined based on the marker center point of the marker and the center point of the camera lens, the size and roundness of the marker image will affect the accuracy of the marker center point, which in turn affects the quality of the tracking ray.
  • the image quality is determined based on a size level, a brightness level, and a circularity level corresponding to the image size, the image brightness, and the image circularity, respectively.
  • the size range, brightness range and circularity range corresponding to different levels are different, and the size level corresponding to the marker image is determined according to the size range, brightness range and circularity range in which the image size, image brightness and image circularity are respectively located. Brightness level and roundness level.
  • the image quality can be used to evaluate the quality of the marker image. When the image quality is high, the tracking ray corresponding to the marker image is used as the target tracking ray or the ray weight of the tracking ray corresponding to the marker image is increased.
  • the method further includes: for each tracking ray, based on the included angle between the tracking ray and the central axis of the camera device corresponding to the tracking ray , which determines the angular quality of the traced ray to the camera's central axis.
  • FIG. 9 is a schematic diagram of an angle between a tracking ray and a central axis of a camera according to Embodiment 5 of the present application.
  • the tracking ray is a ray determined based on the center point of the marker and the center point of the camera lens.
  • the center axis of the camera device is a ray determined based on the center point of the camera imaging unit and the center of the camera lens.
  • " ⁇ " in Figure 9 represents the tracking ray and the camera lens.
  • the angle between the central axes of the device when the quality of the tracking ray and the central axis of the camera is relatively high, it means that the angle between the tracking ray and the central axis of the camera device is relatively small.
  • the angular quality between the tracking ray and the central axis of the camera is relatively low , it means that the angle between the tracking ray and the central axis of the camera device is relatively large.
  • FIG. 9 is a schematic diagram of an angle between a tracking ray and a
  • the method further includes: for each tracking ray, determining the number of state changes of the tracking ray within the second preset time length and/or the number of state changes corresponding to the tracking ray The number of fluctuations of the at least one tracking quality parameter other than the stable value of the tracking ray within the second preset time length, and the stable value of the tracking ray is determined based on the number of state changes and/or the number of fluctuations.
  • the imaging projections of multiple markers on the same camera device may overlap or the markers are occluded or out of the tracking range of the camera.
  • This happens which may lead to the disappearance of the tracing ray.
  • the repeated appearance and disappearance of the tracking rays will cause certain fluctuations in the determined pose data. Therefore, even if the actual position of the marker does not change, the disappearance of part of the tracking rays will have a certain impact on the spatial position data of the marker.
  • the number of state changes includes the number of occurrences and/or the number of disappearances, and the number of fluctuations is used to represent the number of times that the parameter change corresponding to the tracking quality parameter exceeds a preset change threshold.
  • the tracking quality parameter includes the stable value of the tracking ray and at least one other tracking quality parameter
  • the number of fluctuations of the at least one tracking quality parameter other than the stable value of the tracking ray within the second preset time length is determined.
  • other tracking quality parameters may be at least one of image quality, angular quality between the tracking ray and the central axis of the camera, error quality between the tracking ray and the marker, and angular quality between the tracking ray and the central axis of the marker.
  • the tracking quality parameter is image quality
  • the parameter values of the image quality determined within the second preset time length are 10, 9, 10.5, 9, and 9.5, respectively, and it is assumed that the preset change threshold is 1 , the number of fluctuations is 2.
  • the method further includes: for each tracking ray, based on the clip between the tracking ray and the central axis of the marker corresponding to the tracking ray Angle, which determines the angular quality of the tracing ray to the central axis of the marker.
  • FIG. 10 is a schematic diagram of the angle between the tracking ray and the central axis of the marker according to the fifth embodiment of the present application. " ⁇ " in Figure 10 represents the angle between the tracking ray and the central axis of the marker.
  • the method further includes acquiring the last spatial pose corresponding to the tracked object, and determining the last center of the marker based on the last spatial pose and local position data axis, to determine the angle between the current tracking ray and the last central axis of the marker, and to determine the angular quality of the tracking ray and the central axis of the marker. Since the surgical tracking system calculates the spatial pose of the tracked object more frequently, the error between the last central axis of the marker and the current central axis corresponding to the tracking ray is negligible.
  • S540 Determine the spatial position data of the marker based on the at least two target tracking rays and the ray weight corresponding to each target tracking ray.
  • S550 Determine the conversion error data corresponding to the marker based on the local position data and the spatial position data of the marker, and control the state adjustment device to adjust the marking state of the marker based on the conversion error data.
  • the tracking rays determined based on the marker image are screened or the weights are adjusted through various tracking quality parameters, so as to calculate the spatial position of the marker based on the determined target tracking rays and the ray weights corresponding to the target tracking rays It solves the problem of inaccurate calculation results of the surgical tracking system.
  • the space of the tracking object calculated based on the adjusted tracking rays and ray weights is improved. Pose accuracy.
  • FIG. 11 is a flowchart of a control method of a surgical tracking system provided in Embodiment 6 of the present application.
  • the technical solution of this embodiment is described on the basis of the above-mentioned embodiment.
  • the method further includes: acquiring spatial position data of a preset object, and determining an object distance between the preset object and the camera device based on the spatial position data and a camera position of a camera device corresponding to the preset object ; wherein, the preset object is a marker or a tracking object; and based on the object distance, the camera device corresponding to the object distance is controlled to perform focusing processing.
  • S610 Acquire at least two marker images separately collected by at least two camera devices, and determine spatial position data of the marker based on the at least two marker images.
  • S620 Determine the conversion error data corresponding to the marker based on the local position data and the spatial position data of the marker, and control the state adjustment device to adjust the marking state of the marker based on the conversion error data.
  • the method further includes: acquiring spatial position data corresponding to at least one marker determined within the first preset time length; for each marker, determining the corresponding spatial position data based on the marker The stability evaluation result of the marker, and based on the stability evaluation result, the marker weight corresponding to the marker is adjusted, and/or the state adjustment device is controlled to adjust the marker state of the marker.
  • the surgical tracking system calculates the spatial position data corresponding to each marker based on the preset frequency. Exemplarily, if the preset frequency is 100 Hz, then for the same marker, the surgical tracking system calculates 100 spatial position data within 1 second. .
  • the stability evaluation result of the marker is determined based on the statistical data volume of the spatial position data corresponding to the marker within the first preset time length and the standard data volume corresponding to the preset frequency of the surgical tracking system.
  • the stability evaluation result includes the absolute value or the proportional value of the difference between the statistical data volume and the standard data volume.
  • the first preset time length is 2 seconds and the preset frequency is 100 Hz
  • the standard data volume is 200 pieces.
  • the number of statistical data is 150
  • the absolute value of the difference between the two is 50
  • the ratio is 4/3 or 3/4.
  • the spatial pose corresponding to the tracking object within the first preset time length is obtained; the change frequency of the marker corresponding to the marker is determined based on the spatial position data corresponding to the marker, and the spatial pose corresponding to the tracking object is determined based on the The tracking object change frequency corresponding to the tracking object, and the stability evaluation result of the marker is determined based on the difference between the marker change frequency and the tracking object change frequency.
  • the number of changes corresponding to the marker is increased by 1. If the difference between the current spatial pose and the previous spatial pose is greater than the second preset difference threshold, the number of changes corresponding to the tracking object is increased by 1.
  • the marker change frequency is determined based on the number of changes corresponding to the marker and the first preset time length, and the change frequency of the tracked object is determined based on the number of changes corresponding to the tracking object and the first preset time length.
  • the preset object is a marker or a tracking object.
  • the spatial pose corresponding to the tracking object is calculated and obtained in S620, wherein the spatial pose includes spatial position data.
  • the focusing process is used to characterize the camera device by adjusting the object distance and the image distance, so that the collected image of the marker can be clearly imaged on the camera imaging unit.
  • the object distance u refers to the distance from the marker to the center point of the camera lens
  • the image distance v refers to the distance from the camera imaging unit to the center point of the camera lens.
  • the object distance may refer to the object distance.
  • the focal length f refers to the distance from the center point of the camera lens to the focus of the light when parallel light is incident.
  • the object distance and the image distance satisfy a one-dimensional function relationship, and the process of adjusting the distance (ie, the image distance) between the camera imaging unit and the camera lens can be understood as a focusing process.
  • the method further includes: acquiring profile data corresponding to the measured object scanned by the profiler; based on the relative position data between the profiler and the measured object and the profiler
  • the three-dimensional contour data corresponding to the measured object is obtained by performing three-dimensional reconstruction processing on the contour data.
  • the profile data scanned by the profiler is the profile data based on the profiler coordinate system, so the relative position of the profile data scanned by the profiler and the profiler is fixed, that is, the relative position data between the profiler and the measured object is fixed. .
  • the contour data in the profilometer coordinate system is converted into the world coordinate system, and the converted contours are analyzed.
  • the data is subjected to three-dimensional reconstruction processing to obtain the three-dimensional contour data of the measured object in the world coordinate system. This embodiment can be applied to preoperative three-dimensional image registration and/or intraoperative patient position registration.
  • FIG. 12 is a flowchart of another control method of an operation tracking system provided in Embodiment 6 of the present application.
  • a tracking object with multiple markers is placed in a common field of view of multiple camera devices, and at least one tracking ray corresponding to each marker is determined based on the marker images collected by the camera devices.
  • the ray weight corresponding to the tracking ray is adjusted and/or the determined markers are screened to obtain a value that is used as
  • the spatial coordinates corresponding to the multiple markers on the tracking object are calculated based on the target tracking ray and the ray weight corresponding to the target tracking ray.
  • the spatial coordinates corresponding to the marker calculated based on the target tracking ray and the ray weight corresponding to the target tracking ray minimize the error between the tracking ray and the marker.
  • the stability of the marker within the first preset time length is evaluated, and the marker weight corresponding to the marker is adjusted based on the stability evaluation result and/or the marker state used for calculation of the tracking object is adjusted.
  • the transformation matrix corresponding to the tracking object determines the transformation error data between the marker and the tracking object based on the transformation matrix, and adjust the marker weight and/or adjustment corresponding to the marker based on the transformation error data.
  • the central axis of the marker of the marker on the tracking object is determined based on the spatial pose of the tracking object, and based on the angle between the tracking ray and the central axis of the marker, the ray weight corresponding to the tracking ray is adjusted and/or the determined marker is adjusted. Screening is performed to obtain target tracking rays used for marker calculations.
  • the object distance between the marker or the tracking ray and the camera device is determined based on the spatial position data of the marker or the spatial pose of the tracking ray, and the camera device corresponding to the object distance is controlled to perform focusing processing based on the object distance, and The image of the marker corresponding to the marker is re-acquired based on the camera device after focusing processing.
  • the technical solution of this embodiment by calculating the distance between the marker or the tracking ray and the camera device, and adjusting the camera focal length of the camera device based on the distance, solves the problem that the calculation result of the surgical tracking system is inaccurate, and improves the accuracy of the marker image.
  • the image quality is improved, the tracking quality of the tracking ray determined based on the marker image is improved, and the accuracy of the calculated spatial pose of the tracking object is improved.
  • FIG. 13 is a schematic diagram of a control device of a surgical tracking system according to Embodiment 7 of the present application. This embodiment can be applied to the situation of tracking and positioning the tracking object during the operation, the device can be implemented by software and/or hardware, and the device can be configured in the operation tracking system.
  • the control device of the surgical tracking system includes: a spatial position data determination module 710 , a marker state adjustment module 720 and a spatial pose determination module 730 .
  • the spatial position data determination module 710 is configured to acquire at least two marker images respectively collected by at least two camera devices, and determine the spatial position data of the marker based on the at least two marker images;
  • the marker state adjustment module 720 is configured to Based on the local position data and spatial position data of the marker, the corresponding conversion error data of the marker is determined, and based on the conversion error data, the state adjusting device is controlled to adjust the marking state of the marker; wherein, the local position data and the spatial position data are respectively used for Characterize the position data of the marker under the tracking object coordinate system and the position data under the world coordinate system;
  • the spatial pose determination module 730 is set to determine the tracking in the surgical tracking system based on the adjusted marker image corresponding to the adjusted marker The spatial pose of the object.
  • the conversion error data corresponding to the marker is determined by using the spatial position data and local position data determined based on the image of the marker, and the state adjustment device in the surgical tracking system is controlled to adjust the mark of the marker based on the conversion error data. state, solves the problem of markers being occluded during the tracking process, improves the flexibility of surgery and reduces the risk of surgery.
  • the device also includes:
  • a marker stability evaluation module configured to obtain spatial position data corresponding to at least one marker determined within the first preset time length; for each marker, determine the stability of the marker based on the spatial position data corresponding to the marker The stability evaluation result, and based on the stability evaluation result, the marking weight corresponding to the marker is adjusted, and/or the state adjusting device is controlled to adjust the marking state of the marker.
  • the spatial position data determination module 710 includes:
  • a tracking ray determination unit configured to determine, for each marker image, a tracking ray corresponding to the marker image based on the marker center point corresponding to the marker and the camera lens center point of the camera device corresponding to the marker image in the marker image; a ray weight determination unit, configured to, for each marker, determine at least two target tracking rays and a ray weight corresponding to each target tracking ray based on the tracking quality parameter of the tracking ray corresponding to the marker; the spatial position data determining unit , which is set to determine the spatial position data of the marker based on at least two target tracking rays and a ray weight corresponding to each target tracking ray.
  • the tracking quality parameters include image quality, the angular quality between the tracking ray and the central axis of the camera, the stable value of the tracking ray, the error quality between the tracking ray and the marker, and the angular quality between the tracking ray and the central axis of the marker at least one of them.
  • the device when the tracking quality parameter includes image quality, the device further includes:
  • the image quality determination module is configured to, for each marker image, determine the image quality corresponding to the tracking ray determined based on the marker image based on at least one image parameter of image size, image brightness and image roundness of the marker image.
  • the device when the tracking quality parameter includes the angular quality between the tracking ray and the central axis of the camera, the device further includes:
  • the angle determination module of the camera central axis is configured to, for each tracking ray, determine the angular quality of the tracking ray and the camera central axis based on the included angle between the tracking ray and the central axis of the camera device corresponding to the tracking ray.
  • the device when the tracking quality parameter includes the stable value of the tracking ray, the device further includes:
  • a tracking ray stability determination module configured to, for each tracking ray, determine the number of state changes of the tracking ray within the second preset time length and/or at least one tracking quality corresponding to the tracking ray except the stable value of the tracking ray.
  • the number of fluctuations of the parameter within the second preset time length is based on the number of state changes and/or the number of fluctuations to determine the stable value of the tracking ray.
  • the ray weight determination unit is set to:
  • the error mass of the marker is the smallest; wherein, the error mass of the tracking ray and the marker is used to characterize the weighted sum of squared distances between the marker and at least two tracking rays.
  • the device when the tracking quality parameter includes the angular quality between the tracking ray and the central axis of the marker, the device further includes:
  • the angle determination module for the central axis of the marker is configured to, for each tracking ray, determine the angular quality of the tracking ray and the central axis of the marker based on the included angle between the tracking ray and the central axis of the marker corresponding to the tracking ray.
  • the device also includes:
  • the camera focal length adjustment module is configured to obtain the spatial position data of the preset object, and determine the object distance between the preset object and the camera device based on the spatial position data and the camera position of the camera device corresponding to the preset object; wherein, the preset The object is a marker or a tracking object; based on the object distance, the camera device corresponding to the object distance is controlled to perform focusing processing.
  • the device when the tracking object is a profiler, the device further includes:
  • the three-dimensional contour data determination module is set to obtain contour data corresponding to the measured object scanned by the contour instrument; based on the relative position data between the contour instrument and the measured object and the spatial pose of the contour instrument, the contour data is subjected to three-dimensional reconstruction processing , to obtain the 3D contour data corresponding to the measured object.
  • the control device of the surgical tracking system provided by the embodiment of the present application may be configured to execute the control method of the surgical tracking system provided by the embodiment of the present application, and has functions and effects corresponding to the execution method.
  • the multiple units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized;
  • the names of the functional units are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application.
  • the eighth embodiment of the present application also provides a storage medium containing computer-executable instructions, where the computer-executable instructions are used to execute a control method for a surgical tracking system when executed by a computer processor, and the method includes:
  • the computer storage medium of the embodiments of the present application may adopt any combination of one or more computer-readable media.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above.
  • Examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (Read Only Memory) Memory, ROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM or flash memory), optical fiber, portable compact disk read-only memory (Compact Disc-Read Only Memory, CD-ROM), optical storage devices , a magnetic memory device, or any suitable combination of the above.
  • a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • suitable medium including but not limited to wireless, wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • Computer program code for carrying out the operations of the present application may be written in one or more programming languages, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural languages, or a combination thereof.
  • a programming language such as the "C" language or similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or Wide Area Network (WAN), or may be connected to an external computer (eg, using Internet service provider to connect via the Internet).
  • LAN Local Area Network
  • WAN Wide Area Network
  • a storage medium containing computer-executable instructions provided by an embodiment of the present application the computer-executable instructions of the computer-executable instructions are not limited to the above method operations, and can also execute the related control methods of the surgical tracking system provided by any embodiment of the present application. operate.

Landscapes

  • Health & Medical Sciences (AREA)
  • Surgery (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Molecular Biology (AREA)
  • Veterinary Medicine (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Medical Informatics (AREA)
  • Public Health (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Pathology (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Endoscopes (AREA)
  • Image Analysis (AREA)

Abstract

A surgical tracking system and a control method thereof. The surgical tracking system comprises: a tracking object (20), a controller, markers (21), and at least two camera devices (30). The at least two camera devices (30) and the tracking object (20) are communicatively connected to the controller. The camera devices (30) are fixed onto a fixing device in the surgical tracking system by means of a camera support (31), respectively. Each marker (21) is mounted on the tracking object (20), and is within the field of view of each camera device (30). The tracking object (20) is provided with a state adjustment device for adjusting the marking state of the marker (21). The controller is configured to control, on the basis of images of the markers (21) acquired by the at least two camera devices (30), respectively, the state adjustment device to adjust the marking state of the marker (21).

Description

手术追踪系统及其控制方法Surgical tracking system and control method thereof
本申请要求在2021年01月25日提交中国专利局、申请号为202110098170.8的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application No. 202110098170.8 filed with the China Patent Office on January 25, 2021, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请涉及外科手术导航技术领域,例如涉及一种手术追踪系统及其控制方法。The present application relates to the technical field of surgical navigation, for example, to a surgical tracking system and a control method thereof.
背景技术Background technique
随着科学技术的发展,微创和无创手术已成为外科手术的趋势。立体追踪技术和成像技术的逐渐成熟使外科手术导航系统更广泛地应用于神经外科、耳鼻喉科和骨科等外科手术中。一般来说,手术过程中都会使用相机和物体识别等光学追踪系统来辅助手术。With the development of science and technology, minimally invasive and non-invasive surgery has become the trend of surgery. The gradual maturity of stereo tracking technology and imaging technology has made surgical navigation systems more widely used in neurosurgery, otolaryngology, and orthopedics. In general, optical tracking systems such as cameras and object recognition are used to assist surgery during surgery.
红外相机立体跟踪技术是一种常用的技术手段,红外相机通过对手术器械上的至少三个标记物进行追踪,可以实现对手术器械的空间位置和角度的准确追踪。The infrared camera stereo tracking technology is a commonly used technical means. The infrared camera can accurately track the spatial position and angle of the surgical instrument by tracking at least three markers on the surgical instrument.
但是,光学追踪方案要求标记物和相机之间不可以存在任何遮挡。如果相机和标记物之间被其他物体遮挡,或者手术器械上的标记物有一部分因旋转而被遮挡时,则红外相机立体追踪系统无法准确获取手术器械的位置信息。因此,在手术过程中,外科医生必须时刻注意手术器械的遮挡问题,这种缺陷限制了手术的灵活性和增加了手术风险。However, the optical tracking scheme requires that there must be no occlusion between the marker and the camera. If the distance between the camera and the marker is blocked by other objects, or when part of the marker on the surgical instrument is blocked due to rotation, the infrared camera stereo tracking system cannot accurately obtain the position information of the surgical instrument. Therefore, during the operation, the surgeon must always pay attention to the occlusion of the surgical instruments, which limits the flexibility of the operation and increases the risk of the operation.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种手术追踪系统及其控制方法,以解决手术追踪过程中标记物被遮挡问题,并加强追踪精度,提高手术的灵活性和降低手术风险。The present application provides a surgical tracking system and a control method thereof, so as to solve the problem that markers are occluded during the surgical tracking process, enhance the tracking accuracy, improve the flexibility of the surgery and reduce the surgical risk.
本申请提供了一种手术追踪系统,该系统包括:追踪对象、控制器、标记物和至少两个相机装置,所述至少两个相机装置和所述追踪对象均与所述控制器通信连接;其中,The present application provides a surgical tracking system, the system includes: a tracking object, a controller, a marker and at least two camera devices, the at least two camera devices and the tracking object are both connected in communication with the controller; in,
所述至少两个相机装置分别通过相机支架固定在所述手术追踪系统中的固定装置上,所述标记物安装在所述追踪对象上,所述标记物在每个相机装置的相机视野范围内;The at least two camera devices are respectively fixed on the fixing device in the surgical tracking system through a camera bracket, the marker is mounted on the tracking object, and the marker is within the camera field of view of each camera device ;
所述追踪对象上设置有设置为调整所述标记物的标记状态的状态调整装置;The tracking object is provided with a state adjustment device configured to adjust the marking state of the marker;
所述控制器,设置为基于所述至少两个相机装置分别采集到的标记物图像,控制所述状态调整装置调整所述标记物的标记状态。The controller is configured to control the state adjustment device to adjust the marking state of the marker based on the marker images collected by the at least two camera devices respectively.
本申请还提供了一种手术追踪系统的控制方法,该方法包括:The present application also provides a control method for a surgical tracking system, the method comprising:
获取所述手术追踪系统中的至少两个相机装置分别采集到的至少两个标记物图像,并基于所述至少两个标记物图像确定所述手术追踪系统中的标记物的空间位置数据;acquiring at least two marker images respectively collected by at least two camera devices in the surgical tracking system, and determining spatial position data of the markers in the surgical tracking system based on the at least two marker images;
基于所述标记物的局部位置数据和所述空间位置数据,确定所述标记物对应的转换误差数据,并基于所述转换误差数据,控制所述手术追踪系统中的状态调整装置调整所述标记物的标记状态;其中,所述局部位置数据和所述空间位置数据分别用于表征所述标记物在所述手术追踪系统中的追踪对象坐标系下的位置数据和在世界坐标系下的位置数据;Based on the local position data and the spatial position data of the marker, the conversion error data corresponding to the marker is determined, and based on the conversion error data, the state adjustment device in the surgical tracking system is controlled to adjust the marker The marking state of the object; wherein, the local position data and the spatial position data are used to represent the position data of the marker in the tracking object coordinate system and the position in the world coordinate system of the surgical tracking system, respectively. data;
基于调整后的所述标记物对应的调整标记物图像,确定所述追踪对象的空间位姿。Based on the adjusted marker image corresponding to the adjusted marker, the spatial pose of the tracking object is determined.
本申请还提供了一种手术追踪系统的控制装置,该装置包括:The present application also provides a control device for a surgical tracking system, the device comprising:
空间位置数据确定模块,设置为获取所述手术追踪系统中的至少两个相机装置分别采集到的至少两个标记物图像,并基于所述至少两个标记物图像确定所述手术追踪系统中的标记物的空间位置数据;The spatial position data determination module is configured to acquire at least two marker images respectively collected by at least two camera devices in the surgery tracking system, and determine the marker image in the surgery tracking system based on the at least two marker images. Spatial location data of markers;
标记状态调整模块,设置为基于所述标记物的局部位置数据和所述空间位置数据,确定所述标记物对应的转换误差数据,并基于所述转换误差数据,控制所述手术追踪系统中的状态调整装置调整所述标记物的标记状态;其中,所述局部位置数据和所述空间位置数据分别用于表征所述标记物在所述手术追踪系统中的追踪对象坐标系下的位置数据和在世界坐标系下的位置数据;The marker state adjustment module is configured to determine the conversion error data corresponding to the marker based on the local position data and the spatial position data of the marker, and control the operation tracking system based on the conversion error data. The state adjusting device adjusts the marking state of the marker; wherein, the local position data and the spatial position data are respectively used to represent the position data and Position data in the world coordinate system;
空间位姿确定模块,设置为基于调整后的所述标记物对应的调整标记物图像,确定所述追踪对象的空间位姿。The spatial pose determination module is configured to determine the spatial pose of the tracking object based on the adjusted marker image corresponding to the adjusted marker.
本申请还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行上述所涉及的手术追踪系统的控制方法。The present application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to execute the above-mentioned control method of the surgical tracking system.
附图说明Description of drawings
图1是本申请实施例一提供的一种手术追踪系统的结构示意图;1 is a schematic structural diagram of a surgical tracking system provided in Embodiment 1 of the present application;
图2是本申请实施例一提供的另一种手术追踪系统的结构示意图;2 is a schematic structural diagram of another surgical tracking system provided in Embodiment 1 of the present application;
图3A是本申请实施例二提供的一种安装有主动式标记物的手术器械的结 构示意图;3A is a schematic structural diagram of a surgical instrument provided with an active marker provided in Embodiment 2 of the present application;
图3B是本申请实施例二提供的一种安装有反射式标记物的手术器械的结构示意图;3B is a schematic structural diagram of a surgical instrument equipped with a reflective marker according to Embodiment 2 of the present application;
图4A是本申请实施例二提供的一种包含轮廓仪的手术追踪系统的结构示意图;4A is a schematic structural diagram of a surgical tracking system including a profiler according to Embodiment 2 of the present application;
图4B是本申请实施例二提供的一种轮廓仪的结构示意图;4B is a schematic structural diagram of a profiler provided in Embodiment 2 of the present application;
图5A是本申请实施例三提供的一种安装有主动式标记物的遥控器的结构示意图;5A is a schematic structural diagram of a remote controller equipped with an active marker according to Embodiment 3 of the present application;
图5B是本申请实施例三提供的一种安装有反射式标记物的遥控器的结构示意图;5B is a schematic structural diagram of a remote controller provided with a reflective marker provided in Embodiment 3 of the present application;
图6是本申请实施例四提供的一种手术追踪系统的控制方法的流程图;6 is a flowchart of a control method of a surgical tracking system provided in Embodiment 4 of the present application;
图7是本申请实施例四提供的一种追踪射线的示意图;7 is a schematic diagram of a tracking ray provided in Embodiment 4 of the present application;
图8是本申请实施例五提供的一种手术追踪系统的控制方法的流程图;8 is a flowchart of a control method of a surgical tracking system provided in Embodiment 5 of the present application;
图9是本申请实施例五提供的一种追踪射线与相机中心轴的角度的示意图;9 is a schematic diagram of an angle between a tracking ray and a camera central axis provided by Embodiment 5 of the present application;
图10是本申请实施例五提供的一种追踪射线与标记物中心轴的角度的示意图;10 is a schematic diagram of an angle between a tracking ray and a central axis of a marker according to Embodiment 5 of the present application;
图11是本申请实施例六提供的一种手术追踪系统的控制方法的流程图;11 is a flowchart of a control method of a surgical tracking system provided in Embodiment 6 of the present application;
图12是本申请实施例六提供的另一种手术追踪系统的控制方法的流程图;FIG. 12 is a flowchart of another control method of a surgical tracking system provided by Embodiment 6 of the present application;
图13是本申请实施例七提供的一种手术追踪系统的控制装置的示意图。FIG. 13 is a schematic diagram of a control device of a surgical tracking system according to Embodiment 7 of the present application.
附图标记说明:Description of reference numbers:
10、照明装置;11、照明底座;12、照明支架;20、追踪对象;201、遥控器;202、手术器械;203、轮廓仪;2031、轮廓仪主体;2032、激光器;21、标记物;211、主动式标记物;212、反射式标记物;22、指示器;23、标记物支架;24、安装接头;25、状态调整装置;251、镂空板;26、机械固定座;27、控制面板;271、中间连接装置;30、相机装置;31、相机支架;311、关节组件;40、机器人;50、手术台;60、显示器;70、计算机;80、轮廓对象;801、轮廓图像。10, lighting device; 11, lighting base; 12, lighting bracket; 20, tracking object; 201, remote control; 202, surgical instrument; 203, profiler; 2031, profiler body; 2032, laser; 21, marker; 211, active marker; 212, reflective marker; 22, indicator; 23, marker bracket; 24, installation joint; 25, state adjustment device; 251, hollow plate; 26, mechanical fixing seat; 27, control panel; 271, intermediate connecting device; 30, camera device; 31, camera bracket; 311, joint assembly; 40, robot; 50, operating table; 60, monitor; 70, computer; 80, contour object; 801, contour image.
具体实施方式Detailed ways
下面结合附图和实施例对本申请进行说明。此处所描述的具体实施例仅仅用于解释本申请。为了便于描述,附图中仅示出了与本申请相关的部分。The present application will be described below with reference to the accompanying drawings and embodiments. The specific embodiments described herein are merely used to explain the present application. For the convenience of description, only the parts related to the present application are shown in the drawings.
实施例一Example 1
图1是本申请实施例一提供的一种手术追踪系统的结构示意图,本实施例可适用于对手术过程中的追踪对象进行追踪定位的情况。FIG. 1 is a schematic structural diagram of a surgical tracking system provided in Embodiment 1 of the present application. This embodiment can be applied to the situation of tracking and positioning a tracking object during surgery.
该系统包括:追踪对象20、控制器、标记物21和至少两个相机装置30,至少两个相机装置30和追踪对象20与控制器之间通信连接;其中,至少两个相机装置30分别通过相机支架31固定在手术追踪系统中的固定装置上,标记物21安装在追踪对象20上,标记物21在每个相机装置30的相机视野范围内;追踪对象20上设置有可调整标记物21的标记状态的状态调整装置;控制器,设置为基于至少两个相机装置30分别采集到的标记物图像,控制状态调整装置调整标记物21的当前标记状态。The system includes: a tracking object 20, a controller, a marker 21 and at least two camera devices 30, and the at least two camera devices 30, the tracking object 20 and the controller are communicatively connected; wherein, the at least two camera devices 30 are respectively connected by The camera bracket 31 is fixed on the fixing device in the surgical tracking system, the marker 21 is installed on the tracking object 20, and the marker 21 is within the camera field of view of each camera device 30; the tracking object 20 is provided with an adjustable marker 21 The state adjustment device for the marking state; the controller is configured to control the state adjustment device to adjust the current marking state of the marker 21 based on the marker images collected by the at least two camera devices 30 respectively.
图1中并未示出状态调整装置,状态调整装置可设置在追踪对象20的内部或表面,关于状态调整装置的设置位置将在下述实施例中进行解释说明。其中,示例性的,状态调整装置可设置为调整标记物21的开关状态和/或位姿状态,其中,位姿状态包括位置状态和/或角度状态,位姿状态用于描述标记物21相对于追踪对象20的位姿数据。其中,示例性的,当检测到与标记物图像对应的标记物21被遮挡或追踪质量不佳时,控制状态调整装置调整标记物21的当前标记状态,直到采集到的标记物图像对应的标记物21不被遮挡且追踪质量较高时,完成调整操作。The state adjusting device is not shown in FIG. 1 , the state adjusting device may be arranged inside or on the surface of the tracking object 20 , and the disposition position of the state adjusting device will be explained in the following embodiments. Wherein, exemplarily, the state adjustment device may be configured to adjust the switch state and/or the pose state of the marker 21, wherein the pose state includes a position state and/or an angle state, and the pose state is used to describe the relative position of the marker 21. Pose data for tracking the object 20 . Exemplarily, when it is detected that the marker 21 corresponding to the marker image is blocked or the tracking quality is poor, the control state adjusting device adjusts the current marker state of the marker 21 until the marker corresponding to the collected marker image is detected. When the object 21 is not blocked and the tracking quality is high, the adjustment operation is completed.
示例性的,手术追踪系统中的固定装置可以是天花板、相机固定台或照明装置。在一个实施例中,相机装置30通过相机支架31固定在手术追踪系统中的照明装置10上。图1示出的手术追踪系统中,相机装置30分散安装在照明装置10的照明底座11上,以使相机视野可以从不同方向覆盖整个追踪区域。其中,追踪区域包括追踪对象20的可移动区域。Exemplarily, the fixture in the surgical tracking system may be a ceiling, a camera fixture, or a lighting fixture. In one embodiment, the camera device 30 is fixed on the illumination device 10 in the surgical tracking system through the camera bracket 31 . In the surgical tracking system shown in FIG. 1 , the camera devices 30 are dispersedly installed on the lighting base 11 of the lighting device 10 , so that the camera field of view can cover the entire tracking area from different directions. The tracking area includes a movable area of the tracking object 20 .
在一个实施例中,照明底座11通过可旋转组件设置在照明装置10上。照明底座11可相对于照明装置10进行旋转。在一个实施例中,照明底座11上固定有移动手柄,用户通过移动手柄可控制照明底座11进行旋转。In one embodiment, the lighting base 11 is disposed on the lighting device 10 through a rotatable assembly. The lighting base 11 is rotatable relative to the lighting device 10 . In one embodiment, a moving handle is fixed on the lighting base 11 , and the user can control the lighting base 11 to rotate by moving the handle.
在一个实施例中,照明底座11与照明支架12的一端进行连接,照明支架12的另一端连接到固定装置上,示例性的,固定装置可以是天花板,也可以是照明固定台。其中,照明底座11可相对于照明装置10和照明支架12进行旋转。In one embodiment, the lighting base 11 is connected to one end of the lighting bracket 12, and the other end of the lighting bracket 12 is connected to a fixing device. Exemplarily, the fixing device may be a ceiling or a lighting fixing table. The lighting base 11 can be rotated relative to the lighting device 10 and the lighting bracket 12 .
在一个实施例中,每个相机支架31上设置可旋转和/或可伸缩的关节组件311,关节组件311中设置有对相机装置30的位置进行编码的编码器。其中,可通过控制相机支架31上的关节组件311进行旋转和/或伸缩,改变固定在相机支架31上的相机装置30的位置。In one embodiment, a rotatable and/or retractable joint assembly 311 is disposed on each camera bracket 31 , and an encoder for encoding the position of the camera device 30 is disposed in the joint assembly 311 . The position of the camera device 30 fixed on the camera support 31 can be changed by controlling the joint assembly 311 on the camera support 31 to rotate and/or extend and retract.
在一个实施例中,标记物21的数量为至少三个。其中,基于至少三个标记物21的空间位置数据可确定追踪对象20的六自由度信息,六自由度信息包括三个坐标轴上的坐标自由度以及绕三个坐标轴的转动自由度。图1示出的追踪对象20上安装有3个标记物21。In one embodiment, the number of markers 21 is at least three. The six-degree-of-freedom information of the tracking object 20 can be determined based on the spatial position data of the at least three markers 21 , and the six-degree-of-freedom information includes coordinate degrees of freedom on three coordinate axes and rotational degrees of freedom around the three coordinate axes. Three markers 21 are attached to the tracking object 20 shown in FIG. 1 .
在一个实施例中,追踪对象20包括手术器械、遥控器和轮廓仪中的至少一种。其中,示例性的,手术器械包括但不限于穿刺针、切割刀、手术剪刀、射频消融针和超声探头等等。其中,示例性的,轮廓仪可以是激光轮廓仪,设置为测量目标区域内被测对象的轮廓数据。In one embodiment, the tracking object 20 includes at least one of a surgical instrument, a remote control, and a profiler. Among them, exemplary surgical instruments include, but are not limited to, puncture needles, cutting knives, surgical scissors, radiofrequency ablation needles, ultrasonic probes, and the like. Wherein, for example, the profiler may be a laser profiler, which is configured to measure the profile data of the measured object in the target area.
图2是本申请实施例一提供的另一种手术追踪系统的结构示意图,以手术追踪系统中的追踪对象20包括遥控器201为例,手术追踪系统还包括机器人40、手术台50、显示器60和计算机70,示例性的,手术追踪系统中的控制器可设置在计算机70中。其中,机器人40跟随遥控器201移动。此处对机器人40的功能和类型不作限定。2 is a schematic structural diagram of another surgical tracking system provided in Embodiment 1 of the present application. Taking the tracking object 20 in the surgical tracking system including the remote control 201 as an example, the surgical tracking system further includes a robot 40 , an operating table 50 , and a display 60 And computer 70, for example, the controller in the surgical tracking system may be located in computer 70. The robot 40 moves with the remote controller 201 . The function and type of the robot 40 are not limited here.
在一个实施例中,追踪对象20上还设置有指示器,指示器包括指示灯和/或声音播放器。其中,示例性的,当指示器包括指示灯时,指示灯可设置为发射不同颜色的光波,不同颜色的光波可代表不同的提示信息。当指示器包括声音播放器时,声音播放器可设置为发射声波传递提示信息。在一个实施例中,在状态调整装置调整标记物21的当前标记状态的过程中,打开追踪对象20上的指示器。In one embodiment, the tracking object 20 is further provided with an indicator, and the indicator includes an indicator light and/or a sound player. For example, when the indicator includes an indicator light, the indicator light can be set to emit light waves of different colors, and the light waves of different colors can represent different prompt information. When the indicator includes a sound player, the sound player may be arranged to emit sound waves to convey the prompt information. In one embodiment, the indicator on the tracking object 20 is turned on during the process of the state adjustment device adjusting the current marking state of the marker 21 .
本实施例的技术方案,通过在手术追踪系统中设置可调整标记物的标记状态的状态调整装置,当手术追踪系统中的相机装置视野中的标记物被遮挡时,可通过状态调整装置调整被遮挡的标记物的标记状态,解决了追踪过程中标记物被遮挡的问题,提高了手术的灵活性和降低了手术风险。In the technical solution of this embodiment, by setting a state adjustment device that can adjust the marking state of the marker in the surgical tracking system, when the marker in the field of view of the camera device in the surgical tracking system is blocked, the state adjustment device can be used to adjust the marked state of the marker. The marked state of the occluded marker solves the problem that the marker is occluded during the tracking process, improves the flexibility of surgery and reduces the risk of surgery.
实施例二 Embodiment 2
本实施例的技术方案是在上述实施例的基础上进行说明。当追踪对象包括手术器械和/或轮廓仪时,标记物通过标记物支架安装在追踪对象上,标记物包括主动式标记物和/或反射式标记物。The technical solution of this embodiment is described on the basis of the foregoing embodiment. When the tracked object includes a surgical instrument and/or a profiler, markers are mounted on the tracked object through a marker holder, and the markers include active markers and/or reflective markers.
图3A是本申请实施例二提供的一种安装有主动式标记物的手术器械的结构示意图,图3A示出的标记物支架23为圆柱形,当然,标记物支架23还可以为多边形或圆形,此处对标记物支架23的形状不作限定。其中,主动式标记物211可以是通过外部供电发射特定波长光线的发光二极管。其中,示例性的,特定波长光线可以是红外光线。其中,标记物支架23内置电池,设置为为主动式标记物211供电。FIG. 3A is a schematic structural diagram of a surgical instrument provided with an active marker provided in the second embodiment of the present application. The marker holder 23 shown in FIG. 3A is cylindrical. Of course, the marker holder 23 can also be a polygon or a circle. The shape of the marker holder 23 is not limited here. The active marker 211 may be a light-emitting diode that emits light of a specific wavelength through external power supply. Wherein, for example, the specific wavelength light can be infrared light. The marker holder 23 has a built-in battery, which is configured to supply power to the active marker 211 .
示例性的,图3A示出的手术器械202可以是穿刺针。主动式标记物211周向安装在标记物支架23上,手术器械202上还设置有指示器22和安装接头24,其中,安装接头24设置为连接标记物支架23和手术器械202。Illustratively, the surgical instrument 202 shown in FIG. 3A may be a puncture needle. The active marker 211 is circumferentially mounted on the marker holder 23 , and the surgical instrument 202 is further provided with an indicator 22 and a mounting joint 24 , wherein the mounting joint 24 is configured to connect the marker holder 23 and the surgical instrument 202 .
在一个实施例中,当标记物21包括主动式标记物211时,状态调整装置设置在标记物支架23内,状态调整装置包括设置为控制标记物开关状态的第一开关装置。其中,第一开关装置通过控制内置电池的供电状态,控制主动式标记物211的打开或关闭状态。在一个实施例,状态调整装置属于无线装置,适用于无源的手术器械202,如穿刺针和切割刀等。在另一个实施例中,状态调整装置属于有线装置,依靠电缆为状态调整装置供能,适用于有源的手术器械202,如射频消融针和超声探头等。In one embodiment, when the marker 21 includes an active marker 211, the state adjustment device is disposed in the marker holder 23, and the state adjustment device includes a first switch device configured to control the switch state of the marker. The first switch device controls the on or off state of the active marker 211 by controlling the power supply state of the built-in battery. In one embodiment, the state adjustment device is a wireless device suitable for passive surgical instruments 202, such as puncture needles and cutting knives. In another embodiment, the state adjustment device is a wired device, and the state adjustment device is powered by a cable, which is suitable for active surgical instruments 202, such as radiofrequency ablation needles and ultrasonic probes.
当检测到与标记物图像对应的标记物被遮挡或追踪质量不佳时,通过状态调整装置调整主动式标记物211的开关状态。举例而言,主动式标记物211中的标记物A被遮挡时,则通过状态调整装置关闭标记物A并打开标记物B。When it is detected that the marker corresponding to the marker image is blocked or the tracking quality is poor, the switch state of the active marker 211 is adjusted by the state adjustment device. For example, when the marker A in the active marker 211 is blocked, the marker A is turned off and the marker B is turned on through the state adjustment device.
图3B是本申请实施例二提供的一种安装有反射式标记物的手术器械的结构示意图。在一个实施例中,当标记物21包括主动式标记物211和/或反射式标记物212时,标记物支架23通过状态调整装置25安装在手术器械202上,状态调整装置25包括可旋转的执行器,状态调整装置25中设置有设置为编码标记物支架23位置的编码器。FIG. 3B is a schematic structural diagram of a surgical instrument equipped with a reflective marker according to Embodiment 2 of the present application. In one embodiment, when the marker 21 includes an active marker 211 and/or a reflective marker 212, the marker holder 23 is mounted on the surgical instrument 202 by a state adjustment device 25, which includes a rotatable The actuator, the state adjusting device 25 is provided with an encoder arranged to encode the position of the marker holder 23 .
反射式标记物212是带有反射材料的标记物,示例性的,反射式标记物212可以是带有反射材料的标记球。当检测到与标记物图像对应的标记物21被遮挡或追踪质量不佳时,通过状态调整装置25调整标记物支架23的位姿状态,以实现调整标记物支架23上的主动式标记物211和/或反射式标记物212相对于追踪对象20的位姿状态。The reflective marker 212 is a marker with a reflective material, for example, the reflective marker 212 may be a marker ball with a reflective material. When it is detected that the marker 21 corresponding to the marker image is blocked or the tracking quality is poor, the posture state of the marker holder 23 is adjusted by the state adjusting device 25 to realize the adjustment of the active marker 211 on the marker holder 23 and/or the pose state of the reflective marker 212 relative to the tracking object 20 .
示例性的,执行器可以为伺服电机、步进电机或编码器。在一个实施例中,执行器响应于手动旋转。Exemplarily, the actuator may be a servo motor, a stepper motor or an encoder. In one embodiment, the actuator is responsive to manual rotation.
图3B示出的手术器械还设置有机械固定座26,设置为连接状态调整装置25和手术器械202。The surgical instrument shown in FIG. 3B is further provided with a mechanical fixing seat 26 , which is configured to connect the state adjusting device 25 and the surgical instrument 202 .
图4A是本申请实施例二提供的一种包含轮廓仪的手术追踪系统的结构示意图。将轮廓仪203置于相机装置30的采集区域内,手术追踪系统还包括轮廓对象80,图4A的右边是轮廓仪203采集到的轮廓图像801。FIG. 4A is a schematic structural diagram of a surgical tracking system including a profiler according to Embodiment 2 of the present application. The profilometer 203 is placed in the acquisition area of the camera device 30 , and the surgical tracking system further includes a contour object 80 , and the right side of FIG. 4A is the contour image 801 collected by the profilometer 203 .
图4B是本申请实施例二提供的一种轮廓仪的结构示意图。标记物21通过标记物支架23安装在轮廓仪203的轮廓仪主体2031上,示例性的,标记物21可以是主动式标记物211和/或反射式标记物212。图4B示出的轮廓仪203为激 光轮廓仪,轮廓仪203上设置有设置为激光发射和激光接收的激光器2032。FIG. 4B is a schematic structural diagram of a profiler provided in Embodiment 2 of the present application. The marker 21 is mounted on the profiler main body 2031 of the profiler 203 through the marker holder 23 . Exemplarily, the marker 21 may be an active marker 211 and/or a reflective marker 212 . The profiler 203 shown in FIG. 4B is a laser profiler, and the profiler 203 is provided with a laser 2032 configured for laser emission and laser reception.
本实施例的技术方案,通过标记物支架将标记物安装在追踪对象上,并采用主动式标记物和/或反射式标记物对追踪对象进行定位,解决了标记物在手术器械或轮廓仪上的安装问题,使得手术追踪系统适用于手术器械和轮廓仪的应用领域,扩宽了手术追踪系统的适用范围。In the technical solution of this embodiment, the marker is installed on the tracking object through the marker bracket, and the tracking object is positioned by using the active marker and/or the reflective marker, which solves the problem that the marker is on the surgical instrument or profiler. The installation problem of the surgical tracking system makes the surgical tracking system suitable for the application fields of surgical instruments and profilers, which expands the application scope of the surgical tracking system.
实施例三 Embodiment 3
本实施例的技术方案是在上述实施例的基础上进行说明。当追踪对象包括遥控器时,标记物通过控制面板安装在遥控器上,相应的,状态调整装置设置在控制面板上,标记物包括主动式标记物和/或反射式标记物。The technical solution of this embodiment is described on the basis of the foregoing embodiment. When the tracking object includes a remote controller, the marker is installed on the remote controller through the control panel, and correspondingly, the state adjustment device is arranged on the control panel, and the marker includes an active marker and/or a reflective marker.
图5A是本申请实施例三提供的一种安装有主动式标记物的遥控器的结构示意图。图5A示出的遥控器201上的主动式标记物211以阵列的形式安装在控制面板27上。在一个实施例中,当标记物21包括主动式标记物211时,状态调整装置25包括设置为控制标记物开关状态的第二开关装置,第二开关装置包括开关按钮和/或触摸面板。FIG. 5A is a schematic structural diagram of a remote controller equipped with an active marker according to Embodiment 3 of the present application. Active markers 211 on the remote control 201 shown in FIG. 5A are mounted on the control panel 27 in an array. In one embodiment, when the marker 21 includes an active marker 211, the state adjustment device 25 includes a second switch device configured to control the switch state of the marker, the second switch device including a switch button and/or a touch panel.
状态调整装置25设置为控制控制面板27上的主动式标记物211的打开和关闭状态。示例性的,第二开关装置的数量为至少一个。举例而言,当第二开关装置中的按钮“1”被触发时,控制面板27上的主动式标记物A、主动式标记物B和主动式标记物C被打开,当第二开关装置按钮“2”被触发时,控制面板27上的主动式标记物B、主动式标记物C和主动式标记物D被打开。The state adjustment device 25 is arranged to control the open and closed state of the active marker 211 on the control panel 27 . Exemplarily, the number of the second switching device is at least one. For example, when the button "1" in the second switching device is activated, active marker A, active marker B and active marker C on the control panel 27 are turned on, when the second switching device button When "2" is triggered, active marker B, active marker C and active marker D on the control panel 27 are turned on.
在本实施例中,机器人40会跟随遥控器201移动,当检测到与标记物图像对应的标记物21被遮挡或追踪质量不佳时,或者,当状态调整装置25调整标记物21的开关状态时,或者,当遥控器201处于关闭状态时,机器人40会立即停止当前操作。In this embodiment, the robot 40 will follow the remote controller 201 to move, when it is detected that the marker 21 corresponding to the marker image is blocked or the tracking quality is poor, or when the state adjusting device 25 adjusts the switch state of the marker 21 , or when the remote controller 201 is turned off, the robot 40 will immediately stop the current operation.
图5B是本申请实施例三提供的一种安装有反射式标记物的遥控器的结构示意图。在一个实施例中,当标记物21包括反射式标记物212时,控制面板27上设置有设置为连接反射式标记物212的中间连接装置271,和/或,状态调整装置25包括设置为遮挡反射式标记物212的镂空板251。FIG. 5B is a schematic structural diagram of a remote controller equipped with a reflective marker according to Embodiment 3 of the present application. In one embodiment, when the marker 21 includes the reflective marker 212, the control panel 27 is provided with an intermediate connecting device 271 configured to connect with the reflective marker 212, and/or the state adjustment device 25 includes an intermediate connecting device 271 configured to block The hollow plate 251 of the reflective marker 212 .
图5B中的左图示出了一种包含中间连接装置271的遥控器201。其中,示例性的,中间连接装置271可以是螺丝,以阵列的形式设置在控制面板27上。相应的,反射式标记物212是带有内螺纹的标记球,反射式标记物212可以根据需求通过中间连接装置271安装在控制面板27上。这样设置的好处在于,可以随时更改遥控器201上反射式标记物212的分布状态。The left diagram in FIG. 5B shows a remote control 201 including an intermediate connection device 271 . Wherein, for example, the intermediate connecting device 271 may be a screw, which is arranged on the control panel 27 in the form of an array. Correspondingly, the reflective marker 212 is a marker ball with internal threads, and the reflective marker 212 can be installed on the control panel 27 through the intermediate connecting device 271 according to requirements. The advantage of this setting is that the distribution state of the reflective markers 212 on the remote controller 201 can be changed at any time.
图5B中的右图示出了一种包含镂空板251的遥控器201。镂空板251上存 在镂空区域和实体区域,使得处于镂空区域的反射式标记物212可以被相机装置30追踪到,处于实体区域的反射式标记物212不可以被相机装置30追踪到。在一个实施例中,处于镂空区域的反射式标记物212的数量为至少三个。在一个实施例中,状态调整装置25包括至少一种镂空板251,不同镂空板251上的镂空区域和实体区域的设置位置不同。The right diagram in FIG. 5B shows a remote control 201 including a hollow plate 251 . There are hollow areas and solid areas on the hollow plate 251 , so that the reflective markers 212 in the hollow areas can be tracked by the camera device 30 , while the reflective markers 212 in the solid areas cannot be tracked by the camera device 30 . In one embodiment, the number of reflective markers 212 in the hollow area is at least three. In one embodiment, the state adjustment device 25 includes at least one hollowed-out plate 251 , and the hollowed-out regions and the solid regions on different hollowed-out plates 251 are arranged at different positions.
本实施例的技术方案,通过控制面板将标记物安装在追踪对象上,并采用主动式标记物和/或反射式标记物对追踪对象进行定位,解决了标记物在遥控器上的安装问题,使得手术追踪系统适用于遥控器的应用领域,扩宽了手术追踪系统的适用范围。In the technical solution of this embodiment, the marker is installed on the tracking object through the control panel, and the tracking object is positioned by using an active marker and/or a reflective marker, which solves the installation problem of the marker on the remote controller. The surgical tracking system is suitable for the application field of the remote control, and the scope of application of the surgical tracking system is expanded.
实施例四 Embodiment 4
图6是本申请实施例四提供的一种手术追踪系统的控制方法的流程图,本实施例可适用于对手术过程中的追踪对象进行追踪定位的情况,该方法可以由手术追踪系统的控制装置来执行,该装置可采用软件和/或硬件的方式实现,该装置可以配置于手术追踪系统中。包括如下步骤:FIG. 6 is a flowchart of a control method of a surgical tracking system provided in Embodiment 4 of the present application. This embodiment is applicable to the situation of tracking and positioning the tracking object in the surgical process, and the method can be controlled by the surgical tracking system. The device can be implemented by means of software and/or hardware, and the device can be configured in a surgical tracking system. It includes the following steps:
S410、获取至少两个相机装置分别采集到的至少两个标记物图像,并基于至少两个标记物图像确定标记物的空间位置数据。S410: Acquire at least two marker images separately collected by at least two camera devices, and determine spatial position data of the marker based on the at least two marker images.
示例性的,标记物图像用于表征相机装置采集到的追踪对象上至少一个标记物对应的图像,空间位置数据用于描述标记物在世界坐标系下的位置数据。Exemplarily, the marker image is used to represent the image corresponding to at least one marker on the tracking object collected by the camera device, and the spatial position data is used to describe the position data of the marker in the world coordinate system.
在一个实施例中,基于至少两个标记物图像确定标记物的空间位置数据,包括:针对每个标记物图像,基于标记物图像中与标记物对应的标记中心点和标记物图像对应的相机装置的相机镜头中心点,确定标记物图像对应的追踪射线;针对每个标记物,基于与标记物对应的追踪射线的追踪质量参数,确定至少两个目标追踪射线以及与每个目标追踪射线对应的射线权重;基于至少两个目标追踪射线和每个目标追踪射线对应的射线权重,确定标记物的空间位置数据。In one embodiment, determining the spatial position data of the marker based on at least two marker images includes: for each marker image, based on a marker center point corresponding to the marker in the marker image and a camera corresponding to the marker image The center point of the camera lens of the device determines the tracking ray corresponding to the image of the marker; for each marker, based on the tracking quality parameter of the tracking ray corresponding to the marker, determine at least two target tracking rays and each target tracking ray corresponding to The ray weight of the marker is determined based on the at least two target tracking rays and the ray weight corresponding to each target tracking ray to determine the spatial position data of the marker.
标记中心点用于描述标记物在标记物图像中的中心点,相机镜头中心点表示相机装置上相机镜头的中心点,追踪射线是基于标记中心点和相机镜头中心点确定的连线。举例而言,追踪对象上设置有标记物A、标记物B和标记物C,则标记物图像包含与标记物A、标记物B和标记物C分别对应的标记中心点A、标记中心点B和标记中心点C。相应的,追踪射线包括与标记物A、标记物B和标记物C分别对应的追踪射线A、追踪射线B和追踪射线C。The marker center point is used to describe the center point of the marker in the marker image, the camera lens center point represents the center point of the camera lens on the camera device, and the tracking ray is a line determined based on the marker center point and the camera lens center point. For example, if marker A, marker B, and marker C are set on the tracking object, the marker image includes marker center point A and marker center point B corresponding to marker A, marker B, and marker C respectively. and mark the center point C. Correspondingly, the tracking ray includes a tracking ray A, a tracking ray B, and a tracking ray C corresponding to the marker A, the marker B, and the marker C, respectively.
图7是本申请实施例四提供的一种追踪射线的示意图。图7以一个标记物为例,图7示出了3个相机装置,以最左边的相机装置为例,最左边的方框表 示相机装置的成像单元,采集到的标记物图像成像在相机成像单元上,该相机成像单元上的深黑色“×”表示标记物图像的标记中心点。该方框右边的双圆形表示相机装置的相机镜头,相机镜头上的两条线的正交交点表示该相机装置的相机镜头中心点。三个相机装置分别与标记物之间的连线表示追踪射线。FIG. 7 is a schematic diagram of a tracking ray according to Embodiment 4 of the present application. Fig. 7 takes a marker as an example, and Fig. 7 shows three camera devices. Taking the leftmost camera device as an example, the leftmost box represents the imaging unit of the camera device. The collected marker image is imaged in the camera. On the unit, the dark black "X" on the camera imaging unit indicates the marker center point of the marker image. The double circle on the right side of the box represents the camera lens of the camera device, and the orthogonal intersection of the two lines on the camera lens represents the center point of the camera lens of the camera device. The lines connecting the three camera devices and the markers respectively represent tracing rays.
追踪质量参数可用于评价追踪射线的质量、与追踪射线对应的标记物图像的质量和与追踪射线对应的标记物的质量中的至少一种。示例性的,当追踪质量参数为多个时,可基于多个追踪质量参数确定综合质量参数,并基于综合质量参数确定至少两个目标追踪射线以及每个目标追踪射线对应的射线权重。The tracking quality parameter may be used to evaluate at least one of the quality of the tracking ray, the quality of the marker image corresponding to the tracking ray, and the quality of the marker corresponding to the tracking ray. Exemplarily, when there are multiple tracking quality parameters, a comprehensive quality parameter may be determined based on the multiple tracking quality parameters, and at least two target tracking rays and a ray weight corresponding to each target tracking ray may be determined based on the comprehensive quality parameter.
基于追踪质量参数对追踪射线进行筛选或调整追踪射线对应的射线权重。示例性的,假设基于标记物图像确定的追踪射线数量为3个,分别为追踪射线A、追踪射线B和追踪射线C,且追踪射线A对应的追踪质量参数较差,在一个实施例中,将追踪射线B和追踪射线C分别作为目标追踪射线,或者,降低追踪射线A对应的射线权重。Screen the tracing rays based on the tracing quality parameter or adjust the ray weights corresponding to the tracing rays. Exemplarily, it is assumed that the number of tracking rays determined based on the marker image is 3, which are respectively tracking ray A, tracking ray B, and tracking ray C, and the tracking quality parameter corresponding to tracking ray A is poor. In one embodiment, Take the tracking ray B and the tracking ray C as the target tracking ray respectively, or reduce the ray weight corresponding to the tracking ray A.
在一个实施例中,追踪质量参数包括图像质量、追踪射线与相机中心轴的角度质量、追踪射线的稳定值、追踪射线与标记物的误差质量、追踪射线与标记物中心轴的角度质量中的至少一种。In one embodiment, the tracking quality parameters include image quality, the angular quality of the tracking ray and the central axis of the camera, the stable value of the tracking ray, the error quality of the tracking ray and the marker, and the angular quality of the tracking ray and the central axis of the marker. at least one.
在一个实施例中,当追踪质量参数包括追踪射线与标记物的误差质量时,基于与标记物对应的追踪射线的追踪质量参数,确定至少两个目标追踪射线以及与每个目标追踪射线对应的射线权重,包括:基于追踪射线与标记物的误差质量,确定至少两个目标追踪射线以及与每个目标追踪射线对应的射线权重,以使基于目标追踪射线和射线权重确定的标记物的空间位置数据满足追踪射线与标记物的误差质量最小;其中,追踪射线与标记物的误差质量用于表征标记物与至少两个追踪射线之间的权重距离平方和。In one embodiment, when the tracking quality parameter includes the error quality of the tracking ray and the marker, based on the tracking quality parameter of the tracking ray corresponding to the marker, at least two target tracking rays and a target tracking ray corresponding to each target tracking ray are determined. The ray weight includes: determining at least two target tracking rays and a ray weight corresponding to each target tracking ray based on the error quality between the tracking ray and the marker, so that the spatial position of the marker determined based on the target tracking ray and the ray weight is determined The data satisfies the minimum error mass between the tracking ray and the marker; wherein, the error mass between the tracking ray and the marker is used to characterize the weighted sum of squared distances between the marker and at least two tracking rays.
当目标追踪射线数量i≥2时,对于误差较大的目标追踪射线,则会直接将其从计算中去除。权重距离平方和满足公式:
Figure PCTCN2022071505-appb-000001
其中,i表示第i个目标追踪射线,w i表示第i个目标追踪射线对应的射线权重,Dr i表示坐标点与第i个目标追踪射线之间的距离。
When the target tracking ray number i ≥ 2, the target tracking ray with large error will be directly removed from the calculation. The weighted distance sum of squares satisfies the formula:
Figure PCTCN2022071505-appb-000001
Among them, i represents the ith target tracking ray, wi represents the ray weight corresponding to the ith target tracking ray, and Dr i represents the distance between the coordinate point and the ith target tracking ray.
S420、基于标记物的局部位置数据和空间位置数据,确定标记物对应的转换误差数据,并基于转换误差数据,控制状态调整装置调整标记物的标记状态。S420 , determining the conversion error data corresponding to the marker based on the local position data and the spatial position data of the marker, and controlling the state adjusting device to adjust the marking state of the marker based on the conversion error data.
在本实施例中,局部位置数据和空间位置数据分别用于表征标记物在追踪对象坐标系下的位置数据和在世界坐标系下的位置数据。其中,将第i个标记物在追踪对象坐标系下的局部位置数据记为
Figure PCTCN2022071505-appb-000002
将第i个标记物在时间t 对应的空间位置数据记为
Figure PCTCN2022071505-appb-000003
In this embodiment, the local position data and the spatial position data are used to represent the position data of the marker in the tracking object coordinate system and the position data in the world coordinate system, respectively. Among them, the local position data of the i-th marker in the tracking object coordinate system is recorded as
Figure PCTCN2022071505-appb-000002
The spatial position data corresponding to the i-th marker at time t is recorded as
Figure PCTCN2022071505-appb-000003
基于局部位置数据和空间位置数据确定追踪对象坐标系与世界坐标系对应的转换矩阵,基于转换矩阵和局部位置数据确定的参考空间位置数据与空间位置数据之间的位置误差,确定标记物对应的转换误差数据。Determine the transformation matrix corresponding to the tracking object coordinate system and the world coordinate system based on the local position data and the spatial position data, and determine the position error between the reference spatial position data and the spatial position data determined based on the transformation matrix and the local position data Convert error data.
示例性的,基于i个标记物对应的局部位置数据和i个标记物对应的空间位置数据,求得追踪对象坐标系下的局部位置数据转换为世界坐标系下的空间位置数据的转换矩阵
Figure PCTCN2022071505-appb-000004
因此,第i个标记物的参考空间位置数据
Figure PCTCN2022071505-appb-000005
满足公式:
Figure PCTCN2022071505-appb-000006
Figure PCTCN2022071505-appb-000007
其中,E i,t表示位置误差。理论上,参考空间位置数据与空间位置数据同属于同一标记物,即E i,t=0。但由于转换误差的存在,使得E i,t≠0。将E i,t内的元素求平方和可以求得在时间t下,第i个标记物的转换误差数据Dm i,t
Exemplarily, based on the local position data corresponding to the i markers and the spatial position data corresponding to the i markers, a conversion matrix for converting the local position data in the tracking object coordinate system to the spatial position data in the world coordinate system is obtained.
Figure PCTCN2022071505-appb-000004
Therefore, the reference spatial position data for the ith marker
Figure PCTCN2022071505-appb-000005
Satisfy the formula:
Figure PCTCN2022071505-appb-000006
make
Figure PCTCN2022071505-appb-000007
Among them, E i,t represents the position error. Theoretically, the reference spatial position data and the spatial position data belong to the same marker, that is, E i,t =0. But due to the existence of conversion error, E i,t ≠0. The conversion error data Dm i,t of the ith marker at time t can be obtained by summing the squares of the elements in E i ,t.
在一个实施例中,采用优化搜索算法计算
Figure PCTCN2022071505-appb-000008
使得∑ iDm i,t最小。由于每个标记物在追踪对象的空间位姿的计算过程中权重相同,当其中一个标记物的空间位置数据偏离实际标记位置数据比较远时,仍会被纳入计算中,从而导致后续追踪对象的空间位姿失真。在另一个实施例中,采用优化计算
Figure PCTCN2022071505-appb-000009
使得
Figure PCTCN2022071505-appb-000010
最小。其中,w i表示第i个标记物对应的权重。该权重可与目标追踪射线对应的射线权重相同。对于误差较大的标记物,则会直接将其从计算中去除。
In one embodiment, an optimized search algorithm is used to calculate
Figure PCTCN2022071505-appb-000008
Minimize ∑ i Dm i,t . Since each marker has the same weight in the calculation of the spatial pose of the tracked object, when the spatial position data of one of the markers deviates far from the actual marker position data, it will still be included in the calculation, resulting in the subsequent tracking of the object. Spatial pose distortion. In another embodiment, optimization calculations are employed
Figure PCTCN2022071505-appb-000009
make
Figure PCTCN2022071505-appb-000010
minimum. Among them, w i represents the weight corresponding to the i-th marker. The weight may be the same as the ray weight corresponding to the target tracing ray. For markers with large errors, they are directly removed from the calculation.
在一个实施例中,如果转换误差数据大于预设误差阈值,则控制状态调整装置调整标记物的标记状态。其中,控制状态调整装置调整标记物的标记状态包括:将优化搜索算法计算过程中去除的标记物的标记状态调整为关闭状态,保留的标记物的标记状态维持打开状态;或者,通过可旋转的执行器调整标记物相对于追踪对象坐标系的局部位置数据。In one embodiment, if the conversion error data is greater than a preset error threshold, the state adjusting device is controlled to adjust the marking state of the marker. Wherein, controlling the state adjustment device to adjust the marking state of the marker includes: adjusting the marking state of the marker removed in the calculation process of the optimization search algorithm to the off state, and maintaining the marking state of the reserved marker in the open state; The actuator adjusts the local position data of the marker relative to the coordinate system of the tracked object.
在上述实施例的基础上,该方法还包括:基于至少两个追踪射线分别对应的追踪质量参数,确定追踪质量评价结果;如果追踪质量评价结果不满足追踪质量评价标准,则打开追踪对象上的指示器,以对追踪质量评价结果进行提示。On the basis of the above embodiment, the method further includes: determining a tracking quality evaluation result based on the tracking quality parameters corresponding to the at least two tracking rays respectively; if the tracking quality evaluation result does not meet the tracking quality evaluation standard, turning on the tracking quality Indicator to prompt the tracking quality evaluation result.
示例性的,基于至少两个追踪射线分别对应的追踪质量参数的参数值和参数权重,确定追踪质量评价结果。其中,示例性的,追踪质量评价结果可以是追踪质量评分,相应的,追踪质量评价标准可以是追踪质量评分阈值。如果追踪质量评分小于追踪质量评分阈值,则打开追踪对象上的指示器,提示用户可 以暂停手术,直到追踪质量评分大于或等于追踪质量评分阈值。Exemplarily, the tracking quality evaluation result is determined based on the parameter values and parameter weights of the tracking quality parameters corresponding to the at least two tracking rays respectively. Wherein, for example, the tracking quality evaluation result may be a tracking quality score, and correspondingly, the tracking quality evaluation standard may be a tracking quality score threshold. If the Tracking Quality Score is less than the Tracking Quality Score Threshold, an indicator on the tracked object is turned on, prompting the user that the procedure can be paused until the Tracking Quality Score is greater than or equal to the Tracking Quality Score Threshold.
S430、基于调整后的标记物对应的调整标记物图像,确定手术追踪系统中追踪对象的空间位姿。S430. Determine the spatial pose of the tracking object in the surgical tracking system based on the adjusted marker image corresponding to the adjusted marker.
基于调整标记物图像确定调整后的标记物对应的转换误差数据,如果转换误差数据小于或等于预设误差阈值,则基于调整后的标记物的局部位置数据和空间位置数据,确定追踪对象在世界坐标系下的空间位姿。其中,空间位姿包括位置数据和角度数据,其中,角度数据可基于至少三个标记物的空间位置数据对应的空间位置关系和局部位置数据对应的局部位置关系确定。示例性的,假设三个标记物的空间位置数据对应的空间位置关系为与水平面平行的三角形,如果三个标记物的局部位置数据对应的局部位置关系为与追踪对象平行的三角形,则追踪对象的角度数据为与水平面平行;如果三个标记物的局部位置数据对应的局部位置关系为与追踪对象垂直的三角形,则追踪对象的角度数据为与水平面垂直。The conversion error data corresponding to the adjusted marker is determined based on the adjusted marker image, and if the conversion error data is less than or equal to the preset error threshold, then based on the local position data and spatial position data of the adjusted marker, it is determined that the tracking object is in the world The spatial pose in the coordinate system. The spatial pose includes position data and angle data, wherein the angle data may be determined based on the spatial position relationship corresponding to the spatial position data of the at least three markers and the local position relationship corresponding to the local position data. Exemplarily, it is assumed that the spatial position relationship corresponding to the spatial position data of the three markers is a triangle parallel to the horizontal plane, if the local position relationship corresponding to the local position data of the three markers is a triangle parallel to the tracking object, then the tracking object The angle data is parallel to the horizontal plane; if the local positional relationship corresponding to the local position data of the three markers is a triangle perpendicular to the tracking object, the angle data of the tracking object is perpendicular to the horizontal plane.
本实施例的技术方案,通过基于标记物图像确定的空间位置数据和局部位置数据,确定标记物对应的转换误差数据,并基于转换误差数据控制手术追踪系统中的状态调整装置调整标记物的标记状态,解决了追踪过程中标记物被遮挡的问题,提高了手术的灵活性和降低了手术风险。The technical solution of this embodiment is to determine the conversion error data corresponding to the marker by using the spatial position data and local position data determined based on the image of the marker, and control the state adjustment device in the surgical tracking system to adjust the mark of the marker based on the conversion error data. It solves the problem that the marker is occluded during the tracking process, improves the flexibility of surgery and reduces the risk of surgery.
实施例五 Embodiment 5
图8是本申请实施例五提供的一种手术追踪系统的控制方法的流程图,本实施例的技术方案是在上述实施例的基础上进行说明。追踪质量参数包括图像质量、追踪射线与相机中心轴的角度质量、追踪射线的稳定值、追踪射线与标记物的误差质量、追踪射线与标记物中心轴的角度质量中的至少一种。FIG. 8 is a flowchart of a control method of an operation tracking system provided in Embodiment 5 of the present application. The technical solution of this embodiment is described on the basis of the above-mentioned embodiment. The tracking quality parameter includes at least one of image quality, angular quality between the tracking ray and the central axis of the camera, stable value of the tracking ray, error quality between the tracking ray and the marker, and angular quality between the tracking ray and the central axis of the marker.
本实施例的实施步骤包括:The implementation steps of this embodiment include:
S510、获取至少两个相机装置分别采集到的至少两个标记物图像。S510: Acquire at least two marker images respectively collected by at least two camera devices.
S520、针对每个标记物图像,基于标记物图像中与标记物对应的标记中心点和标记物图像对应的相机装置的相机镜头中心点,确定标记物图像对应的追踪射线。S520. For each marker image, determine a tracking ray corresponding to the marker image based on the marker center point corresponding to the marker in the marker image and the center point of the camera lens of the camera device corresponding to the marker image.
S530、针对每个标记物,基于与标记物对应的追踪射线的追踪质量参数,确定至少两个目标追踪射线以及与每个目标追踪射线对应的射线权重。S530. For each marker, determine at least two target tracking rays and a ray weight corresponding to each target tracking ray based on the tracking quality parameter of the tracking ray corresponding to the marker.
在一个实施例中,当追踪质量参数包括图像质量时,方法还包括:针对每个标记物图像,基于标记物图像的图像尺寸、图像亮度和图像圆度中至少一种图像参数,确定基于标记物图像确定的追踪射线对应的图像质量。In one embodiment, when the tracking quality parameter includes image quality, the method further includes: for each marker image, determining, for each marker image, based on at least one image parameter of image size, image brightness, and image roundness of the marker image, determining a marker based on the marker image. The image quality corresponding to the traced ray determined by the object image.
根据光学追踪原理,相机成像单元上的标记物图像的形状为圆形。由于追踪射线是基于标记物的标记中心点和相机镜头中心点确定的,因此标记物图像的尺寸和圆度会影响到标记中心点的精确度,进而影响到追踪射线的质量。According to the principle of optical tracking, the shape of the marker image on the camera imaging unit is a circle. Since the tracking ray is determined based on the marker center point of the marker and the center point of the camera lens, the size and roundness of the marker image will affect the accuracy of the marker center point, which in turn affects the quality of the tracking ray.
示例性的,基于图像尺寸、图像亮度和图像圆度分别对应的尺寸等级、亮度等级和圆度等级,确定图像质量。示例性的,不同等级对应的尺寸范围、亮度范围和圆度范围不同,根据图像尺寸、图像亮度和图像圆度分别处于的尺寸范围、亮度范围和圆度范围确定标记物图像对应的尺寸等级、亮度等级和圆度等级。其中,图像质量可用于评价标记物图像的质量,当图像质量较高时,将该标记物图像对应的追踪射线作为目标追踪射线或增大该标记物图像对应的追踪射线的射线权重。Exemplarily, the image quality is determined based on a size level, a brightness level, and a circularity level corresponding to the image size, the image brightness, and the image circularity, respectively. Exemplarily, the size range, brightness range and circularity range corresponding to different levels are different, and the size level corresponding to the marker image is determined according to the size range, brightness range and circularity range in which the image size, image brightness and image circularity are respectively located. Brightness level and roundness level. The image quality can be used to evaluate the quality of the marker image. When the image quality is high, the tracking ray corresponding to the marker image is used as the target tracking ray or the ray weight of the tracking ray corresponding to the marker image is increased.
在一个实施例中,当追踪质量参数包括追踪射线与相机中心轴的角度质量时,方法还包括:针对每个追踪射线,基于追踪射线与追踪射线对应的相机装置的中心轴线之间的夹角,确定追踪射线与相机中心轴的角度质量。In one embodiment, when the tracking quality parameter includes the angular quality of the tracking ray and the central axis of the camera, the method further includes: for each tracking ray, based on the included angle between the tracking ray and the central axis of the camera device corresponding to the tracking ray , which determines the angular quality of the traced ray to the camera's central axis.
示例性的,当追踪射线与相机中心轴的角度质量较高时,说明追踪射线与相机装置的中心轴线之间的夹角较小,相反的,当追踪射线与相机中心轴的角度质量较低时,说明追踪射线与相机装置的中心轴线之间的夹角较大。图9是本申请实施例五提供的一种追踪射线与相机中心轴的角度的示意图。追踪射线是基于标记中心点和相机镜头中心点确定的射线,相机装置的中心轴线是基于相机成像单元的单元中心点和相机镜头中心确定的射线,图9中的“α”表示追踪射线与相机装置的中心轴线之间的夹角。Exemplarily, when the quality of the angle between the tracking ray and the central axis of the camera is relatively high, it means that the angle between the tracking ray and the central axis of the camera device is relatively small. On the contrary, when the angular quality between the tracking ray and the central axis of the camera is relatively low , it means that the angle between the tracking ray and the central axis of the camera device is relatively large. FIG. 9 is a schematic diagram of an angle between a tracking ray and a central axis of a camera according to Embodiment 5 of the present application. The tracking ray is a ray determined based on the center point of the marker and the center point of the camera lens. The center axis of the camera device is a ray determined based on the center point of the camera imaging unit and the center of the camera lens. "α" in Figure 9 represents the tracking ray and the camera lens. The angle between the central axes of the device.
在一个实施例中,当追踪质量参数包括追踪射线的稳定值时,方法还包括:针对每个追踪射线,确定追踪射线在第二预设时间长度内的状态变化次数和/或追踪射线对应的除追踪射线的稳定值之外的至少一个追踪质量参数在第二预设时间长度内的波动次数,基于状态变化次数和/或波动次数,确定追踪射线的稳定值。In one embodiment, when the tracking quality parameter includes a stable value of the tracking ray, the method further includes: for each tracking ray, determining the number of state changes of the tracking ray within the second preset time length and/or the number of state changes corresponding to the tracking ray The number of fluctuations of the at least one tracking quality parameter other than the stable value of the tracking ray within the second preset time length, and the stable value of the tracking ray is determined based on the number of state changes and/or the number of fluctuations.
手术过程中,由于追踪对象的移动和旋转等操作,可能会出现多个标记物在同一相机装置上的成像投影发生重合或标记物被遮挡或者脱离相机追踪范围的情况,当这种情况发生时,可能会导致追踪射线的消失。追踪射线的反复出现和消失会使得确定的位姿数据产生一定的波动。所以即使标记物的实际位置并没有发生变化,部分追踪射线的消失也将对标记物的空间位置数据产生一定的影响。During the operation, due to the movement and rotation of the tracking object, the imaging projections of multiple markers on the same camera device may overlap or the markers are occluded or out of the tracking range of the camera. When this happens , which may lead to the disappearance of the tracing ray. The repeated appearance and disappearance of the tracking rays will cause certain fluctuations in the determined pose data. Therefore, even if the actual position of the marker does not change, the disappearance of part of the tracking rays will have a certain impact on the spatial position data of the marker.
在一个实施例中,状态变化次数包括出现次数和/或消失次数,波动次数用于表征追踪质量参数对应的参数变化量超过预设变化量阈值的次数。In one embodiment, the number of state changes includes the number of occurrences and/or the number of disappearances, and the number of fluctuations is used to represent the number of times that the parameter change corresponding to the tracking quality parameter exceeds a preset change threshold.
当追踪质量参数包括追踪射线的稳定值和至少一个其他追踪质量参数时,确定除追踪射线的稳定值之外的至少一个追踪质量参数在第二预设时间长度内的波动次数。其中,示例性的,其他追踪质量参数可以是图像质量、追踪射线与相机中心轴的角度质量、追踪射线与标记物的误差质量、追踪射线与标记物中心轴的角度质量中的至少一种。其中,示例性的,假设追踪质量参数为图像质量,且在第二预设时间长度内确定的图像质量的参数值分别为10、9、10.5、9和9.5,假设预设变化量阈值为1,则波动次数为2次。When the tracking quality parameter includes the stable value of the tracking ray and at least one other tracking quality parameter, the number of fluctuations of the at least one tracking quality parameter other than the stable value of the tracking ray within the second preset time length is determined. Exemplarily, other tracking quality parameters may be at least one of image quality, angular quality between the tracking ray and the central axis of the camera, error quality between the tracking ray and the marker, and angular quality between the tracking ray and the central axis of the marker. Wherein, exemplarily, it is assumed that the tracking quality parameter is image quality, and the parameter values of the image quality determined within the second preset time length are 10, 9, 10.5, 9, and 9.5, respectively, and it is assumed that the preset change threshold is 1 , the number of fluctuations is 2.
在一个实施例中,当追踪质量参数包括追踪射线与标记物中心轴的角度质量时,方法还包括:针对每个追踪射线,基于追踪射线与追踪射线对应的标记物的中心轴线之间的夹角,确定追踪射线与标记物中心轴的角度质量。In one embodiment, when the tracking quality parameter includes the angular quality of the tracking ray and the central axis of the marker, the method further includes: for each tracking ray, based on the clip between the tracking ray and the central axis of the marker corresponding to the tracking ray Angle, which determines the angular quality of the tracing ray to the central axis of the marker.
示例性的,当追踪射线与标记物中心轴的角度质量较高时,说明追踪射线与标记物的中心轴线之间的夹角较小,相反的,当追踪射线与标记物中心轴的角度质量较低时,说明追踪射线与标记物的中心轴线之间的夹角较大。图10是本申请实施例五提供的一种追踪射线与标记物中心轴的角度的示意图。图10中的“β”表示追踪射线与标记物的中心轴线之间的夹角。Exemplarily, when the angular quality between the tracking ray and the central axis of the marker is relatively high, it means that the angle between the tracking ray and the central axis of the marker is small. On the contrary, when the angular quality between the tracking ray and the central axis of the marker is When it is lower, it means that the angle between the tracking ray and the central axis of the marker is larger. FIG. 10 is a schematic diagram of the angle between the tracking ray and the central axis of the marker according to the fifth embodiment of the present application. "β" in Figure 10 represents the angle between the tracking ray and the central axis of the marker.
由于标记物的中心轴线随追踪对象的移动或旋转而变化,因此,该方法还包括获取追踪对象对应的上一空间位姿,基于上一空间位姿和局部位置数据确定标记物的上一中心轴线,确定当前追踪射线与标记物的上一中心轴线之间的夹角,确定追踪射线与标记物中心轴的角度质量。由于手术追踪系统计算追踪对象的空间位姿的频率较高,因此标记物的上一中心轴线与追踪射线对应的当前中心轴线之间的误差可忽略不计。Since the center axis of the marker changes with the movement or rotation of the tracked object, the method further includes acquiring the last spatial pose corresponding to the tracked object, and determining the last center of the marker based on the last spatial pose and local position data axis, to determine the angle between the current tracking ray and the last central axis of the marker, and to determine the angular quality of the tracking ray and the central axis of the marker. Since the surgical tracking system calculates the spatial pose of the tracked object more frequently, the error between the last central axis of the marker and the current central axis corresponding to the tracking ray is negligible.
S540、基于至少两个目标追踪射线和每个目标追踪射线对应的射线权重,确定标记物的空间位置数据。S540. Determine the spatial position data of the marker based on the at least two target tracking rays and the ray weight corresponding to each target tracking ray.
S550、基于标记物的局部位置数据和空间位置数据,确定标记物对应的转换误差数据,并基于转换误差数据,控制状态调整装置调整标记物的标记状态。S550. Determine the conversion error data corresponding to the marker based on the local position data and the spatial position data of the marker, and control the state adjustment device to adjust the marking state of the marker based on the conversion error data.
S560、基于调整后的标记物对应的调整标记物图像,确定手术追踪系统中追踪对象的空间位姿。S560. Determine the spatial pose of the tracking object in the surgical tracking system based on the adjusted marker image corresponding to the adjusted marker.
本实施例的技术方案,通过多种追踪质量参数对基于标记物图像确定的追踪射线进行筛选或权重的调整,以基于确定的目标追踪射线和目标追踪射线对应的射线权重计算标记物的空间位置数据,解决了手术追踪系统计算结果不准确的问题,通过选取高质量的追踪射线或降低低质量的追踪射线对应的权重,提高了基于调整后的追踪射线和射线权重计算得到的追踪对象的空间位姿的精确度。According to the technical solution of this embodiment, the tracking rays determined based on the marker image are screened or the weights are adjusted through various tracking quality parameters, so as to calculate the spatial position of the marker based on the determined target tracking rays and the ray weights corresponding to the target tracking rays It solves the problem of inaccurate calculation results of the surgical tracking system. By selecting high-quality tracking rays or reducing the corresponding weights of low-quality tracking rays, the space of the tracking object calculated based on the adjusted tracking rays and ray weights is improved. Pose accuracy.
实施例六 Embodiment 6
图11是本申请实施例六提供的一种手术追踪系统的控制方法的流程图,本实施例的技术方案是在上述实施例的基础上进行说明。所述方法还包括:获取预设对象的空间位置数据,基于所述空间位置数据和与所述预设对象对应的相机装置的相机位置,确定所述预设对象与相机装置之间的对象距离;其中,所述预设对象为标记物或追踪对象;基于所述对象距离,控制与所述对象距离对应的相机装置执行对焦处理。FIG. 11 is a flowchart of a control method of a surgical tracking system provided in Embodiment 6 of the present application. The technical solution of this embodiment is described on the basis of the above-mentioned embodiment. The method further includes: acquiring spatial position data of a preset object, and determining an object distance between the preset object and the camera device based on the spatial position data and a camera position of a camera device corresponding to the preset object ; wherein, the preset object is a marker or a tracking object; and based on the object distance, the camera device corresponding to the object distance is controlled to perform focusing processing.
S610、获取至少两个相机装置分别采集到的至少两个标记物图像,并基于至少两个标记物图像确定标记物的空间位置数据。S610: Acquire at least two marker images separately collected by at least two camera devices, and determine spatial position data of the marker based on the at least two marker images.
S620、基于标记物的局部位置数据和空间位置数据,确定标记物对应的转换误差数据,并基于转换误差数据,控制状态调整装置调整标记物的标记状态。S620. Determine the conversion error data corresponding to the marker based on the local position data and the spatial position data of the marker, and control the state adjustment device to adjust the marking state of the marker based on the conversion error data.
在上述实施例的基础上,该方法还包括:获取第一预设时间长度内确定的至少一个标记物各自对应的空间位置数据;针对每个标记物,基于标记物对应的空间位置数据,确定标记物的稳定性评估结果,并基于稳定性评估结果,调整标记物对应的标记权重,和/或,控制状态调整装置调整标记物的标记状态。On the basis of the above-mentioned embodiment, the method further includes: acquiring spatial position data corresponding to at least one marker determined within the first preset time length; for each marker, determining the corresponding spatial position data based on the marker The stability evaluation result of the marker, and based on the stability evaluation result, the marker weight corresponding to the marker is adjusted, and/or the state adjustment device is controlled to adjust the marker state of the marker.
手术追踪系统基于预设频率计算每个标记物对应的空间位置数据,示例性的,假设预设频率为100Hz,则针对同一标记物,手术追踪系统在1秒钟内计算得到100个空间位置数据。The surgical tracking system calculates the spatial position data corresponding to each marker based on the preset frequency. Exemplarily, if the preset frequency is 100 Hz, then for the same marker, the surgical tracking system calculates 100 spatial position data within 1 second. .
在一个实施例中,基于第一预设时间长度内标记物对应的空间位置数据的统计数据量以及手术追踪系统的预设频率对应的标准数据量,确定标记物的稳定性评估结果。其中,稳定性评估结果包括统计数据量与标准数据量之间的差值绝对值或比例值。In one embodiment, the stability evaluation result of the marker is determined based on the statistical data volume of the spatial position data corresponding to the marker within the first preset time length and the standard data volume corresponding to the preset frequency of the surgical tracking system. The stability evaluation result includes the absolute value or the proportional value of the difference between the statistical data volume and the standard data volume.
举例而言,假设第一预设时间长度为2秒钟,预设频率为100Hz,则标准数据量为200个。假设统计数据量为150个,则二者的差值绝对值为50,比例值为4/3或3/4。其中,示例性的,如果稳定性评估结果中的差值绝对值或比例值大于预设差值阈值或预设比例阈值,则调整标记物对应的标记权重,和/或,控制状态调整装置调整标记物的标记状态。For example, assuming that the first preset time length is 2 seconds and the preset frequency is 100 Hz, the standard data volume is 200 pieces. Assuming that the number of statistical data is 150, the absolute value of the difference between the two is 50, and the ratio is 4/3 or 3/4. Wherein, exemplarily, if the absolute value of the difference or the ratio in the stability evaluation result is greater than the preset difference threshold or the preset ratio threshold, the marking weight corresponding to the marker is adjusted, and/or the state adjustment device is controlled to adjust The marker state of the marker.
在另一个实施例中,获取第一预设时间长度内追踪对象对应的空间位姿;基于标记物对应的空间位置数据确定标记物对应的标记物变化频率,基于追踪对象对应的空间位姿确定追踪对象对应的追踪对象变化频率,基于标记物变化频率和追踪对象变化频率之间的差值确定标记物的稳定性评估结果。In another embodiment, the spatial pose corresponding to the tracking object within the first preset time length is obtained; the change frequency of the marker corresponding to the marker is determined based on the spatial position data corresponding to the marker, and the spatial pose corresponding to the tracking object is determined based on the The tracking object change frequency corresponding to the tracking object, and the stability evaluation result of the marker is determined based on the difference between the marker change frequency and the tracking object change frequency.
如果当前空间位置数据与上一空间位置数据之间的差值大于第一预设差值阈值,则将标记物对应的变化次数加1。如果当前空间位姿与上一空间位姿之 间的差值大于第二预设差值阈值,则将追踪对象对应的变化次数加1。基于标记物对应的变化次数和第一预设时间长度确定标记物变化频率,基于追踪对象对应的变化次数和第一预设时间长度确定追踪对象变化频率。If the difference between the current spatial position data and the previous spatial position data is greater than the first preset difference threshold, the number of changes corresponding to the marker is increased by 1. If the difference between the current spatial pose and the previous spatial pose is greater than the second preset difference threshold, the number of changes corresponding to the tracking object is increased by 1. The marker change frequency is determined based on the number of changes corresponding to the marker and the first preset time length, and the change frequency of the tracked object is determined based on the number of changes corresponding to the tracking object and the first preset time length.
S630、获取预设对象的空间位置数据,基于空间位置数据和与预设对象对应的相机装置的相机位置,确定预设对象与相机装置之间的对象距离。S630. Acquire spatial position data of the preset object, and determine the object distance between the preset object and the camera device based on the spatial position data and the camera position of the camera device corresponding to the preset object.
在本实施中,预设对象为标记物或追踪对象。其中,当预设对象为追踪对象时,在S620中计算得到追踪对象对应的空间位姿,其中,空间位姿包括空间位置数据。In this implementation, the preset object is a marker or a tracking object. Wherein, when the preset object is the tracking object, the spatial pose corresponding to the tracking object is calculated and obtained in S620, wherein the spatial pose includes spatial position data.
S640、基于对象距离,控制与对象距离对应的相机装置执行对焦处理。S640. Based on the object distance, control the camera device corresponding to the object distance to perform focusing processing.
示例性的,对焦处理用于表征相机装置通过调整物距和像距,使得采集到的标记物图像可以清晰的成像到相机成像单元上。其中,物距u是指标记物到相机镜头中心点的距离,像距v是指相机成像单元到相机镜头中心点的距离。在本实施例中,对象距离可以是指物距。Exemplarily, the focusing process is used to characterize the camera device by adjusting the object distance and the image distance, so that the collected image of the marker can be clearly imaged on the camera imaging unit. Among them, the object distance u refers to the distance from the marker to the center point of the camera lens, and the image distance v refers to the distance from the camera imaging unit to the center point of the camera lens. In this embodiment, the object distance may refer to the object distance.
物距u和像距v满足成像定律
Figure PCTCN2022071505-appb-000011
其中,焦距f是指平行光入射时从相机镜头中心点到光聚焦焦点之间的距离。当焦距确定时,物距和像距满足一元函数关系,调整相机成像单元与相机镜头之间的距离(即像距)的过程可以理解为对焦的处理过程。
The object distance u and the image distance v satisfy the imaging law
Figure PCTCN2022071505-appb-000011
Among them, the focal length f refers to the distance from the center point of the camera lens to the focus of the light when parallel light is incident. When the focal length is determined, the object distance and the image distance satisfy a one-dimensional function relationship, and the process of adjusting the distance (ie, the image distance) between the camera imaging unit and the camera lens can be understood as a focusing process.
S650、基于调整后的标记物和对焦处理后的相机装置,重新获取调整后的标记物对应的调整标记物图像,确定手术追踪系统中追踪对象的空间位姿。S650 , based on the adjusted marker and the camera device after focusing processing, reacquire an adjusted marker image corresponding to the adjusted marker, and determine the spatial pose of the tracking object in the surgical tracking system.
在上述实施例的基础上,当追踪对象为轮廓仪时,方法还包括:获取轮廓仪扫描得到的被测对象对应的轮廓数据;基于轮廓仪与被测对象之间的相对位置数据和轮廓仪的空间位姿,对轮廓数据进行三维重建处理,得到被测对象对应的三维轮廓数据。On the basis of the above embodiment, when the tracking object is a profiler, the method further includes: acquiring profile data corresponding to the measured object scanned by the profiler; based on the relative position data between the profiler and the measured object and the profiler The three-dimensional contour data corresponding to the measured object is obtained by performing three-dimensional reconstruction processing on the contour data.
轮廓仪扫描得到的轮廓数据是基于轮廓仪坐标系的轮廓数据,因此轮廓仪扫描得到的轮廓数据与轮廓仪的相对位置固定,也就是说,轮廓仪与被测对象之间的相对位置数据固定。基于轮廓仪与被测对象之间的相对位置数据和轮廓仪在世界坐标系下的空间位姿,将轮廓仪坐标系下的轮廓数据转换到世界坐标系下,并对转换后的多个轮廓数据进行三维重建处理,得到被测对象在世界坐标系下的三维轮廓数据。本实施例可应用于术前三维影像配准和/或术中患者体位配准。The profile data scanned by the profiler is the profile data based on the profiler coordinate system, so the relative position of the profile data scanned by the profiler and the profiler is fixed, that is, the relative position data between the profiler and the measured object is fixed. . Based on the relative position data between the profilometer and the measured object and the spatial pose of the profilometer in the world coordinate system, the contour data in the profilometer coordinate system is converted into the world coordinate system, and the converted contours are analyzed. The data is subjected to three-dimensional reconstruction processing to obtain the three-dimensional contour data of the measured object in the world coordinate system. This embodiment can be applied to preoperative three-dimensional image registration and/or intraoperative patient position registration.
图12是本申请实施例六提供的另一种手术追踪系统的控制方法的流程图。将具有多个标记物的追踪对象放置在多个相机装置共同的视野内,基于相机装 置采集到的标记物图像,确定与每个标记物对应的至少一个追踪射线。一方面,基于追踪射线对应的图像质量、追踪射线与相机中心轴线的夹角以及追踪射线的时间稳定值,调整追踪射线对应的射线权重和/或对确定出的标记物进行筛选,得到用作标记物计算的目标追踪射线,基于目标追踪射线和目标追踪射线对应的射线权重计算追踪对象上多个标记物对应的空间坐标。此外,基于目标追踪射线和目标追踪射线对应的射线权重计算得到的标记物对应的空间坐标使得追踪射线与标记物的误差最小。FIG. 12 is a flowchart of another control method of an operation tracking system provided in Embodiment 6 of the present application. A tracking object with multiple markers is placed in a common field of view of multiple camera devices, and at least one tracking ray corresponding to each marker is determined based on the marker images collected by the camera devices. On the one hand, based on the image quality corresponding to the tracking ray, the angle between the tracking ray and the central axis of the camera, and the time stable value of the tracking ray, the ray weight corresponding to the tracking ray is adjusted and/or the determined markers are screened to obtain a value that is used as For the target tracking ray calculated by the marker, the spatial coordinates corresponding to the multiple markers on the tracking object are calculated based on the target tracking ray and the ray weight corresponding to the target tracking ray. In addition, the spatial coordinates corresponding to the marker calculated based on the target tracking ray and the ray weight corresponding to the target tracking ray minimize the error between the tracking ray and the marker.
另一方面,对第一预设时间长度内标记物的稳定性进行评估,基于稳定性评估结果调整标记物对应的标记权重和/或调整用作追踪对象计算的标记物状态。基于标记物的空间位置数据和局部位置数据,确定追踪对象对应的转换矩阵,基于转换矩阵确定标记物与追踪对象的转换误差数据,并基于转换误差数据调整标记物对应的标记权重和/或调整用作追踪对象计算的标记物状态。此外,基于追踪对象的空间位姿确定追踪对象上标记物的标记物中心轴线,基于追踪射线与标记物中心轴线之间的角度,调整追踪射线对应的射线权重和/或对确定出的标记物进行筛选,得到用作标记物计算的目标追踪射线。On the other hand, the stability of the marker within the first preset time length is evaluated, and the marker weight corresponding to the marker is adjusted based on the stability evaluation result and/or the marker state used for calculation of the tracking object is adjusted. Based on the spatial position data and local position data of the marker, determine the transformation matrix corresponding to the tracking object, determine the transformation error data between the marker and the tracking object based on the transformation matrix, and adjust the marker weight and/or adjustment corresponding to the marker based on the transformation error data The marker state used for tracking object calculations. In addition, the central axis of the marker of the marker on the tracking object is determined based on the spatial pose of the tracking object, and based on the angle between the tracking ray and the central axis of the marker, the ray weight corresponding to the tracking ray is adjusted and/or the determined marker is adjusted. Screening is performed to obtain target tracking rays used for marker calculations.
再一方面,基于标记物的空间位置数据或追踪射线的空间位姿,确定标记物或追踪射线与相机装置之间的对象距离,基于对象距离控制与对象距离对应的相机装置执行对焦处理,并基于对焦处理后的相机装置重新采集标记物对应的标记物图像。In another aspect, the object distance between the marker or the tracking ray and the camera device is determined based on the spatial position data of the marker or the spatial pose of the tracking ray, and the camera device corresponding to the object distance is controlled to perform focusing processing based on the object distance, and The image of the marker corresponding to the marker is re-acquired based on the camera device after focusing processing.
本实施例的技术方案,通过计算标记物或追踪射线与相机装置之间的距离,基于该距离调整相机装置的相机焦距,解决了手术追踪系统计算结果不准确的问题,提高了标记物图像的图像质量,进而提高了基于标记物图像确定的追踪射线的追踪质量,提高了计算得到的追踪对象的空间位姿的精确度。The technical solution of this embodiment, by calculating the distance between the marker or the tracking ray and the camera device, and adjusting the camera focal length of the camera device based on the distance, solves the problem that the calculation result of the surgical tracking system is inaccurate, and improves the accuracy of the marker image. The image quality is improved, the tracking quality of the tracking ray determined based on the marker image is improved, and the accuracy of the calculated spatial pose of the tracking object is improved.
实施例七Embodiment 7
图13是本申请实施例七提供的一种手术追踪系统的控制装置的示意图。本实施例可适用于对手术过程中的追踪对象进行追踪定位的情况,该装置可采用软件和/或硬件的方式实现,该装置可以配置于手术追踪系统中。该手术追踪系统的控制装置包括:空间位置数据确定模块710、标记状态调整模块720和空间位姿确定模块730。FIG. 13 is a schematic diagram of a control device of a surgical tracking system according to Embodiment 7 of the present application. This embodiment can be applied to the situation of tracking and positioning the tracking object during the operation, the device can be implemented by software and/or hardware, and the device can be configured in the operation tracking system. The control device of the surgical tracking system includes: a spatial position data determination module 710 , a marker state adjustment module 720 and a spatial pose determination module 730 .
空间位置数据确定模块710,设置为获取至少两个相机装置分别采集到的至少两个标记物图像,并基于至少两个标记物图像确定标记物的空间位置数据;标记状态调整模块720,设置为基于标记物的局部位置数据和空间位置数据,确定标记物对应的转换误差数据,并基于转换误差数据,控制状态调整装置调整标记物的标记状态;其中,局部位置数据和空间位置数据分别用于表征标记物 在追踪对象坐标系下的位置数据和在世界坐标系下的位置数据;空间位姿确定模块730,设置为基于调整后的标记物对应的调整标记物图像,确定手术追踪系统中追踪对象的空间位姿。The spatial position data determination module 710 is configured to acquire at least two marker images respectively collected by at least two camera devices, and determine the spatial position data of the marker based on the at least two marker images; the marker state adjustment module 720 is configured to Based on the local position data and spatial position data of the marker, the corresponding conversion error data of the marker is determined, and based on the conversion error data, the state adjusting device is controlled to adjust the marking state of the marker; wherein, the local position data and the spatial position data are respectively used for Characterize the position data of the marker under the tracking object coordinate system and the position data under the world coordinate system; the spatial pose determination module 730 is set to determine the tracking in the surgical tracking system based on the adjusted marker image corresponding to the adjusted marker The spatial pose of the object.
本实施例的技术方案,通过基于标记物图像确定的空间位置数据和局部位置数据,确定标记物对应的转换误差数据,并基于转换误差数据控制手术追踪系统中的状态调整装置调整标记物的标记状态,解决了追踪过程中标记物被遮挡的问题,提高了手术的灵活性和降低了手术风险。In the technical solution of this embodiment, the conversion error data corresponding to the marker is determined by using the spatial position data and local position data determined based on the image of the marker, and the state adjustment device in the surgical tracking system is controlled to adjust the mark of the marker based on the conversion error data. state, solves the problem of markers being occluded during the tracking process, improves the flexibility of surgery and reduces the risk of surgery.
在上述技术方案的基础上,该装置还包括:On the basis of the above technical solution, the device also includes:
标记物稳定性评估模块,设置为获取第一预设时间长度内确定的至少一个标记物各自对应的空间位置数据;针对每个标记物,基于标记物对应的空间位置数据,确定标记物的稳定性评估结果,并基于稳定性评估结果,调整标记物对应的标记权重,和/或,控制状态调整装置调整标记物的标记状态。a marker stability evaluation module, configured to obtain spatial position data corresponding to at least one marker determined within the first preset time length; for each marker, determine the stability of the marker based on the spatial position data corresponding to the marker The stability evaluation result, and based on the stability evaluation result, the marking weight corresponding to the marker is adjusted, and/or the state adjusting device is controlled to adjust the marking state of the marker.
在上述技术方案的基础上,空间位置数据确定模块710包括:On the basis of the above technical solutions, the spatial position data determination module 710 includes:
追踪射线确定单元,设置为针对每个标记物图像,基于标记物图像中与标记物对应的标记中心点和标记物图像对应的相机装置的相机镜头中心点,确定标记物图像对应的追踪射线;射线权重确定单元,设置为针对每个标记物,基于与标记物对应的追踪射线的追踪质量参数,确定至少两个目标追踪射线以及与每个目标追踪射线对应的射线权重;空间位置数据确定单元,设置为基于至少两个目标追踪射线和每个目标追踪射线对应的射线权重,确定标记物的空间位置数据。A tracking ray determination unit, configured to determine, for each marker image, a tracking ray corresponding to the marker image based on the marker center point corresponding to the marker and the camera lens center point of the camera device corresponding to the marker image in the marker image; a ray weight determination unit, configured to, for each marker, determine at least two target tracking rays and a ray weight corresponding to each target tracking ray based on the tracking quality parameter of the tracking ray corresponding to the marker; the spatial position data determining unit , which is set to determine the spatial position data of the marker based on at least two target tracking rays and a ray weight corresponding to each target tracking ray.
在上述技术方案的基础上,追踪质量参数包括图像质量、追踪射线与相机中心轴的角度质量、追踪射线的稳定值、追踪射线与标记物的误差质量、追踪射线与标记物中心轴的角度质量中的至少一种。Based on the above technical solutions, the tracking quality parameters include image quality, the angular quality between the tracking ray and the central axis of the camera, the stable value of the tracking ray, the error quality between the tracking ray and the marker, and the angular quality between the tracking ray and the central axis of the marker at least one of them.
在上述技术方案的基础上,当追踪质量参数包括图像质量时,该装置还包括:On the basis of the above technical solution, when the tracking quality parameter includes image quality, the device further includes:
图像质量确定模块,设置为针对每个标记物图像,基于标记物图像的图像尺寸、图像亮度和图像圆度中的至少一种图像参数,确定基于标记物图像确定的追踪射线对应的图像质量。The image quality determination module is configured to, for each marker image, determine the image quality corresponding to the tracking ray determined based on the marker image based on at least one image parameter of image size, image brightness and image roundness of the marker image.
在上述技术方案的基础上,当追踪质量参数包括追踪射线与相机中心轴的角度质量时,该装置还包括:On the basis of the above technical solution, when the tracking quality parameter includes the angular quality between the tracking ray and the central axis of the camera, the device further includes:
相机中心轴的角度确定模块,设置为针对每个追踪射线,基于追踪射线与追踪射线对应的相机装置的中心轴线之间的夹角,确定追踪射线与相机中心轴的角度质量。The angle determination module of the camera central axis is configured to, for each tracking ray, determine the angular quality of the tracking ray and the camera central axis based on the included angle between the tracking ray and the central axis of the camera device corresponding to the tracking ray.
在上述技术方案的基础上,当追踪质量参数包括追踪射线的稳定值时,该装置还包括:On the basis of the above technical solution, when the tracking quality parameter includes the stable value of the tracking ray, the device further includes:
追踪射线稳定性确定模块,设置为针对每个追踪射线,确定追踪射线在第二预设时间长度内的状态变化次数和/或追踪射线对应的除追踪射线的稳定值之外的至少一个追踪质量参数在第二预设时间长度内的波动次数,基于状态变化次数和/或波动次数,确定追踪射线的稳定值。A tracking ray stability determination module, configured to, for each tracking ray, determine the number of state changes of the tracking ray within the second preset time length and/or at least one tracking quality corresponding to the tracking ray except the stable value of the tracking ray The number of fluctuations of the parameter within the second preset time length is based on the number of state changes and/or the number of fluctuations to determine the stable value of the tracking ray.
在上述技术方案的基础上,当追踪质量参数包括追踪射线与标记物的误差质量时,射线权重确定单元,设置为:On the basis of the above technical solution, when the tracking quality parameter includes the error quality between the tracking ray and the marker, the ray weight determination unit is set to:
基于追踪射线与标记物的误差质量,确定至少两个目标追踪射线以及与每个目标追踪射线对应的射线权重,以使基于目标追踪射线和射线权重确定的标记物的空间位置数据满足追踪射线与标记物的误差质量最小;其中,追踪射线与标记物的误差质量用于表征标记物与至少两个追踪射线之间的权重距离平方和。Determine at least two target tracking rays and a ray weight corresponding to each target tracking ray based on the error quality of the tracking ray and the marker, so that the spatial position data of the marker determined based on the target tracking ray and the ray weight satisfy the tracking ray and the ray weight. The error mass of the marker is the smallest; wherein, the error mass of the tracking ray and the marker is used to characterize the weighted sum of squared distances between the marker and at least two tracking rays.
在上述技术方案的基础上,当追踪质量参数包括追踪射线与标记物中心轴的角度质量时,该装置还包括:On the basis of the above technical solution, when the tracking quality parameter includes the angular quality between the tracking ray and the central axis of the marker, the device further includes:
标记物中心轴的角度确定模块,设置为针对每个追踪射线,基于追踪射线与追踪射线对应的标记物的中心轴线之间的夹角,确定追踪射线与标记物中心轴的角度质量。The angle determination module for the central axis of the marker is configured to, for each tracking ray, determine the angular quality of the tracking ray and the central axis of the marker based on the included angle between the tracking ray and the central axis of the marker corresponding to the tracking ray.
在上述技术方案的基础上,该装置还包括:On the basis of the above technical solution, the device also includes:
相机焦距调整模块,设置为获取预设对象的空间位置数据,基于空间位置数据和与预设对象对应的相机装置的相机位置,确定预设对象与相机装置之间的对象距离;其中,预设对象为标记物或追踪对象;基于对象距离,控制与对象距离对应的相机装置执行对焦处理。The camera focal length adjustment module is configured to obtain the spatial position data of the preset object, and determine the object distance between the preset object and the camera device based on the spatial position data and the camera position of the camera device corresponding to the preset object; wherein, the preset The object is a marker or a tracking object; based on the object distance, the camera device corresponding to the object distance is controlled to perform focusing processing.
在上述技术方案的基础上,当追踪对象为轮廓仪时,该装置还包括:On the basis of the above technical solution, when the tracking object is a profiler, the device further includes:
三维轮廓数据确定模块,设置为获取轮廓仪扫描得到的被测对象对应的轮廓数据;基于轮廓仪与被测对象之间的相对位置数据和轮廓仪的空间位姿,对轮廓数据进行三维重建处理,得到被测对象对应的三维轮廓数据。The three-dimensional contour data determination module is set to obtain contour data corresponding to the measured object scanned by the contour instrument; based on the relative position data between the contour instrument and the measured object and the spatial pose of the contour instrument, the contour data is subjected to three-dimensional reconstruction processing , to obtain the 3D contour data corresponding to the measured object.
本申请实施例所提供的手术追踪系统的控制装置可以设置为执行本申请实施例所提供的手术追踪系统的控制方法,具备执行方法相应的功能和效果。The control device of the surgical tracking system provided by the embodiment of the present application may be configured to execute the control method of the surgical tracking system provided by the embodiment of the present application, and has functions and effects corresponding to the execution method.
上述手术追踪系统的控制装置的实施例中,所包括的多个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,多个功能单元的名称也只是为了便于相互区分,并不用于限制 本申请的保护范围。In the embodiment of the control device of the above-mentioned surgical tracking system, the multiple units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; The names of the functional units are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application.
实施例八 Embodiment 8
本申请实施例八还提供了一种包含计算机可执行指令的存储介质,计算机可执行指令在由计算机处理器执行时用于执行一种手术追踪系统的控制方法,该方法包括:The eighth embodiment of the present application also provides a storage medium containing computer-executable instructions, where the computer-executable instructions are used to execute a control method for a surgical tracking system when executed by a computer processor, and the method includes:
获取至少两个相机装置分别采集到的至少两个标记物图像,并基于至少两个标记物图像确定标记物的空间位置数据;基于标记物的局部位置数据和空间位置数据,确定标记物对应的转换误差数据,并基于转换误差数据,控制状态调整装置调整标记物的标记状态;其中,局部位置数据和空间位置数据分别用于表征标记物在追踪对象坐标系下的位置数据和在世界坐标系下的位置数据;基于调整后的标记物对应的调整标记物图像,确定手术追踪系统中追踪对象的空间位姿。Acquire at least two marker images separately collected by at least two camera devices, and determine the spatial position data of the marker based on the at least two marker images; Converting the error data, and controlling the state adjustment device to adjust the marking state of the marker based on the converted error data; wherein, the local position data and the spatial position data are used to represent the position data of the marker in the tracking object coordinate system and the world coordinate system respectively. Based on the adjusted marker image corresponding to the adjusted marker, determine the spatial pose of the tracked object in the surgical tracking system.
本申请实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器(Read Only Memory,ROM)、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disc-Read Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium of the embodiments of the present application may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. Examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (Read Only Memory) Memory, ROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM or flash memory), optical fiber, portable compact disk read-only memory (Compact Disc-Read Only Memory, CD-ROM), optical storage devices , a magnetic memory device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,程序设计语言包括面向对象的程序设计语言,诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN),连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present application may be written in one or more programming languages, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural languages, or a combination thereof. A programming language, such as the "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or Wide Area Network (WAN), or may be connected to an external computer (eg, using Internet service provider to connect via the Internet).
本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上的方法操作,还可以执行本申请任意实施例所提供的手术追踪系统的控制方法中的相关操作。A storage medium containing computer-executable instructions provided by an embodiment of the present application, the computer-executable instructions of the computer-executable instructions are not limited to the above method operations, and can also execute the related control methods of the surgical tracking system provided by any embodiment of the present application. operate.

Claims (20)

  1. 一种手术追踪系统,包括:追踪对象、控制器、标记物和至少两个相机装置,所述至少两个相机装置和所述追踪对象均与所述控制器通信连接;其中,A surgical tracking system, comprising: a tracking object, a controller, a marker, and at least two camera devices, the at least two camera devices and the tracking object being connected in communication with the controller; wherein,
    所述至少两个相机装置分别通过相机支架固定在所述手术追踪系统中的固定装置上,所述标记物安装在所述追踪对象上,所述标记物在每个相机装置的相机视野范围内;The at least two camera devices are respectively fixed on the fixing device in the surgical tracking system through a camera bracket, the marker is mounted on the tracking object, and the marker is within the camera field of view of each camera device ;
    所述追踪对象上设置有设置为调整所述标记物的标记状态的状态调整装置;The tracking object is provided with a state adjustment device configured to adjust the marking state of the marker;
    所述控制器,设置为基于所述至少两个相机装置分别采集到的标记物图像,控制所述状态调整装置调整所述标记物的标记状态。The controller is configured to control the state adjustment device to adjust the marking state of the marker based on the marker images collected by the at least two camera devices respectively.
  2. 根据权利要求1所述的系统,其中,所述追踪对象包括手术器械、遥控器和轮廓仪中的至少一种。The system of claim 1, wherein the tracking object includes at least one of a surgical instrument, a remote control, and a profiler.
  3. 根据权利要求2所述的系统,其中,在所述追踪对象包括所述手术器械和所述轮廓仪中的至少一种的情况下,所述标记物通过标记物支架安装在所述追踪对象上,所述标记物包括主动式标记物和反射式标记物中的至少之一。3. The system of claim 2, wherein the marker is mounted on the tracked object by a marker holder where the tracked object includes at least one of the surgical instrument and the profiler , the marker includes at least one of an active marker and a reflective marker.
  4. 根据权利要求3所述的系统,其中,在所述标记物包括所述主动式标记物的情况下,所述状态调整装置设置在所述标记物支架内,所述状态调整装置包括设置为控制标记物开关状态的第一开关装置。3. The system of claim 3, wherein, where the marker includes the active marker, the state adjustment device is disposed within the marker holder, the state adjustment device including an arrangement configured to control The first switching device of the marker switch state.
  5. 根据权利要求3所述的系统,其中,在所述标记物包括所述主动式标记物和所述反射式标记物中的至少之一的情况下,所述标记物支架通过所述状态调整装置安装在所述手术器械上,所述状态调整装置包括可旋转的执行器,所述状态调整装置中设置有设置为编码所述标记物支架位置的编码器。3. The system of claim 3, wherein the marker holder passes the state adjustment device in the event that the marker includes at least one of the active marker and the reflective marker Installed on the surgical instrument, the state adjustment device includes a rotatable actuator, and an encoder configured to encode the position of the marker holder is provided in the state adjustment device.
  6. 根据权利要求2所述的系统,其中,在所述追踪对象包括所述遥控器的情况下,所述标记物通过控制面板安装在所述遥控器上,所述状态调整装置设置在所述控制面板上,所述标记物包括主动式标记物和反射式标记物中的至少之一。The system according to claim 2, wherein, in the case where the tracking object includes the remote control, the marker is mounted on the remote control through a control panel, and the state adjustment means is provided on the control On the panel, the markers include at least one of active markers and reflective markers.
  7. 根据权利要求6所述的系统,其中,在所述标记物包括所述主动式标记物的情况下,所述状态调整装置包括设置为控制标记物开关状态的第二开关装置,所述第二开关装置包括开关按钮和触摸面板中的至少之一。6. The system of claim 6, wherein, where the marker comprises the active marker, the state adjustment means comprises a second switch means arranged to control the switch state of the marker, the second switch The switch device includes at least one of a switch button and a touch panel.
  8. 根据权利要求6所述的系统,其中,在所述标记物包括所述反射式标记物的情况下,满足以下至少之一:The system of claim 6, wherein, where the marker comprises the reflective marker, at least one of the following is satisfied:
    所述控制面板上设置有设置为安装所述反射式标记物的中间安装装置,所述状态调整装置包括设置为遮挡所述反射式标记物的镂空板。The control panel is provided with an intermediate installation device configured to install the reflective marker, and the state adjustment device includes a hollow plate configured to shield the reflective marker.
  9. 根据权利要求1所述的系统,其中,所述追踪对象上还设置有指示器,所 述指示器包括指示灯和声音播放器中的至少之一。The system according to claim 1, wherein the tracking object is further provided with an indicator, and the indicator comprises at least one of an indicator light and a sound player.
  10. 一种手术追踪系统的控制方法,应用于如权利要求1-9中任一项所述的手术追踪系统,包括:A control method for an operation tracking system, applied to the operation tracking system according to any one of claims 1-9, comprising:
    获取所述手术追踪系统中的至少两个相机装置分别采集到的至少两个标记物图像,并基于所述至少两个标记物图像确定所述手术追踪系统中的标记物的空间位置数据;acquiring at least two marker images respectively collected by at least two camera devices in the surgical tracking system, and determining spatial position data of the markers in the surgical tracking system based on the at least two marker images;
    基于所述标记物的局部位置数据和所述空间位置数据,确定所述标记物对应的转换误差数据,并基于所述转换误差数据,控制所述手术追踪系统中的状态调整装置调整所述标记物的标记状态;其中,所述局部位置数据和所述空间位置数据分别用于表征所述标记物在所述手术追踪系统中的追踪对象坐标系下的位置数据和在世界坐标系下的位置数据;Based on the local position data and the spatial position data of the marker, the conversion error data corresponding to the marker is determined, and based on the conversion error data, the state adjustment device in the surgical tracking system is controlled to adjust the marker The marking state of the object; wherein, the local position data and the spatial position data are used to represent the position data of the marker in the tracking object coordinate system and the position in the world coordinate system of the surgical tracking system, respectively. data;
    基于调整后的所述标记物对应的调整标记物图像,确定所述追踪对象的空间位姿。Based on the adjusted marker image corresponding to the adjusted marker, the spatial pose of the tracking object is determined.
  11. 根据权利要求10所述的方法,还包括:The method of claim 10, further comprising:
    获取第一预设时间长度内确定的至少一个标记物分别对应的空间位置数据;obtaining spatial position data corresponding to at least one marker determined within the first preset time length;
    针对每个标记物,基于所述每个标记物对应的空间位置数据,确定所述每个标记物的稳定性评估结果,并基于所述稳定性评估结果,执行以下至少之一:调整所述每个标记物对应的标记权重,控制所述状态调整装置调整所述每个标记物的标记状态。For each marker, based on the spatial position data corresponding to each marker, determine the stability evaluation result of each marker, and based on the stability evaluation result, perform at least one of the following: adjusting the The marking weight corresponding to each marker is controlled, and the state adjusting device is controlled to adjust the marking state of each marker.
  12. 根据权利要求10所述的方法,其中,所述基于所述至少两个标记物图像确定所述手术追踪系统中的标记物的空间位置数据,包括:11. The method of claim 10, wherein the determining spatial location data of markers in the surgical tracking system based on the at least two marker images comprises:
    针对每个标记物图像,基于所述每个标记物图像中与所述标记物对应的标记中心点和所述每个标记物图像对应的相机装置的相机镜头中心点,确定所述每个标记物图像对应的追踪射线;For each marker image, determine each marker based on a marker center point in the each marker image corresponding to the marker and a camera lens center point of the camera device corresponding to each marker image The tracking ray corresponding to the object image;
    基于与所述标记物对应的追踪射线的追踪质量参数,确定至少两个目标追踪射线以及与每个目标追踪射线对应的射线权重;determining at least two target tracking rays and a ray weight corresponding to each target tracking ray based on the tracking quality parameter of the tracking ray corresponding to the marker;
    基于所述至少两个目标追踪射线和每个目标追踪射线对应的射线权重,确定所述标记物的空间位置数据。Based on the at least two target tracking rays and a ray weight corresponding to each target tracking ray, the spatial position data of the marker is determined.
  13. 根据权利要求12所述的方法,其中,所述追踪质量参数包括图像质量、追踪射线与相机中心轴的角度质量、追踪射线的稳定值、追踪射线与标记物的误差质量、追踪射线与标记物中心轴的角度质量中的至少一种。The method according to claim 12, wherein the tracking quality parameters include image quality, angular quality of the tracking ray and the camera center axis, stable value of the tracking ray, error quality of the tracking ray and marker, tracking ray and marker At least one of the angular masses of the central axis.
  14. 根据权利要求13所述的方法,在所述追踪质量参数包括所述图像质量的 情况下,所述方法还包括:The method of claim 13, where the tracking quality parameter includes the image quality, the method further comprising:
    针对每个标记物图像,基于所述每个标记物图像的图像尺寸、图像亮度和图像圆度中的至少一种图像参数,确定基于所述每个标记物图像确定的追踪射线对应的图像质量。For each marker image, based on at least one image parameter of image size, image brightness, and image roundness of each marker image, determine the image quality corresponding to the tracking ray determined based on each marker image .
  15. 根据权利要求13所述的方法,在所述追踪质量参数包括所述追踪射线与相机中心轴的角度质量的情况下,所述方法还包括:The method according to claim 13, when the tracking quality parameter includes the angular quality of the tracking ray and the central axis of the camera, the method further comprises:
    针对每个追踪射线,基于所述每个追踪射线与所述每个追踪射线对应的相机装置的中心轴线之间的夹角,确定所述追踪射线与相机中心轴的角度质量。For each tracking ray, the angular quality of the tracking ray and the central axis of the camera is determined based on the included angle between each tracking ray and the central axis of the camera device corresponding to each tracking ray.
  16. 根据权利要求13所述的方法,在所述追踪质量参数包括所述追踪射线的稳定值的情况下,所述方法还包括:The method of claim 13, wherein the tracking quality parameter includes a stable value of the tracking ray, the method further comprising:
    针对每个追踪射线,确定以下至少之一:所述每个追踪射线在第二预设时间长度内的状态变化次数,所述每个追踪射线对应的除所述每个追踪射线的稳定值之外的至少一个追踪质量参数在第二预设时间长度内的波动次数;For each tracking ray, at least one of the following is determined: the number of state changes of each tracking ray within the second preset time length, and the value corresponding to each tracking ray divided by the stable value of each tracking ray The number of fluctuations of at least one other tracking quality parameter within the second preset time length;
    基于确定的所述状态变化次数和所述波动次数中的至少之一,确定所述追踪射线的稳定值。A stable value of the tracking ray is determined based on at least one of the determined number of state changes and the number of fluctuations.
  17. 根据权利要求13所述的方法,其中,在所述追踪质量参数包括所述追踪射线与标记物的误差质量的情况下,所述基于与所述标记物对应的追踪射线的追踪质量参数,确定至少两个目标追踪射线以及与每个目标追踪射线对应的射线权重,包括:The method according to claim 13, wherein, when the tracking quality parameter includes an error quality between the tracking ray and the marker, the determining based on the tracking quality parameter of the tracking ray corresponding to the marker At least two target tracking rays and ray weights corresponding to each target tracking ray, including:
    基于所述追踪射线与标记物的误差质量,确定所述至少两个目标追踪射线以及与每个目标追踪射线对应的射线权重,以使基于所述至少两个目标追踪射线和每个目标追踪射线对应的射线权重确定的所述标记物的空间位置数据满足追踪射线与标记物的误差质量最小;其中,所述追踪射线与标记物的误差质量用于表征标记物与至少两个追踪射线之间的权重距离平方和。The at least two target tracking rays and a ray weight corresponding to each target tracking ray are determined based on the error mass of the tracking rays and the marker, such that the at least two target tracking rays and each target tracking ray are based on The spatial position data of the marker determined by the corresponding ray weight satisfies the minimum error mass between the tracking ray and the marker; wherein, the error mass between the tracking ray and the marker is used to characterize the relationship between the marker and at least two tracking rays The weighted distance sum of squares.
  18. 根据权利要求13所述的方法,在所述追踪质量参数包括所述追踪射线与标记物中心轴的角度质量的情况下,所述方法还包括:The method according to claim 13, when the tracking quality parameter includes the angular quality of the tracking ray and the central axis of the marker, the method further comprises:
    针对每个追踪射线,基于所述每个追踪射线与所述每个追踪射线对应的标记物的中心轴线之间的夹角,确定所述追踪射线与标记物中心轴的角度质量。For each tracking ray, based on the included angle between each tracking ray and the central axis of the marker corresponding to each tracking ray, the angular quality of the tracking ray and the central axis of the marker is determined.
  19. 根据权利要求10所述的方法,还包括:The method of claim 10, further comprising:
    获取预设对象的空间位置数据,基于所述空间位置数据和与所述预设对象对应的相机装置的相机位置,确定所述预设对象与所述预设对象对应的相机装置之间的对象距离;其中,所述预设对象为标记物或追踪对象;Acquire spatial position data of a preset object, and determine an object between the preset object and a camera device corresponding to the preset object based on the spatial position data and the camera position of the camera device corresponding to the preset object distance; wherein, the preset object is a marker or a tracking object;
    基于所述对象距离,控制与所述对象距离对应的相机装置执行对焦处理。Based on the subject distance, a camera device corresponding to the subject distance is controlled to perform focusing processing.
  20. 根据权利要求10所述的方法,在所述追踪对象为轮廓仪的情况下,所述方法还包括:The method according to claim 10, when the tracking object is a profiler, the method further comprises:
    获取所述轮廓仪扫描得到的被测对象对应的轮廓数据;Obtain the contour data corresponding to the measured object scanned by the profiler;
    基于所述轮廓仪与所述被测对象之间的相对位置数据和所述轮廓仪的空间位姿,对所述轮廓数据进行三维重建处理,得到所述被测对象对应的三维轮廓数据。Based on the relative position data between the profiler and the measured object and the spatial pose of the profiler, three-dimensional reconstruction processing is performed on the profile data to obtain three-dimensional profile data corresponding to the measured object.
PCT/CN2022/071505 2021-01-25 2022-01-12 Surgical tracking system and control method thereof WO2022156569A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110098170.8A CN112914755A (en) 2021-01-25 2021-01-25 Operation tracking system and control method thereof
CN202110098170.8 2021-01-25

Publications (1)

Publication Number Publication Date
WO2022156569A1 true WO2022156569A1 (en) 2022-07-28

Family

ID=76167535

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/071505 WO2022156569A1 (en) 2021-01-25 2022-01-12 Surgical tracking system and control method thereof

Country Status (2)

Country Link
CN (1) CN112914755A (en)
WO (1) WO2022156569A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112914755A (en) * 2021-01-25 2021-06-08 深圳市奥昇医疗科技有限责任公司 Operation tracking system and control method thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090163923A1 (en) * 2004-02-27 2009-06-25 Magnus Flett Surgical jig and methods of use
CN101889857A (en) * 2009-05-22 2010-11-24 许杰 Operation navigation device
CN106890025A (en) * 2017-03-03 2017-06-27 浙江大学 A kind of minimally invasive operation navigating system and air navigation aid
CN107374730A (en) * 2017-09-06 2017-11-24 东北大学 Optical operation navigation system
CN110072467A (en) * 2016-12-16 2019-07-30 皇家飞利浦有限公司 The system of the image of guidance operation is provided
CN111000632A (en) * 2018-10-08 2020-04-14 格罗伯斯医疗有限公司 Surgical robot automation with tracking markers
CN111278380A (en) * 2017-10-27 2020-06-12 西门子医疗有限公司 System for tracking position of target object
CN112914755A (en) * 2021-01-25 2021-06-08 深圳市奥昇医疗科技有限责任公司 Operation tracking system and control method thereof
CN113476141A (en) * 2021-06-30 2021-10-08 苏州微创畅行机器人有限公司 Pose control method, optical navigation system applicable to pose control method and surgical robot system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090163923A1 (en) * 2004-02-27 2009-06-25 Magnus Flett Surgical jig and methods of use
CN101889857A (en) * 2009-05-22 2010-11-24 许杰 Operation navigation device
CN110072467A (en) * 2016-12-16 2019-07-30 皇家飞利浦有限公司 The system of the image of guidance operation is provided
CN106890025A (en) * 2017-03-03 2017-06-27 浙江大学 A kind of minimally invasive operation navigating system and air navigation aid
CN107374730A (en) * 2017-09-06 2017-11-24 东北大学 Optical operation navigation system
CN111278380A (en) * 2017-10-27 2020-06-12 西门子医疗有限公司 System for tracking position of target object
CN111000632A (en) * 2018-10-08 2020-04-14 格罗伯斯医疗有限公司 Surgical robot automation with tracking markers
CN112914755A (en) * 2021-01-25 2021-06-08 深圳市奥昇医疗科技有限责任公司 Operation tracking system and control method thereof
CN113476141A (en) * 2021-06-30 2021-10-08 苏州微创畅行机器人有限公司 Pose control method, optical navigation system applicable to pose control method and surgical robot system

Also Published As

Publication number Publication date
CN112914755A (en) 2021-06-08

Similar Documents

Publication Publication Date Title
US11100636B2 (en) Systems, devices, and methods for tracking and compensating for patient motion during a medical imaging scan
US10327708B2 (en) Systems, devices, and methods for tracking and compensating for patient motion during a medical imaging scan
US20220395159A1 (en) Device and method for assisting laparoscopic surgery - directing and maneuvering articulating tool
US9717461B2 (en) Systems, devices, and methods for tracking and compensating for patient motion during a medical imaging scan
JP3947349B2 (en) System for determining the spatial position and / or orientation of one or more objects
EP2948056B1 (en) System and method for tracking and compensating for patient motion during a medical imaging scan
Khadem et al. Comparative tracking error analysis of five different optical tracking systems
US20150157468A1 (en) Navigation device for joint replacement and surgical support device
CN107405187B (en) Device and method for tracking jaw movement
CN112472297B (en) Pose monitoring system, pose monitoring method, surgical robot system and storage medium
US11684458B2 (en) Accuracy of electromagnetic navigation systems
WO2022156569A1 (en) Surgical tracking system and control method thereof
CN109717956A (en) Laser orientation instru-ment, operation guiding system and application method based on C arm X-ray machine
TW200930098A (en) Camera control system capable of positioning and tracking object in space and method thereof
US11723726B2 (en) Systems and methods for tracking objects
US20190008476A1 (en) System and method for interventional acoustic imaging
CN112932667A (en) Special positioning scale for three-dimensional image, operation navigation system and positioning method thereof
JP6425860B1 (en) Device operating device, device operating system and device operating method
JP2007515201A (en) Target acquisition system and target acquisition method
US20050228263A1 (en) Therapy combination
WO2018116582A1 (en) Control device, control method, and medical observation system
WO2013152790A1 (en) Optical sampling of surface points for medical navigation
CN1561911A (en) Laser broad angle sector crossing tube ball X-ray beam central line indicator
CN114699097A (en) Radiographic imaging system and radiographic imaging method
KR20140139699A (en) Optical tracking system and method for tracking using the same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22742048

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22742048

Country of ref document: EP

Kind code of ref document: A1