Two-dimensional image-based surgical planning method, system, device and medium
By using multi-angle two-dimensional scanning and three-dimensional model coordinate system registration during surgery, the problem of poor accuracy in surgical planning with two-dimensional images is solved, high-precision surgical path conversion and compensation is achieved, and the accuracy and stability of surgical planning are improved. sex.
Patent Information
- Application Number
- CN202210981271.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-16
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-08-16
AI Technical Summary
The accuracy of surgical planning based on two-dimensional images in the existing technology is poor, resulting in inaccurate surgical planning results, and the separation of imaging equipment and robotic navigation equipment cannot effectively improve surgical accuracy.
Through multi-angle two-dimensional scanning before and during surgery, pre-operative and intra-operative two-dimensional medical images are generated, and the preset three-dimensional model coordinate system is used to register the imaging equipment coordinate system and the surgical robot coordinate system, and convert the planned path. , combined with multi-angle image data to perform surgical path correction and compensation to ensure the accuracy of the surgical path.
It improves the accuracy of two-dimensional image surgical planning, meets the demand for low radiation dose, simplifies the operating process, reduces equipment costs, and does not require the relative position relationship to be set on a specific ruler, and directly uses two-dimensional images for surgical planning.
Smart Images

Figure CN115281829B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of surgical positioning, and in particular relates to a surgical planning method, system, equipment and medium based on two-dimensional images. Background Art
[0002] With the advancement of medical imaging and instrument technology, surgical robots based on robotic arm technology are increasingly being combined with medical imaging data to assist doctors in their surgeries, greatly facilitating their operations and improving surgical precision. For example, screw internal fixation reduces the physical exertion of surgery while simplifying complex surgeries and making conventional surgeries minimally invasive.
[0003] Existing surgical navigation systems often plan surgeries based on preoperative or intraoperative three-dimensional images. Three-dimensional images provide the most accurate surgical planning data, but the radiation dose is large, the equipment is expensive, and the data acquisition time is long. Intraoperative two-dimensional images can provide surgical planning data. Although the radiation dose is small and the equipment is cheap, the imaging equipment and the robotic navigation equipment are separated, resulting in low accuracy of surgical planning results. Summary of the invention
[0004] The technical problem to be solved by the present invention is to overcome the defect of poor accuracy of surgical planning using two-dimensional images in the prior art, and to provide a surgical planning method, system, device and medium based on two-dimensional images.
[0005] The present invention solves the above technical problems through the following technical solutions:
[0006] In a first aspect, a two-dimensional image-based surgical planning method is provided, the surgical planning method comprising:
[0007] After performing a preoperative two-dimensional scan of the patient at multiple angles using an imaging device, a preoperative two-dimensional medical image is generated;
[0008] Performing surgical planning on the preoperative two-dimensional medical image to obtain a planned path in the imaging device coordinate system; the planned path in the imaging device coordinate system is formed according to the nail insertion point and the target point in the nail insertion direction in the preoperative two-dimensional medical image, and is used to control the movement of the surgical robot;
[0009] Based on the preset three-dimensional model coordinate system, the imaging device coordinate system is aligned with the surgical robot coordinate system to convert the planned path in the imaging device coordinate system into the planned path in the surgical robot coordinate system.
[0010] Optionally, the surgical planning method further includes:
[0011] Generate a control instruction according to the planned path in the surgical robot coordinate system, and drive the surgical robot to move according to the control instruction;
[0012] After performing a multi-angle intraoperative two-dimensional scan on the patient using the imaging device, an intraoperative two-dimensional medical image is generated;
[0013] When displacement of the patient is detected based on the intraoperative two-dimensional medical image, re-planning the surgery on the intraoperative two-dimensional medical image to obtain a new planning path in the imaging device coordinate system;
[0014] When it is detected based on the intraoperative two-dimensional medical image that the patient has not moved, an actual surgical path is acquired; the actual surgical path is formed according to a first detection point and a second detection point on the central axis of the guide cylinder of the surgical robot in the intraoperative two-dimensional medical image;
[0015] Determine whether there is an error between the actual surgical path and the planned path in the imaging device coordinate system, and if so, generate a motion compensation instruction and continue to execute the step of driving the surgical robot to move according to the control instruction;
[0016] and / or,
[0017] After the step of performing surgery planning on the preoperative two-dimensional medical image to obtain a planning path in the imaging device coordinate system, the surgery planning method further includes:
[0018] The nail entry point and / or the target point are corrected to obtain a corrected planned path in the imaging device coordinate system.
[0019] Optionally, the registering from the imaging device coordinate system to the surgical robot coordinate system based on a preset three-dimensional model coordinate system to convert the planned path in the imaging device coordinate system into the planned path in the surgical robot coordinate system includes:
[0020] Calculating a first position point corresponding to the nail entry point and a second position point corresponding to the target point in the three-dimensional model coordinate system according to a first transformation matrix; the first transformation matrix is used to represent a coordinate conversion relationship between the imaging device coordinate system and the three-dimensional model coordinate system at a specific angle;
[0021] According to a second transformation matrix, a first surgical point corresponding to the first position point and a second surgical point corresponding to the second position point in the surgical robot coordinate system are calculated; the second transformation matrix is used to characterize the coordinate transformation relationship between the three-dimensional model coordinate system and the surgical robot coordinate system;
[0022] A planned path in the surgical robot coordinate system is generated based on the first surgical point and the second surgical point.
[0023] Optionally, the first position point and the second position point are calculated by the following formula:
[0024] P 入钉点Md1 (x, y) = Md1*P 1 (x, y, z)
[0025] P 入钉点Md2 (x, y) = Md2*P 1 (x, y, z)
[0026] P 目标点Md1 (x, y) = Md1*P 2 (x, y, z)
[0027] P 目标点Md2 (x, y) = Md2*P 2 (x, y, z)
[0028] Wherein, Md1 represents the first transformation matrix at a first specific angle, Md2 represents the first transformation matrix at a second specific angle, and P 入钉点Md1 (x, y) represents the two-dimensional coordinates of the nail insertion point at the first specific angle, P 入钉点Md2 (x, y) represents the two-dimensional coordinates of the nail insertion point at the second specific angle, P 目标点Md1 (x, y) represents the two-dimensional coordinates of the target point at the first specific angle, P 目标点Md2 (x, y) represents the two-dimensional coordinates of the target point at the second specific angle, P 1 (x, y, z) represents the three-dimensional coordinates of the first position point, P 2 (x, y, z) represents the three-dimensional coordinates of the second position point;
[0029] and / or,
[0030] The first surgical point and the second surgical point are calculated by the following formula:
[0031] P 入钉点-机器 (x, y, z) = Mp*P 1 (x, y, z)
[0032] P 目标点-机器 (x, y, z) = Mp*P 2 (x, y, z)
[0033] Wherein, Mp represents the second transformation matrix, P 入钉点-机器 (x, y, z) represents the three-dimensional coordinates of the first surgical point, P 目标点-机器 (x, y, z) represents the three-dimensional coordinates of the second surgical point, P 1 (x, y, z) represents the three-dimensional coordinates of the first position point, P2 (x, y, z) represents the three-dimensional coordinates of the second position point.
[0034] In a second aspect, a two-dimensional image-based surgery planning system is provided, the surgery planning system comprising:
[0035] A first image generation module is used to generate a preoperative two-dimensional medical image after performing a preoperative two-dimensional scan of the patient at multiple angles using an imaging device;
[0036] A surgery planning module, used to perform surgery planning on the preoperative two-dimensional medical image to obtain a planned path in the imaging device coordinate system; the planned path in the imaging device coordinate system is formed according to the nail insertion point and the target point in the nail insertion direction in the preoperative two-dimensional medical image, and is used to control the movement of the surgical robot;
[0037] The conversion module is used to perform registration from the imaging device coordinate system to the surgical robot coordinate system based on a preset three-dimensional model coordinate system, so as to convert the planned path in the imaging device coordinate system into the planned path in the surgical robot coordinate system.
[0038] Optionally, the surgical planning system further includes:
[0039] A driving module, used to generate a control instruction according to the planned path in the coordinate system of the surgical robot, and drive the surgical robot to move according to the control instruction;
[0040] A second image generation module, configured to generate an intraoperative two-dimensional medical image after performing a multi-angle intraoperative two-dimensional scan on the patient using the imaging device;
[0041] A first detection module is used to re-plan the surgery on the intraoperative two-dimensional medical image when displacement of the patient is detected based on the intraoperative two-dimensional medical image, so as to obtain a new planning path in the coordinate system of the imaging device;
[0042] A second detection module is used to obtain an actual surgical path when it is detected based on the intraoperative two-dimensional medical image that the patient has not moved; the actual surgical path is formed according to a first detection point and a second detection point on the central axis of the guide cylinder of the surgical robot in the intraoperative two-dimensional medical image;
[0043] A judgment module, used to judge whether there is an error between the actual surgical path and the planned path in the imaging device coordinate system, and if so, generate a motion compensation instruction and call the driving module;
[0044] and / or,
[0045] The surgical planning system further comprises:
[0046] A correction module is used to correct the nail entry point and / or the target point to obtain a corrected planned path in the imaging device coordinate system.
[0047] Optionally, the conversion module includes:
[0048] a first calculation unit, configured to calculate a first position point corresponding to the nail entry point and a second position point corresponding to the target point in the three-dimensional model coordinate system according to a first transformation matrix; the first transformation matrix is used to represent a coordinate conversion relationship between the imaging device coordinate system and the three-dimensional model coordinate system at a specific angle;
[0049] a second calculation unit, configured to calculate a first surgical point corresponding to the first position point and a second surgical point corresponding to the second position point in the surgical robot coordinate system according to a second transformation matrix; the second transformation matrix is configured to represent a coordinate transformation relationship between the three-dimensional model coordinate system and the surgical robot coordinate system;
[0050] A generating unit is used to generate a planned path in the surgical robot coordinate system based on the first operating point and the second operating point.
[0051] Optionally, the first position point and the second position point are calculated by the following formula:
[0052] P 入钉点Md1 (x, y) = Md1*P 1 (x, y, z)
[0053] P 入钉点Md2 (x, y) = Md2*P 1 (x, y, z)
[0054] P 目标点Md1 (x, y) = Md1*P 2 (x, y, z)
[0055] P 目标点Md2 (x, y) = Md2*P 2 (x, y, z)
[0056] Wherein, Md1 represents the first transformation matrix at a first specific angle, Md2 represents the first transformation matrix at a second specific angle, and P 入钉点Md1 (x, y) represents the two-dimensional coordinates of the nail insertion point at the first specific angle, P 入钉点Md2 (x, y) represents the two-dimensional coordinates of the nail insertion point at the second specific angle, P 入钉点Md2 (x, y) represents the two-dimensional coordinates of the nail insertion point at the second specific angle, P 目标点Md1 (x, y) represents the two-dimensional coordinates of the target point at the first specific angle, P目标点Md2 (x, y) represents the two-dimensional coordinates of the target point at the second specific angle, P 1 (x, y, z) represents the three-dimensional coordinates of the first position point, P 2 (x, y, z) represents the three-dimensional coordinates of the second position point;
[0057] and / or,
[0058] The first surgical point and the second surgical point are calculated by the following formula:
[0059] P 入钉点-机器 (x, y, z) = Mp*P 1 (x, y, z)
[0060] P 目标点-机器 (x, y, z) = Mp*P 2 (x, y, z)
[0061] Wherein, Mp represents the second transformation matrix, P 入钉点-机器 (x, y, z) represents the three-dimensional coordinates of the first surgical point, P 目标点-机器 (x, y, z) represents the three-dimensional coordinates of the second surgical point, P 1 (x, y, z) represents the three-dimensional coordinates of the first position point, P 2 (x, y, z) represents the three-dimensional coordinates of the second position point.
[0062] In a third aspect, the present invention provides an electronic device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the two-dimensional image-based surgical planning method described in the first aspect is implemented.
[0063] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the two-dimensional image-based surgical planning method described in the first aspect is implemented.
[0064] The positive and progressive effects of the present invention are: providing a method, system, device and medium for surgical planning based on two-dimensional images, using an imaging device to perform a multi-angle preoperative two-dimensional scan of a patient, and generating a preoperative two-dimensional medical image; performing surgical planning on the preoperative two-dimensional medical image to obtain a planning path under the coordinates of the imaging device; based on a preset three-dimensional model coordinate system, performing registration from the imaging device coordinate system to the surgical robot coordinate system to convert the planning path under the imaging device coordinate system into the planning path under the surgical robot coordinate system. The present invention collects two-dimensional medical images from multiple angles, and uses a preset three-dimensional model and coordinate conversion relationship to convert the planning path on the two-dimensional medical image into a planning path under the robot coordinate system, thereby meeting the requirements of low-radiation-dose two-dimensional image surgical planning; the preset three-dimensional model is related to the hardware structure of the imaging device, has high stability, and improves the accuracy of two-dimensional image planning; there is no need to use the relative position relationship of feature points set on a specific ruler to perform surgical planning, and the two-dimensional image is directly used for surgical planning, and the operation process is simple. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 This is a flow chart of a two-dimensional image-based surgical planning method according to Example 1 of the present invention.
[0066] Figure 2 This is a flowchart of step S3 of the two-dimensional image-based surgical planning method of embodiment 1 of the present invention.
[0067] Figure 3a This is a schematic diagram of the first position of the surgical planning of the two-dimensional image-based surgical planning method according to Example 1 of the present invention.
[0068] Figure 3b This is a schematic diagram of the second position of the surgical planning of the two-dimensional image-based surgical planning method according to Example 1 of the present invention.
[0069] Figure 4 This is a flowchart of a two-dimensional image-based surgical planning method according to Embodiment 2 of the present invention.
[0070] Figure 5 This is a first application schematic diagram of the two-dimensional image-based surgical planning method according to Embodiment 2 of the present invention.
[0071] Figure 6 This is a module diagram of a two-dimensional image-based surgical planning system according to Embodiment 3 of the present invention.
[0072] Figure 7 This is a module diagram of a two-dimensional image-based surgical planning system according to Embodiment 4 of the present invention.
[0073] Figure 8 This is a schematic diagram of the hardware structure of an electronic device according to Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0074] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.
[0075] Example 1
[0076] This embodiment provides a surgical planning method based on two-dimensional images, such as Figure 1 As shown, the surgical planning method includes:
[0077] S1. After performing a preoperative two-dimensional scan of the patient at multiple angles using an imaging device, a preoperative two-dimensional medical image is generated.
[0078] S2. Perform surgical planning on the preoperative two-dimensional medical image to obtain a planned path in the imaging device coordinate system; the planned path in the imaging device coordinate system is formed based on the nail entry point and the target point in the nail entry direction in the preoperative two-dimensional medical image, and is used to control the movement of the surgical robot.
[0079] S3. Based on the preset three-dimensional model coordinate system, perform registration from the imaging device coordinate system to the surgical robot coordinate system to convert the planned path in the imaging device coordinate system into the planned path in the surgical robot coordinate system.
[0080] With respect to the above step S1, the preoperative two-dimensional medical image is an image of the spinal part to be operated on taken by an imaging device (e.g., a mobile three-dimensional C-arm integrated surgical robot). Before planning the surgical path, a CT scanner can be used to take a two-dimensional CT image of the spinal part to be operated on, i.e., a preoperative two-dimensional medical image. It should be noted that this embodiment is not limited to the case of spinal screw placement, and other similar orthopedic surgeries requiring screw implantation are applicable.
[0081] For the above step S2, after performing surgical planning on the preoperative two-dimensional medical image, the entry point and the target point in the direction of the screw insertion in the spine are determined in the imaging coordinate system, so as to further determine the direction and depth of the screw insertion. The imaging device coordinate system is a two-dimensional coordinate system based on the built-in coordinate system of the imaging device, in which the origin of the coordinate system is set on the two-dimensional medical image. For example, after emitting rays from the ray source of the C-arm and performing a preoperative two-dimensional scan on the patient, a preoperative two-dimensional medical image is generated inside the flat-panel detector, and the screw entry point P in the spine is set on the preoperative two-dimensional medical image. 入钉点 and the target point P on the implanted screw during surgery 目标点 .
[0082] For the above step S3, the three-dimensional model coordinate system represents the coordinate system of the three-dimensional model preset in the computer device and related to the CT equipment parameters and established based on the virtual cylindrical surgical channel in space. The three-dimensional model coordinate system is mainly used to assist the surgical planning operation of the two-dimensional image. 入钉点 The two-dimensional coordinates and P 目标点 The two-dimensional coordinates correspond to the three-dimensional model coordinate system P 1 The three-dimensional coordinates of the point and P 2 The three-dimensional coordinates of the point. Through the conversion relationship between the three-dimensional model coordinate system and the surgical robot coordinate system, the P 1 The three-dimensional coordinates of the point and P 2 The three-dimensional coordinates of the point are transformed into the surgical robot coordinate system P 入钉点-机器 The three-dimensional coordinates of the point and P 目标点-机器 The 3D coordinates of the point.
[0083] In one embodiment, Figure 2 As shown, step S3 specifically includes:
[0084] S31. Calculate a first position point corresponding to the nail entry point and a second position point corresponding to the target point in the three-dimensional model coordinate system according to a first transformation matrix; the first transformation matrix is used to characterize the coordinate conversion relationship between the imaging device coordinate system and the three-dimensional model coordinate system at a specific angle.
[0085] The first position point and the second position point are calculated by the following formula:
[0086] P 入钉点Md1 (x, y) = Md1*P 1 (x, y, z)
[0087] P 入钉点Md2 (x, y) = Md2*P 1 (x, y, z)
[0088] P 目标点Md1 (x, y) = Md1*P 2 (x, y, z)
[0089] P 目标点Md2 (x, y) = Md2*P 2 (x, y, z)
[0090] Wherein, Md1 represents the first transformation matrix at the first specific angle, Md2 represents the first transformation matrix at the second specific angle, and P 入钉点Md1 (x, y) represents the two-dimensional coordinates of the nail insertion point at the first specific angle, P 入钉点Md2 (x, y) represents the two-dimensional coordinates of the nail insertion point at the second specific angle, P 目标点Md1(x, y) represents the two-dimensional coordinates of the target point at the first specific angle, P 目标点Md2 (x, y) represents the two-dimensional coordinates of the target point at the second specific angle, P 1 (x, y, z) represents the three-dimensional coordinates of the first position point, P 2 (x, y, z) represents the three-dimensional coordinates of the second position point.
[0091] S32. Calculate a first surgical point corresponding to the first position point and a second surgical point corresponding to the second position point in the surgical robot coordinate system according to a second transformation matrix; the second transformation matrix is used to characterize the coordinate conversion relationship between the three-dimensional model coordinate system and the surgical robot coordinate system.
[0092] The first and second surgical points were calculated by the following formula:
[0093] P 入钉点-机器 (x, y, z) = Mp*P 1 (x, y, z)
[0094] P 目标点-机器 (x, y, z) = Mp*P 2 (x, y, z)
[0095] Where Mp represents the second transformation matrix, P 入钉点-机器 (x, y, z) represents the three-dimensional coordinates of the first surgical point, P 目标点-机器 (x, y, z) represents the three-dimensional coordinates of the second surgical point, P 1 (x, y, z) represents the three-dimensional coordinates of the first position point, P 2 (x, y, z) represents the three-dimensional coordinates of the second position point.
[0096] S33: Generate a planned path in the surgical robot coordinate system based on the first surgical point and the second surgical point.
[0097] For the above steps S31-S32, the coordinate transformation relationship between the imaging device coordinate system and the three-dimensional model coordinate system is taken as Md as an example, that is, the coordinate transformation relationship between the three-dimensional model projected to the molding device coordinate system at a specific angle is Md; at the same time, the coordinate transformation relationship between the three-dimensional model coordinate system and the surgical robot coordinate system is taken as Mp as an example. Figure 3a and 3b As shown, when the patient is scanned at 0° before surgery, the coordinate transformation relationship between the imaging device coordinate system and the three-dimensional model coordinate system is Md1, and when the patient is scanned at 90° before surgery, the coordinate transformation relationship between the imaging device coordinate system and the three-dimensional model coordinate system is Md2. Determine the nail insertion point P on the generated preoperative two-dimensional medical image 入钉点Md1 (x, y) and the entry point P 入钉点Md2 (x, y), and the target point P目标点Md1 (x, y) and the target point P 目标点Md2 After the coordinate transformation of Md1 and Md2, the three-dimensional coordinates P of the first position point corresponding to the nail insertion point in the three-dimensional model coordinate system are obtained. 1 (x, y, z), the three-dimensional coordinates P of the second position point corresponding to the target point 2 (x, y, z); then through M P After the coordinate transformation, the first surgical point P in the surgical robot coordinate system is obtained. 入钉点-机器 (x, y, z) and the second surgical point P 目标点-机器 (x, y, z).
[0098] For the above step S33, according to the first surgical point P 入钉点-机器 (x, y, z) and the second surgical point P 目标点-机器 The line between (x, y, z) determines the screw direction, that is, the planned path in the surgical robot coordinate system, as shown in the following formula:
[0099] V 螺钉 =P 目标点 -P 入钉点
[0100] In this embodiment, by acquiring two-dimensional medical images from multiple angles and utilizing coordinate transformation relationships, the planned path obtained on the two-dimensional medical images is converted into a planned path in the robot coordinate system, thereby meeting the accuracy requirements for surgical planning using low-radiation-dose two-dimensional images.
[0101] Example 2
[0102] Based on Example 1, this example provides a surgical planning method based on two-dimensional images, such as Figure 4 As shown, compared with Example 1, improvements are made, specifically:
[0103] After step S2, the surgical planning method further includes the following steps:
[0104] S21, correcting the nail entry point and / or the target point to obtain a corrected planned path in the imaging device coordinate system.
[0105] When the position of the nail entry point changes, or the position of the target point changes, or the positions of the nail entry point and the target point change at the same time, the planned path in the imaging device coordinate system formed based on the nail entry point and the target point is adjusted accordingly.
[0106] After step S3, the surgical planning method further includes the following steps:
[0107] S4. Generate control instructions according to the planned path in the surgical robot coordinate system, and drive the surgical robot to move according to the control instructions.
[0108] S5. After performing a multi-angle intraoperative two-dimensional scan on the patient using an imaging device, an intraoperative two-dimensional medical image is generated.
[0109] S61. When displacement of the patient is detected based on the intraoperative two-dimensional medical image, surgery planning is re-performed on the intraoperative two-dimensional medical image to obtain a planned path in a new imaging device coordinate system.
[0110] S62. When it is detected based on the intraoperative two-dimensional medical image that the patient has not moved, an actual surgical path is acquired; the actual surgical path is formed according to a first detection point and a second detection point on the central axis of the guide cylinder of the surgical robot in the intraoperative two-dimensional medical image.
[0111] S63, determine whether there is an error between the actual surgical path and the planned path in the imaging device coordinate system, if so, generate a motion compensation instruction and continue to execute step S4.
[0112] With respect to the above steps S4-S5, after the control instruction drives the surgical robot to move to the planned path formed based on the first surgical point and the second surgical point in the surgical robot coordinate system, the imaging device is used to perform a two-dimensional scan operation on the patient at the same angle as before the operation to obtain an intraoperative two-dimensional medical image. For example, if the patient is scanned at 0° in two dimensions before the operation, the patient is scanned at 0° in two dimensions again during the operation; if the patient is scanned at 90° in two dimensions before the operation, the patient is scanned at 90° in two dimensions again during the operation.
[0113] For the above step S61, the preoperative two-dimensional projection image and the intraoperative two-dimensional medical image are simultaneously segmented and extracted to obtain the positions of the two groups of human tissue structures. It is determined whether the positions of the two groups of human tissue structures are the same. If they are the same, it indicates that the patient has not been displaced. If they are not the same, it indicates that the patient has been displaced. In the case of patient displacement, the surgery is re-planned on the intraoperative two-dimensional medical image, and the coordinate transformation is performed on the planned path in the newly planned imaging device coordinate system.
[0114] For the above steps S62-S63, when the patient does not move, the position coordinates of the first detection point and the second detection point on the central axis of the guide cylinder of the surgical robot are obtained, and it is determined whether the actual surgical path formed based on the first detection point and the second detection point is located on the extension line of the planned path formed by the nail insertion point and the target point after the preoperative surgical planning. If so, it indicates that there is no error between the actual surgical path and the planned path in the imaging device coordinate system, and there is no need to generate motion supplementary instructions. If not, it indicates that there is an error between the actual surgical path and the planned path in the imaging device coordinate system, and a motion compensation instruction is generated and the control instruction continues to execute the step of driving the surgical robot to move.
[0115] In one possible implementation, Figure 5 As shown, before the operation is performed, after the imaging device is used to perform multi-angle two-dimensional scanning, the operation planning is performed on the preoperative two-dimensional image to obtain the planning path in the imaging device coordinate system. Based on the preset three-dimensional model coordinate system, the planning path in the imaging device coordinate system is converted into the planning path in the surgical robot coordinate system. According to the planning path in the surgical robot coordinate system, the mechanical arm execution instruction is generated to drive the mechanical arm of the surgical robot to move to the position specified by the planning path in the surgical robot coordinate system. When the mechanical arm moves in place, the imaging device is used again to perform intraoperative multi-angle two-dimensional image scanning to generate an intraoperative two-dimensional image. After the intraoperative two-dimensional image is image registered and segmented, the position of the human tissue structure is analyzed to determine whether the patient has moved. When the patient has moved, the operation planning is performed again on the intraoperative two-dimensional image. When the patient has not moved, it is calculated whether there is an error between the planning coordinates on the intraoperative two-dimensional image and the actual coordinates corresponding to the planning path in the imaging device coordinate system. If there is an error, a motion compensation instruction is generated to drive the mechanical arm to move until there is no error between the planning coordinates on the intraoperative two-dimensional image and the actual coordinates corresponding to the planning path in the imaging device coordinate system, and the driving of the mechanical arm to move is stopped.
[0116] In this embodiment, the planned path formed after surgical planning in the preoperative two-dimensional medical image and the actual surgical path formed by the first detection point and the second detection point on the central axis of the guide cylinder of the surgical robot in the intraoperative two-dimensional medical image are obtained to determine whether there is an error between the planned path and the actual surgical path. If there is an error, the position of the robotic arm of the surgical robot is corrected for the error to ensure that the preoperative planning based on the two-dimensional image and the postoperative confirmation are consistent, thereby improving the accuracy of surgical planning.
[0117] Example 3
[0118] This embodiment provides a surgical planning system based on two-dimensional images, such as Figure 6 As shown, the surgery planning system includes: a first image generating module 210 , a surgery planning module 220 and a conversion module 240 .
[0119] The first image generation module 210 is used to generate a preoperative two-dimensional medical image after performing a preoperative two-dimensional scan of the patient at multiple angles using an imaging device.
[0120] The surgical planning module 220 is used to perform surgical planning on the preoperative two-dimensional medical image and obtain the planned path in the imaging device coordinate system; the planned path in the imaging device coordinate system is formed based on the nail entry point and the target point in the nail entry direction in the preoperative two-dimensional medical image, and is used to control the movement of the surgical robot.
[0121] The conversion module 240 is used to perform registration from the imaging device coordinate system to the surgical robot coordinate system based on a preset three-dimensional model coordinate system, so as to convert the planned path in the imaging device coordinate system into the planned path in the surgical robot coordinate system.
[0122] The preoperative two-dimensional medical image is an image of the spinal part to be operated on, taken by an imaging device (for example, a mobile three-dimensional C-arm integrated surgical robot). Before planning the surgical path, the first image generation module 210 can use a CT scanner to take a two-dimensional CT image of the spinal part to be operated on, that is, a preoperative two-dimensional medical image. It should be noted that this embodiment is not limited to the case of spinal screw placement, but is applicable to other similar orthopedic surgeries that require screw implantation.
[0123] After performing surgical planning on the preoperative two-dimensional medical image, the surgical planning module 220 determines the entry point and the target point in the direction of the entry of the steel screw in the spine in the imaging coordinate system, thereby further determining the direction and depth of the steel screw. The imaging device coordinate system is a two-dimensional coordinate system that sets the origin of the coordinate system on the two-dimensional medical image based on the coordinate system built into the imaging device. For example, after emitting radiation from the radiation source of the C-arm and performing a preoperative two-dimensional scan on the patient, a preoperative two-dimensional medical image is generated inside the flat-panel detector, and the entry point P of the screw in the spine is set on the preoperative two-dimensional medical image. 入钉点 and the target point P on the implanted screw during surgery 目标点 .
[0124] The 3D model coordinate system represents the coordinate system of the 3D model preset in the computer device and related to the CT equipment parameters and established based on the virtual cylindrical surgical channel in space. The 3D model coordinate system is mainly used to assist the surgical planning operation of the 2D image. 入钉点 The two-dimensional coordinates and P 目标点 The two-dimensional coordinates correspond to the three-dimensional model coordinate system P 1 The three-dimensional coordinates of the point and P 2The conversion module 240 converts the P in the three-dimensional model coordinate system into the three-dimensional coordinate system of the surgical robot through the conversion relationship between the three-dimensional model coordinate system and the surgical robot coordinate system. 1 The three-dimensional coordinates of the point and P 2 The three-dimensional coordinates of the point are transformed into the surgical robot coordinate system P 入钉点-机器 The three-dimensional coordinates of the point and P 目标点-机器 The 3D coordinates of the point.
[0125] In one embodiment, Figure 6 As shown, the conversion module 240 specifically includes: a first calculation unit 241 , a second calculation unit 242 and a generation unit 243 .
[0126] The first calculation unit 241 is used to calculate a first position point corresponding to the nail entry point and a second position point corresponding to the target point in the three-dimensional model coordinate system according to the first transformation matrix; the first transformation matrix is used to characterize the coordinate conversion relationship between the imaging device coordinate system and the three-dimensional model coordinate system at a specific angle.
[0127] The first position point and the second position point are calculated by the following formula:
[0128] P 入钉点Md1 (x, y) = Md1*P 1 (x, y, z)
[0129] P 入钉点Md2 (x, y) = Md2*P 1 (x, y, z)
[0130] P 目标点Md1 (x, y) = Md1*P 2 (x, y, z)
[0131] P 目标点Md2 (x, y) = Md2*P 2 (x, y, z)
[0132] Wherein, Md1 represents the first transformation matrix at the first specific angle, Md2 represents the first transformation matrix at the second specific angle, and P 入钉点Md1 (x, y) represents the two-dimensional coordinates of the nail insertion point at the first specific angle, P 入钉点Md2 (x, y) represents the two-dimensional coordinates of the nail insertion point at the second specific angle, P 入钉点Md2 (x, y) represents the two-dimensional coordinates of the nail insertion point at the second specific angle, P 目标点Md1 (x, y) represents the two-dimensional coordinates of the target point at the first specific angle, P 目标点Md2 (x, y) represents the two-dimensional coordinates of the target point at the second specific angle, P 1 (x, y, z) represents the three-dimensional coordinates of the first position point, P 2(x, y, z) represents the three-dimensional coordinates of the second position point.
[0133] The second calculation unit 242 is used to calculate the first surgical point corresponding to the first position point and the second surgical point corresponding to the second position point in the surgical robot coordinate system according to the second transformation matrix; the second transformation matrix is used to characterize the coordinate conversion relationship between the three-dimensional model coordinate system and the surgical robot coordinate system.
[0134] The first and second surgical points were calculated by the following formula:
[0135] P 入钉点-机器 (x, y, z) = Mp*P 1 (x, y, z)
[0136] P 目标点-机器 (x, y, z) = Mp*P 2 (x, y, z)
[0137] Where Mp represents the second transformation matrix, P 入钉点-机器 (x, y, z) represents the three-dimensional coordinates of the first surgical point, P 目标点-机器 (x, y, z) represents the three-dimensional coordinates of the second surgical point, P 1 (x, y, z) represents the three-dimensional coordinates of the first position point, P 2 (x, y, z) represents the three-dimensional coordinates of the second position point.
[0138] The generating unit 243 is used to generate a planned path in the surgical robot coordinate system based on the first surgical point and the second surgical point.
[0139] Take the coordinate transformation relationship between the imaging device coordinate system and the three-dimensional model coordinate system as Md as an example, that is, the coordinate transformation relationship between the three-dimensional model projected to the molding device coordinate system at a specific angle is Md; at the same time, take the coordinate transformation relationship between the three-dimensional model coordinate system and the surgical robot coordinate system as Mp as an example. Figure 3a and 3b As shown, when the patient is scanned at 0° before surgery, the coordinate transformation relationship between the imaging device coordinate system and the three-dimensional model coordinate system is Md1, and when the patient is scanned at 90° before surgery, the coordinate transformation relationship between the imaging device coordinate system and the three-dimensional model coordinate system is Md2. Determine the nail insertion point P on the generated preoperative two-dimensional medical image 入钉点Md1 (x, y) and the entry point P 入钉点Md2 (x, y), and the target point P 目标点Md1 (x, y) and the target point P 目标点Md2 After the coordinate transformation of Md1 and Md2, the three-dimensional coordinates P of the first position point corresponding to the nail insertion point in the three-dimensional model coordinate system are obtained. 1(x, y, z), the three-dimensional coordinates P of the second position point corresponding to the target point 2 (x, y, z); then through M P After the coordinate transformation, the first surgical point P in the surgical robot coordinate system is obtained. 入钉点-机器 (x, y, z) and the second surgical point P 目标点-机器 (x, y, z).
[0140] The generating unit 243 generates a first surgical point P according to the first surgical point P. 入钉点-机器 (x, y, z) and the second surgical point P 目标点-机器 The line between (x, y, z) determines the screw direction, that is, the planned path in the surgical robot coordinate system, as shown in the following formula:
[0141] V 螺钉 =P 目标点 -P 入钉点
[0142] In this embodiment, by acquiring two-dimensional medical images from multiple angles and utilizing coordinate transformation relationships, the planned path on the two-dimensional medical image is converted into a planned path in the robot coordinate system, thereby meeting the accuracy requirements for surgical planning using low-radiation-dose two-dimensional images.
[0143] Example 4
[0144] Based on Example 3, this embodiment provides a surgical planning system based on two-dimensional images, such as Figure 7 As shown, compared with Example 3, the surgical planning system includes:
[0145] The correction module 230 is used to correct the nail entry point and / or the target point to obtain a corrected planned path in the imaging device coordinate system.
[0146] When the position of the nail entry point changes, or the position of the target point changes, or the positions of the nail entry point and the target point change simultaneously, the correction module 230 correspondingly adjusts the planned path in the imaging device coordinate system formed based on the nail entry point and the target point.
[0147] In one embodiment, Figure 7 As shown, the surgical planning system also includes:
[0148] The driving module 250 is used to generate control instructions according to the planned path in the coordinate system of the surgical robot, and drive the surgical robot to move according to the control instructions.
[0149] The second image generation module 260 is used to generate an intraoperative two-dimensional medical image after performing a multi-angle intraoperative two-dimensional scan on the patient using an imaging device.
[0150] The first detection module 270 is used to perform surgery planning on the intraoperative two-dimensional medical image when displacement of the patient is detected based on the intraoperative two-dimensional medical image, and obtain a planned path in a new imaging device coordinate system.
[0151] The second detection module 280 is used to obtain the actual surgical path when it is detected based on the intraoperative two-dimensional medical image that the patient has not moved; the actual surgical path is formed based on the first detection point and the second detection point on the central axis of the guide tube of the surgical robot in the intraoperative two-dimensional medical image.
[0152] The judgment module 290 is used to judge whether there is an error between the actual surgical path and the planned path in the imaging device coordinate system. If so, a motion compensation instruction is generated and the driving module 250 is called.
[0153] After the driving module 250 uses the control instruction to drive the surgical robot to move to the planned path formed based on the first surgical point and the second surgical point in the surgical robot coordinate system, the second image generation module 260 uses the imaging device to perform a two-dimensional scanning operation on the patient at the same angle as before the operation to obtain a two-dimensional medical image during the operation. For example, if the patient is scanned at 0° in two dimensions before the operation, the patient is scanned at 0° in two dimensions again during the operation; if the patient is scanned at 90° in two dimensions before the operation, the patient is scanned at 90° in two dimensions again during the operation.
[0154] The preoperative two-dimensional projection image and the intraoperative two-dimensional medical image are simultaneously segmented and extracted to obtain the positions of the two groups of human tissue structures. It is determined whether the positions of the two groups of human tissue structures are the same. If they are the same, it indicates that the patient has not been displaced. If they are not the same, it indicates that the patient has been displaced. In the case of patient displacement, the first detection module 270 re-plans the operation on the intraoperative two-dimensional medical image and performs coordinate conversion on the planned path in the newly planned imaging device coordinate system.
[0155] In the case where the patient has not moved, the second detection module 280 obtains the position coordinates of the first detection point and the second detection point on the central axis of the guide cylinder of the surgical robot, and the judgment module 290 judges whether the actual surgical path formed based on the first detection point and the second detection point is located on the extension line of the planned path formed by the nail insertion point and the target point after the preoperative surgical planning. If so, it indicates that there is no error between the actual surgical path and the planned path in the imaging device coordinate system, and there is no need to generate motion supplementary instructions. If not, it indicates that there is an error between the actual surgical path and the planned path in the imaging device coordinate system, and a motion compensation instruction is generated and the control instruction continues to execute the step of driving the surgical robot to move.
[0156] In this embodiment, the planned path formed after surgical planning in the preoperative two-dimensional medical image and the actual surgical path formed by the first detection point and the second detection point on the central axis of the guide cylinder of the surgical robot in the intraoperative two-dimensional medical image are obtained to determine whether there is an error between the planned path and the actual surgical path. If there is an error, the position of the robotic arm of the surgical robot is corrected for the error to ensure that the preoperative planning based on the two-dimensional image and the postoperative confirmation are consistent, thereby improving the accuracy of surgical planning.
[0157] Example 5
[0158] Figure 8 The structure diagram of an electronic device provided in this embodiment. The smart helmet includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the two-dimensional image-based surgical planning method of embodiment 1 or embodiment 2 is implemented. Figure 8 The electronic device 60 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0159] The electronic device 60 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 60 may include but are not limited to: at least one processor 61, at least one memory 62, and a bus 63 connecting different system components (including the memory 62 and the processor 61).
[0160] The bus 63 includes a data bus, an address bus, and a control bus.
[0161] The memory 62 may include a volatile memory, such as a random access memory (RAM) 621 and / or a cache memory 622 , and may further include a read-only memory (ROM) 623 .
[0162] The memory 62 may also include a program / utility 625 having a set (at least one) of program modules 624, such program modules 624 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0163] The processor 61 executes various functional applications and data processing by running the computer programs stored in the memory 62, such as the two-dimensional image-based surgical planning method of Embodiment 1 or Embodiment 2 of the present invention.
[0164] The electronic device 60 may also communicate with one or more external devices 64 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 65. Furthermore, the model-generated smart helmet 60 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 66. As shown, the network adapter 66 communicates with other modules of the model-generated electronic device 60 via a bus 63. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the model-generated electronic device 60, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
[0165] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0166] Example 6
[0167] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the two-dimensional image-based surgical planning method of Embodiment 1 or Embodiment 2 is implemented.
[0168] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0169] In a possible implementation, the present invention can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the two-dimensional image-based surgical planning method of Example 1 or Example 2.
[0170] The program code for executing the present invention may be written in any combination of one or more programming languages, and may be executed entirely on a user device, partially on a user device, as an independent software package, partially on a user device and partially on a remote device, or entirely on a remote device.
[0171] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims
1. A surgical planning method based on two-dimensional images, characterized in that: The surgical planning method comprises: After performing a preoperative two-dimensional scan of the patient at multiple angles using an imaging device, a preoperative two-dimensional medical image is generated; Performing surgical planning on the preoperative two-dimensional medical image to obtain a planned path in the imaging device coordinate system; the planned path in the imaging device coordinate system is formed according to the nail insertion point and the target point in the nail insertion direction in the preoperative two-dimensional medical image, and is used to control the movement of the surgical robot; Based on a preset three-dimensional model coordinate system, performing registration from the imaging device coordinate system to the surgical robot coordinate system to convert the planned path in the imaging device coordinate system into the planned path in the surgical robot coordinate system; The registering from the imaging device coordinate system to the surgical robot coordinate system based on the preset three-dimensional model coordinate system to convert the planned path in the imaging device coordinate system into the planned path in the surgical robot coordinate system includes: Calculating a first position point corresponding to the nail entry point and a second position point corresponding to the target point in the three-dimensional model coordinate system according to a first transformation matrix; the first transformation matrix is used to represent a coordinate conversion relationship between the imaging device coordinate system and the three-dimensional model coordinate system at a specific angle; According to a second transformation matrix, a first surgical point corresponding to the first position point and a second surgical point corresponding to the second position point in the surgical robot coordinate system are calculated; the second transformation matrix is used to characterize the coordinate transformation relationship between the three-dimensional model coordinate system and the surgical robot coordinate system; A planned path in the surgical robot coordinate system is generated based on the first surgical point and the second surgical point.
2. The two-dimensional image-based surgical planning method according to claim 1, characterized in that: The surgical planning method further comprises: Generate a control instruction according to the planned path in the surgical robot coordinate system, and drive the surgical robot to move according to the control instruction; After performing a multi-angle intraoperative two-dimensional scan on the patient using the imaging device, an intraoperative two-dimensional medical image is generated; When displacement of the patient is detected based on the intraoperative two-dimensional medical image, re-planning the surgery on the intraoperative two-dimensional medical image to obtain a new planning path in the imaging device coordinate system; When it is detected based on the intraoperative two-dimensional medical image that the patient has not moved, an actual surgical path is acquired; the actual surgical path is formed according to a first detection point and a second detection point on the central axis of the guide cylinder of the surgical robot in the intraoperative two-dimensional medical image; Determine whether there is an error between the actual surgical path and the planned path in the imaging device coordinate system, and if so, generate a motion compensation instruction and continue to execute the step of driving the surgical robot to move according to the control instruction; and / or, After the step of performing surgery planning on the preoperative two-dimensional medical image to obtain a planning path in the imaging device coordinate system, the surgery planning method further includes: The nail entry point and / or the target point are corrected to obtain a corrected planned path in the imaging device coordinate system.
3. The two-dimensional image-based surgical planning method according to claim 1, characterized in that: The first position point and the second position point are calculated by the following formula: P 入钉点Md1 (x,y)=Md1*P1(x,y,z) P 入钉点Md2 (x,y)=Md2*P1(x,y,z) P 目标点Md1 (x,y)=Md1*P2(x,y,z) P 目标点Md2 (x,y)=Md2*P2(x,y,z) Wherein, Md1 represents the first transformation matrix at a first specific angle, Md2 represents the first transformation matrix at a second specific angle, and P 入钉点Md1 (x, y) represents the two-dimensional coordinates of the nail insertion point at the first specific angle, P 入钉点Md2 (x, y) represents the two-dimensional coordinates of the nail insertion point at the second specific angle, P 目标点Md1 (x, y) represents the two-dimensional coordinates of the target point at the first specific angle, P 目标点Md2 (x, y) represents the two-dimensional coordinates of the target point at a second specific angle, P1(x, y, z) represents the three-dimensional coordinates of the first position point, and P2(x, y, z) represents the three-dimensional coordinates of the second position point; and / or, The first surgical point and the second surgical point are calculated by the following formula: P 入钉点-机器 (x, y, z) = Mp*P1(x, y, z) P 目标点-机器 (x, y, z) = Mp*P2(x, y, z) Wherein, Mp represents the second transformation matrix, P 入钉点-机器 (x, y, z) represents the three-dimensional coordinates of the first surgical point, P 目标点-机器 (x, y, z) represents the three-dimensional coordinates of the second surgical point, P1(x, y, z) represents the three-dimensional coordinates of the first position point, and P2(x, y, z) represents the three-dimensional coordinates of the second position point.
4. A surgical planning system based on two-dimensional images, characterized in that: The surgical planning system comprises: A first image generation module is used to generate a preoperative two-dimensional medical image after performing a preoperative two-dimensional scan of the patient at multiple angles using an imaging device; A surgery planning module, used to perform surgery planning on the preoperative two-dimensional medical image to obtain a planned path in the imaging device coordinate system; the planned path in the imaging device coordinate system is formed according to the nail insertion point and the target point in the nail insertion direction in the preoperative two-dimensional medical image, and is used to control the movement of the surgical robot; A conversion module, used for performing registration from the imaging device coordinate system to the surgical robot coordinate system based on a preset three-dimensional model coordinate system, so as to convert the planned path in the imaging device coordinate system into the planned path in the surgical robot coordinate system; The conversion module comprises: a first calculation unit, configured to calculate a first position point corresponding to the nail entry point and a second position point corresponding to the target point in the three-dimensional model coordinate system according to a first transformation matrix; the first transformation matrix is used to represent a coordinate conversion relationship between the imaging device coordinate system and the three-dimensional model coordinate system at a specific angle; a second calculation unit, configured to calculate a first surgical point corresponding to the first position point and a second surgical point corresponding to the second position point in the surgical robot coordinate system according to a second transformation matrix; the second transformation matrix is configured to represent a coordinate transformation relationship between the three-dimensional model coordinate system and the surgical robot coordinate system; A generating unit is used to generate a planned path in the surgical robot coordinate system based on the first operating point and the second operating point.
5. The two-dimensional image-based surgical planning system according to claim 4, characterized in that: The surgical planning system further comprises: A driving module, used to generate a control instruction according to the planned path in the coordinate system of the surgical robot, and drive the surgical robot to move according to the control instruction; A second image generation module, configured to generate an intraoperative two-dimensional medical image after performing a multi-angle intraoperative two-dimensional scan on the patient using the imaging device; A first detection module is used to re-plan the surgery on the intraoperative two-dimensional medical image when displacement of the patient is detected based on the intraoperative two-dimensional medical image, so as to obtain a new planning path in the coordinate system of the imaging device; A second detection module is used to obtain an actual surgical path when it is detected based on the intraoperative two-dimensional medical image that the patient has not moved; the actual surgical path is formed according to a first detection point and a second detection point on the central axis of the guide cylinder of the surgical robot in the intraoperative two-dimensional medical image; A judgment module, used to judge whether there is an error between the actual surgical path and the planned path in the imaging device coordinate system, and if so, generate a motion compensation instruction and call the driving module; and / or, The surgical planning system further comprises: A correction module is used to correct the nail entry point and / or the target point to obtain a corrected planned path in the imaging device coordinate system.
6. The two-dimensional image-based surgical planning system according to claim 4, characterized in that: The first position point and the second position point are calculated by the following formula: P 入钉点Md1 (x,y)=Md1*P1(x,y,z) P 入钉点Md2 (x,y)=Md2*P1(x,y,z) P 目标点Md1 (x,y)=Md1*P2(x,y,z) P 目标点Md2 (x,y)=Md2*P2(x,y,z) Wherein, Md1 represents the first transformation matrix at a first specific angle, Md2 represents the first transformation matrix at a second specific angle, and P 入钉点Md1 (x, y) represents the two-dimensional coordinates of the nail insertion point at the first specific angle, P 入钉点Md2 (x, y) represents the two-dimensional coordinates of the nail insertion point at the second specific angle, P 入钉点Md2 (x, y) represents the two-dimensional coordinates of the nail insertion point at the second specific angle, P 目标点Md1 (x, y) represents the two-dimensional coordinates of the target point at the first specific angle, P 目标点Md2 (x, y) represents the two-dimensional coordinates of the target point at a second specific angle, P1(x, y, z) represents the three-dimensional coordinates of the first position point, and P2(x, y, z) represents the three-dimensional coordinates of the second position point; and / or, The first surgical point and the second surgical point are calculated by the following formula: P 入钉点-机器 (x, y, z) = Mp*P1(x, y, z) P 目标点-机器 (x, y, z) = Mp*P2(x, y, z) Wherein, Mp represents the second transformation matrix, P 入钉点-机器 (x, y, z) represents the three-dimensional coordinates of the first surgical point, P 目标点-机器 (x, y, z) represents the three-dimensional coordinates of the second surgical point, P1(x, y, z) represents the three-dimensional coordinates of the first position point, and P2(x, y, z) represents the three-dimensional coordinates of the second position point.
7. An electronic device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the two-dimensional image-based surgical planning method as described in any one of claims 1 to 3 is implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the two-dimensional image-based surgical planning method according to any one of claims 1 to 3 is implemented.
Citation Information
Cited By
Operation path planning system based on multi-modal image fusion and use method
CN122498926A
