A method, device and related equipment for automatic planning of unicompartmental prosthesis

Through the generation of three-dimensional models and key points, combined with ICP registration technology, the prosthesis and bone shape information are considered, which solves the problem of unused shape information in the existing unicondylar prosthesis matching methods, and achieves more accurate and safe single condylar prosthesis matching. Condylar prosthesis planning.

CN117582287BActive Publication Date: 2024-09-03HANGZHOU JOINTECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410079634.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-19
Publication Date
2024-09-03
Estimated Expiration
2044-01-19

AI Technical Summary

Technical Problem

Existing unicondylar prosthesis matching methods only consider parameters and angles and fail to fully utilize the shape information of the prosthesis and bone, resulting in inaccurate planning.

Method used

By acquiring medical images, segment and reconstruct the femoral and tibial three-dimensional models, generate key points to establish a coordinate system, extract the section contour, calculate the prosthesis size, match and place the femoral and tibial prostheses through ICP registration, taking into account the relationship between the prosthesis and the bone. shape information.

Benefits of technology

It improves the accuracy and safety of unicondylar prosthesis planning, overcomes the shortcomings of individual patient differences and doctors' subjective experience, and makes the surgery more accurate and reliable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117582287B
    Figure CN117582287B
Patent Text Reader

Abstract

The present invention provides a method, device and related equipment for automatic planning of a unicompartmental prosthesis. The method takes a medical image as input, generates segmentation results of a femur and a tibia through image segmentation, and then performs three-dimensional reconstruction of the skeleton; generates key points through a key point recognition network, and establishes a femur reference system and a tibia coordinate system based on the key points; obtains basic size parameter information of the prosthesis through key points and three-dimensional reconstruction of the skeleton, and obtains a prosthesis with matching size from a database; cuts the three-dimensional reconstructed surface data of the femur and the tibia and the corresponding prosthesis surface data along a specified direction through a reference point, obtains the corresponding side contour of the knee joint, performs a registration operation on the side contour of the femur to place the femoral prosthesis, and performs a registration operation on the side contour of the tibia to place the tibial prosthesis. The present invention takes into account the shape information of the prosthesis and the skeleton, adds an automatic placement function of the unicompartmental prosthesis based on ICP registration, and realizes automatic planning of the unicompartmental prosthesis based on artificial intelligence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical image processing, and in particular to a method and device for automatic planning of a unicompartmental prosthesis and related equipment. Background Art

[0002] Unicompartmental knee arthroplasty (UKA) is an essential step in the treatment of knee osteoarthritis. Successful unicompartmental knee arthroplasty depends on accurate, complete and detailed surgical planning.

[0003] Patent CN112957126A provides a preoperative planning method and related equipment for unicompartmental replacement based on deep learning, which can overcome the defects of artificial unicompartmental replacement surgery caused by individual differences in patients and subjective experience of doctors, and realize unicompartmental replacement prosthesis matching based on artificial intelligence. However, this solution has the following disadvantages: unicompartmental prosthesis matching only considers parameter matching and angle placement, and does not consider the shape information of the prosthesis. Patent CN116747016A provides an intelligent surgical robot navigation and positioning system and method, which obtains knee CT images, uses deep learning methods to segment images and identify the positions of key points of the knee joint, corrects bones based on key points, and plans knee prostheses through reinforcement learning. The spatial coordinates, knee prosthesis data, segmentation results of various parts of the knee joint, knee prosthesis model, and osteotomy angle of the knee prosthesis after each movement of the knee prosthesis are input into the reinforcement learning neural network model, and the knee prosthesis position decision is output. This patent can improve the efficiency and accuracy of navigation and positioning, but it has the following disadvantages: prosthesis planning only determines the position of the prosthesis, and does not consider the shape information of the prosthesis. Summary of the invention

[0004] The purpose of the present invention is to solve the shortcomings of the prior art solutions described in the above background technology, and to provide a method, device and related equipment for automatic planning of a unicompartmental prosthesis, which takes into account the shape information of the prosthesis and the bone model, and adds an automatic placement function of the unicompartmental prosthesis based on ICP alignment.

[0005] The present invention is implemented through the following technical solutions: In a first aspect, the present invention provides a method for automatic planning of a unicompartmental prosthesis, comprising the following steps:

[0006] S101, acquiring a medical image;

[0007] S102, image segmentation, segmenting the femur and tibia through a neural network model, and obtaining a femur three-dimensional model and a tibia three-dimensional model through three-dimensional reconstruction;

[0008] S103, key point generation, generating key points of the femur 3D model and the tibia 3D model through a key point generation network;

[0009] Among them, the key points generated include: the hip joint center point, greater trochanter, femoral knee joint center point, medial femoral posterior osteotomy depth measurement point, and lateral femoral posterior osteotomy depth measurement point for femoral coordinate system calculation; the distal tibial medial malleolus, distal tibial lateral malleolus, tibial knee joint center point, PCL insertion point, and medial 1 / 3 point of tibial tuberosity for tibial coordinate system calculation; the medial femoral distal osteotomy measurement point, lateral femoral distal osteotomy measurement point, medial proximal tibial depth measurement point, lateral proximal tibial depth measurement point, and surgical side intercondylar spine slope point for reference points for prosthesis placement;

[0010] S104, establishing a coordinate system, establishing a femur coordinate system and a tibia coordinate system according to the generated key points;

[0011] S105, extracting the section contour, cutting the femur 3D model and the tibia 3D model at a specified reference point in a specified direction to obtain a corresponding section contour;

[0012] S106, prosthesis size estimation, calculating corresponding length and width size information according to key point information and the cross-sectional contours of the femur 3D model and the tibia 3D model for matching the prosthesis;

[0013] S107, obtaining the prosthesis contour, matching the prosthesis with the closest length and width in the database according to the obtained size information, and obtaining the sagittal contour of the femoral prosthesis and the cross-sectional contour of the tibial prosthesis;

[0014] S108, femoral prosthesis registration calculation, calculating the spatial transformation that enables the sagittal femoral three-dimensional model contour and the femoral prosthesis contour to be registered;

[0015] S109, tibial prosthesis registration calculation, calculating the spatial transformation to align the cross-sectional tibial three-dimensional model contour with the tibial prosthesis contour;

[0016] S110, the prosthesis is automatically placed, the femoral prosthesis is placed through the registration transformation on the femoral side, and the tibial prosthesis is placed through the registration transformation on the tibial side.

[0017] Furthermore, the medical image acquired in S101 is a CT image.

[0018] Furthermore, the neural network model in S102 is a segmentation network, which adopts a U-Net model.

[0019] Furthermore, the key point generation network in S103 adopts the DSNT model.

[0020] Further, the establishment of the femoral coordinate system in S104 includes: defining the origin of the femoral coordinate system as the center point of the femoral knee joint, the z-axis of the femoral coordinate system is parallel to the line connecting the center point of the femoral knee joint to the center point of the hip joint, and the x-axis of the femoral coordinate system is parallel to the plane where the line between the medial femoral posterior osteotomy depth measurement point and the lateral femoral posterior osteotomy depth measurement point is located; for the right femoral coordinate system, the lateral femoral posterior osteotomy depth measurement point is L, the medial femoral posterior osteotomy depth measurement point is M, the hip joint center is K, and the femoral knee center is H, then:

[0021] ;

[0022] ;

[0023] ;

[0024] ;

[0025] ;

[0026] Among them, u1, v1, and w1 represent the x, y, and z axis directions in the femoral coordinate system, respectively, and O represents the origin of the femoral coordinate system;

[0027] The establishment of the tibial coordinate system includes: the origin of the tibial coordinate system is the center point of the tibial knee joint, the upward mechanical axis of the tibial is the z-axis, the anterior-posterior axis of the tibial is the y-axis, the z-axis is cross-multiplied with the y-axis to obtain the x-axis, and after obtaining the x-axis direction, the y-axis is cross-multiplied with the z-axis to correct the y-direction; the center point of the tibial knee joint is I, the lateral malleolus of the distal tibia is L, the medial malleolus of the distal tibia is M, the malleolus center is C, the PCL insertion point is P, and the medial 1 / 3 point of the tibial tuberosity is A, then:

[0028] ;

[0029] ;

[0030] ;

[0031] ;

[0032] ;

[0033] Among them, u2, v2, and w2 represent the x-axis, y-axis, and z-axis directions in the tibia coordinate system, respectively, and O1 represents the origin of the tibia coordinate system.

[0034] Furthermore, extracting the section contour in S105 includes:

[0035] Osteotomy was performed on the femur 3D model and the tibia 3D model, and the osteotomy height was d cut ;

[0036] The femoral reference point is the distal femoral osteotomy measurement point on the lateral side, and the section contour line is obtained by cutting the osteotomy femoral 3D reconstruction data through the plane passing through the reference point;

[0037] The reference points on the tibial side are the lateral proximal tibia depth measurement point and the slope point of the intercondylar spine on the surgical side. The section contour line is obtained by cutting the three-dimensional reconstruction data of the osteotomized tibia through the plane passing through the reference points.

[0038] Furthermore, the prosthesis size estimation in S106 includes:

[0039] 4 / 5 of the projection length of the section contour line of the femoral 3D model in the axial direction of the femoral coordinate system is used as the corresponding estimated size of the femoral prosthesis. The section contour line of the femoral osteotomy data in the x-axis direction of the femoral coordinate system and the part of the prosthesis to be matched are the section contour line of the femoral 3D model on the left side of the center point of the femoral knee joint and the part whose z value is less than the z coordinate of the center point of the femoral knee joint; the position of the point to be matched is converted to the femoral coordinate system through coordinate transformation; the minimum and maximum points of the projection points of these points in the femoral coordinate system in the x-axis direction are recorded as x min and x max ; by x min and x max Obtain the projection length of the section contour line of the femoral 3D model in the x-axis direction of the femoral coordinate system, and then calculate the estimated size W of the femoral prosthesis in the x-axis direction of the femoral coordinate system. femur ;

[0040] ;

[0041] The edge of the section contour line of the femoral 3D model in the y-axis direction of the femoral coordinate system is the portion of the section contour line of the femoral 3D model below the height h after the osteotomy depth measurement point at the posterior side of the lateral femur is added to the height h; the position of the point on the edge is converted to the femoral coordinate system through coordinate transformation; the minimum value y of these points in the y-axis direction in the femoral coordinate system is min and the maximum value y max Obtain the projection length of the section contour line of the femoral 3D model in the y-axis direction of the femoral coordinate system, and then calculate the estimated size L of the femoral prosthesis in the y-axis direction of the femoral coordinate system. femur ;

[0042] ;

[0043] The projection length of the section contour line of the tibial three-dimensional model in the axial direction of the tibial coordinate system is the corresponding estimated size of the tibial prosthesis; the method for obtaining the edge of the tibial osteotomy data in the x-axis direction of the tibial coordinate system is as follows: the z coordinate of the lateral proximal tibia depth measurement point is denoted as z t , the x coordinate of the slope point of the intercondylar spine on the surgical side is xin , take the x-axis contour of the tibia, and the z coordinate is greater than z t -d0 and the x coordinate is greater than x in , where d0 is an offset constant; project the edge in the x-axis direction of the tibia coordinate system and obtain the minimum value x of the projection in the x-axis direction min and the maximum value x max , then the estimated size of the tibial prosthesis in the x-axis direction of the tibial coordinate system is W tibia :

[0044] ;

[0045] The contour line of the section of the tibia 3D model is at the edge of the y-axis direction of the tibia coordinate system. The y-axis direction contour line of the tibia 3D model is taken and the z coordinate is greater than z t -d0 part; project the edge in the y-axis direction of the tibia coordinate system and obtain the minimum value y of the projection in the y-axis direction min and the maximum value y max , then the estimated size of the tibial prosthesis in the y-axis direction of the tibial coordinate system is L tibia ;

[0046] .

[0047] Furthermore, the prosthesis contour acquisition in S107 includes:

[0048] Obtaining the femoral component contour edge includes the following steps:

[0049] First, traverse the sagittal contour of the femoral prosthesis and obtain four reference points respectively: the minimum point z_min_pt and the maximum point z_max_pt in the z direction, the minimum point y_min_pt and the maximum point y_max_pt in the y direction, and then calculate the midpoint mid_pt between y_min_pt and z_min_pt; obtain four curve segments through the above five points and splice them into the sagittal edge of the femoral prosthesis; among them, the straight line equation z=ky+b passing through the two points is used to obtain the points on the curve below the straight line in the segments from y_max_pt to z_min_pt, z_min_pt to mid_pt, and mid_pt to y_min_pt; in the segment from y_min_pt to z_max_pt, use z=ky+b to obtain the points on the curve above the straight line; connect the above line segments together to obtain the sagittal contour edge of the femoral prosthesis;

[0050] Obtaining the tibial component contour margins includes the following steps:

[0051] The tibial prosthesis consists of two parts: the upper tibial pad and the lower tibial prosthesis. Since the positions of the two are related to each other and the use of the tibial pad is more helpful for calculation, only the relevant part of the tibial pad is calculated; Obtaining the cross-sectional profile of the tibial pad: Let the thickness of the tibial pad be n, then cross-cut the tibial pad from the z=n-d1 plane to obtain the profile, where d1 is an offset constant;

[0052] The posterior edge of the tibial liner in the y-axis direction is obtained, that is, the posterior edge of the cross-sectional contour of the tibial liner is obtained: the minimum value point x in the x-direction in the cross-sectional contour of the tibial liner is calculated. min , take the point in the cross-sectional profile whose x coordinate is greater than x min +L offset The part with y coordinate less than 0, where L offset is an offset constant.

[0053] Furthermore, the femoral prosthesis registration calculation in S108 includes:

[0054] The edge of the femoral prosthesis is placed near the 3D model of the femur on the surgical side. The transformation between the two during the initial placement is recorded as T femur ;

[0055] ;

[0056] Where R f is the direction matrix of the femoral coordinate system, t target1 Measure the coordinates of the distal femoral osteotomy points;

[0057] On the femoral side, the ICP alignment of the edge of the section contour line of the femoral 3D model in the y-axis direction of the femoral coordinate system and the edge of the sagittal plane of the femoral prosthesis is performed to obtain the transformation matrix T ficp ;

[0058] The same calculation process is performed on the recommended prostheses of multiple sizes, and the curve registration result with the best evaluation index is taken as the final prosthesis matching and posture placement;

[0059] The evaluation index of the curve registration result is: the number of points whose distance from the points on the contour line of the femoral prosthesis to the points on the contour line of the cross section of the femoral 3D model is less than a certain value after the registration is counted. The more the number, the better the registration result.

[0060] Furthermore, the tibial prosthesis registration calculation in S109 includes:

[0061] The edge of the tibial prosthesis is placed near the 3D model of the tibia on the surgical side. The transformation between the two during the initial placement is recorded as T tibia ;

[0062] ;

[0063] Where R t is the orientation matrix of the tibia coordinate system, t target2 The coordinates of the point where the lateral proximal tibia depth is measured;

[0064] On the tibia side, the ICP registration of the posterior edge of the cross-sectional contour of the tibial 3D model and the posterior edge of the cross-sectional contour of the tibial pad is performed to obtain the transformation matrix T ticp ;

[0065] The same calculation process is performed on the recommended prostheses of multiple sizes, and the curve registration result with the best evaluation index is taken as the final prosthesis matching and posture placement;

[0066] The evaluation index of the curve registration result is: the number of points whose distance from the points on the contour line of the tibial prosthesis to the points on the contour line of the cross section of the tibial three-dimensional model is less than a certain value is counted. The more the number, the better the registration result.

[0067] Furthermore, the method for generating the posterior edge of the cross-sectional contour of the tibial three-dimensional model is: calculating the tibial plateau plane, fitting a straight line through the line segments on the tibial plateau; calculating the tibial plateau normal vector based on the two fitted straight lines, and constructing an osteotomy plane through the normal vector and a point; the osteotomy plane is tangent to the osteotomy of the tibial three-dimensional model to obtain a section contour, and then generating the posterior edge of the cross-sectional contour of the tibial three-dimensional model based on the reference point.

[0068] Among them, when the straight line of the line segment fitting is in the x-axis direction, the straight line equation takes x as the basis, and the straight line equation is as follows:

[0069] ;

[0070] Among them, e, f, g, h are the parameters of the straight line, C RAS The edge of the section contour line of the tibia three-dimensional model in the x-axis direction of the tibia coordinate system is solved according to the following equation to obtain the parameters of the fitting straight line equation:

[0071] ;

[0072] Among them [Q ix , Q iy , Q iz ] is C RAS Midpoint Q i The coordinates of C RAS The number of midpoints is obtained by solving the above equations to obtain the fitting straight line l ct and direction vector n ct ;

[0073] When the line segment fits the line in the y-axis direction, the equation of the line is based on y, and the equation of the line is as follows:

[0074] ;

[0075] Among them, a, b, c, d are the parameters of the line, S RAS The edge of the section contour line of the tibia three-dimensional model in the y-axis direction of the tibia coordinate system is solved according to the following equation to obtain the parameters of the fitting straight line equation:

[0076] ;

[0077] Among them [P ix , P iy , P iz ] is S RAS Midpoint P i The coordinates of S RAS The number of midpoints is obtained by solving the above equations to obtain the fitting straight line l st and the line direction vector n st ;

[0078] Then the tibial plateau normal vector is:

[0079] ;

[0080] The proximal tibia depth measurement point is T, and [T x , T y , T z ] represents the coordinates of the point, passing through the point [T x , T y , T z -h] and the normal vector n z The plane cuts the tibial osteotomy data, obtains the section contour, and obtains the y coordinate y of the tibial knee joint center tkc and the x-coordinate of the slope point of the intercondylar spine on the surgical side c , where h represents a constant; for the cross-sectional contour of the tibia 3D model, the point whose x coordinate is greater than x c and the y coordinate is less than y tkc The posterior edge of the cross-sectional contour of the tibia three-dimensional model was obtained.

[0081] Furthermore, the automatic placement of the prosthesis in S110 includes:

[0082] Transform the registration T femur Apply to the femoral prosthesis to obtain the initial position of the femoral prosthesis;

[0083] Transformation after automatic placement of the femoral prosthesis:

[0084] ;

[0085] Transform T fi Apply to the original femoral prosthesis to obtain the placed femoral prosthesis;

[0086] Transform the registration T tibia Apply to the tibial component and tibial liner to obtain the initial position of the tibial component;

[0087] Transformation after automatic placement of the tibial component:

[0088] ;

[0089] Transform T ti Applied to the original tibial prosthesis, a placed tibial prosthesis is obtained.

[0090] In a second aspect, the present invention provides a device for automatic planning of a unicompartmental prosthesis, the device comprising:

[0091] An acquisition module, used for acquiring medical images;

[0092] An image segmentation module is used to segment the femur and tibia through a neural network model, and obtain a three-dimensional model of the femur and a three-dimensional model of the tibia through three-dimensional reconstruction;

[0093] A key point generation module, used for generating key points of a femur three-dimensional model and a tibia three-dimensional model through a key point generation network;

[0094] Among them, the key points generated include: the hip joint center point, greater trochanter, femoral knee joint center point, medial femoral posterior osteotomy depth measurement point, and lateral femoral posterior osteotomy depth measurement point for femoral coordinate system calculation; the distal tibial medial malleolus, distal tibial lateral malleolus, tibial knee joint center point, PCL insertion point, and medial 1 / 3 point of tibial tuberosity for tibial coordinate system calculation; the medial femoral distal osteotomy measurement point, lateral femoral distal osteotomy measurement point, medial proximal tibial depth measurement point, lateral proximal tibial depth measurement point, and surgical side intercondylar spine slope point for reference points for prosthesis placement;

[0095] A coordinate system establishment module, used for establishing a femur coordinate system and a tibia coordinate system according to the generated key points;

[0096] A section contour extraction module is used to cut the femur 3D model and the tibia 3D model at a specified reference point in a specified direction to obtain the corresponding section contour;

[0097] A prosthesis size estimation module is used to calculate the corresponding length and width size information based on the key point information and the section contours of the femur 3D model and the tibia 3D model for matching the prosthesis;

[0098] A prosthesis contour acquisition module is used to match the prosthesis with the closest length and width in the database according to the acquired size information, and to obtain the sagittal contour of the femoral prosthesis and the cross-sectional contour of the tibial prosthesis;

[0099] A femoral prosthesis registration calculation module is used to calculate the spatial transformation that enables the sagittal femoral three-dimensional model contour and the femoral prosthesis contour to be registered;

[0100] A tibial prosthesis registration calculation module is used to calculate the spatial transformation that enables the cross-sectional tibial three-dimensional model contour and the tibial prosthesis contour to be registered;

[0101] The automatic prosthesis placement module is used to place the femoral prosthesis through the registration transformation on the femoral side and to place the tibial prosthesis through the registration transformation on the tibial side.

[0102] In a third aspect, the present invention provides an automatic planning device for a unicompartmental prosthesis, the device comprising: a processor, a memory, and computer program instructions stored in the memory and executable on the processor, wherein the processor is used to execute the computer program instructions stored in the memory to implement the above-mentioned automatic planning method for a unicompartmental prosthesis.

[0103] The present invention provides a method, device and related equipment for automatic planning of a unicompartmental prosthesis. The method takes a CT image as input, generates femur and tibia segmentation results through image segmentation, and then performs three-dimensional reconstruction of the skeleton; generates key points through a key point recognition network, and establishes a femur reference system and a tibia coordinate system based on the key points; obtains basic size parameter information of the prosthesis through key points and three-dimensional reconstruction of the skeleton, and obtains a prosthesis with matching size from a database; cuts the three-dimensional reconstructed surface data of the femur and tibia and the corresponding prosthesis surface data along a specified direction through a reference point, obtains the corresponding side contour of the knee joint, performs a registration operation on the side contour of the femur to place the femoral prosthesis, and performs a registration operation on the side contour of the tibia to place the tibial prosthesis. The present invention takes into account the shape information of the prosthesis and the skeleton, adds an automatic placement function of the unicompartmental prosthesis based on ICP registration, realizes automatic planning of the unicompartmental prosthesis based on artificial intelligence, overcomes the defects of artificial unicompartmental replacement surgery due to individual differences in patients and subjective experience of doctors, and makes the unicompartmental replacement surgery more accurate and safer. BRIEF DESCRIPTION OF THE DRAWINGS

[0104] Features, advantages, and technical effects of exemplary embodiments of the present invention will be described below with reference to the accompanying drawings.

[0105] Figure 1 It is a schematic flow chart of a method for automatic planning of a unicompartmental prosthesis provided by an embodiment of the present invention;

[0106] Figure 2 is a schematic diagram of establishing a femoral coordinate system provided by an embodiment of the present invention;

[0107] Figure 3 is a schematic diagram of establishing a tibia coordinate system provided by an embodiment of the present invention;

[0108] Figure 4It is a schematic diagram of osteotomy of a three-dimensional model of femur and tibia provided in an embodiment of the present invention;

[0109] Figure 5 is a schematic diagram of the contour line of the three-dimensional femur model passing through the reference point provided by an embodiment of the present invention;

[0110] Figure 6 is a schematic diagram of the contour line of the tibia three-dimensional model passing through the reference point provided by an embodiment of the present invention;

[0111] Figure 7 It is a schematic diagram of the edge of the contour line of the section of the femur three-dimensional model provided by an embodiment of the present invention in the x-axis direction of the femur coordinate system;

[0112] Figure 8 It is a schematic diagram of the edge of the contour line of the section of the femur three-dimensional model provided by an embodiment of the present invention in the y-axis direction of the femur coordinate system;

[0113] Fig. 9 is a schematic diagram of the edge of the contour line of the section of the tibia three-dimensional model provided by an embodiment of the present invention in the x-axis direction of the tibia coordinate system;

[0114] Fig.10 is a schematic diagram of the edge of the contour line of the section of the tibia three-dimensional model provided by an embodiment of the present invention in the y-axis direction of the tibia coordinate system;

[0115] Fig.11 is a schematic diagram of a femoral prosthesis provided by an embodiment of the present invention;

[0116] Fig.12 is a schematic diagram of the sagittal profile of a femoral prosthesis provided by an embodiment of the present invention;

[0117] Fig.13 is a schematic diagram of the sagittal edge of a femoral prosthesis provided by an embodiment of the present invention;

[0118] Fig.14 is a schematic diagram of a tibial prosthesis provided by an embodiment of the present invention;

[0119] Fig.15 is a schematic diagram of the outline of a tibial liner provided by an embodiment of the present invention;

[0120] Fig.16 is a schematic diagram of the posterior edge of the tibial liner provided by an embodiment of the present invention;

[0121] Fig.17 is a schematic diagram of curve registration of a femur three-dimensional model provided by an embodiment of the present invention;

[0122] Fig.18 is a schematic diagram of a straight line fitting on the upper plane of the tibial plateau surgery side provided by an embodiment of the present invention;

[0123] Fig.19is a schematic diagram of the cross-sectional profile of the three-dimensional tibia model provided by an embodiment of the present invention;

[0124] Fig. 20 is a schematic diagram of curve registration of a tibia three-dimensional model provided by an embodiment of the present invention;

[0125] Fig.21 is a schematic diagram of an automatically placed femoral prosthesis provided by an embodiment of the present invention;

[0126] Fig. 22 Schematic diagram of an automatically placed tibial prosthesis provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0127] The features and exemplary embodiments of various aspects of the present disclosure will be described in detail below. In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present disclosure, rather than to limit the present disclosure. For those skilled in the art, the present disclosure can be implemented without the need for some of these specific details. The following description of the embodiments is only intended to provide a better understanding of the present disclosure by illustrating examples of the present disclosure.

[0128] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0129] In order to better understand the present invention, embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0130] like Figure 1 As shown, the present invention provides a method for automatic planning of a unicompartmental prosthesis, comprising the following steps:

[0131] S101, acquiring a medical image;

[0132] S102, image segmentation, segmenting the femur and tibia through a neural network model, and obtaining a femur three-dimensional model and a tibia three-dimensional model through three-dimensional reconstruction;

[0133] S103, key point generation, generating key points of the femur 3D model and the tibia 3D model through a key point generation network;

[0134] S104, establishing a coordinate system, establishing a femur coordinate system and a tibia coordinate system according to the generated key points;

[0135] S105, extracting the section contour, cutting the femur 3D model and the tibia 3D model at a specified reference point in a specified direction to obtain a corresponding section contour;

[0136] S106, prosthesis size estimation, calculating corresponding length and width size information according to key point information and the cross-sectional contours of the femur 3D model and the tibia 3D model for matching the prosthesis;

[0137] S107, obtaining the prosthesis contour, matching the prosthesis with the closest length and width in the database according to the obtained size information, and obtaining the sagittal contour of the femoral prosthesis and the cross-sectional contour of the tibial prosthesis;

[0138] S108, femoral prosthesis registration calculation, calculating the spatial transformation that enables the sagittal femoral three-dimensional model contour and the femoral prosthesis contour to be registered;

[0139] S109, tibial prosthesis registration calculation, calculating the spatial transformation to align the cross-sectional tibial three-dimensional model contour with the tibial prosthesis contour;

[0140] S110, the prosthesis is automatically placed, the femoral prosthesis is placed through the registration transformation on the femoral side, and the tibial prosthesis is placed through the registration transformation on the tibial side.

[0141] As an optional implementation, the medical image in S101 may be one of a CT image, an X-ray image, and an MRI image.

[0142] Among them, CT (Computed Tomography) images are computer tomography image data, which uses precisely collimated X-ray beams, gamma rays, ultrasound, etc., together with highly sensitive detectors to perform cross-sectional scans around a certain part of the human body one by one. It has the characteristics of fast scanning time and clear images, and can be used to examine a variety of diseases. X-ray images are pictures taken by X-ray penetration and irradiation. They are audio-visual materials and are mostly used in medical treatment. MRI (Magnetic Resonance Imaging) images are magnetic resonance imaging image data. It is an inspection technology that uses magnetic resonance phenomena to obtain electromagnetic signals from the human body and reconstruct human body information.

[0143] As an optional implementation, other medical imaging data may also be used by the present invention.

[0144] As an optional implementation, the neural network model in S102 is a segmentation network, using a U-Net model.

[0145] As an optional implementation, the segmentation network may also select any other feasible network model structure to achieve automatic segmentation of the femur and tibia.

[0146] As an optional implementation, the key point generation network in S103 adopts a DSNT model, which can be replaced by any feasible network model structure to achieve key point generation of the femur 3D model and the tibia 3D model.

[0147] The key points described in S103 have two main functions in the present invention: one is to calculate the femoral coordinate system and the tibial coordinate system, and the other is to serve as reference points when cutting a three-dimensional model or placing a prosthesis. Therefore, the key points generated by the present invention mainly include: the hip joint center point, the greater trochanter, the femoral knee joint center point, the medial femoral posterior osteotomy depth measurement point, and the lateral femoral posterior osteotomy depth measurement point for femoral coordinate system calculation; the distal tibial medial malleolus, the distal tibial lateral malleolus, the tibial knee joint center point, the PCL stop point, and the medial 1 / 3 point of the tibial tuberosity for tibial coordinate system calculation; the medial femoral distal osteotomy measurement point, the lateral femoral distal osteotomy measurement point, the medial proximal tibia depth measurement point, the lateral proximal tibia depth measurement point, and the slope point of the intercondylar spine on the surgical side for reference points for placing a prosthesis.

[0148] As an optional implementation, the establishment of the femoral coordinate system in S104 includes: Figure 2 As shown, the origin of the femoral coordinate system is defined as the center point of the femoral knee joint, the z-axis of the femoral coordinate system is parallel to the line connecting the center point of the femoral knee joint to the center point of the hip joint, and the x-axis of the femoral coordinate system is parallel to the plane where the line connecting the medial femoral posterior osteotomy depth measurement point and the lateral femoral posterior osteotomy depth measurement point is located.

[0149] For the right femoral coordinate system, the posterior osteotomy depth measurement point of the lateral femoral bone is L, the posterior osteotomy depth measurement point of the medial femoral bone is M, the center point of the hip joint is K, and the center point of the femoral knee joint is H, then:

[0150] ;

[0151] ;

[0152] ;

[0153] ;

[0154] ;

[0155] Among them, u1, v1, and w1 represent the x-axis, y-axis, and z-axis directions in the femoral coordinate system, respectively, and O represents the origin of the femoral coordinate system.

[0156] For the left femur coordinate system, , the rest of the formula remains unchanged.

[0157] As an optional implementation, the establishment of the tibia coordinate system in S104 includes: Figure 3 As shown, the origin of the tibial coordinate system is the center point of the tibial knee joint, the upward mechanical axis of the tibial is the z-axis, the anterior-posterior axis of the tibial is the y-axis, the z-axis is cross-multiplied with the y-axis to obtain the x-axis, and after obtaining the x-axis direction, it is cross-multiplied with the z-axis to correct the y-direction.

[0158] The center point of the tibia knee joint is I, the lateral malleolus of the distal tibia is L, the medial malleolus of the distal tibia is M, the center of the malleolus is C, the PCL insertion point is P, and the medial 1 / 3 point of the tibial tuberosity is A, then:

[0159] ;

[0160] ;

[0161] ;

[0162] ;

[0163] ;

[0164] Among them, u2, v2, and w2 represent the x-axis, y-axis, and z-axis directions in the tibia coordinate system, respectively, and O1 represents the origin of the tibia coordinate system.

[0165] As an optional implementation, extracting the section contour in S105 includes:

[0166] Assuming that the single condyle on the surgical side is the right lateral condyle, the femoral reference point is the distal femoral osteotomy measurement point, and the tibial reference point is the lateral proximal tibial depth measurement point and the slope point of the surgical intercondylar spine. To speed up the calculation, osteotomies were performed on the three-dimensional models of the femur and tibia, and the osteotomy height was d cut ,like Figure 4 shown.

[0167] The contour line of the femur 3D model passing through the reference point is as follows Figure 5 As shown, the reference point is the measurement point of the distal femoral osteotomy, and the section contour line is obtained by cutting the osteotomy femoral 3D reconstruction data in a plane passing through the reference point. Figure 5 The section contour line in the first row is perpendicular to the y-axis of the femoral coordinate system, and the section contour line in the second row is perpendicular to the x-axis of the femoral coordinate system. The pictures in each row correspond to the posterior view, right side view and bottom view in the section contour view.

[0168] The contour line of the tibia 3D model passing through the reference point is as follows Figure 6 As shown, the reference points are the lateral proximal tibia depth measurement point and the intercondylar spine slope point on the surgical side, and the section contour line is obtained by cutting the osteotomized tibia three-dimensional reconstruction data according to the plane passing through the reference points. Figure 6 The first row of the section contour line is perpendicular to the y-axis of the tibia coordinate system, and the second row of the section contour line is perpendicular to the x-axis of the tibia coordinate system. The pictures in each row correspond to the posterior view, right side view and top view in the section contour line view.

[0169] As an optional implementation, the prosthesis size estimation in S106 includes:

[0170] Use 4 / 5 of the projection length of the section contour line of the femoral 3D model in the axial direction of the femoral coordinate system as the corresponding estimated size of the femoral prosthesis. In actual use, multiple prostheses near the estimated value are taken as matching targets, and the final prosthesis size is determined in subsequent steps. The contour line of the femoral osteotomy data in the x-axis direction of the femoral coordinate system and the part of the prosthesis to be matched are as follows: Figure 7 As shown in FIG. 1 , the acquisition method is to obtain the part of the section contour line of the femoral 3D model that is on the left side of the center point of the femoral knee joint and whose z value is less than the z coordinate of the center point of the femoral knee joint. The positions of the points to be matched are converted to the femoral coordinate system through coordinate transformation; the minimum and maximum points of the projection points of these points in the femoral coordinate system in the x-axis direction are recorded as x and y respectively. min and x max ; by x min and x max Obtain the projection length of the section contour line of the femoral 3D model in the x-axis direction of the femoral coordinate system, and then calculate the estimated size W of the femoral prosthesis in the x-axis direction of the femoral coordinate system. femur ;

[0171] .

[0172] The edge of the section contour line of the femur 3D model in the y-axis direction of the femur coordinate system is as follows Figure 8 As shown, the acquisition method is to add the height h to the section contour line of the femoral 3D model at the osteotomy depth measurement point on the lateral femoral posterior side, and then convert the position of the point on the edge to the femoral coordinate system through coordinate transformation; in the femoral coordinate system, the minimum value y of these points in the y-axis direction is obtained. min and the maximum value y max Obtain the projection length of the section contour line of the femoral 3D model in the y-axis direction of the femoral coordinate system, and then calculate the estimated size L of the femoral prosthesis in the y-axis direction of the femoral coordinate system. femur ;

[0173] .

[0174] The projection length of the section contour line of the tibial 3D model in the axial direction of the tibial coordinate system is used as the estimated size of the tibial prosthesis. In actual use, multiple prostheses near the estimated value are taken as matching targets, and the final prosthesis size is determined in the subsequent steps. The edge of the tibial osteotomy data in the x-axis direction of the tibial coordinate system is as follows: Fig. 9 As shown, the acquisition method is: let the z coordinate of the lateral proximal tibia depth measurement point be z t , the x coordinate of the slope point of the intercondylar spine on the surgical side is x in , take the x-axis contour of the tibia, and the z coordinate is greater than z t -d0 and the x coordinate is greater than x in The edge is projected on the x-axis of the tibia coordinate system to obtain the minimum value x of the projection on the x-axis. min and the maximum value x max , then the estimated size of the tibial prosthesis in the x-axis direction of the tibial coordinate system is W tibia :

[0175] .

[0176] The edge of the section contour line of the tibia 3D model in the y-axis direction of the tibia coordinate system is as follows: Fig.10 As shown in the figure, the method for obtaining the edge is: take the contour line of the tibial three-dimensional model in the y-axis direction and the z coordinate is greater than z t -d0 part. Project the edge in the y-axis direction of the tibia coordinate system and obtain the minimum value y of the projection in the y-axis direction min and the maximum value y max , then the estimated size of the tibial prosthesis in the y-axis direction of the tibial coordinate system is L tibia ;

[0177] .

[0178] As an optional implementation, the prosthesis contour acquisition in S107 includes:

[0179] Femoral prosthesis Fig.11 As shown, the sagittal section profile of the femoral prosthesis passing through the origin is as follows Fig.12 shown.

[0180] Obtaining the lateral edge of the femoral sagittal plane: First, traverse the sagittal contour of the femoral prosthesis and obtain four reference points: the minimum point z_min_pt and the maximum point z_max_pt in the z direction, the minimum point y_min_pt and the maximum point y_max_pt in the y direction, and then calculate the midpoint mid_pt between y_min_pt and z_min_pt; obtain four curve segments through the above five points and splice them into the sagittal edge of the femoral prosthesis; among them, the straight line equation z=ky+b passing through the two points is used to obtain the points on the curve below the straight line in the segments from y_max_pt to z_min_pt, z_min_pt to mid_pt, and mid_pt to y_min_pt; in the segment from y_min_pt to z_max_pt, use z=ky+b to obtain the points on the curve above the straight line; connect the above line segments together to obtain the following: Fig.13 Sagittal contour edge of the femoral component is shown.

[0181] Obtaining the tibial component contour margins includes the following steps:

[0182] Tibial prosthesis Fig.14 As shown in the figure, it contains two parts: the upper tibial pad and the lower tibial prosthesis. Since the positions of the two are related to each other and the use of the tibial pad is more helpful for calculation, only the relevant part of the tibial pad is calculated. The cross-sectional profile of the tibial pad is shown in the figure. Fig.15 As shown, the cross-sectional profile of the tibial pad is obtained: let the thickness of the tibial pad be n, then cross-cut the tibial pad from the z=n-d1 plane to obtain the profile, where d1 is an offset constant.

[0183] Fig.16 The curve in is the posterior edge of the tibial pad in the y-axis direction, that is, the posterior edge of the cross-sectional profile of the tibial pad. The method for obtaining the posterior edge is: calculate the minimum value point x in the x-direction of the cross-sectional profile of the tibial pad min , take the point in the cross-sectional profile whose x coordinate is greater than x min +L offset The part with y coordinate less than 0, where L offset is an offset constant.

[0184] As an optional implementation, the femoral prosthesis registration calculation in S108 includes:

[0185] The edge of the femoral prosthesis is placed near the 3D model of the femur on the surgical side. The transformation between the two during the initial placement is recorded as T femur ;

[0186] ;

[0187] Where R f is the direction matrix of the femoral coordinate system, ttarget1 Measure the coordinates of the distal femoral osteotomy points;

[0188] On the femoral side, the ICP registration of the edge of the section contour line of the femoral 3D model in the y-axis direction of the femoral coordinate system and the edge of the sagittal plane of the femoral prosthesis is performed. Figure 8 As shown, the sagittal edge of the femoral prosthesis is Fig.14 As shown, the ICP registration calculation is performed on the contour edges in the two images to obtain the transformation matrix T ficp The result after registration is as follows Fig.17 As shown;

[0189] The same calculation process is performed on the recommended prostheses of multiple sizes, and the curve alignment result with the best evaluation index is taken as the final prosthesis matching and posture placement.

[0190] The evaluation index of the curve registration result is: the number of points whose distance from the points on the contour line of the femoral prosthesis to the points on the contour line of the cross section of the femoral 3D model is less than a certain value after the registration is counted. The more the number, the better the registration result.

[0191] As an optional implementation, the tibial prosthesis registration calculation in S109 includes:

[0192] The edge of the tibial prosthesis is placed near the 3D model of the tibia on the surgical side. The transformation between the two during the initial placement is recorded as T tibia ;

[0193] ;

[0194] Where R t is the orientation matrix of the tibia coordinate system, t target2 The coordinates of the point where the lateral proximal tibia depth is measured;

[0195] On the tibia side, the ICP registration of the posterior edge of the cross-sectional contour of the tibial 3D model and the posterior edge of the cross-sectional contour of the tibial pad is performed to obtain the transformation matrix T ticp The registration result is as follows: Fig. 20 As shown;

[0196] The same calculation process is performed on the recommended prostheses of multiple sizes, and the curve registration result with the best evaluation index is taken as the final prosthesis matching and posture placement;

[0197] The evaluation index of the curve registration result is: the number of points whose distance from the points on the contour line of the tibial prosthesis to the points on the contour line of the cross section of the tibial three-dimensional model is less than a certain value is counted. The more the number, the better the registration result.

[0198] Furthermore, the method for generating the rear edge of the cross-sectional contour of the tibial three-dimensional model is as follows: firstly, the tibial plateau plane is calculated; Fig. 9 and Fig.10 The line segment on the mid-tibial platform is fitted with a straight line. Fig.18 As shown; the tibial plateau normal vector is calculated based on the two fitting straight lines, and an osteotomy plane is constructed through the normal vector and a point; the osteotomy plane is tangent to the osteotomy of the tibial three-dimensional model to obtain the section contour, and then the posterior edge of the cross-sectional contour of the tibial three-dimensional model is generated according to the reference point.

[0199] Fig. 9 The straight line fitted by the line segment shown is in the x-axis direction, and the straight line equation is based on x. The straight line equation is as follows:

[0200] ;

[0201] Among them, e, f, g, h are the parameters of the straight line, C RAS for Fig. 9 The contour line of the cross section of the tibia 3D model is at the edge of the x-axis direction of the tibia coordinate system, and the fitting straight line equation parameters are solved according to the following equation:

[0202] ;

[0203] Among them [Q ix , Q iy , Q iz ] is C RAS Midpoint Q i The coordinates of C RAS The number of midpoints is obtained by solving the above equations to obtain the fitting straight line l ct and direction vector n c ;

[0204] Fig.10 The straight line fitted by the line segment shown is in the y-axis direction, and the straight line equation is based on y. The straight line equation is as follows:

[0205] ;

[0206] Among them, a, b, c, d are the parameters of the line, S RAS for Fig.10 The contour line of the cross section of the tibial 3D model is at the edge of the y-axis direction of the tibial coordinate system, and the fitting straight line equation parameters are solved according to the following equation:

[0207] ;

[0208] Among them [P ix , P iy , P iz ] is S RAS Midpoint Pi The coordinates of S RAS The number of midpoints is obtained by solving the above equations to obtain the fitting straight line l st and the line direction vector n st .

[0209] Then the tibial plateau normal vector is:

[0210] ;

[0211] The proximal tibia depth measurement point is T, and [T x , T y , T z ] represents the coordinates of the point, passing through the point [T x , T y , T z -h] and the normal vector n z The plane cutting tibial osteotomy data, the obtained section contour is as follows Fig.19 As shown, get the y coordinate of the tibial knee joint center tkc and the x-coordinate of the slope point of the intercondylar spine on the surgical side c , where h represents a constant; for the cross-sectional contour of the tibia 3D model, the point whose x coordinate is greater than x c and the y coordinate is less than y tkc The posterior edge of the cross-sectional contour of the tibia three-dimensional model was obtained.

[0212] As an optional implementation, the automatic placement of the prosthesis in S110 includes:

[0213] The registration transformation is applied to the prosthesis in the initial position to achieve automatic prosthesis placement.

[0214] Transform the registration T femur Apply to the femoral prosthesis to obtain the initial position of the femoral prosthesis;

[0215] Transformation after automatic placement of the femoral prosthesis:

[0216] ;

[0217] Transform T fi Apply to the original femoral prosthesis, and obtain the femoral prosthesis after placement as Fig.21 As shown;

[0218] T tibia Apply to the tibial component and tibial liner to obtain the initial position of the tibial component;

[0219] Transformation after automatic placement of the tibial component:

[0220] ;

[0221] Transform T ti Apply to the original tibial prosthesis, and obtain the tibial prosthesis after placement as Fig. 22 shown.

[0222] In a second aspect, the present invention provides a device for automatic planning of a unicompartmental prosthesis, the device comprising:

[0223] An acquisition module, used for acquiring medical images;

[0224] An image segmentation module is used to segment the femur and tibia through a neural network model, and obtain a three-dimensional model of the femur and a three-dimensional model of the tibia through three-dimensional reconstruction;

[0225] A key point generation module, used for generating key points of a femur three-dimensional model and a tibia three-dimensional model through a key point generation network;

[0226] Among them, the key points generated include: the hip joint center point, greater trochanter, femoral knee joint center point, medial femoral posterior osteotomy depth measurement point, and lateral femoral posterior osteotomy depth measurement point for femoral coordinate system calculation; the distal tibial medial malleolus, distal tibial lateral malleolus, tibial knee joint center point, PCL insertion point, and medial 1 / 3 point of tibial tuberosity for tibial coordinate system calculation; the medial femoral distal osteotomy measurement point, lateral femoral distal osteotomy measurement point, medial proximal tibial depth measurement point, lateral proximal tibial depth measurement point, and surgical side intercondylar spine slope point for reference points for prosthesis placement;

[0227] A coordinate system establishment module, used for establishing a femur coordinate system and a tibia coordinate system according to the generated key points;

[0228] A section contour extraction module is used to cut the femur 3D model and the tibia 3D model at a specified reference point in a specified direction to obtain the corresponding section contour;

[0229] A prosthesis size estimation module is used to calculate the corresponding length and width size information based on the key point information and the section contours of the femur 3D model and the tibia 3D model for matching the prosthesis;

[0230] A prosthesis contour acquisition module is used to match the prosthesis with the closest length and width in the database according to the acquired size information, and to obtain the sagittal contour of the femoral prosthesis and the cross-sectional contour of the tibial prosthesis;

[0231] A femoral prosthesis registration calculation module is used to calculate the spatial transformation that enables the sagittal femoral three-dimensional model contour and the femoral prosthesis contour to be registered;

[0232] A tibial prosthesis registration calculation module is used to calculate the spatial transformation that enables the cross-sectional tibial three-dimensional model contour and the tibial prosthesis contour to be registered;

[0233] The automatic prosthesis placement module is used to place the femoral prosthesis through the registration transformation on the femoral side and to place the tibial prosthesis through the registration transformation on the tibial side.

[0234] Each module / unit in the device has the function of realizing Figure 1 The functions of each step in the process can achieve the corresponding technical effects, which will not be described in detail here for the sake of brevity.

[0235] In a third aspect, the present invention provides an automatic planning device for a unicompartmental prosthesis, the device comprising: a processor, a memory, and computer program instructions stored in the memory and executable on the processor, wherein the processor is used to execute the computer program instructions stored in the memory to implement the above-mentioned automatic planning method for a unicompartmental prosthesis.

[0236] Specifically, the processor may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the present invention.

[0237] The memory may include a mass storage for data or instructions. By way of example and not limitation, the memory may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these.

[0238] In one example, the memory may include a removable or non-removable (or fixed) medium, or the memory may be a non-volatile solid-state memory. The memory may be inside or outside the integrated gateway disaster recovery device.

[0239] In one example, the memory may be a read-only memory (ROM). In one example, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0240] In one example, the memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage media device, an optical storage media device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0241] The processor reads and executes computer program instructions stored in the memory to implement Figure 1 The methods / steps in the illustrated embodiments can achieve their corresponding technical effects and will not be described in detail here for the sake of brevity.

[0242] In one embodiment, the computing device may further include a communication interface and a bus. The processor, the memory, and the communication interface are connected through the bus and communicate with each other.

[0243] The communication interface is mainly used to realize the communication between the modules, devices, units and / or equipment in the present invention.

[0244] The bus includes hardware, software or both, and the components of the online data flow billing device are coupled to each other. For example, but not limitation, the bus may include an accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, a front side bus (Front Side Bus, FSB), a hypertransmission (Hyper Transport, HT) interconnection, an industry standard architecture (Industry Standard Architecture, ISA) bus, an infinite bandwidth interconnection, a low pin count (LPC) bus, a memory bus, a micro channel architecture (MCA) bus, a peripheral component interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a serial advanced technology attachment (SATA) bus, a video electronics standard association local (VLB) bus or other suitable buses or a combination of two or more of these. Where appropriate, the bus may include one or more buses. Although the present invention describes and illustrates a specific bus, the present disclosure contemplates any suitable bus or interconnection.

[0245] The present invention provides a method, device and related equipment for automatic planning of a unicompartmental prosthesis. The method takes a CT image as input, generates femur and tibia segmentation results through image segmentation, and then performs three-dimensional reconstruction of the skeleton; generates key points through a key point recognition network, and establishes a femur reference system and a tibia coordinate system based on the key points; obtains basic size parameter information of the prosthesis through key points and three-dimensional reconstruction of the skeleton, and obtains a prosthesis with matching size from a database; cuts the three-dimensional reconstructed surface data of the femur and tibia and the corresponding prosthesis surface data along a specified direction through a reference point, obtains the corresponding side contour of the knee joint, performs a registration operation on the side contour of the femur to place the femoral prosthesis, and performs a registration operation on the side contour of the tibia to place the tibial prosthesis. The present invention takes into account the shape information of the prosthesis and the skeleton, adds an automatic placement function of the unicompartmental prosthesis based on ICP registration, realizes automatic planning of the unicompartmental prosthesis based on artificial intelligence, overcomes the defects of artificial unicompartmental replacement surgery due to individual differences in patients and subjective experience of doctors, and makes the unicompartmental replacement surgery more accurate and safer.

[0246] It should be clear that the present disclosure is not limited to the specific configurations and processes described above and shown in the figures. For the sake of simplicity, a detailed description of the known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present disclosure is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present disclosure.

[0247] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present disclosure are programs or code segments used to perform the required tasks. Relevant technicians can write computer program codes for performing the operations of the present invention in one or more programming languages ​​or a combination thereof, and the above-mentioned programming languages ​​include object-oriented programming languages, such as Java, Smalltalk, C++, and also include conventional procedural programming languages-such as "C" language or similar programming languages. In addition, the program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link through a data signal carried in a carrier. The machine-readable medium may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, and the like.

[0248] Aspects of the present disclosure are described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the functions / actions specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0249] The above is only a specific implementation of the present disclosure. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present disclosure is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present disclosure, and these modifications or replacements should be included in the protection scope of the present disclosure.

Claims

1. An automatic planning device for unicompartmental prosthesis, It is characterized in that include: An acquisition module, used for acquiring medical images; An image segmentation module is used to segment the femur and tibia through a neural network model, and obtain a three-dimensional model of the femur and a three-dimensional model of the tibia through three-dimensional reconstruction; A key point generation module, used for generating key points of a femur three-dimensional model and a tibia three-dimensional model through a key point generation network; Among them, the key points generated include: the hip joint center point, greater trochanter, femoral knee joint center point, medial femoral posterior osteotomy depth measurement point, and lateral femoral posterior osteotomy depth measurement point for femoral coordinate system calculation; the distal tibial medial malleolus, distal tibial lateral malleolus, tibial knee joint center point, PCL insertion point, and medial 1 / 3 point of tibial tuberosity for tibial coordinate system calculation; the medial femoral distal osteotomy measurement point, lateral femoral distal osteotomy measurement point, medial proximal tibial depth measurement point, lateral proximal tibial depth measurement point, and surgical side intercondylar spine slope point for reference points for prosthesis placement; A coordinate system establishment module, used for establishing a femur coordinate system and a tibia coordinate system according to the generated key points; A section contour extraction module is used to cut the femur 3D model and the tibia 3D model at a specified reference point in a specified direction to obtain the corresponding section contour; A prosthesis size estimation module is used to calculate the corresponding length and width size information based on the key point information and the section contours of the femur 3D model and the tibia 3D model for matching the prosthesis; A prosthesis contour acquisition module is used to match the prosthesis with the closest length and width in the database according to the acquired size information, and to obtain the sagittal contour of the femoral prosthesis and the cross-sectional contour of the tibial prosthesis; A femoral prosthesis registration calculation module is used to calculate the spatial transformation that enables the sagittal femoral three-dimensional model contour and the femoral prosthesis contour to be registered; A tibial prosthesis registration calculation module is used to calculate the spatial transformation that enables the cross-sectional tibial three-dimensional model contour and the tibial prosthesis contour to be registered; An automatic prosthesis placement module, used for placing a femoral prosthesis through registration transformation on the femoral side and placing a tibial prosthesis through registration transformation on the tibial side; The unicompartmental prosthesis automatic planning device is used to implement a unicompartmental prosthesis automatic planning method, comprising the following steps: S101, acquiring a medical image; S102, image segmentation, segmenting the femur and tibia through a neural network model, and obtaining a femur three-dimensional model and a tibia three-dimensional model through three-dimensional reconstruction; S103, key point generation, generating key points of the femur 3D model and the tibia 3D model through a key point generation network; Among them, the key points generated include: the hip joint center point, greater trochanter, femoral knee joint center point, medial femoral posterior osteotomy depth measurement point, and lateral femoral posterior osteotomy depth measurement point for femoral coordinate system calculation; the distal tibial medial malleolus, distal tibial lateral malleolus, tibial knee joint center point, PCL insertion point, and medial 1 / 3 point of tibial tuberosity for tibial coordinate system calculation; the medial femoral distal osteotomy measurement point, lateral femoral distal osteotomy measurement point, medial proximal tibial depth measurement point, lateral proximal tibial depth measurement point, and surgical side intercondylar spine slope point for reference points for prosthesis placement; S104, coordinate system establishment, establishing a femur coordinate system and a tibia coordinate system according to the generated key points; S105, extracting the section contour, cutting the femur 3D model and the tibia 3D model at a specified reference point in a specified direction to obtain a corresponding section contour; S106, prosthesis size estimation, calculating corresponding length and width size information according to key point information and the cross-sectional contours of the femur 3D model and the tibia 3D model for matching the prosthesis; S107, obtaining the prosthesis contour, matching the prosthesis with the closest length and width in the database according to the obtained size information, and obtaining the sagittal contour of the femoral prosthesis and the cross-sectional contour of the tibial prosthesis; S108, femoral prosthesis registration calculation, calculate the spatial transformation that aligns the contour of the sagittal femoral 3D model and the contour of the femoral prosthesis; place the edge of the femoral prosthesis near the operative side femoral 3D model, and the transformation between the two during initial placement is recorded as T femur ; Where R f is the direction matrix of the femoral coordinate system, t target1 Measure the coordinates of the distal femoral osteotomy points; On the femoral side, the ICP alignment of the edge of the section contour line of the femoral 3D model in the y-axis direction of the femoral coordinate system and the edge of the sagittal plane of the femoral prosthesis is performed to obtain the transformation matrix T ficp ; S109, tibial prosthesis registration calculation, calculate the spatial transformation that aligns the cross-sectional tibial three-dimensional model contour and the tibial prosthesis contour; place the tibial prosthesis edge near the surgical side tibial three-dimensional model, and the transformation between the two during initial placement is recorded as T tibia ; Where R t is the orientation matrix of the tibia coordinate system, t target2 The coordinates of the point where the lateral proximal tibia depth is measured; On the tibia side, the ICP registration of the posterior edge of the cross-sectional contour of the tibial 3D model and the posterior edge of the cross-sectional contour of the tibial pad is performed to obtain the transformation matrix T ticp ; S110, automatically placing a prosthesis, placing a femoral prosthesis by registering and transforming the femur side, and placing a tibial prosthesis by registering and transforming the tibial side; wherein the automatically placing a prosthesis in S110 includes: Transform the registration T femur Apply to the femoral prosthesis to obtain the initial position of the femoral prosthesis; Transformation after automatic placement of the femoral prosthesis: T fi =T ficp T femur ; Transform T fi Apply to the original femoral prosthesis to obtain the placed femoral prosthesis; Transform the registration T tibia Apply to the tibial component and tibial liner to obtain the initial position of the tibial component; Transformation after automatic placement of the tibial component: T ti =T ticp T tibia ; Transform T ti Applied to the original tibial prosthesis, a placed tibial prosthesis is obtained.

2. The automatic planning device for a unicompartmental prosthesis according to claim 1, It is characterized in that The establishment of the femoral coordinate system in S104 includes: defining the origin of the femoral coordinate system as the center point of the femoral knee joint, the z-axis of the femoral coordinate system is parallel to the line connecting the center point of the femoral knee joint to the center point of the hip joint, and the x-axis of the femoral coordinate system is parallel to the plane where the line between the medial femoral posterior osteotomy depth measurement point and the lateral femoral posterior osteotomy depth measurement point is located; for the right femoral coordinate system, the lateral femoral posterior osteotomy depth measurement point is L, the medial femoral posterior osteotomy depth measurement point is M, the hip joint center is K, and the femoral knee center is H, then: v 1 =w 1 ×u 0 ; u 1 =v 1 ×w 1 ; O = K; Among them, u 1 、v 1 、w 1 Respectively represent the x, y, and z axis directions in the femoral coordinate system, u 0 is a variable vector, O represents the origin of the femoral coordinate system; The establishment of the tibial coordinate system includes: the origin of the tibial coordinate system is the center point of the tibial knee joint, the upward mechanical axis of the tibial is the z-axis, the anterior-posterior axis of the tibial is the y-axis, the z-axis is cross-multiplied with the y-axis to obtain the x-axis, and after obtaining the x-axis direction, it is cross-multiplied with the z-axis to correct the y-direction; the center point of the tibial knee joint is I, the lateral malleolus of the distal tibia is L, the medial malleolus of the distal tibia is M, the malleolus center is C, the PCL insertion point is P, and the medial 1 / 3 point of the tibial tuberosity is A, then: C = 0.56M + 0.44L; v 2 =w 2 ×u 2 ; The 1 =I; Among them, u 2 、v 2 、w 2 Respectively represent the x, y, and z axis directions in the tibia coordinate system, O 1 represents the origin of the tibia coordinate system.

3. The automatic planning device for a unicompartmental prosthesis according to claim 1, It is characterized in that The extracting of the section contour in S105 includes: Osteotomy was performed on the femur 3D model and the tibia 3D model, and the osteotomy height was d cut ; The femoral reference point is the measurement point of the distal femoral osteotomy, and the section contour line is obtained by cutting the three-dimensional reconstruction data of the osteotomy femur through the plane passing through the reference point. The reference points on the tibial side are the lateral proximal tibia depth measurement point and the slope point of the intercondylar spine on the surgical side. The section contour line is obtained by cutting the three-dimensional reconstruction data of the osteotomized tibia through the plane passing through the reference points.

4. The automatic planning device for a unicompartmental prosthesis according to claim 3, It is characterized in that The prosthesis size estimation described in S106 includes: 4 / 5 of the projection length of the section contour line of the femoral 3D model in the axial direction of the femoral coordinate system is used as the corresponding estimated size of the femoral prosthesis. The section contour line of the femoral osteotomy data in the x-axis direction of the femoral coordinate system and the part of the prosthesis to be matched are the section contour line of the femoral 3D model on the left side of the center point of the femoral knee joint and the part whose z value is less than the z coordinate of the center point of the femoral knee joint; the position of the point to be matched is converted to the femoral coordinate system through coordinate transformation; the minimum and maximum points of the projection points of these points in the femoral coordinate system in the x-axis direction are recorded as x min and x max ; by x min and x max Obtain the projection length of the section contour line of the femoral 3D model in the x-axis direction of the femoral coordinate system, and then calculate the estimated size W of the femoral prosthesis in the x-axis direction of the femoral coordinate system. femur ; The edge of the section contour line of the femoral 3D model in the y-axis direction of the femoral coordinate system is the portion of the section contour line of the femoral 3D model below the height h after the osteotomy depth measurement point at the posterior side of the femur is added to the height h; the position of the point on the edge is converted to the femoral coordinate system through coordinate transformation; the minimum value y of these points in the y-axis direction in the femoral coordinate system is min and the maximum value y max Obtain the projection length of the section contour line of the femoral 3D model in the y-axis direction of the femoral coordinate system, and then calculate the estimated size L of the femoral prosthesis in the y-axis direction of the femoral coordinate system. femur ; The projection length of the section contour line of the tibial three-dimensional model in the axial direction of the tibial coordinate system is the corresponding estimated size of the tibial prosthesis; the method for obtaining the edge of the tibial osteotomy data in the x-axis direction of the tibial coordinate system is as follows: the z coordinate of the lateral proximal tibia depth measurement point is denoted as z t , the x coordinate of the slope point of the intercondylar spine on the surgical side is x in , take the x-axis contour of the tibia, and the z coordinate is greater than z t -d 0 and the x coordinate is greater than x in part, where d 0 is an offset constant; project the edge in the x-axis direction of the tibia coordinate system and obtain the minimum value x of the projection in the x-axis direction min and the maximum value x max , then the estimated size of the tibial prosthesis in the x-axis direction of the tibial coordinate system is W tibia : W tibia =x max -x min ; The contour line of the section of the tibia three-dimensional model is taken at the edge of the y-axis direction of the tibia coordinate system. The y-axis direction contour line of the tibia three-dimensional model and the z coordinate is greater than z t -d 0 Project the edge in the y-axis direction of the tibia coordinate system and obtain the minimum value y of the projection in the y-axis direction min and the maximum value y max , then the estimated size of the tibial prosthesis in the y-axis direction of the tibial coordinate system is L tibia ; L tibia =and max -and min 。 5. The automatic planning device for a unicompartmental prosthesis according to claim 4, It is characterized in that The prosthesis contour acquisition in S107 includes: Obtaining the femoral component contour edge includes the following steps: First, traverse the sagittal contour of the femoral prosthesis and obtain four reference points respectively: the minimum point z_min_pt and the maximum point z_max_pt in the z direction, the minimum point y_min_pt and the maximum point y_max_pt in the y direction, and then calculate the middle point mid_pt between y_min_pt and z_min_pt; obtain four curve segments through the above five points and splice them into the sagittal edge of the femoral prosthesis; among them, the straight line equation z=ky+b passing through the two points is used in the segments from y_max_pt to z_min_pt, z_min_pt to mid_pt, and mid_pt to y_min_pt to obtain the points on the curve below the straight line; in the segment from y_min_pt to z_max_pt, use z=ky+b to obtain the points on the curve above the straight line; connect the above line segments together to obtain the sagittal contour edge of the femoral prosthesis; Obtaining the tibial component contour margins includes the following steps: The tibial prosthesis consists of two parts: the upper tibial pad and the lower tibial prosthesis. Since the positions of the two are related to each other and the use of the tibial pad is more helpful for calculation, only the relevant part of the tibial pad is calculated; Obtaining the cross-sectional profile of the tibial pad: Let the thickness of the tibial pad be n, then from z = nd 1 The plane cross-sections the tibial liner to obtain the section contour, where d 1 is an offset constant; The posterior edge of the tibial liner in the y-axis direction is obtained, that is, the posterior edge of the cross-sectional contour of the tibial liner is obtained: the minimum value point x in the x-direction in the cross-sectional contour of the tibial liner is calculated. min , take the point in the cross-sectional profile whose x coordinate is greater than x min +L offset The part with y coordinate less than 0, where L offset is an offset constant.

6. The automatic planning device for a unicompartmental prosthesis according to claim 5, It is characterized in that The femoral prosthesis registration calculation in S108 includes: The same calculation process is performed on the recommended prostheses of multiple sizes, and the curve registration result with the best evaluation index is taken as the final prosthesis matching and posture placement; The evaluation index of the curve registration result is: the number of points whose distance from the points on the contour line of the femoral prosthesis to the points on the contour line of the cross section of the femoral 3D model is less than a certain value is counted. The more the number, the better the registration result.

7. The automatic planning device for a unicompartmental prosthesis according to claim 6, It is characterized in that The tibial prosthesis registration calculation described in S109 includes: The same calculation process is performed on the recommended prostheses of multiple sizes, and the curve registration result with the best evaluation index is taken as the final prosthesis matching and posture placement; The evaluation index of the curve registration result is: the number of points whose distance from the points on the contour line of the tibial prosthesis to the points on the contour line of the cross section of the tibial three-dimensional model is less than a certain value is counted. The more the number, the better the registration result.

8. The automatic planning device for a unicompartmental prosthesis according to claim 7, It is characterized in that The method for generating the posterior edge of the cross-sectional contour of the three-dimensional tibia model is as follows: calculating the tibial plateau plane, fitting a straight line through the line segments on the tibial plateau; calculating the tibial plateau normal vector according to the two fitting straight lines, and constructing an osteotomy plane through the normal vector and a point; the osteotomy plane is tangent to the osteotomy of the three-dimensional tibia model to obtain a section contour, and then generating the posterior edge of the cross-sectional contour of the three-dimensional tibia model according to the reference point; Among them, when the straight line of the line segment fitting is in the x-axis direction, the straight line equation group takes x as the basis, and the straight line equation group is as follows: Among them, e, f, g, h are the parameters of the line, C RAS The edge of the section contour line of the tibia three-dimensional model in the x-axis direction of the tibia coordinate system is solved according to the following equations to obtain the parameters of the fitting straight line equation group: Among them [Q ix , Q iy , Q iz ] is C RAS Midpoint Q i The coordinates of C RAS The number of midpoints is obtained by solving the above equations to obtain the fitting straight line l ct and direction vector n ct ; When the straight line of the line segment fitting is in the y-axis direction, the straight line equation system is based on y, and the straight line equation system is as follows: Among them, a, b, c, d are the parameters of the line, S RAS The edge of the section contour line of the tibia three-dimensional model in the y-axis direction of the tibia coordinate system is solved according to the following equations to obtain the parameters of the fitting straight line equation group: Among them [P ix , P iy , P iz ] is S RAS Midpoint P i The coordinates of S RAS The number of midpoints is obtained by solving the above equations to obtain the fitting straight line l st and the line direction vector n st ; Then the tibial plateau normal vector is: n z =n st ×n ct ; The proximal tibia depth measurement point is T, and [T x , T y , T z ] represents the coordinates of the point, passing through the point [T x , T y , T z -h] and the normal vector n z The plane cuts the tibial osteotomy data, obtains the section contour, and obtains the y coordinate y of the tibial knee joint center tkc and the x-coordinate of the slope point of the intercondylar spine on the surgical side c , where h represents a constant; the cross-sectional contour of the tibia 3D model is taken as the point with x coordinate greater than x c and the y coordinate is less than y tkc The posterior edge of the cross-sectional contour of the tibia three-dimensional model was obtained.

9. An automatic planning device for a unicompartmental prosthesis, It is characterized in that The device comprises: a processor, a memory, and computer program instructions stored in the memory and executable on the processor, wherein the processor is configured to execute the computer program instructions stored in the memory, and the computer program instructions comprise the following steps: S101, acquiring a medical image; S102, image segmentation, segmenting the femur and tibia through a neural network model, and obtaining a femur three-dimensional model and a tibia three-dimensional model through three-dimensional reconstruction; S103, key point generation, generating key points of the femur 3D model and the tibia 3D model through a key point generation network; Among them, the key points generated include: the hip joint center point, greater trochanter, femoral knee joint center point, medial femoral posterior osteotomy depth measurement point, and lateral femoral posterior osteotomy depth measurement point for femoral coordinate system calculation; the distal tibial medial malleolus, distal tibial lateral malleolus, tibial knee joint center point, PCL insertion point, and medial 1 / 3 point of tibial tuberosity for tibial coordinate system calculation; the medial femoral distal osteotomy measurement point, lateral femoral distal osteotomy measurement point, medial proximal tibial depth measurement point, lateral proximal tibial depth measurement point, and surgical side intercondylar spine slope point for reference points for prosthesis placement; S104, coordinate system establishment, establishing a femur coordinate system and a tibia coordinate system according to the generated key points; S105, extracting the section contour, cutting the femur 3D model and the tibia 3D model at a specified reference point in a specified direction to obtain a corresponding section contour; S106, prosthesis size estimation, calculating corresponding length and width size information according to key point information and the cross-sectional contours of the femur 3D model and the tibia 3D model for matching the prosthesis; S107, obtaining the prosthesis contour, matching the prosthesis with the closest length and width in the database according to the obtained size information, and obtaining the sagittal contour of the femoral prosthesis and the cross-sectional contour of the tibial prosthesis; S108, femoral prosthesis registration calculation, calculating the spatial transformation that aligns the contour of the femoral three-dimensional model in the sagittal plane with the contour of the femoral prosthesis; placing the edge of the femoral prosthesis near the three-dimensional model of the femur on the surgical side, and the transformation between the two during the initial placement is recorded as Tfemur; Where Rf is the direction matrix of the femoral coordinate system, t target1 Measure the coordinates of the distal femoral osteotomy points; On the femoral side, the ICP alignment of the edge of the section contour line of the femoral 3D model in the y-axis direction of the femoral coordinate system and the edge of the sagittal plane of the femoral prosthesis is performed to obtain the transformation matrix T ficp ; S109, tibial prosthesis registration calculation, calculate the spatial transformation that aligns the cross-sectional tibial three-dimensional model contour and the tibial prosthesis contour; place the tibial prosthesis edge near the surgical side tibial three-dimensional model, and the transformation between the two during initial placement is recorded as T tibia ; Where Rt is the direction matrix of the tibia coordinate system, t target2 The coordinates of the point where the lateral proximal tibia depth is measured; On the tibia side, the ICP registration of the posterior edge of the cross-sectional contour of the tibial 3D model and the posterior edge of the cross-sectional contour of the tibial pad is performed to obtain the transformation matrix T ticp ; S110, automatically placing a prosthesis, placing a femoral prosthesis by registering and transforming the femur side, and placing a tibial prosthesis by registering and transforming the tibial side; wherein the automatically placing a prosthesis in S110 includes: Transform the registration T femur Apply to the femoral prosthesis to obtain the initial position of the femoral prosthesis; Transformation after automatic placement of the femoral prosthesis: T fi =T ficp T femur ; Transform T fi Apply to the original femoral prosthesis to obtain the placed femoral prosthesis; Transform the registration T tibia Apply to the tibial component and tibial liner to obtain the initial position of the tibial component; Transformation after automatic placement of the tibial component: T ti =T ticp T tibia ; Transform T ti Applied to the original tibial prosthesis, a placed tibial prosthesis is obtained.

10. The automatic planning device for unicompartmental prosthesis according to claim 9, It is characterized in that The establishment of the femoral coordinate system in S104 includes: defining the origin of the femoral coordinate system as the center point of the femoral knee joint, the z-axis of the femoral coordinate system is parallel to the line connecting the center point of the femoral knee joint to the center point of the hip joint, and the x-axis of the femoral coordinate system is parallel to the plane where the line between the medial femoral posterior osteotomy depth measurement point and the lateral femoral posterior osteotomy depth measurement point is located; for the right femoral coordinate system, the lateral femoral posterior osteotomy depth measurement point is L, the medial femoral posterior osteotomy depth measurement point is M, the hip joint center is K, and the femoral knee center is H, then: v 1 =w 1 ×u 0 ; u 1 =v 1 ×w 1 ; O = K; Among them, u 1 、v 1 、w 1 Respectively represent the x, y, and z axis directions in the femoral coordinate system, u 0 is a variable vector, O represents the origin of the femoral coordinate system; The establishment of the tibial coordinate system includes: the origin of the tibial coordinate system is the center point of the tibial knee joint, the upward mechanical axis of the tibial is the z-axis, the anterior-posterior axis of the tibial is the y-axis, the z-axis is cross-multiplied with the y-axis to obtain the x-axis, and after obtaining the x-axis direction, it is cross-multiplied with the z-axis to correct the y-direction; the center point of the tibial knee joint is I, the lateral malleolus of the distal tibia is L, the medial malleolus of the distal tibia is M, the malleolus center is C, the PCL insertion point is P, and the medial 1 / 3 point of the tibial tuberosity is A, then: C = 0.56M + 0.44L; v 2 =w 2 ×u 2 ; The 1 =I; Among them, u 2 、v 2 、w 2 Respectively represent the x, y, and z axis directions in the tibia coordinate system, O 1 represents the origin of the tibia coordinate system.

11. The automatic planning device for unicompartmental prosthesis according to claim 9, It is characterized in that The extracting of the section contour in S105 includes: Osteotomy was performed on the femur 3D model and the tibia 3D model, and the osteotomy height was d cut ; The femoral reference point is the measurement point of the distal femoral osteotomy, and the section contour line is obtained by cutting the three-dimensional reconstruction data of the osteotomy femur through the plane passing through the reference point. The reference points on the tibial side are the lateral proximal tibia depth measurement point and the slope point of the intercondylar spine on the surgical side. The section contour line is obtained by cutting the three-dimensional reconstruction data of the osteotomized tibia through the plane passing through the reference points.

12. The automatic planning device for unicompartmental prosthesis according to claim 9, It is characterized in that The prosthesis size estimation described in S106 includes: 4 / 5 of the projection length of the section contour line of the femoral 3D model in the axial direction of the femoral coordinate system is used as the corresponding estimated size of the femoral prosthesis. The section contour line of the femoral osteotomy data in the x-axis direction of the femoral coordinate system and the part of the prosthesis to be matched are the section contour line of the femoral 3D model on the left side of the center point of the femoral knee joint and the part whose z value is less than the z coordinate of the center point of the femoral knee joint; the position of the point to be matched is converted to the femoral coordinate system through coordinate transformation; the minimum and maximum points of the projection points of these points in the femoral coordinate system in the x-axis direction are recorded as x min and x max ; by x min and x max Obtain the projection length of the section contour line of the femoral 3D model in the x-axis direction of the femoral coordinate system, and then calculate the estimated size W of the femoral prosthesis in the x-axis direction of the femoral coordinate system. femur ; The edge of the section contour line of the femoral 3D model in the y-axis direction of the femoral coordinate system is the portion of the section contour line of the femoral 3D model below the height h after the osteotomy depth measurement point at the posterior side of the femur is added to the height h; the position of the point on the edge is converted to the femoral coordinate system through coordinate transformation; the minimum value y of these points in the y-axis direction in the femoral coordinate system is min and the maximum value y max Obtain the projection length of the section contour line of the femoral 3D model in the y-axis direction of the femoral coordinate system, and then calculate the estimated size L of the femoral prosthesis in the y-axis direction of the femoral coordinate system. femur ; The projection length of the section contour line of the tibial three-dimensional model in the axial direction of the tibial coordinate system is the corresponding estimated size of the tibial prosthesis; the method for obtaining the edge of the tibial osteotomy data in the x-axis direction of the tibial coordinate system is as follows: the z coordinate of the lateral proximal tibia depth measurement point is denoted as z t , the x coordinate of the slope point of the intercondylar spine on the surgical side is x in , take the x-axis contour of the tibia, and the z coordinate is greater than z t -d 0 and the x coordinate is greater than x in part, where d 0 is an offset constant; project the edge in the x-axis direction of the tibia coordinate system and obtain the minimum value x of the projection in the x-axis direction min and the maximum value x max , then the estimated size of the tibial prosthesis in the x-axis direction of the tibial coordinate system is W tibia : W tibia =x max -x min ; The contour line of the section of the tibia three-dimensional model is taken at the edge of the y-axis direction of the tibia coordinate system. The y-axis direction contour line of the tibia three-dimensional model and the z coordinate is greater than z t -d 0 Project the edge in the y-axis direction of the tibia coordinate system and obtain the minimum value y of the projection in the y-axis direction min and the maximum value y max , then the estimated size of the tibial prosthesis in the y-axis direction of the tibial coordinate system is L tibia ; L tibia =and max -and min 。 13. The automatic planning device for unicompartmental prosthesis according to claim 9, It is characterized in that The prosthesis contour acquisition in S107 includes: Obtaining the femoral component contour edge includes the following steps: First, traverse the sagittal contour of the femoral prosthesis and obtain four reference points respectively: the minimum point z_min_pt and the maximum point z_max_pt in the z direction, the minimum point y_min_pt and the maximum point y_max_pt in the y direction, and then calculate the middle point mid_pt between y_min_pt and z_min_pt; obtain four curve segments through the above five points and splice them into the sagittal edge of the femoral prosthesis; among them, the straight line equation z=ky+b passing through the two points is used in the segments from y_max_pt to z_min_pt, z_min_pt to mid_pt, and mid_pt to y_min_pt to obtain the points on the curve below the straight line; in the segment from y_min_pt to z_max_pt, use z=ky+b to obtain the points on the curve above the straight line; connect the above line segments together to obtain the sagittal contour edge of the femoral prosthesis; Obtaining the tibial component contour margins includes the following steps: The tibial prosthesis consists of two parts: the upper tibial pad and the lower tibial prosthesis. Since the positions of the two are related to each other and the use of the tibial pad is more helpful for calculation, only the relevant part of the tibial pad is calculated; Obtaining the cross-sectional profile of the tibial pad: Let the thickness of the tibial pad be n, then from z = nd 1 The plane cross-sections the tibial liner to obtain the section contour, where d 1 is an offset constant; The posterior edge of the tibial liner in the y-axis direction is obtained, that is, the posterior edge of the cross-sectional contour of the tibial liner is obtained: the minimum value point x in the x-direction in the cross-sectional contour of the tibial liner is calculated. min , take the point in the cross-sectional profile whose x coordinate is greater than x min +L offset The part with y coordinate less than 0, where L offset is an offset constant.

14. The automatic planning device for unicompartmental prosthesis according to claim 9, It is characterized in that The femoral prosthesis registration calculation in S108 includes: The same calculation process is performed on the recommended prostheses of multiple sizes, and the curve registration result with the best evaluation index is taken as the final prosthesis matching and posture placement; The evaluation index of the curve registration result is: the number of points whose distance from the points on the contour line of the femoral prosthesis to the points on the contour line of the cross section of the femoral 3D model is less than a certain value is counted. The more the number, the better the registration result.

15. The automatic planning device for unicompartmental prosthesis according to claim 9, It is characterized in that The tibial prosthesis registration calculation described in S109 includes: The same calculation process is performed on the recommended prostheses of multiple sizes, and the curve registration result with the best evaluation index is taken as the final prosthesis matching and posture placement; The evaluation index of the curve registration result is: the number of points whose distance from the points on the contour line of the tibial prosthesis to the points on the contour line of the cross section of the tibial three-dimensional model is less than a certain value is counted. The more the number, the better the registration result.

16. The automatic planning device for unicompartmental prosthesis according to claim 15, It is characterized in that The method for generating the posterior edge of the cross-sectional contour of the three-dimensional tibia model is as follows: calculating the tibial plateau plane, fitting a straight line through the line segments on the tibial plateau; calculating the tibial plateau normal vector according to the two fitting straight lines, and constructing an osteotomy plane through the normal vector and a point; the osteotomy plane is tangent to the osteotomy of the three-dimensional tibia model to obtain a section contour, and then generating the posterior edge of the cross-sectional contour of the three-dimensional tibia model according to the reference point; Among them, when the straight line of the line segment fitting is in the x-axis direction, the straight line equation group takes x as the basis, and the straight line equation group is as follows: Among them, e, f, g, h are the parameters of the line, C RAS The edge of the section contour line of the tibia three-dimensional model in the x-axis direction of the tibia coordinate system is solved according to the following equations to obtain the parameters of the fitting straight line equation group: Among them [Q ix , Q iy , Q iz ] is C RAS Midpoint Q i The coordinates of C RAS The number of midpoints is obtained by solving the above equations to obtain the fitting straight line l ct and direction vector n ct ; When the straight line of the line segment fitting is in the y-axis direction, the straight line equation system is based on y, and the straight line equation system is as follows: Among them, a, b, c, d are the parameters of the line, S RAS The edge of the section contour line of the tibia three-dimensional model in the y-axis direction of the tibia coordinate system is solved according to the following equations to obtain the parameters of the fitting straight line equation group: Among them [P ix , P iy , P iz ] is S RAS Midpoint P i The coordinates of S RAS The number of midpoints is obtained by solving the above equations to obtain the fitting straight line ls t and the line direction vector ns t ; Then the tibial plateau normal vector is: n z =n st ×n ct ; The proximal tibia depth measurement point is T, and [T x , T y , T z ] represents the coordinates of the point, passing through the point [T x , T y , T z -h] and the normal vector n z The plane cuts the tibial osteotomy data, obtains the section contour, and obtains the y coordinate y of the tibial knee joint center tkc and the x-coordinate of the slope point of the intercondylar spine on the surgical side c , where h represents a constant; the cross-sectional contour of the tibia 3D model is taken as the point with x coordinate greater than x c and the y coordinate is less than y tkc The posterior edge of the cross-sectional contour of the tibia three-dimensional model was obtained.