Positioning and navigation method of spinal robot
Through the fusion sensor of lidar sensor and 2D color camera, a 3D fusion perception map and multi-coordinate system registration are constructed, which solves the problem of low accuracy of spinal robot navigation and achieves more accurate navigation and bone nail placement.
Patent Information
- Application Number
- CN202410745322.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-06-11
AI Technical Summary
The existing spine robot navigation method relies on Canadian NDI cameras and near-infrared cameras. There is a problem that the optical path is blocked and cannot be monitored or registered. It can only recognize specific infrared optical information and cannot accurately judge the movement path, resulting in navigation accuracy and practicality. Lower sex.
Using the fusion sensor of lidar sensor and 2D color camera, by acquiring spatial 3D and 2D information data, a 3D fusion perception map is constructed, the initial coordinate perception of the visual calibration board and multi-coordinate system registration are performed, and the CT-spine robot coordinate system is generated. The conversion matrix updates the navigation path map in real time, performs bone nail contact detection, and optimizes navigation control instructions.
It improves the accuracy and practicality of navigation, achieves more comprehensive scene recognition and understanding, provides more accurate navigation and positioning information for surgery, and ensures accurate placement of bone nails.
Smart Images

Figure CN118478360B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of robot positioning and navigation, and in particular to a positioning and navigation method for a spinal robot. Background Art
[0002] The existing spinal robot navigation methods mostly use Canadian NDI cameras. Using a near-infrared camera, this system usually includes a small ball or sensor with an infrared transmitter and receiver. This ball is usually fixed to the patient's bone part or surgical instrument. The infrared transmitter will emit infrared light signals. These signals are emitted at a specific frequency and mode so that they can be captured and processed by the receiver. By receiving the infrared signal information, the robot can be aligned with the CT image and the tracking method during the operation can be realized. However, the traditional method requires the robot to place two optical positioning balls on the target life form, which is easy to be blocked by the light path and thus unable to monitor or align. At the same time, the traditional method can only recognize specific infrared optical information, that is, it can only recognize two optical balls, that is, it can only determine whether the target has moved, and cannot finely determine the number of moving paths and cannot make real-time path adjustments, resulting in low navigation accuracy and practicality. Summary of the invention
[0003] Based on this, it is necessary to provide a positioning and navigation method for a spinal robot to solve at least one of the above technical problems.
[0004] To achieve the above object, a positioning and navigation method for a spinal robot is provided, the method comprising the following steps:
[0005] Step S1: Acquire spatial 3D information data and spatial 2D information data; construct a spatial fusion perception map based on the spatial 3D information data and the spatial 2D information data to generate a 3D fusion perception map;
[0006] Step S2: Acquire the initial coordinate data of the visual calibration plate; perform three-dimensional coordinate perception of specific points on the initial coordinate data of the visual calibration plate according to the 3D fusion perception map to generate the coordinates of the first visual calibration point; perform three-dimensional coordinate perception of specific points on the initial coordinate data of the visual calibration plate through the sensors in the spinal robot and the CT machine to generate the coordinates of the second visual calibration point and the third visual calibration point; perform multi-coordinate system registration on the coordinates of the first visual calibration point, the coordinates of the second visual calibration point and the coordinates of the third visual calibration point to generate a transformation matrix of the CT-spinal robot coordinate system;
[0007] Step S3: Obtain the preoperative planned surgical path of the spinal robot; use the fusion sensor to shoot the intraoperative motion of the spinal robot and the visual calibration plate to obtain the spinal robot motion shooting image set and the visual calibration plate motion shooting image set; use the conversion matrix of the CT-spinal robot coordinate system to update the real-time path map of the spinal robot motion shooting image set and the visual calibration plate motion shooting image set to generate a real-time path map for positioning and navigation;
[0008] Step S4: Obtain bone screw planning position data; perform bone screw contact detection on the bone screw planning position data using the transformation matrix of the CT-spinal robot coordinate system to generate bone screw contact detection data; generate spinal robot navigation control instructions for the positioning navigation real-time path map based on the bone screw contact detection data to obtain spinal robot optimized navigation control instructions.
[0009] The present invention can comprehensively utilize the advantages of spatial 3D information data and spatial 2D information data to obtain a more comprehensive and accurate perception map by fusing them. The fused perception map contains rich spatial information, which provides a richer basis for subsequent operations and decisions. The generated 3D fusion perception map not only contains the geometric information of the space, but also includes the visual information of the image. The map can provide a more comprehensive scene cognition and understanding, and provide a stronger foundation for subsequent tasks. By perceiving the initial coordinate data of the visual calibration plate, the accurate position of the visual calibration point in space can be obtained, providing an accurate reference for subsequent positioning and navigation. By performing multi-coordinate system registration on the coordinates of the first, second and third visual calibration points, an accurate conversion relationship between different coordinate systems can be established, accurate positioning and navigation can be performed in different coordinate systems, and seamless docking and collaborative operation of coordinates can be achieved. By fusing the conversion matrix of sensor data and CT-spinal robot coordinate system, the path map of positioning navigation can be updated in real time. The position and posture of the spinal robot during surgery can be understood in real time, providing more accurate navigation and positioning information for surgery. By performing bone screw contact detection on the bone screw planning position data, it can be determined whether the bone screw is in contact with the surrounding structure, and a more accurate bone screw display position can be provided. Therefore, the present invention improves the accuracy of navigation by using a fusion sensor of a laser radar sensor and a 2D color camera to perform coordinate joint registration and navigation path optimization on the spinal robot and the visual calibration plate.
[0010] Preferably, step S1 comprises the following steps:
[0011] Step S11: acquiring spatial 3D information data and spatial 2D information data using a fusion sensor, wherein the fusion sensor includes a laser radar sensor and a 2D color camera;
[0012] Step S12: integrating the spatial 3D information data and the spatial 2D information data to generate spatial fusion data;
[0013] Step S13: converting the spatial fusion data into three-dimensional point cloud to generate spatial fusion point cloud data; performing data denoising on the spatial fusion point cloud data to generate spatial fusion point cloud denoised data;
[0014] Step S14: performing time synchronization on the spatial fusion point cloud denoising data to generate spatial fusion point cloud synchronization data; performing spatial alignment on the spatial fusion point cloud synchronization data based on a preset external parameter calibration matrix to generate standard spatial fusion point cloud data;
[0015] Step S15: construct a spatial fusion perception map based on the standard spatial fusion point cloud data to generate a 3D fusion perception map.
[0016] The present invention uses a laser radar sensor and a 2D color camera, and step S11 realizes the fusion of different types of sensor data, which can obtain spatial information from different dimensions and improve the comprehensiveness and accuracy of perception. The spatial 3D information data and the spatial 2D information data obtained by the fusion sensor are integrated to generate spatial fusion data, which can effectively fuse the data of different sensors and improve the integrity and consistency of the perception data. The spatial fusion data is converted into a three-dimensional point cloud to generate spatial fusion point cloud data, and the data is denoised, which can convert the perception data into higher-dimensional point cloud data, and improve the quality and reliability of the data through denoising. The spatial fusion point cloud denoising data is synchronized in time, and spatial alignment is performed based on a preset external parameter calibration matrix to generate standard spatial fusion point cloud data, which can ensure the consistency of the data in time and space and improve the accuracy and availability of the perception results. Based on the standard spatial fusion point cloud data, step S15 realizes the construction of a spatial fusion perception map, which can integrate and represent the perception data in the form of a map, provide richer and more comprehensive spatial information, and provide a basis for subsequent target detection, path planning and other tasks.
[0017] Preferably, step S15 comprises the following steps:
[0018] Step S151: extracting dimensional feature points from the standard spatial fusion point cloud data to obtain spatial two-dimensional feature points and spatial three-dimensional feature points, wherein the spatial three-dimensional feature points include edge feature points and surface feature points, and the spatial two-dimensional feature points include color feature points and texture feature points;
[0019] Step S152: performing feature association matching on edge feature points, surface feature points, color feature points, and texture feature points to generate association feature data;
[0020] Step S153: performing sensor state estimation on the laser radar sensor and the 2D color camera according to the associated feature data to obtain sensor state estimation data;
[0021] Step S154: Perform multi-source data fusion on the sensor state estimation data and the standard space fusion point cloud data to generate a 3D fusion perception map.
[0022] The present invention extracts dimensional feature points from standard spatial fusion point cloud data. By extracting two-dimensional spatial feature points and three-dimensional spatial feature points, including edge feature points, surface feature points, color feature points and texture feature points, important feature information in point cloud data can be captured. The extracted edge feature points, surface feature points, color feature points and texture feature points are feature-correlated and matched to generate associated feature data, and the correlation between different features can be modeled to enhance the consistency and reliability of the features. Sensor state estimation is performed on the laser radar sensor and the 2D color camera according to the associated feature data to obtain sensor state estimation data. By analyzing and matching the feature data, information such as the position, posture, and motion state of the sensor can be inferred to provide accurate sensor state for subsequent perception and decision-making. Multi-source data fusion is performed on the sensor state estimation data and the standard spatial fusion point cloud data to generate a 3D fusion perception map. By fusing the sensor state information with the point cloud data, the perception data and the sensor state can be effectively integrated to improve the consistency and reliability of the perception results.
[0023] Preferably, step S2 comprises the following steps:
[0024] Step S21: Obtaining initial coordinate data of the visual calibration plate;
[0025] Step S22: performing three-dimensional coordinate perception of a specific point on the initial coordinate data of the visual calibration plate according to the 3D fusion perception map to generate the coordinates of the first visual calibration point;
[0026] Step S23: using the sensor in the spine robot to sense the three-dimensional coordinates of a specific point on the initial coordinate data of the visual calibration plate to generate the coordinates of the second visual calibration point;
[0027] Step S24: performing CT scanning based on the initial coordinate data of the visual calibration plate to obtain CT scan image data; performing three-dimensional coordinate perception of specific points on the CT scan image data to generate coordinates of the third visual calibration point;
[0028] Step S25: performing multi-coordinate system registration on the coordinates of the first visual calibration point, the coordinates of the second visual calibration point and the coordinates of the third visual calibration point to generate a transformation matrix of the CT-spinal robot coordinate system.
[0029] The present invention uses the 3D fusion perception map and the sensors in the spinal robot to perform three-dimensional coordinate perception of specific points on the initial coordinate data of the visual calibration plate, and can obtain accurate three-dimensional coordinates of specific points on the visual calibration plate, providing a basis for subsequent coordinate system alignment. CT scanning is performed based on the initial coordinate data of the visual calibration plate to obtain CT scan image data. Then, the CT scan image data is subjected to three-dimensional coordinate perception of specific points to generate the coordinates of the third visual calibration point, and the three-dimensional coordinate information related to the visual calibration plate can be obtained through medical imaging technology. The first visual calibration point coordinates, the second visual calibration point coordinates, and the third visual calibration point coordinates are subjected to multi-coordinate system alignment. Through the registration algorithm and the calculation of the transformation matrix, the coordinate data in different coordinate systems can be accurately aligned and fused to obtain the transformation matrix of the CT-spinal robot coordinate system.
[0030] Preferably, step S25 includes the following steps:
[0031] Step S251: performing data dimensionality reduction on the coordinates of the first visual calibration point, the coordinates of the second visual calibration point, and the coordinates of the third visual calibration point to generate the reduced-dimensional coordinates of the first visual calibration point, the reduced-dimensional coordinates of the second visual calibration point, and the reduced-dimensional coordinates of the third visual calibration point;
[0032] Step S252: using the Kabsch algorithm to perform a first rigid registration on the reduced-dimensional coordinates of the first visual calibration point and the reduced-dimensional coordinates of the second visual calibration point to generate a registration matrix; optimizing the registration accuracy of the preliminary registration matrix to generate a spinal robot registration matrix;
[0033] Step S253: performing a second rigid registration on the reduced-dimensional coordinates of the first visual calibration point and the reduced-dimensional coordinates of the third visual calibration point using the SVD method to generate a CT registration matrix;
[0034] Step S254: perform registration matrix fusion on the spinal robot registration matrix and the CT registration matrix to generate a fused registration matrix; perform matrix error evaluation on the fused registration matrix to obtain a fused registration matrix error; compare the fused registration matrix error with the preset standard matrix error, and when the fused registration matrix error is less than or equal to the preset standard matrix error, generate a transformation matrix of the CT-spinal robot coordinate system; when the fused registration matrix error is greater than the preset standard matrix error, perform error correction on the fused registration matrix until a transformation matrix of the CT-spinal robot coordinate system is generated.
[0035] The present invention performs data dimension reduction on the coordinates of the first visual calibration point, the coordinates of the second visual calibration point and the coordinates of the third visual calibration point. Through the dimension reduction process, the complexity and redundancy of the data can be reduced, the subsequent registration and fusion process can be simplified, and the calculation efficiency and accuracy can be improved. The first rigid registration is performed on the reduced-dimensional coordinates of the first visual calibration point and the reduced-dimensional coordinates of the second visual calibration point using the Kabsch algorithm to generate a registration matrix. Through rigid registration, the rigid transformations such as rotation and translation between the two visual calibration point sets can be aligned so that they have consistency in the same coordinate system. The second rigid registration is performed on the reduced-dimensional coordinates of the first visual calibration point and the reduced-dimensional coordinates of the third visual calibration point using the SVD method to generate a CT registration matrix. Through the second rigid registration, the third visual calibration point set can be aligned with the calibration point sets after the first two registrations, and the rigid transformation relationship between them can be obtained. The spinal robot registration matrix and the CT registration matrix are fused to generate a fused registration matrix. By fusing different registration matrices, the advantages of different registration results can be comprehensively considered to improve the accuracy and stability of the overall registration. The matrix error of the fusion registration matrix is evaluated and compared with the preset standard matrix error. If the fusion registration matrix error meets the preset standard, the transformation matrix of the CT-spine robot coordinate system is generated. If the error is greater than the preset standard, error correction is performed and the fusion registration matrix is continuously optimized until the requirements are met. This ensures that the generated coordinate system transformation matrix has a lower error and improves the accuracy and reliability of the coordinate system registration.
[0036] Preferably, step S3 comprises the following steps:
[0037] Step S31: obtaining the preoperative planned surgical path of the spinal robot;
[0038] Step S32: using a fusion sensor to shoot intraoperative motion of the spinal robot and the visual calibration plate to obtain a spinal robot motion shooting image set and a visual calibration plate motion shooting image set;
[0039] Step S33: using the conversion matrix of the CT-spinal robot coordinate system to perform shallow motion path adjustment on the spinal robot motion shooting image set, and generating first motion trajectory adjustment data of the spinal robot;
[0040] Step S34: using the first motion trajectory adjustment data of the spinal robot to perform deep motion path adjustment on the motion image set of the visual calibration plate to generate second motion trajectory adjustment data of the spinal robot;
[0041] Step S35: updating the real-time path map of the preoperatively planned surgical path of the spinal robot through the first motion trajectory adjustment data and the second motion trajectory adjustment data of the spinal robot, and generating a real-time path map for positioning navigation.
[0042] The present invention obtains the preoperative planned surgical path of the spinal robot. Through preoperative planning, the entry point, path and operation steps required for the surgery can be determined under the assistance of a computer, the surgical plan can be planned in advance, and the uncertainty and risk in the surgery can be reduced. The spinal robot and the visual calibration plate are photographed during the operation by using a fusion sensor to obtain a spinal robot motion shooting image set and a visual calibration plate motion shooting image set. Through intraoperative image acquisition, the position and posture information of the spinal robot and the calibration plate can be recorded in real time, providing a data basis for subsequent path adjustment and real-time path map update. The spinal robot motion shooting image set is adjusted for shallow motion path by using the conversion matrix of the CT-spinal robot coordinate system to generate the first motion trajectory adjustment data of the spinal robot; then the spinal robot first motion trajectory adjustment data is used to adjust the deep motion path of the visual calibration plate motion shooting image set to generate the second motion trajectory adjustment data of the spinal robot. Through the motion path adjustment, the preoperative planned path can be fine-tuned according to the actual intraoperative situation, so that the motion trajectory of the spinal robot is more accurate and adapts to the surgical needs. The spinal robot preoperative planned surgical path is updated in real time by using the spinal robot first motion trajectory adjustment data and the spinal robot second motion trajectory adjustment data. The real-time path map can dynamically display the position, path and operation steps of the spinal robot during surgery, providing doctors with real-time navigation and positioning information.
[0043] Preferably, step S33 includes the following steps:
[0044] Step S331: confirming the robot motion position coordinates of the spine robot scene shooting image set to obtain the spine robot motion coordinate point set;
[0045] Step S332: constructing a motion trajectory according to the motion coordinate point set of the spinal robot to obtain the motion trajectory of the spinal robot; calculating the trajectory deviation between the motion trajectory of the spinal robot and the preoperative planned surgical path of the spinal robot to obtain the deviation value of the motion trajectory of the spinal robot;
[0046] Step S333: The spinal robot's motion trajectory abnormality is identified through the spinal robot's motion trajectory deviation value. When the motion trajectory abnormality is identified, the spinal robot's motion trajectory deviation value is adjusted using the transformation matrix of the CT-spinal robot coordinate system, thereby generating the spinal robot's first motion trajectory adjustment data.
[0047] The present invention obtains a set of spinal robot motion coordinate points by confirming the robot motion position coordinates of a spinal robot scene shooting image set. By confirming the motion position coordinates, the position information of the spinal robot in the surgical scene can be accurately obtained, providing basic data for subsequent motion trajectory construction and deviation calculation. The motion trajectory is constructed according to the spinal robot motion coordinate point set to obtain the spinal robot motion trajectory. Through the motion trajectory construction, the motion position points of the spinal robot can be connected to form a continuous motion trajectory, reflecting the motion path of the spinal robot during the operation. The spinal robot motion trajectory and the spinal robot preoperative planned surgical path are subjected to trajectory deviation calculation to obtain the spinal robot motion trajectory deviation value. By calculating the difference between the motion trajectory and the preoperative planned path, it can be evaluated whether the motion of the spinal robot meets expectations, helping to discover potential deviations or abnormalities. The spinal robot motion trajectory anomaly is identified by the spinal robot motion trajectory deviation value. When the motion trajectory anomaly is identified, the spinal robot motion trajectory deviation value is adjusted using the conversion matrix of the CT-spinal robot coordinate system to generate the spinal robot first motion trajectory adjustment data. Through abnormal identification and adjustment, the deviation in the spinal robot motion trajectory can be corrected to ensure the accuracy and stability of the motion.
[0048] Preferably, step S34 includes the following steps:
[0049] Step S341: using the first motion trajectory adjustment data of the spine robot to perform motion orientation analysis on the motion image set of the visual calibration plate to generate motion orientation data of the visual calibration plate, wherein the motion orientation data of the visual calibration plate includes horizontal motion orientation data and vertical motion orientation data;
[0050] Step S342: performing periodic change analysis on the vertical motion orientation data to generate vertical motion periodic data of the visual calibration plate; performing patient ups and downs intensity evaluation on the vertical motion orientation data based on the vertical motion periodic data of the visual calibration plate to generate patient ups and downs intensity data;
[0051] Step S343: performing initial offset calculation on the horizontal motion orientation data to obtain initial offset data of the visual calibration plate; performing offset influence analysis on the initial offset data of the visual calibration plate using the patient's heave intensity data to generate an offset influence range of the visual calibration plate;
[0052] Step S344: Based on the offset influence range of the visual calibration plate, the first motion trajectory adjustment data of the spinal robot is adjusted for the second time using the transformation matrix of the CT-spinal robot coordinate system to generate the second motion trajectory adjustment data of the spinal robot.
[0053] The present invention uses the first motion trajectory adjustment data of the spine robot to perform motion orientation analysis on the motion shooting image set of the visual calibration plate, and generates the motion orientation data of the visual calibration plate, including horizontal motion orientation data and vertical motion orientation data. By analyzing the motion orientation of the visual calibration plate, the motion range and posture changes of the spine robot during the operation can be understood. The vertical motion orientation data is analyzed for periodic changes to generate the vertical motion periodic data of the visual calibration plate. Based on these data, the ups and downs intensity of the patient during the operation can be evaluated, the vertical motion of the patient's spine can be understood, and a basis can be provided for subsequent motion trajectory adjustment. The horizontal motion orientation data is calculated for initial offset to obtain the initial offset data of the visual calibration plate. Then, the initial offset data is analyzed for offset influence using the patient's ups and downs intensity data to generate the offset influence range of the visual calibration plate. Through these analyses, the patient's horizontal motion and the range of influence of the offset on the motion trajectory can be understood. Based on the offset influence range of the visual calibration plate, the first motion trajectory adjustment data of the spine robot is adjusted for secondary motion trajectory using the conversion matrix of the CT-spine robot coordinate system to generate the second motion trajectory adjustment data of the spine robot. Through secondary adjustment, the motion trajectory of the spinal robot can be adjusted more accurately according to the offset of the visual calibration plate to adapt to the actual situation of the patient.
[0054] Preferably, step S6 comprises the following steps:
[0055] Step S41: Acquire bone screw planning position data;
[0056] Step S42: performing bone screw position detection on the bone screw planning position data by adjusting the second motion trajectory of the spinal robot to generate bone screw position detection data;
[0057] Step S43: performing CT image mapping on the bone screw position detection data using the conversion matrix of the CT-spinal robot coordinate system to generate bone screw mapping image data; performing bone screw contact detection on the bone screw mapping image data to generate bone screw contact detection data;
[0058] Step S44: Generate spinal robot navigation control instructions for the real-time positioning navigation path map based on the bone screw contact detection data to obtain spinal robot optimized navigation control instructions.
[0059] The present invention detects the position of bone nails on the planned position data of bone nails through the second motion trajectory adjustment data of the spinal robot, and generates the bone nail position detection data. By detecting the actual position of the bone nails, the accurate placement of the bone nails can be ensured. The conversion matrix of the CT-spinal robot coordinate system is used to perform CT image mapping on the bone nail position detection data to generate bone nail mapping image data. Then, the bone nail mapping image data is subjected to bone nail contact detection to generate bone nail contact detection data. Through contact detection, it can be determined whether the bone nails interfere with the surrounding bone structure or other bone nails. Based on the bone nail contact detection data, the spinal robot navigation control instructions are generated for the second motion trajectory adjustment data of the spinal robot to obtain the spinal robot optimized navigation control instructions. By generating optimized navigation control instructions, the spinal robot can be navigated and positioned more accurately during surgery.
[0060] Preferably, performing bone screw contact detection on the bone screw mapping image data includes:
[0061] The bone screw mapping image data is reconstructed in three dimensions by using multi-view reconstruction technology to obtain a three-dimensional model of the bone screw;
[0062] Performing bone screw collision detection on the three-dimensional bone screw model to obtain bone screw collision detection data;
[0063] Perform interference severity analysis on bone screw collision detection data to generate bone screw interference severity analysis data;
[0064] The interference area of the bone screw three-dimensional model is marked using the bone screw interference severity analysis data to obtain the bone screw contact detection data.
[0065] The present invention performs three-dimensional reconstruction of bone nail mapping image data through multi-view reconstruction technology, and can restore the shape and position of the bone nail in three-dimensional space. In this way, more comprehensive and accurate bone nail information can be provided, providing a basis for subsequent contact detection. By performing bone nail collision detection on the three-dimensional model of the bone nail, it is possible to detect whether there is a collision or interference between the bone nails. By performing interference severity analysis on the bone nail collision detection data, the degree and severity of the bone nail interference can be evaluated. By analyzing the interference severity, it can be determined which interference situations cause problems or adverse effects. Using the bone nail interference severity analysis data, the interference area of the three-dimensional model of the bone nail is marked to generate bone nail contact detection data. By marking the interference area, the interference situation between the bone nails can be intuitively displayed.
[0066] The beneficial effect of the present invention is that by acquiring spatial 3D information data and spatial 2D information data, and constructing a spatial fusion perception map. The beneficial effect of this step is to combine 3D and 2D data from different sensors to generate a comprehensive perception map, which can provide more comprehensive and accurate spatial information and provide a more reliable basis for subsequent surgical planning and navigation. The initial coordinate data of the visual calibration plate is obtained, and the three-dimensional coordinate perception of a specific point is performed. By fusing the perception map, the initial coordinates of the visual calibration plate can be perceived, and the first visual calibration point coordinates can be generated. At the same time, the three-dimensional coordinate perception of a specific point is performed by the spinal robot and the CT machine to generate the second and third visual calibration point coordinates. Finally, through multi-coordinate system registration, the conversion matrix of the CT-spinal robot coordinate system is generated, and accurate positioning and registration between different coordinate systems are achieved, providing an accurate coordinate conversion relationship for subsequent surgical navigation. The preoperative planning surgical path of the spinal robot is obtained, and intraoperative motion shooting is performed. The spinal robot and the visual calibration plate are shot during the operation using a fusion sensor to obtain a motion shooting image set. Through the conversion matrix of the CT-spinal robot coordinate system, the path map of the spinal robot can be updated in real time, and a real-time path map for positioning and navigation can be generated. The surgical path can be updated and adjusted in real time during the operation, thereby improving the accuracy of navigation guidance. The bone screw planning position data is obtained, and bone screw contact detection is performed. Using the conversion matrix of the CT-spinal robot coordinate system, contact detection is performed on the bone screw planning position data to generate bone screw contact detection data. Based on these data, navigation control instructions can be generated for the real-time path map for positioning and navigation, and the navigation path of the spinal robot can be optimized. Accurate detection and navigation control of the bone screw position can be achieved during the operation, ensuring the precise placement of the bone screws. Therefore, the present invention improves the accuracy of navigation by using a fusion sensor of a laser radar sensor plus a 2D color camera to perform coordinate joint registration and navigation path optimization on the spinal robot and the visual calibration plate. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 A schematic diagram of the steps of a positioning and navigation method for a spinal robot;
[0068] Figure 2 for Figure 1 Detailed implementation steps of step S2 in the flowchart;
[0069] Figure 3 for Figure 1 Detailed implementation steps of step S3 in FIG.
[0070] Figure 4 for Figure 1 Detailed implementation steps of step S4 in FIG.
[0071] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0072] The following is a clear and complete description of the technical method of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.
[0073] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0074] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0075] To achieve this, please refer to Figures 1 to 4 , a positioning and navigation method for a spinal robot, the method comprising the following steps:
[0076] Step S1: Acquire spatial 3D information data and spatial 2D information data; construct a spatial fusion perception map based on the spatial 3D information data and the spatial 2D information data to generate a 3D fusion perception map;
[0077] Step S2: Acquire the initial coordinate data of the visual calibration plate; perform three-dimensional coordinate perception of specific points on the initial coordinate data of the visual calibration plate according to the 3D fusion perception map to generate the coordinates of the first visual calibration point; perform three-dimensional coordinate perception of specific points on the initial coordinate data of the visual calibration plate through the sensors in the spinal robot and the CT machine to generate the coordinates of the second visual calibration point and the third visual calibration point; perform multi-coordinate system registration on the coordinates of the first visual calibration point, the coordinates of the second visual calibration point and the coordinates of the third visual calibration point to generate a transformation matrix of the CT-spinal robot coordinate system;
[0078] Step S3: Obtain the preoperative planned surgical path of the spinal robot; use the fusion sensor to shoot the intraoperative motion of the spinal robot and the visual calibration plate to obtain the spinal robot motion shooting image set and the visual calibration plate motion shooting image set; use the conversion matrix of the CT-spinal robot coordinate system to update the real-time path map of the spinal robot motion shooting image set and the visual calibration plate motion shooting image set to generate a real-time path map for positioning and navigation;
[0079] Step S4: Obtain bone screw planning position data; perform bone screw contact detection on the bone screw planning position data using the transformation matrix of the CT-spinal robot coordinate system to generate bone screw contact detection data; generate spinal robot navigation control instructions for the positioning navigation real-time path map based on the bone screw contact detection data to obtain spinal robot optimized navigation control instructions.
[0080] The present invention can comprehensively utilize the advantages of spatial 3D information data and spatial 2D information data to obtain a more comprehensive and accurate perception map by fusing them. The fused perception map contains rich spatial information, which provides a richer basis for subsequent operations and decisions. The generated 3D fusion perception map not only contains the geometric information of the space, but also includes the visual information of the image. The map can provide a more comprehensive scene cognition and understanding, and provide a stronger foundation for subsequent tasks. By perceiving the initial coordinate data of the visual calibration plate, the accurate position of the visual calibration point in space can be obtained, providing an accurate reference for subsequent positioning and navigation. By performing multi-coordinate system registration on the coordinates of the first, second and third visual calibration points, an accurate conversion relationship between different coordinate systems can be established, accurate positioning and navigation can be performed in different coordinate systems, and seamless docking and collaborative operation of coordinates can be achieved. By fusing the conversion matrix of sensor data and CT-spinal robot coordinate system, the path map of positioning navigation can be updated in real time. The position and posture of the spinal robot during surgery can be understood in real time, providing more accurate navigation and positioning information for surgery. By performing bone screw contact detection on the bone screw planning position data, it can be determined whether the bone screw is in contact with the surrounding structure, and a more accurate bone screw display position can be provided. Therefore, the present invention improves the accuracy of navigation by using a fusion sensor of a laser radar sensor and a 2D color camera to perform coordinate joint registration and navigation path optimization on the spinal robot and the visual calibration plate.
[0081] In the embodiment of the present invention, reference Figure 1 The above is a schematic flow chart of the steps of a positioning and navigation method of a spinal robot of the present invention. In this example, the positioning and navigation method of a spinal robot includes the following steps:
[0082] Step S1: Acquire spatial 3D information data and spatial 2D information data; construct a spatial fusion perception map based on the spatial 3D information data and the spatial 2D information data to generate a 3D fusion perception map;
[0083] In an embodiment of the present invention, point cloud data is obtained by scanning the target space using a laser scanner. The laser scanner obtains the three-dimensional coordinate data of the object in the space by emitting a laser beam and recording the time and position information of the laser beam reflected back. The target space is photographed by a camera to obtain image data. The camera can capture information such as the visual appearance, texture and color of the object. The point cloud data obtained by the laser scanner is denoised and filtered to remove noise and abnormal points during the scanning process. The image captured by the camera is distorted to eliminate the distortion effect of the camera lens. Feature extraction is performed on the preprocessed point cloud data, and a feature descriptor algorithm (such as FPFH, SHOT, etc.) can be used to extract local features of the point cloud. Feature extraction is performed on the image data, and a visual feature extraction algorithm (such as SIFT, SURF, etc.) can be used to extract key points and descriptors in the image. The point cloud data under different perspectives are registered by a point cloud registration algorithm to establish a corresponding relationship between them. The ICP (Iterative Closest Point) algorithm or other registration methods can be used to achieve point cloud alignment. At the same time, the image data is associated with the point cloud data using an image feature matching algorithm to establish a corresponding relationship between the image and the point cloud. Based on the fused data, a spatial fusion perception map is constructed. The position and relationship of objects can be represented by a graph structure, and the corresponding relationship between point cloud data and image data can be stored in the graph. The map can contain the geometric information of the object, visual appearance information, and the fusion results of other perception data. According to the construction results of the spatial fusion perception map, the final 3D fusion perception map is generated.
[0084] Step S2: Acquire the initial coordinate data of the visual calibration plate; perform three-dimensional coordinate perception of specific points on the initial coordinate data of the visual calibration plate according to the 3D fusion perception map to generate the coordinates of the first visual calibration point; perform three-dimensional coordinate perception of specific points on the initial coordinate data of the visual calibration plate through the sensors in the spinal robot and the CT machine to generate the coordinates of the second visual calibration point and the third visual calibration point; perform multi-coordinate system registration on the coordinates of the first visual calibration point, the coordinates of the second visual calibration point and the coordinates of the third visual calibration point to generate a transformation matrix of the CT-spinal robot coordinate system;
[0085] In an embodiment of the present invention, a visual calibration plate of known size and shape is placed in the target space, and its initial coordinate data is recorded. These coordinate data can be obtained by measurement or manual input. According to the object position information in the 3D fusion perception map, the three-dimensional coordinates of certain specific points on the visual calibration plate are inferred by the three-dimensional coordinate perception method of specific points. These specific points can be predetermined on the calibration plate or derived through the map information. The three-dimensional coordinates of other specific points on the visual calibration plate are obtained by using sensors (such as position sensors, joint encoders, etc.) inside the spinal robot. At the same time, a CT machine can be used for scanning to obtain the three-dimensional coordinates of other specific points on the visual calibration plate to improve the measurement accuracy. Using a multi-coordinate system registration algorithm, the coordinate data from different sensors or devices are registered to obtain a conversion matrix between them. This conversion matrix can align the CT coordinate system with the spinal robot coordinate system to achieve coordinate conversion between the two. More specifically, in the 3D fusion perception map, the coordinate data of the object or feature point corresponding to the visual calibration plate is found. According to the three-dimensional coordinate perception method of a specific point, the three-dimensional coordinates of certain specific points on the visual calibration plate are inferred. These specific points can be predetermined on the calibration plate or derived from the atlas information. In the spinal robot, internal sensors (such as position sensors, joint encoders, etc.) are used to obtain the three-dimensional coordinates of other specific points on the visual calibration plate. These sensors can measure the position and posture information of the robot joints to calculate the coordinates of specific points. At the same time, a CT machine is used for scanning to obtain the three-dimensional coordinates of other specific points on the visual calibration plate. CT scanning can provide more accurate coordinate data to increase the accuracy of measurement. Using a registration algorithm (such as ICP algorithm, least squares method, etc.), the coordinates of the first visual calibration point, the second visual calibration point, and the third visual calibration point are registered. The registration process will find the best transformation matrix to minimize the distance error between points in different coordinate systems. By minimizing the distance error of points in different coordinate systems, the transformation matrix of the CT-spinal robot coordinate system is obtained. This transformation matrix can align the CT coordinate system with the spinal robot coordinate system to achieve coordinate conversion between the two.
[0086] Step S3: Obtain the preoperative planned surgical path of the spinal robot; use the fusion sensor to shoot the intraoperative motion of the spinal robot and the visual calibration plate to obtain the spinal robot motion shooting image set and the visual calibration plate motion shooting image set; use the conversion matrix of the CT-spinal robot coordinate system to update the real-time path map of the spinal robot motion shooting image set and the visual calibration plate motion shooting image set to generate a real-time path map for positioning and navigation;
[0087] In an embodiment of the present invention, the path and operation target of spinal surgery are determined by medical imaging (such as CT or MRI scanning) and surgical planning software in the preoperative planning stage. These paths can be represented as a series of key points or path segments. Visual sensors (such as cameras) and other necessary sensors are installed on the spinal robot to facilitate intraoperative motion shooting. A visual calibration plate is installed in the surgical area and ensured to be visible within the field of view of the spinal robot. The spinal robot and the visual sensor are operated to obtain a spinal robot motion shooting image set and a visual calibration plate motion shooting image set through intraoperative motion shooting. These images will be used for subsequent path map updates. Using the previously acquired CT-spinal robot coordinate system conversion matrix, the images in the spinal robot motion shooting image set and the images in the visual calibration plate motion shooting image set are converted to the CT coordinate system. The converted images are processed and analyzed, feature points or contour information are extracted, and matched with the preoperatively planned path. According to the matching results of the feature points or contours, the real-time path map of positioning navigation is updated, and this path map can display the correspondence between the current position of the spinal robot and the preoperatively planned path.
[0088] Step S4: Obtain bone screw planning position data; perform bone screw contact detection on the bone screw planning position data using the transformation matrix of the CT-spinal robot coordinate system to generate bone screw contact detection data; generate spinal robot navigation control instructions for the positioning navigation real-time path map based on the bone screw contact detection data to obtain spinal robot optimized navigation control instructions.
[0089] In an embodiment of the present invention, the planned position of the bone screw on the spine is determined according to the input of the preoperative planning or navigation system. These positions can be expressed as three-dimensional coordinates or offsets relative to a reference point. The previously acquired conversion matrix of the CT-spine robot coordinate system is used to convert the bone screw planning position data to the spinal robot coordinate system. A contact sensor or force sensor is installed on the end of the spinal robot execution instrument or tool to detect contact or force information. According to the converted bone screw planning position data, contact detection is performed in the data of the contact sensor or force sensor of the spinal robot execution instrument or tool. According to the feedback of the sensor, it is determined whether the bone screw is in contact with the spine. Bone screw contact detection data is generated to record the contact between the bone screw and the spine, including contact position, contact force and other information. According to the bone screw contact detection data, it is determined whether the position of the bone screw is consistent with the preoperative planning path or meets the safety requirements. According to the judgment result, a spinal robot navigation control instruction is generated, including adjusting the position, posture or path of the robot to ensure the accurate positioning and safe insertion of the bone screw. Optimizing the navigation control instruction may include adjustments in the robot's movement speed, path planning, force control and other aspects to improve the accuracy and safety of navigation.
[0090] Preferably, step S1 comprises the following steps:
[0091] Step S11: acquiring spatial 3D information data and spatial 2D information data using a fusion sensor, wherein the fusion sensor includes a laser radar sensor and a 2D color camera;
[0092] Step S12: integrating the spatial 3D information data and the spatial 2D information data to generate spatial fusion data;
[0093] Step S13: converting the spatial fusion data into three-dimensional point cloud to generate spatial fusion point cloud data; performing data denoising on the spatial fusion point cloud data to generate spatial fusion point cloud denoised data;
[0094] Step S14: performing time synchronization on the spatial fusion point cloud denoising data to generate spatial fusion point cloud synchronization data; performing spatial alignment on the spatial fusion point cloud synchronization data based on a preset external parameter calibration matrix to generate standard spatial fusion point cloud data;
[0095] Step S15: construct a spatial fusion perception map based on the standard spatial fusion point cloud data to generate a 3D fusion perception map.
[0096] In an embodiment of the present invention, a suitable laser radar sensor is selected to obtain three-dimensional information (3D point cloud data) of the space, such as Velodyne or LIDAR. A high-resolution 2D color camera is selected to obtain two-dimensional color information (RGB image) of the space, such as a Basler or FLIR camera. The laser radar sensor and the 2D color camera are started at the same time to ensure that the two synchronously collect data in the same time period. Spatial 3D information data (point cloud data) is obtained from the laser radar sensor. Spatial 2D information data (RGB image) is obtained from the 2D color camera. The 3D point cloud data is preprocessed to remove obvious noise and abnormal points. The RGB image is preprocessed to adjust the image brightness, contrast and other parameters to ensure image quality. The data of the 2D color camera is registered with the data of the 3D laser radar using a spatial alignment algorithm (for example, using an ICP algorithm or a calibration method). The spatial 3D information data (point cloud) is matched with the spatial 2D information data (RGB image) to generate spatial fusion data. The fused spatial data is converted into a three-dimensional point cloud, retaining the RGB information and spatial position of each point. Use denoising algorithms (such as statistical filtering and radius filtering) to denoise the 3D point cloud data. Remove isolated points and unreliable points to generate spatially fused point cloud denoised data. Use timestamps to synchronize the spatially fused point cloud denoised data to ensure that all data points have a unified time reference. Based on the preset extrinsic calibration matrix, perform spatial alignment on the synchronized point cloud data. Use the calibrated extrinsic matrix to adjust the position and direction of the point cloud data to generate standard spatially fused point cloud data. Use standard spatially fused point cloud data to build a 3D perception atlas. Integrate the geometric information and RGB information of the point cloud data in the atlas to generate a complete 3D fused perception atlas.
[0097] Preferably, step S15 comprises the following steps:
[0098] Step S151: extracting dimensional feature points from the standard spatial fusion point cloud data to obtain spatial two-dimensional feature points and spatial three-dimensional feature points, wherein the spatial three-dimensional feature points include edge feature points and surface feature points, and the spatial two-dimensional feature points include color feature points and texture feature points;
[0099] Step S152: performing feature association matching on edge feature points, surface feature points, color feature points, and texture feature points to generate association feature data;
[0100] Step S153: performing sensor state estimation on the laser radar sensor and the 2D color camera according to the associated feature data to obtain sensor state estimation data;
[0101] Step S154: Perform multi-source data fusion on the sensor state estimation data and the standard space fusion point cloud data to generate a 3D fusion perception map.
[0102] In an embodiment of the present invention, fused point cloud data in a standard space is obtained. Point cloud data can be collected by a variety of sensors (such as laser radar and RGB-D camera). The point cloud data is processed using a feature extraction algorithm to identify and extract feature points. The edge parts of objects in the point cloud data are detected, and these parts usually have a high curvature change. The smooth surface areas of objects in the point cloud data are detected, and these areas usually have continuous normal vectors. Image data taken by a color camera is used to extract color features in the image, such as RGB values. Texture features in the image are extracted using image processing algorithms (such as SIFT, SURF, etc.). A descriptor is generated for each feature point, and the descriptor contains attribute information of the feature point, such as position, color, texture, etc. Feature matching algorithms (such as KNN, RANSAC, etc.) are used to associate and match feature points of different categories. Associated feature data is generated, including matched feature point pairs and their corresponding descriptor information. According to the associated feature data, the laser radar sensor and the 2D color camera are jointly calibrated using geometric and statistical methods. The relative pose (position and posture) between the sensors is calculated to generate sensor state estimation data. Further improve the accuracy of sensor state estimation through optimization algorithms (such as ICP, BA, etc.). Ensure that the sensor state estimation data is accurate and reliable. Use multi-source data fusion algorithms (such as Kalman filtering, graph optimization, etc.) to integrate the sensor state estimation data with the standard space fusion point cloud data. Process the fused data to generate a complete 3D environmental perception map. The 3D fusion perception map contains accurate spatial position, geometric shape, color and texture information.
[0103] As an example of the present invention, refer to Figure 2 As shown, in this example, step S2 includes:
[0104] Step S21: Obtaining initial coordinate data of the visual calibration plate;
[0105] Step S22: performing three-dimensional coordinate perception of a specific point on the initial coordinate data of the visual calibration plate according to the 3D fusion perception map to generate the coordinates of the first visual calibration point;
[0106] Step S23: using the sensor in the spine robot to sense the three-dimensional coordinates of a specific point on the initial coordinate data of the visual calibration plate to generate the coordinates of the second visual calibration point;
[0107] Step S24: performing CT scanning based on the initial coordinate data of the visual calibration plate to obtain CT scan image data; performing three-dimensional coordinate perception of specific points on the CT scan image data to generate coordinates of the third visual calibration point;
[0108] Step S25: performing multi-coordinate system registration on the coordinates of the first visual calibration point, the coordinates of the second visual calibration point and the coordinates of the third visual calibration point to generate a transformation matrix of the CT-spinal robot coordinate system.
[0109] In an embodiment of the present invention, a visual calibration plate is placed within the measurement range of a 3D fusion perception map. The calibration plate is scanned using a 3D fusion perception system (such as a combination of a laser radar and a color camera). The three-dimensional coordinates of a specific point on the calibration plate are extracted to generate the coordinates of a first visual calibration point. The spinal robot is started and the visual calibration plate is scanned by its sensors (such as a 3D camera, a force sensor, etc.). The three-dimensional coordinates of a specific point on the calibration plate are extracted by the sensor in the spinal robot to generate the coordinates of a second visual calibration point. The visual calibration plate is placed in a CT scanner to ensure that the specific marking points on the calibration plate are clearly visible. A CT scan is performed to obtain CT scan image data containing the calibration plate, and the CT image data is analyzed using an image processing algorithm to extract the three-dimensional coordinates of a specific point on the calibration plate to generate the coordinates of a third visual calibration point. The coordinates of the first visual calibration point, the second visual calibration point, and the third visual calibration point are collected. Ensure that all coordinate data match the coordinates of the initial calibration plate. The three coordinate systems are registered using a multi-coordinate system registration algorithm (such as ICP, Procrustes analysis, etc.). The transformation matrix between the CT coordinate system and the spinal robot coordinate system is calculated. Verify the accuracy of the registration results and ensure the accuracy and reliability of the transformation matrix through repeated measurements and optimization algorithm adjustments.
[0110] Preferably, step S25 includes the following steps:
[0111] Step S251: performing data dimensionality reduction on the coordinates of the first visual calibration point, the coordinates of the second visual calibration point, and the coordinates of the third visual calibration point to generate the reduced-dimensional coordinates of the first visual calibration point, the reduced-dimensional coordinates of the second visual calibration point, and the reduced-dimensional coordinates of the third visual calibration point;
[0112] Step S252: using the Kabsch algorithm to perform a first rigid registration on the reduced-dimensional coordinates of the first visual calibration point and the reduced-dimensional coordinates of the second visual calibration point to generate a registration matrix; optimizing the registration accuracy of the preliminary registration matrix to generate a spinal robot registration matrix;
[0113] Step S253: performing a second rigid registration on the reduced-dimensional coordinates of the first visual calibration point and the reduced-dimensional coordinates of the third visual calibration point using the SVD method to generate a CT registration matrix;
[0114] Step S254: perform registration matrix fusion on the spinal robot registration matrix and the CT registration matrix to generate a fused registration matrix; perform matrix error evaluation on the fused registration matrix to obtain a fused registration matrix error; compare the fused registration matrix error with the preset standard matrix error, and when the fused registration matrix error is less than or equal to the preset standard matrix error, generate a transformation matrix of the CT-spinal robot coordinate system; when the fused registration matrix error is greater than the preset standard matrix error, perform error correction on the fused registration matrix until a transformation matrix of the CT-spinal robot coordinate system is generated.
[0115] In an embodiment of the present invention, data consistency is ensured by collecting the coordinates of the first visual calibration point, the coordinates of the second visual calibration point, and the coordinates of the third visual calibration point. PCA (principal component analysis) or other dimensionality reduction methods are used to reduce the dimension of each group of coordinate data, and the original three-dimensional coordinate data is reduced to a suitable dimension (such as two-dimensional or one-dimensional). Generate the reduced dimension coordinates of the first visual calibration point, the reduced dimension coordinates of the second visual calibration point, and the reduced dimension coordinates of the third visual calibration point. PCA (principal component analysis) or other dimensionality reduction methods are used to reduce the dimension of each group of coordinate data, and the original three-dimensional coordinate data is reduced to a suitable dimension (such as two-dimensional or one-dimensional). Generate the reduced dimension coordinates of the first visual calibration point, the reduced dimension coordinates of the second visual calibration point, and the reduced dimension coordinates of the third visual calibration point. PCA (principal component analysis) or other dimensionality reduction methods are used to reduce the dimension of each group of coordinate data, and the original three-dimensional coordinate data is reduced to a suitable dimension (such as two-dimensional or one-dimensional). Generate the reduced dimension coordinates of the first visual calibration point, the reduced dimension coordinates of the second visual calibration point, and the reduced dimension coordinates of the third visual calibration point. The Kabsch algorithm is used to rigidly register the reduced-dimensional coordinates of the first visual calibration point and the reduced-dimensional coordinates of the second visual calibration point. A preliminary registration matrix is calculated to minimize the alignment error of the two groups of points. The preliminary registration matrix is optimized, and an iterative optimization method (such as the ICP algorithm) is used to further reduce the registration error. The spinal robot registration matrix is generated to ensure the accuracy and stability of the registration result. The SVD (singular value decomposition) method is used to rigidly register the reduced-dimensional coordinates of the first visual calibration point and the reduced-dimensional coordinates of the third visual calibration point. The CT registration matrix is calculated to minimize the alignment error of the two groups of points. The spinal robot registration matrix and the CT registration matrix are fused to generate a preliminary fused registration matrix. The fused registration matrix is evaluated for error, and its error with the preset standard matrix is calculated. If the fused registration matrix error is less than or equal to the preset standard matrix error, this matrix is determined to be the final CT-spine robot coordinate system transformation matrix. If the fused registration matrix error is greater than the preset standard matrix error, error correction is performed. The fused registration matrix is corrected using an error minimization method (such as the least squares method). The correction is repeated iteratively until the fusion registration matrix error meets the preset standard.
[0116] As an example of the present invention, refer to Figure 3 As shown, in this example, step S3 includes:
[0117] Step S31: obtaining the preoperative planned surgical path of the spinal robot;
[0118] Step S32: using a fusion sensor to shoot intraoperative motion of the spinal robot and the visual calibration plate to obtain a spinal robot motion shooting image set and a visual calibration plate motion shooting image set;
[0119] Step S33: using the conversion matrix of the CT-spinal robot coordinate system to perform shallow motion path adjustment on the spinal robot motion shooting image set, and generating first motion trajectory adjustment data of the spinal robot;
[0120] Step S34: using the first motion trajectory adjustment data of the spinal robot to perform deep motion path adjustment on the motion image set of the visual calibration plate to generate second motion trajectory adjustment data of the spinal robot;
[0121] Step S35: updating the real-time path map of the preoperatively planned surgical path of the spinal robot through the first motion trajectory adjustment data and the second motion trajectory adjustment data of the spinal robot, and generating a real-time path map for positioning navigation.
[0122] In an embodiment of the present invention, three-dimensional image data of the patient's spine is obtained by CT or MRI scanning. The best surgical path is formulated based on the three-dimensional image data of the spine using surgical planning software. The planning path should take into account the safety and effectiveness of the surgery to ensure that important tissues and nerves are avoided. The surgical path data is recorded and stored as a benchmark for subsequent steps. Fusion sensors (such as optical cameras, laser scanners, etc.) are installed on the spinal robot and the visual calibration plate. The sensors are calibrated to ensure their accuracy. During the operation, the spinal robot and the visual calibration plate are continuously photographed using the fusion sensor. The image set during the movement of the spinal robot and the motion image set of the visual calibration plate are recorded. The image set shot during the movement of the spinal robot and the motion image set of the visual calibration plate are converted to the CT coordinate system using the conversion matrix of the CT-spinal robot coordinate system. The converted image set is preliminarily processed to identify the actual movement path of the spinal robot. By comparing with the preoperative planned surgical path, the shallow movement path is adjusted to generate the first motion trajectory adjustment data of the spinal robot. According to the first motion trajectory adjustment data of the spinal robot, the motion image set shot by the visual calibration plate is processed. The motion trajectory of the visual calibration plate is identified, and the deep path adjustment is performed on it in combination with the first motion trajectory adjustment data of the spinal robot. Generate the second motion trajectory adjustment data of the spinal robot. Fuse the first motion trajectory adjustment data and the second motion trajectory adjustment data of the spinal robot. Update the preoperatively planned surgical path in real time through the fused motion trajectory data. Generate a real-time path map for positioning navigation to ensure the accuracy and real-time performance of the surgical path.
[0123] Preferably, step S33 includes the following steps:
[0124] Step S331: confirming the robot motion position coordinates of the spine robot scene shooting image set to obtain the spine robot motion coordinate point set;
[0125] Step S332: constructing a motion trajectory according to the motion coordinate point set of the spinal robot to obtain the motion trajectory of the spinal robot; calculating the trajectory deviation between the motion trajectory of the spinal robot and the preoperative planned surgical path of the spinal robot to obtain the deviation value of the motion trajectory of the spinal robot;
[0126] Step S333: The spinal robot's motion trajectory abnormality is identified through the spinal robot's motion trajectory deviation value. When the motion trajectory abnormality is identified, the spinal robot's motion trajectory deviation value is adjusted using the transformation matrix of the CT-spinal robot coordinate system, thereby generating the spinal robot's first motion trajectory adjustment data.
[0127] In an embodiment of the present invention, a set of images captured by a spinal robot scene is preprocessed, such as grayscale, noise removal (such as Gaussian filtering), edge enhancement (such as Canny edge detection), etc. A feature point detection algorithm (such as SIFT, SURF, ORB, etc.) is used to detect key points in the image set. Feature descriptors are extracted for subsequent feature point matching. Matching algorithms (such as FLANN, BFMatcher, etc.) are used to match feature points in the current image with feature points in the previous image. The RANSAC algorithm is used to remove incorrect matching points and retain valid feature point pairs. The PnP (Perspective-n-Point) algorithm is used to estimate the position (position and posture) of the spinal robot through matched feature point pairs. The estimation result is converted into three-dimensional coordinates to form a set of motion coordinate points of the spinal robot. According to the set of motion coordinate points of the spinal robot, a curve fitting method (such as polynomial fitting, spline interpolation) is used to construct the actual motion trajectory of the robot. These trajectory points are recorded to form a continuous motion path. The actual motion trajectory of the spinal robot is compared with the surgical path planned before surgery. The Euclidean distance between each trajectory point and the corresponding planned path point is calculated to obtain the position deviation. Calculate the angle difference between the posture of each trajectory point and the posture of the corresponding planned path point to obtain the posture deviation. Set the threshold range of position deviation and posture deviation. The common method is based on experience or determined according to specific surgical requirements. Judge the deviation value of each trajectory point. If the deviation value exceeds the preset threshold, it is marked as an abnormal point. Use the conversion matrix of the CT-spinal robot coordinate system to convert the trajectory deviation value marked as abnormal to the CT coordinate system. For each abnormal point, use an optimization algorithm (such as least squares method, Kalman filter) to adjust the trajectory. Smooth the adjusted trajectory through interpolation methods (such as linear interpolation or spline interpolation) to reduce mutations. The adjusted trajectory points are collected to form the first motion trajectory adjustment data of the spinal robot. Record each adjusted trajectory point and its corresponding timestamp for subsequent further processing.
[0128] Preferably, step S34 includes the following steps:
[0129] Step S341: using the first motion trajectory adjustment data of the spine robot to perform motion orientation analysis on the motion image set of the visual calibration plate to generate motion orientation data of the visual calibration plate, wherein the motion orientation data of the visual calibration plate includes horizontal motion orientation data and vertical motion orientation data;
[0130] Step S342: performing periodic change analysis on the vertical motion orientation data to generate vertical motion periodic data of the visual calibration plate; performing patient ups and downs intensity evaluation on the vertical motion orientation data based on the vertical motion periodic data of the visual calibration plate to generate patient ups and downs intensity data;
[0131] Step S343: performing initial offset calculation on the horizontal motion orientation data to obtain initial offset data of the visual calibration plate; performing offset influence analysis on the initial offset data of the visual calibration plate using the patient's heave intensity data to generate an offset influence range of the visual calibration plate;
[0132] Step S344: Based on the offset influence range of the visual calibration plate, the first motion trajectory adjustment data of the spinal robot is adjusted for the second time using the transformation matrix of the CT-spinal robot coordinate system to generate the second motion trajectory adjustment data of the spinal robot.
[0133] In an embodiment of the present invention, a set of images captured by motion of a visual calibration plate is preprocessed (such as denoising and enhancing). A feature point detection algorithm (such as SIFT, SURF, and ORB) is used to detect key points on the visual calibration plate in the image set. By tracking the position changes of the feature points, the movement direction and displacement of the visual calibration plate at different time points are calculated. The motion data is decomposed into horizontal motion and vertical motion to generate motion orientation data of the visual calibration plate. The vertical motion orientation data is extracted and a time series analysis (such as Fourier transform or autocorrelation analysis) is performed on it. The periodic characteristics of the vertical motion are identified to generate vertical motion periodic data of the visual calibration plate. Based on the vertical motion periodic data, the amplitude and frequency of the vertical motion are analyzed to evaluate the intensity of the fluctuation caused by the patient's breathing or body movement. Generate patient fluctuation intensity data to represent the amplitude and frequency of the vertical motion. The horizontal motion orientation data is analyzed to calculate the initial position offset of the visual calibration plate. The initial offset data of the visual calibration plate is obtained. The patient fluctuation intensity data is used to analyze the influence of vertical motion on the initial horizontal offset. Considering the modulation effect of the vertical motion cycle and amplitude on the horizontal motion, the offset influence range of the visual calibration plate is generated. Based on the offset influence range of the visual calibration plate, the offset influence range is converted to the CT coordinate system using the conversion matrix of the CT-spinal robot coordinate system. According to the converted offset influence range, the first motion trajectory adjustment data of the spinal robot is adjusted secondary. Use optimization algorithms (such as Kalman filtering and least squares method) to correct the trajectory and reduce the trajectory deviation caused by patient movement. Generate the second motion trajectory adjustment data of the spinal robot to ensure the accuracy of the surgical path.
[0134] As an example of the present invention, refer to Figure 4 As shown, in this example, step S4 includes:
[0135] Step S41: Acquire bone screw planning position data;
[0136] Step S42: performing bone screw position detection on the bone screw planning position data by adjusting the second motion trajectory of the spinal robot to generate bone screw position detection data;
[0137] Step S43: performing CT image mapping on the bone screw position detection data using the conversion matrix of the CT-spinal robot coordinate system to generate bone screw mapping image data; performing bone screw contact detection on the bone screw mapping image data to generate bone screw contact detection data;
[0138] Step S44: Generate spinal robot navigation control instructions for the real-time positioning navigation path map based on the bone screw contact detection data to obtain spinal robot optimized navigation control instructions.
[0139] In an embodiment of the present invention, three-dimensional image data of the patient's spine is obtained by CT or MRI scanning during the surgical planning stage. The ideal position and direction of the bone screw are planned in the three-dimensional image data using surgical planning software. The planned position data of the bone screw is recorded and stored as a reference for subsequent steps. The second motion trajectory adjustment data of the spinal robot is used to ensure that the actual motion path of the spinal robot during the operation conforms to the preset plan. During the operation, the position of the spinal robot and the bone screw is monitored by real-time images (such as a C-arm X-ray machine) or other navigation equipment. The actual position is compared with the planned position to detect the position of the bone screw. Bone screw position detection data is generated, including the actual position and direction of the bone screw. The bone screw position detection data is converted into the CT coordinate system using the conversion matrix of the CT-spinal robot coordinate system. The actual position and direction of the bone screw are marked on the CT image to generate bone screw mapping image data. The bone screw mapping image data is analyzed to check whether the position of the bone screw interferes with surrounding tissues (such as nerves and blood vessels). Bone screw contact detection data is generated to point out potential interference risks. Based on the bone screw contact detection data, the position and direction of the bone screw that need to be adjusted are identified to avoid damage to important tissues. According to the contact detection results, the spinal robot's second motion trajectory adjustment data is further optimized to generate a new motion path and posture. The optimized motion data is used to generate spinal robot navigation control instructions, which include specific motion parameters (such as position, speed, acceleration) and execution sequence to ensure that the spinal robot can accurately and safely complete bone screw implantation.
[0140] Preferably, performing bone screw contact detection on the bone screw mapping image data includes:
[0141] The bone screw mapping image data is reconstructed in three dimensions by using multi-view reconstruction technology to obtain a three-dimensional model of the bone screw;
[0142] Performing bone screw collision detection on the three-dimensional bone screw model to obtain bone screw collision detection data;
[0143] Perform interference severity analysis on bone screw collision detection data to generate bone screw interference severity analysis data;
[0144] The interference area of the bone screw three-dimensional model is marked using the bone screw interference severity analysis data to obtain the bone screw contact detection data.
[0145] In the embodiment of the present invention, image processing techniques such as denoising algorithms (such as Gaussian filtering, median filtering) and image enhancement algorithms (such as histogram equalization, contrast enhancement) are used to improve image quality and reduce noise. The processed image data is converted into a three-dimensional model through image matching and geometric reconstruction algorithms by applying techniques such as structured light, stereo vision or multi-view imaging. The feature points in the image are matched and the three-dimensional point cloud is reconstructed using methods such as visual geometry, stereo matching or deep learning. Based on the reconstructed three-dimensional point cloud data, the geometric model of the bone screw is generated by using methods such as surface reconstruction or voxelization. The bone screw model and the surrounding tissue model are collided using collision detection algorithms such as boundary volume layer (BVH) and near-field collision detection. The location and degree of the collision are detected using a physical engine or a geometric calculation method. According to the collision detection results, the parameters such as the distance, angle and strength between the collision point and the surrounding tissue are calculated. These parameters are used to evaluate the degree of impact of the collision on the surrounding tissue, including compression, penetration, etc. The interference severity analysis results are matched with the three-dimensional model of the bone screw to determine the area affected by the interference. Interference areas can be marked on the 3D model using color, transparency or marker lines to facilitate visual analysis by doctors.
[0146] The beneficial effect of the present invention is that by acquiring spatial 3D information data and spatial 2D information data, and constructing a spatial fusion perception map. The beneficial effect of this step is to combine 3D and 2D data from different sensors to generate a comprehensive perception map, which can provide more comprehensive and accurate spatial information and provide a more reliable basis for subsequent surgical planning and navigation. The initial coordinate data of the visual calibration plate is obtained, and the three-dimensional coordinate perception of a specific point is performed. By fusing the perception map, the initial coordinates of the visual calibration plate can be perceived, and the first visual calibration point coordinates can be generated. At the same time, the three-dimensional coordinate perception of a specific point is performed by the spinal robot and the CT machine to generate the second and third visual calibration point coordinates. Finally, through multi-coordinate system registration, the conversion matrix of the CT-spinal robot coordinate system is generated, and accurate positioning and registration between different coordinate systems are achieved, providing an accurate coordinate conversion relationship for subsequent surgical navigation. The preoperative planning surgical path of the spinal robot is obtained, and intraoperative motion shooting is performed. The spinal robot and the visual calibration plate are shot during the operation using a fusion sensor to obtain a motion shooting image set. Through the conversion matrix of the CT-spinal robot coordinate system, the path map of the spinal robot can be updated in real time, and a real-time path map for positioning and navigation can be generated. The surgical path can be updated and adjusted in real time during the operation, thereby improving the accuracy of navigation guidance. The bone screw planning position data is obtained, and bone screw contact detection is performed. Using the conversion matrix of the CT-spinal robot coordinate system, contact detection is performed on the bone screw planning position data to generate bone screw contact detection data. Based on these data, navigation control instructions can be generated for the real-time path map for positioning and navigation, and the navigation path of the spinal robot can be optimized. Accurate detection and navigation control of the bone screw position can be achieved during the operation, ensuring the precise placement of the bone screws. Therefore, the present invention improves the accuracy of navigation by using a fusion sensor of a laser radar sensor plus a 2D color camera to perform coordinate joint registration and navigation path optimization on the spinal robot and the visual calibration plate.
[0147] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0148] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. A positioning and navigation method for a spinal robot, characterized in that: The following steps are involved: Step S1: Acquire spatial 3D information data and spatial 2D information data; Based on the spatial 3D information data and the spatial 2D information data, a spatial fusion perception map is constructed to generate a 3D fusion perception map; step S1 includes the following steps: Step S11: acquiring spatial 3D information data and spatial 2D information data using a fusion sensor, wherein the fusion sensor includes a laser radar sensor and a 2D color camera; Step S12: integrating the spatial 3D information data and the spatial 2D information data to generate spatial fusion data; Step S13: converting the spatial fusion data into three-dimensional point cloud to generate spatial fusion point cloud data; performing data denoising on the spatial fusion point cloud data to generate spatial fusion point cloud denoised data; Step S14: performing time synchronization on the spatial fusion point cloud denoising data to generate spatial fusion point cloud synchronization data; performing spatial alignment on the spatial fusion point cloud synchronization data based on a preset external parameter calibration matrix to generate standard spatial fusion point cloud data; Step S15: constructing a spatial fusion perception map based on the standard spatial fusion point cloud data to generate a 3D fusion perception map; Step S2: Acquire the initial coordinate data of the visual calibration plate; perform three-dimensional coordinate perception of specific points on the initial coordinate data of the visual calibration plate according to the 3D fusion perception map to generate the first visual calibration point coordinates; perform three-dimensional coordinate perception of specific points on the initial coordinate data of the visual calibration plate through the sensor in the spinal robot and the CT machine to generate the second visual calibration point coordinates and the third visual calibration point coordinates; perform multi-coordinate system registration on the first visual calibration point coordinates, the second visual calibration point coordinates and the third visual calibration point coordinates to generate a conversion matrix of the CT-spinal robot coordinate system; Step S2 includes the following steps: Step S21: Obtaining initial coordinate data of the visual calibration plate; Step S22: performing three-dimensional coordinate perception of a specific point on the initial coordinate data of the visual calibration plate according to the 3D fusion perception map to generate the coordinates of the first visual calibration point; Step S23: using the sensor in the spine robot to sense the three-dimensional coordinates of a specific point on the initial coordinate data of the visual calibration plate to generate the coordinates of the second visual calibration point; Step S24: performing CT scanning based on the initial coordinate data of the visual calibration plate to obtain CT scan image data; performing three-dimensional coordinate perception of specific points on the CT scan image data to generate coordinates of the third visual calibration point; Step S25: performing multi-coordinate system registration on the coordinates of the first visual calibration point, the coordinates of the second visual calibration point, and the coordinates of the third visual calibration point to generate a transformation matrix of the CT-spinal robot coordinate system; Step S3: obtaining the preoperative planned surgical path of the spinal robot; using the fusion sensor to shoot the intraoperative motion of the spinal robot and the visual calibration plate to obtain the spinal robot motion shooting image set and the visual calibration plate motion shooting image set; using the conversion matrix of the CT-spinal robot coordinate system to update the real-time path map of the spinal robot motion shooting image set and the visual calibration plate motion shooting image set to generate a real-time path map for positioning and navigation; Step S3 includes the following steps: Step S31: obtaining the preoperative planned surgical path of the spinal robot; Step S32: using a fusion sensor to shoot intraoperative motion of the spinal robot and the visual calibration plate to obtain a spinal robot motion shooting image set and a visual calibration plate motion shooting image set; Step S33: using the conversion matrix of the CT-spinal robot coordinate system to perform shallow motion path adjustment on the spinal robot motion shooting image set, and generating first motion trajectory adjustment data of the spinal robot; Step S34: using the first motion trajectory adjustment data of the spinal robot to perform deep motion path adjustment on the motion image set of the visual calibration plate to generate second motion trajectory adjustment data of the spinal robot; Step S35: updating the real-time path map of the preoperative planned surgical path of the spinal robot through the first motion trajectory adjustment data and the second motion trajectory adjustment data of the spinal robot, and generating a real-time path map for positioning navigation; Step S4: acquiring bone screw planning position data; performing bone screw contact detection on the bone screw planning position data using the conversion matrix of the CT-spinal robot coordinate system to generate bone screw contact detection data; generating spinal robot navigation control instructions for the positioning navigation real-time path map according to the bone screw contact detection data to obtain spinal robot optimized navigation control instructions; Step S4 includes the following steps: Step S41: Acquire bone screw planning position data; Step S42: performing bone screw position detection on the bone screw planning position data by adjusting the second motion trajectory of the spinal robot to generate bone screw position detection data; Step S43: performing CT image mapping on the bone screw position detection data using the conversion matrix of the CT-spinal robot coordinate system to generate bone screw mapping image data; performing bone screw contact detection on the bone screw mapping image data to generate bone screw contact detection data; Step S44: generating spinal robot navigation control instructions for the real-time positioning navigation path map based on the bone screw contact detection data to obtain spinal robot optimized navigation control instructions.
2. The spinal robot positioning and navigation method according to claim 1, characterized in that: Step S15 includes the following steps: Step S151: extracting dimensional feature points from the standard spatial fusion point cloud data to obtain spatial two-dimensional feature points and spatial three-dimensional feature points, wherein the spatial three-dimensional feature points include edge feature points and surface feature points, and the spatial two-dimensional feature points include color feature points and texture feature points; Step S152: performing feature association matching on edge feature points, surface feature points, color feature points, and texture feature points to generate association feature data; Step S153: performing sensor state estimation on the laser radar sensor and the 2D color camera according to the associated feature data to obtain sensor state estimation data; Step S154: Perform multi-source data fusion on the sensor state estimation data and the standard space fusion point cloud data to generate a 3D fusion perception map.
3. The spinal robot positioning and navigation method according to claim 1, characterized in that: Step S25 includes the following steps: Step S251: performing data dimensionality reduction on the coordinates of the first visual calibration point, the coordinates of the second visual calibration point, and the coordinates of the third visual calibration point to generate the reduced dimensionality coordinates of the first visual calibration point, the reduced dimensionality coordinates of the second visual calibration point, and the reduced dimensionality coordinates of the third visual calibration point; Step S252: using the Kabsch algorithm to perform a first rigid registration on the reduced-dimensional coordinates of the first visual calibration point and the reduced-dimensional coordinates of the second visual calibration point to generate a registration matrix; optimizing the registration accuracy of the preliminary registration matrix to generate a spinal robot registration matrix; Step S253: performing a second rigid registration on the reduced-dimensional coordinates of the first visual calibration point and the reduced-dimensional coordinates of the third visual calibration point using the SVD method to generate a CT registration matrix; Step S254: perform registration matrix fusion on the spinal robot registration matrix and the CT registration matrix to generate a fused registration matrix; perform matrix error evaluation on the fused registration matrix to obtain a fused registration matrix error; compare the fused registration matrix error with the preset standard matrix error, and when the fused registration matrix error is less than or equal to the preset standard matrix error, generate a transformation matrix of the CT-spinal robot coordinate system; when the fused registration matrix error is greater than the preset standard matrix error, perform error correction on the fused registration matrix until a transformation matrix of the CT-spinal robot coordinate system is generated.
4. The spinal robot positioning and navigation method according to claim 1, characterized in that: Step S33 includes the following steps: Step S331: confirming the robot motion position coordinates of the spine robot scene shooting image set to obtain the spine robot motion coordinate point set; Step S332: constructing a motion trajectory according to the motion coordinate point set of the spinal robot to obtain the motion trajectory of the spinal robot; calculating the trajectory deviation between the motion trajectory of the spinal robot and the preoperative planned surgical path of the spinal robot to obtain the deviation value of the motion trajectory of the spinal robot; Step S333: The spinal robot's motion trajectory abnormality is identified through the spinal robot's motion trajectory deviation value. When the motion trajectory abnormality is identified, the spinal robot's motion trajectory deviation value is adjusted using the transformation matrix of the CT-spinal robot coordinate system, thereby generating the spinal robot's first motion trajectory adjustment data.
5. The spinal robot positioning and navigation method according to claim 1, characterized in that: Step S34 includes the following steps: Step S341: using the first motion trajectory adjustment data of the spine robot to perform motion orientation analysis on the motion image set of the visual calibration plate to generate motion orientation data of the visual calibration plate, wherein the motion orientation data of the visual calibration plate includes horizontal motion orientation data and vertical motion orientation data; Step S342: performing periodic change analysis on the vertical motion orientation data to generate vertical motion periodic data of the visual calibration plate; performing patient ups and downs intensity evaluation on the vertical motion orientation data based on the vertical motion periodic data of the visual calibration plate to generate patient ups and downs intensity data; Step S343: performing initial offset calculation on the horizontal motion orientation data to obtain initial offset data of the visual calibration plate; performing offset influence analysis on the initial offset data of the visual calibration plate using the patient's heave intensity data to generate an offset influence range of the visual calibration plate; Step S344: Based on the offset influence range of the visual calibration plate, the first motion trajectory adjustment data of the spinal robot is adjusted for the second time using the transformation matrix of the CT-spinal robot coordinate system to generate the second motion trajectory adjustment data of the spinal robot.
6. The spinal robot positioning and navigation method according to claim 1, characterized in that: Bone screw contact detection on bone screw mapping image data includes: The bone screw mapping image data is reconstructed in three dimensions by using multi-view reconstruction technology to obtain a three-dimensional model of the bone screw; Performing bone screw collision detection on the three-dimensional bone screw model to obtain bone screw collision detection data; Perform interference severity analysis on bone screw collision detection data to generate bone screw interference severity analysis data; The interference area of the bone screw three-dimensional model is marked using the bone screw interference severity analysis data to obtain the bone screw contact detection data.
Citation Information
Patent Citations
Navigation and location system and method adopting neurosurgical robot
CN105852970A
Double-head massage manipulator, double-head massage robot and track planning method of double-head massage robot
CN116725833A
