Femoral prosthesis model pose initialization method, system and equipment and storage medium

By marking points on the sections of the knee femoral prosthesis model to fit the characteristic corner points, establishing a coordinate system and aligning the image world coordinate system, the problem of time-consuming and error-prone in initialization in the existing technology is solved, and automated and accurate Prosthetic model pose initialization.

CN118924498APending Publication Date: 2024-11-12FUDAN UNIVERSITY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411037079.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the prior art, the initialization of the knee femoral prosthesis model requires a large number of fitting and measurements in CAD software, which is time-consuming and error-prone.

Method used

By fitting feature corner points on the cut surface of the prosthesis model, establishing the coordinate system of the prosthesis model, and aligning it with the image world coordinate system, obtaining the coordinates and normal vectors of the marked points on each cut surface, and realizing the position of the prosthesis model Pose initialization simplifies the initialization process and improves efficiency.

Benefits of technology

Without the need for manual measurement and geometric parameters to fit, the entire initialization process is automated, improving efficiency and reducing error rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118924498A_ABST
    Figure CN118924498A_ABST
Patent Text Reader

Abstract

The invention provides a method for initializing a position and a posture of a femoral prosthesis model. The method comprises the following steps: respectively marking a plurality of mark points on each section of the prosthesis model; fitting a front diagonal plane, a far-end tangent plane and a rear diagonal plane by using the mark points, and calculating feature angular points of the prosthesis model according to an intersection relationship between the fitted tangent planes and the prosthesis model; establishing a prosthesis model coordinate system by using the feature angular points, and aligning the prosthesis model coordinate system with the image world coordinate system; and under the image world coordinate system, fitting each tangent plane based on the mark points, obtaining the coordinate and the normal vector of any mark point on each tangent plane, and completing the initialization of the pose of the prosthesis model. According to the method, a user does not need to carry out any manual measurement and geometric parameter fitting in software, the whole initialization process only needs to click mark points on a plurality of cutting surfaces by the user, other steps can be automatically executed by utilizing a set program, the steps and flow of prosthesis model data processing are simplified, and the data processing efficiency is improved. And the pose initialization efficiency of the prosthesis model is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of prosthesis model posture adjustment, and in particular to a femoral prosthesis model posture initialization method, system, device and storage medium. Background Art

[0002] The knee femoral prosthesis (hereinafter referred to as the prosthesis) is an artificial device used to replace the distal femoral articular surface during knee replacement surgery. Its main function is to replace the femoral articular surface damaged by disease or trauma, restore the normal function of the knee joint and relieve pain.

[0003] Preoperative planning for knee replacement surgery aims to determine the ideal relative position between the prosthesis and the patient's femur. This process requires the use of a 3D reconstructed model of the patient's femur and 3D model data of the prosthesis. Due to the different geometric structures of prosthesis models of different models, all prosthesis models need to be initialized to facilitate user selection and adjustment to ensure that the prosthesis model has the same orientation and initial position as the patient's femoral model when it is imported into the system software. The prosthesis model has a total of 5 sections: anterior condyle, anterior oblique, distal, posterior oblique, and posterior condyle. The angles between the sections are different. In order to increase the accuracy of planning, the initialization of the prosthesis needs to obtain the accurate position of each section, that is, the coordinate value of a point on the section and the normal vector of the section.

[0004] Due to the complex geometric configuration of the prosthesis model, its initialization often requires a lot of fitting and measurement in the CAD software, which is time-consuming and prone to errors. Summary of the invention

[0005] The present invention proposes a femoral prosthesis model posture initialization method, system, device and storage medium, which solves the problems in the prior art that the initialization of the prosthesis model requires a large amount of fitting and measurement in CAD software, which is time-consuming and prone to errors.

[0006] The technical solution of the present invention is achieved in this way:

[0007] A first aspect of the present invention provides a method for initializing a femoral prosthesis model posture, comprising the following steps:

[0008] Mark at least 3 non-collinear points on the anterior condylar section, anterior oblique section, distal section, posterior oblique section, and posterior malleolar section of the prosthesis model;

[0009] Using the marking points to fit the anterior bevel section, the distal section, and the posterior bevel section, and calculating the characteristic corner points of the prosthesis model according to the intersection relationship between the fitting section and the prosthesis model;

[0010] Establishing the prosthesis model coordinate system using the characteristic corner points, and aligning the prosthesis model coordinate system with the image world coordinate system;

[0011] In the image world coordinate system, the anterior condylar section, anterior oblique section, distal section, posterior oblique section and posterior malleolar section are fitted based on the marker points, the coordinates and normal vector of any marker point on each section are obtained, and the position initialization of the prosthesis model is completed.

[0012] The present invention calculates the characteristic corner points of the prosthesis model, establishes the prosthesis model coordinate system by using the characteristic corner points, and then aligns the prosthesis model coordinate system with the image world coordinate system to realize the rotation of the prosthesis model. Finally, the data of each section is obtained in the image world coordinate system. The user does not need to perform any manual measurement and geometric parameter fitting in the software. The entire initialization process only requires the user to click on several marking points on the cutting surface, and the remaining steps can be automatically executed using the set program, which simplifies the steps and processes of prosthesis model data processing and improves the efficiency of prosthesis model posture initialization.

[0013] Specifically, the method for calculating the characteristic corner points of the fitting section and the prosthesis model includes the following steps:

[0014] Define the intersection lines of the distal section with the anterior oblique section and the posterior oblique section as L1 and L2 respectively;

[0015] The unit normal vector of the distal tangent plane is Ensure that the far tangent plane has unit normal vector The positive direction is upward;

[0016] Lines L1 and L2 are connected along The positive direction is translated N unit lengths, so that the straight lines L1 and L2 only intersect with the insertion block in the middle of the prosthesis model;

[0017] The straight lines L1 and L2 are translated into L3 and L4, and all the intersections between the straight lines L3 and L4 and the prosthesis model are calculated respectively;

[0018] The two outermost points among all the intersections of the straight line L3 and the prosthesis model are recorded as the point set Pa, and the two outermost points among all the intersections of the straight line L4 and the prosthesis model are recorded as the point set Pb;

[0019] The point set Pa and Pb are The point sets Pa and Pb are translated in the negative direction by N unit lengths, and the point sets after translation are recorded as point sets Pc and Pd respectively. The point sets Pc and Pd are the characteristic corner points of the prosthesis model.

[0020] Furthermore, ensure that the unit normal vector of the far tangent plane is The method of pointing upwards comprises the following steps:

[0021] The coordinates of any marked point on the distal section are denoted as p1, and the coordinates of any marked point on the anterior or posterior ankle section are denoted as p2. The vector pointing from p1 to p2 is calculated as

[0022] calculate and If the sign of the dot product is positive, then Remain unchanged. If the sign of the dot product is negative, take The inverse vector of is used as the unit normal vector of the distal tangent plane.

[0023] Specifically, the method of establishing a prosthesis model coordinate system using characteristic corner points includes the following steps:

[0024] The geometric center point of the four characteristic corner points in the calculation point set Pc and Pd is recorded as q, and the q point is used as the origin of the coordinate system of the prosthesis model;

[0025] The unit direction vector from the midpoint of two feature corner points in the point set Pd to the midpoint of two feature corner points in the point set Pc is recorded as Will As the Y-axis direction vector of the prosthesis model coordinate system;

[0026] Will As the Z-axis direction vector of the prosthesis model coordinate system, Cross product The results are Will As the X-axis direction vector of the prosthesis model coordinate system;

[0027] With point q as the origin, establish the X, Y, and Z three-dimensional coordinate system of the prosthesis model.

[0028] Furthermore, the method for aligning the prosthesis model coordinate system with the image world coordinate system is:

[0029] Establish the transformation matrix T from the image world coordinate system to the prosthesis model coordinate system:

[0030]

[0031] in, Respectively The x-axis, y-axis, and z-axis elements in the image world coordinate system; Respectively The x-axis, y-axis, and z-axis elements in the image world coordinate system; Respectively The x-axis, y-axis, and z-axis elements in the image world coordinate system; q[1], q[2], and q[3] represent the x-axis, y-axis, and z-axis elements of point q in the image world coordinate system, respectively;

[0032] The transformation matrix T is used to rotate and translate the prosthesis model and the markers on it so that the coordinate system of the prosthesis model is aligned with the image world coordinate system.

[0033] The image world coordinate system is a reference coordinate system of three-dimensional drawing software (such as CAD, etc.). On the canvas of the three-dimensional drawing software, the coordinate data of each marking point on the prosthesis model can be directly obtained.

[0034] Specifically, in the image world coordinate system, the marker points on the anterior condyle section, anterior oblique section, distal section, posterior oblique section and posterior malleolus section are used to fit each section based on the least squares method, and the normal vector of each section and the coordinates of any marker point on each section are obtained.

[0035] A second aspect of the present invention provides a knee joint femoral prosthesis model posture initialization system, comprising:

[0036] A section marking module, used to mark at least three non-collinear marking points on the anterior condylar section, anterior oblique section, distal section, posterior oblique section and posterior malleolar section of the prosthesis model respectively;

[0037] A feature corner point acquisition module is used to fit the anterior oblique section, the distal section, and the posterior oblique section using the marking points, and calculate the feature corner points of the prosthesis model according to the intersection relationship between the fitting section and the prosthesis model;

[0038] The prosthesis model rotation module uses the characteristic corner points to establish the prosthesis model coordinate system and aligns the prosthesis model coordinate system with the image world coordinate system;

[0039] The initial posture determination module is used to fit the anterior condylar section, anterior oblique section, distal section, posterior oblique section and posterior malleolar section based on the marker points in the image world coordinate system, obtain the coordinates and normal vector of any marker point on each section, and complete the initialization of the prosthesis model posture.

[0040] A third aspect of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the steps of the above-mentioned posture initialization method when executing the computer program.

[0041] A fourth aspect of the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned posture initialization method are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 A flowchart of a method for initializing the posture of a femoral prosthesis model according to the present invention;

[0044] Figure 2 This is a distribution effect diagram of each section on the prosthesis model in an embodiment of the present invention;

[0045] Figure 3 This is a distribution effect diagram of the marking points on the prosthesis model in an embodiment of the present invention;

[0046] Figure 4 : This is a distribution effect diagram of the straight lines L1 and L2 where the distal section intersects with the front oblique section and the rear oblique section respectively in an embodiment of the present invention;

[0047] Figure 5 This is a distribution effect diagram of point sets Pa and Pb on the prosthesis model in an embodiment of the present invention;

[0048] Figure 6 This is a diagram showing the distribution effect of point sets Pc and Pd on the prosthesis model in an embodiment of the present invention;

[0049] Figure 7 This is a distribution effect diagram of the “circle area” and “square area” on the prosthesis model in an embodiment of the present invention;

[0050] Figure 8 These are the effect diagrams of the initialization of the postures of the prosthesis models of three different sizes in the embodiment of the present invention. DETAILED DESCRIPTION

[0051] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] Reference Figure 1 According to a first aspect of an embodiment of the present invention, a method for initializing a femoral prosthesis model posture is provided, comprising the following steps:

[0053] The anterior condyle section, anterior oblique section, distal section, posterior oblique section and posterior malleolus section of the prosthesis model are shown in the figure. Figure 2 At least three non-collinear marking points are marked on each of the sections (as shown in FIG. 1 ) (in this embodiment, four points are marked on each section, and the positions of the marking points are not limited, as long as the multiple marking points on the same section are not collinear); the marking points on each section are as follows Figure 3 As shown in (a) and (b);

[0054] Using the marking points to fit the anterior bevel section, the distal section, and the posterior bevel section, and calculating the characteristic corner points of the prosthesis model according to the intersection relationship between the fitting section and the prosthesis model;

[0055] Establishing the prosthesis model coordinate system using the characteristic corner points, and aligning the prosthesis model coordinate system with the image world coordinate system;

[0056] In the image world coordinate system, the anterior condylar section, anterior oblique section, distal section, posterior oblique section and posterior malleolar section are fitted based on the marker points, the coordinates and normal vector of any marker point on each section are obtained, and the position initialization of the prosthesis model is completed.

[0057] The present invention calculates the characteristic corner points of the prosthesis model, establishes the prosthesis model coordinate system by using the characteristic corner points, and then aligns the prosthesis model coordinate system with the image world coordinate system to realize the rotation of the prosthesis model. Finally, the data of each section is obtained in the image world coordinate system. The user does not need to perform any manual measurement and geometric parameter fitting in the software. The entire initialization process only requires the user to click on several marking points on the cutting surface, and the remaining steps can be automatically executed using the set program, which simplifies the steps and processes of prosthesis model data processing and improves the efficiency of prosthesis model posture initialization.

[0058] Specifically, the method for calculating the characteristic corner points of the fitting section and the prosthesis model includes the following steps:

[0059] Define the intersection lines of the distal section with the anterior oblique section and the posterior oblique section as L1 and L2, respectively, such as Figure 4 As shown;

[0060] The unit normal vector of the distal tangent plane is Ensure that the far tangent plane has unit normal vector The positive direction is upward;

[0061] Lines L1 and L2 are connected along The positive direction is translated N unit lengths, so that the straight lines L1 and L2 only intersect with the insertion block in the middle of the prosthesis model;

[0062] The straight lines L1 and L2 are translated into L3 and L4, and all the intersections between the straight lines L3 and L4 and the prosthesis model are calculated respectively;

[0063] The two outermost points among all the intersections of the straight line L3 and the prosthesis model are recorded as the point set Pa, and the two outermost points among all the intersections of the straight line L4 and the prosthesis model are recorded as the point set Pb, as shown in Figure 5 As shown;

[0064] The point set Pa and Pb are The negative direction of the point set Pa and Pb is translated by N unit lengths. The point sets after translation are recorded as point sets Pc and Pd respectively. Point sets Pc and Pd are the characteristic corner points of the prosthesis model. Figure 6 As shown;

[0065] Since the prosthesis model data is composed of many tiny triangular facets, there may be defects in the modeling of the prosthesis model. For example, in an area where two planes should have a direct angle transition, an additional chamfered area will appear due to the non-ideal arrangement of triangular facets. The uncontrollable chamfered area may cause the number of intersections between the straight line and the prosthesis model to be uncontrollable, thereby causing errors in the selection of feature corner points.

[0066] The characteristic corner points of the prosthesis model are: the intersection points of the outer wall surface of the prosthesis model insertion block and the distal section and the anterior oblique section (or posterior oblique section). The characteristic corner points are the intersection points of these three planes, are unique, and will not be affected by modeling defects.

[0067] like Figure 7 As shown, the straight lines L1, L2 and the prosthesis model must have an intersection in the "circle area", but it is uncertain whether there is an intersection in the "square area" (this depends on whether there is a raised chamfer in the "square area". If there is a raised chamfer, there is an intersection in the area, otherwise there is no intersection); in order to eliminate the influence of abnormal kinks in the "circle area" and the "square area" (abnormal kinks are prone to occur at the parts where surfaces are connected, and abnormal kinks are model defects), the present application first translates the straight lines L1 and L2 upward by a certain distance (N unit lengths) so that the intersection of the straight lines and the prosthesis model avoids the area where abnormal kinks are prone to occur, and then translates the intersection downward by a corresponding distance (N unit lengths), thereby obtaining feature corner points that are not affected by modeling defects.

[0068] Among them, the "circled area" represents the intersection area of ​​the outer wall surface of the prosthesis model insertion block and the three planes of the distal section and the anterior bevel section (or posterior bevel section); the "square area" represents the area that intersects with the distal section and the anterior bevel section (or posterior bevel section) at the same time, but does not intersect with the outer wall surface of the prosthesis model insertion block; wherein, the insertion block is a part in the middle of the prosthesis model, the bottom surface of the insertion block is flush with the distal section, and the inclined surfaces on both sides of the insertion block are flush with the anterior bevel section and the posterior bevel section, respectively.

[0069] In this embodiment, the intersection point calculation between the straight line and the prosthesis model can use the IntersectWithLine method of the vtkOBBTree class in the VTK library; its principle is briefly described as follows:

[0070] 1) Build the OBB tree

[0071] Recursive segmentation: The model data is recursively segmented into smaller subsets, each of which is surrounded by an oriented bounding box (OBB).

[0072] Tree structure: A tree structure is formed, where the root node is the OBB of the entire dataset and the leaf nodes contain specific geometric details.

[0073] 2) Intersection test between straight line and OBB

[0074] Hierarchical test: Starting from the root node, test whether the line intersects the OBB.

[0075] Early culling: If the line does not intersect an OBB, skip the node and its children.

[0076] Recursive processing: If they intersect, recursively check the child nodes until the leaf node.

[0077] 3) Intersection test between line and polygon

[0078] Leaf node detection: At the leaf node, an exact intersection test between the straight line and the specific polygon is performed.

[0079] Geometric Algorithms: Use geometric algorithms to calculate the intersection points of lines and polygons.

[0080] 4) Return results

[0081] Collect intersection points: Collect all intersection points and return the result.

[0082] The outermost points among all the intersection points can be selected by comparing the distances of each point from the centroid of the point set. The outermost points can be obtained by selecting the extreme points of the X, Y or Z coordinate values ​​in the point set.

[0083] Furthermore, ensure that the unit normal vector of the far tangent plane is The method of pointing upwards comprises the following steps:

[0084] The coordinates of any marked point on the distal section are denoted as p1, and the coordinates of any marked point on the anterior or posterior ankle section are denoted as p2. The vector pointing from p1 to p2 is calculated as

[0085] calculate and If the sign of the dot product is positive, then Remain unchanged. If the sign of the dot product is negative, take The inverse vector of is used as the unit normal vector of the distal tangent plane.

[0086] Specifically, the method of establishing a prosthesis model coordinate system using characteristic corner points includes the following steps:

[0087] The geometric center point of the four characteristic corner points in the calculation point set Pc and Pd is recorded as q, and the q point is used as the origin of the coordinate system of the prosthesis model;

[0088] The unit direction vector from the midpoint of two feature corner points in the point set Pd to the midpoint of two feature corner points in the point set Pc is recorded as Will As the Y-axis direction vector of the prosthesis model coordinate system;

[0089] Will As the Z-axis direction vector of the prosthesis model coordinate system, Cross product The results are Will As the X-axis direction vector of the prosthesis model coordinate system;

[0090] With point q as the origin, establish the X, Y, and Z three-dimensional coordinate system of the prosthesis model.

[0091] Furthermore, the method for aligning the prosthesis model coordinate system with the image world coordinate system is:

[0092] Establish the transformation matrix T from the image world coordinate system to the prosthesis model coordinate system:

[0093]

[0094] in, Respectively The x-axis, y-axis, and z-axis elements in the image world coordinate system; Respectively The x-axis, y-axis, and z-axis elements in the image world coordinate system; Respectively The x-axis, y-axis, and z-axis elements in the image world coordinate system; q[1], q[2], and q[3] represent the x-axis, y-axis, and z-axis elements of point q in the image world coordinate system, respectively;

[0095] The transformation matrix T is used to rotate and translate the prosthesis model and the markers on it so that the coordinate system of the prosthesis model is aligned with the image world coordinate system.

[0096] Specifically, in the image world coordinate system, the marker points on the anterior condyle section, anterior oblique section, distal section, posterior oblique section and posterior malleolus section are used to fit each section based on the least squares method, and the normal vector of each section and the coordinates of any marker point on each section are obtained.

[0097] A second aspect of an embodiment of the present invention provides a knee joint femoral prosthesis model posture initialization system, comprising:

[0098] A section marking module, used to mark at least three non-collinear marking points on the anterior condylar section, anterior oblique section, distal section, posterior oblique section and posterior malleolar section of the prosthesis model respectively;

[0099] A feature corner point acquisition module is used to fit the anterior oblique section, the distal section, and the posterior oblique section using the marking points, and calculate the feature corner points of the prosthesis model according to the intersection relationship between the fitting section and the prosthesis model;

[0100] The prosthesis model rotation module uses the characteristic corner points to establish the prosthesis model coordinate system and aligns the prosthesis model coordinate system with the image world coordinate system;

[0101] The initial posture determination module is used to fit the anterior condylar section, anterior oblique section, distal section, posterior oblique section and posterior malleolar section based on the marker points in the image world coordinate system, obtain the coordinates and normal vector of any marker point on each section, and complete the initialization of the prosthesis model posture.

[0102] Figure 8 Figure 3 shows the initialization effect of the posture of three femoral prosthesis models of different sizes in the system software. The three prosthesis models are moved to the origin of the image world coordinate system, and the coordinate system of each prosthesis model is aligned with the image world coordinate system.

[0103] A third aspect of an embodiment of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the steps of the above-mentioned posture initialization method when executing the computer program.

[0104] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned posture initialization method are implemented.

[0105] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for initializing the posture of a femoral prosthesis model, characterized in that: The following steps are involved: Mark at least 3 non-collinear points on the anterior condylar section, anterior oblique section, distal section, posterior oblique section, and posterior malleolar section of the prosthesis model; Using the marking points to fit the anterior bevel section, the distal section, and the posterior bevel section, and calculating the characteristic corner points of the prosthesis model according to the intersection relationship between the fitting section and the prosthesis model; Establishing the prosthesis model coordinate system using the characteristic corner points, and aligning the prosthesis model coordinate system with the image world coordinate system; In the image world coordinate system, the anterior condylar section, anterior oblique section, distal section, posterior oblique section and posterior malleolar section are fitted based on the marker points, the coordinates and normal vector of any marker point on each section are obtained, and the position initialization of the prosthesis model is completed.

2. A method for initializing the posture of a femoral prosthesis model as claimed in claim 1, characterized in that: The method for calculating the characteristic corner points of the fitting section and the prosthesis model comprises the following steps: Define the intersection lines of the distal section with the anterior oblique section and the posterior oblique section as L1 and L2 respectively; The unit normal vector of the distal tangent plane is Ensure that the far tangent plane has unit normal vector The positive direction is upward; Lines L1 and L2 are connected along The positive direction is translated N unit lengths, so that the straight lines L1 and L2 only intersect with the insertion block in the middle of the prosthesis model; The straight lines L1 and L2 are translated into L3 and L4, and all the intersections between the straight lines L3 and L4 and the prosthesis model are calculated respectively; The two outermost points among all the intersections of the straight line L3 and the prosthesis model are recorded as the point set Pa, and the two outermost points among all the intersections of the straight line L4 and the prosthesis model are recorded as the point set Pb; The point set Pa and Pb are The point sets Pa and Pb are translated in the negative direction by N unit lengths, and the point sets after translation are recorded as point sets Pc and Pd respectively. The point sets Pc and Pd are the characteristic corner points of the prosthesis model.

3. A method for initializing the posture of a femoral prosthesis model as described in claim 2, characterized in that: Ensure that the far tangent plane has unit normal vector The method of pointing upwards comprises the following steps: The coordinates of any marked point on the distal section are denoted as p1, and the coordinates of any marked point on the anterior or posterior ankle section are denoted as p2. The vector pointing from p1 to p2 is calculated as calculate and If the sign of the dot product is positive, then Remain unchanged. If the sign of the dot product is negative, take The inverse vector of is used as the unit normal vector of the distal tangent plane.

4. A femoral prosthesis model posture initialization method as described in claim 2, characterized in that: The method for establishing a prosthesis model coordinate system using characteristic corner points comprises the following steps: The geometric center point of the four characteristic corner points in the calculation point set Pc and Pd is recorded as q, and the q point is used as the origin of the coordinate system of the prosthesis model; The unit direction vector from the midpoint of two feature corner points in the point set Pd to the midpoint of two feature corner points in the point set Pc is recorded as Will As the Y-axis direction vector of the prosthesis model coordinate system; Will As the Z-axis direction vector of the prosthesis model coordinate system, Cross product The results are Will As the X-axis direction vector of the prosthesis model coordinate system; With point q as the origin, establish the X, Y, and Z three-dimensional coordinate system of the prosthesis model.

5. A method for initializing the posture of a femoral prosthesis model as claimed in claim 4, characterized in that: The method to align the prosthesis model coordinate system with the image world coordinate system is: Establish the transformation matrix T from the image world coordinate system to the prosthesis model coordinate system: in, Respectively The x-axis, y-axis, and z-axis elements in the image world coordinate system; Respectively The x-axis, y-axis, and z-axis elements in the image world coordinate system; Respectively The x-axis, y-axis, and z-axis elements in the image world coordinate system; q[1], q[2], and q[3] represent the x-axis, y-axis, and z-axis elements of point q in the image world coordinate system, respectively; The transformation matrix T is used to rotate and translate the prosthesis model and the markers on it so that the coordinate system of the prosthesis model is aligned with the image world coordinate system.

6. A method for initializing the posture of a femoral prosthesis model as claimed in claim 1, characterized in that: In the image world coordinate system, the marker points on the anterior condylar section, anterior oblique section, distal section, posterior oblique section and posterior malleolar section are used to fit each section based on the least squares method, and the normal vector of each section and the coordinates of any marker point on each section are obtained.

7. A femoral prosthesis model posture initialization system, based on the femoral prosthesis model posture initialization method according to any one of claims 1 to 6, characterized in that: include: A section marking module, used to mark at least three non-collinear marking points on the anterior condylar section, anterior oblique section, distal section, posterior oblique section and posterior malleolar section of the prosthesis model respectively; A feature corner point acquisition module is used to fit the anterior oblique section, the distal section, and the posterior oblique section using the marking points, and calculate the feature corner points of the prosthesis model according to the intersection relationship between the fitting section and the prosthesis model; The prosthesis model rotation module uses the characteristic corner points to establish the prosthesis model coordinate system and aligns the prosthesis model coordinate system with the image world coordinate system; The initial posture determination module is used to fit the anterior condylar section, anterior oblique section, distal section, posterior oblique section and posterior malleolar section based on the marker points in the image world coordinate system, obtain the coordinates and normal vector of any marker point on each section, and complete the initialization of the prosthesis model posture.

8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the steps of the posture initialization method as described in any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the posture initialization method as described in any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Metal antenna preparation method based on visual identification correction

    CN120879202A