CE angle definition and grinding range calculation system and method for Pincer type deformity

Define and calculate the CE angle of Pincer type deformity through CT three-dimensional reconstruction technology, which solves the problem of inaccurate two-dimensional measurement, achieves more accurate assessment of surgical ablation range and treatment effect, and improves the success rate of surgery and the quality of life of patients.

CN118781179APending Publication Date: 2024-10-15FIRST HOSPITAL AFFILIATED TO GENERAL HOSPITAL OF PLA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410953647.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The CE angle measured by two-dimensional pelvic plain films in the existing technology is inaccurate, resulting in a lack of standardization in the assessment of Pincer deformity and the scope of surgical removal, which affects the surgical effect.

Method used

CT three-dimensional reconstruction technology is used to define and calculate the CE angle of Pincer type deformity. Through the CE angle definition module, CE angle batch calculation module and surgical removal range acquisition module, the coverage of the acetabular rim is accurately evaluated and the surgical removal area is determined.

Benefits of technology

It improves the accuracy and personalization of the surgical removal area, reduces the postoperative revision rate, and improves the patient's quality of life and treatment success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118781179A_ABST
    Figure CN118781179A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of medical image processing, and provides a CE angle defining and grinding range calculating system for Pi ncer type deformity, which comprises a CE angle defining module for defining any two-dimensional plane passing through a long axis of a femoral neck in a CT three-dimensional image containing acetabulum and femur, taking a femoral head central point as a vertex on the two-dimensional plane, and calculating the grinding range of the CE angle; the included angle between the long axis and the vertex of the femoral neck and the connecting line of the upper edge point of the acetabulum on the two-dimensional plane is calculated to serve as a CE angle on the two-dimensional plane; the CE angle batch calculation module is used for calculating the CE angles of all the two-dimensional planes passing through the long axis of the femoral neck by adopting the method for calculating the CE angles on the two-dimensional planes in the CE angle definition module; the operation grinding range obtaining module is used for setting the threshold value of the CE angle, and the set of the upper edge points of the acetabulum corresponding to the CE angle with the angle higher than the threshold value is the operation grinding range based on the Pi ncer type deformity. According to the technical scheme, compared with an existing plain film measurement calculation method, more data are provided, measurement is more accurate, and the calculation method is more personalized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical image processing, and in particular to a system and method for defining a CE angle and calculating a grinding range of a Pincer type deformity. Background Art

[0002] FAIS (Femoroacetabular Impingement Syndrome) is a type of disease caused by the pincer deformity of the acetabulum edge and / or the cam deformity of the femoral head-neck junction. During the hip flexion, the bones collide with each other, resulting in damage to the labrum, cartilage and other related tissues, and producing a series of pain and other discomfort symptoms. Therefore, it is named as a syndrome. Therefore, the pincer deformity and cam deformity are only structures that cause the impact, not a disease. The purpose of our surgery is to remove these abnormal bone structures, relieve the impact, repair the damaged tissues, and eliminate the discomfort symptoms. It is divided into pincer type (pincer), cam type (cam), and mixed type. Pincer type deformity is an abnormal acetabular morphology. It refers to the inward proliferation of the acetabulum to form an excessively large angle, which leads to the narrowing of the acetabulum and the reduction of the range of motion in the joint, thus affecting the normal function of the hip. Pincer type deformity may be congenital or acquired. Congenital Pincer-type deformity may be related to abnormal development of the pelvis, while acquired Pincer-type deformity may be related to factors such as overuse of joints, chronic trauma, and muscle fatigue. Symptoms usually include hip pain, stiffness, friction, and spasms, which may affect daily life and exercise ability. Treatment methods include physical therapy, drug therapy, surgery, etc. The specific method needs to be determined according to the condition and the specific situation of the patient.

[0003] like Figure 1 and 2 As shown in the figure, the definition of the CE angle (lateral center-edge angle) on the two-dimensional pelvic plane in the prior art is as follows: on the anteroposterior pelvic X-ray film, point C is defined as the center of the femoral head, point E is located at the outermost part of the acetabulum, and the angle between the straight line passing through points C and E and the parallel line of the body midline is the CE angle. The normal CE angle is between 25-39 degrees, and a CE angle greater than 40 degrees indicates a higher risk of causing impact.

[0004] The definition of the CE angle on the two-dimensional pelvic plane in the above-mentioned prior art can only be used to measure and evaluate the range of Pincer-type deformity on pelvic plain films. However, pelvic plain films are affected by factors such as the patient's body position and the shooting angle, so the measured CE angle is not accurate. As a result, there is a lack of standardized and standard evaluation methods and surgical plans for the removal of pincer deformity during hip arthroscopy (doctors have no way to determine whether it is a pincer deformity. If it is a pincer deformity, doctors cannot accurately determine how much of the acetabular rim needs to be removed. The removal during surgery is based on the surgeon's feeling and intraoperative fluoroscopy to make an approximate removal).

[0005] The present invention is mainly based on a new definition of CE angle and calculation of the grinding range when using surgical treatment to treat Pincer type deformity. The concept of CE angle is introduced into CT three-dimensional reconstruction examination to comprehensively evaluate the coverage of each position of the acetabular rim. In this way, it is evaluated whether there is clamping deformity in each position of the acetabular rim and the degree of surgical grinding of the clamping deformity. The concept of CE angle was originally defined in the anteroposterior pelvic X-ray film, and there is no definition of CE angle on CT, because the CE angle of each different section in CT will be different. Summary of the invention

[0006] In view of the above problems, the purpose of the present invention is to provide a system and method for defining the CE angle and calculating the removal range of Pincer-type deformity. Compared with the existing two-dimensional pelvic radiograph measurement and calculation scheme, it has more data, more accurate measurement, and a more personalized calculation method, and is not affected by factors such as patient positioning and camera angle, so that the assessment of the removal area is more accurate.

[0007] The above-mentioned object of the present invention is achieved through the following technical solutions:

[0008] A CE angle definition and grinding range calculation system for Pincer type deformity, comprising:

[0009] A memory storing the acquired CT three-dimensional image for defining the CE angle of the Pincer type deformity and calculating the grinding range, as well as the defined CE angle, the set threshold of the CE angle, and the surgical grinding range based on the Pincer type deformity calculated according to the threshold of the CE angle;

[0010] An image acquisition device, used for acquiring the CT three-dimensional image required for defining the CE angle of the Pincer-type deformity and calculating the grinding range before treating the Pincer-type deformity in image-guided hip arthroscopy minimally invasive surgery;

[0011] A processor, which is used to define the CE angle of the CT three-dimensional image showing the diseased bone tissue obtained preoperatively before treating Pincer-type deformity in the image-guided hip arthroscopy minimally invasive surgery, and calculate the surgical removal area according to the threshold of the CE angle, so as to perform bone tissue removal according to the surgical removal area in the subsequent image-guided hip arthroscopy minimally invasive surgery, and define the CE angle and calculate the surgical removal range through the following modules:

[0012] A CE angle definition module is used for taking the center point of the femoral head as the vertex on any two-dimensional plane passing through the long axis of the femoral neck in the CT three-dimensional image containing the acetabulum and femur, and calculating the angle between the long axis of the femoral neck and the line connecting the vertex and the upper edge point of the acetabulum on the two-dimensional plane as the CE angle on the two-dimensional plane;

[0013] A CE angle batch calculation module, used to calculate the CE angles of all the two-dimensional planes of the femoral neck long axis by using the step of calculating the CE angle on the two-dimensional plane in the CE angle definition module;

[0014] The surgical removal range acquisition module is used to set a threshold value of the CE angle, and the set of upper edge points of the acetabulum corresponding to the CE angle higher than the threshold value is the surgical removal range based on Pincer type deformity.

[0015] Furthermore, in the CE angle definition module, it also includes:

[0016] Determine the long axis of the femoral neck and the center point of the femoral head, wherein the center point of the femoral head is located on the long axis of the femoral neck;

[0017] Wherein, the long axis of the femoral neck is a straight line located in the femoral neck, representing the main axis direction of the femoral neck, and the center point of the femoral head is the geometric center point of the femoral head, that is, the center of the acetabulum. At the same time, the long axis of the femoral neck and the center point of the femoral head are determined by the following steps:

[0018] The acquired CT three-dimensional image including the acetabulum and femur is preprocessed including smoothing, histogram equalization, and artifact removal to reduce noise and enhance contrast;

[0019] Segmenting the femur region from the CT three-dimensional image using image segmentation techniques including threshold segmentation and edge detection;

[0020] The contour of the femur is detected by a contour detection algorithm including OpenCV on the segmented femur area, the coordinates of a group of points are obtained from the detected femur contour, and the coordinates of the points in the current group are fitted by a straight line fitting algorithm including the least square method. The fitted straight line is the straight line with the smallest sum of the squares of the distances from the points in the current group to the fitted straight line, which is the straight line where the long axis of the femoral neck is located;

[0021] The femoral head region is searched in the area around the long axis of the femoral neck by using a detection method including a sliding window, and the center point of the femoral head is obtained by using any one of the following methods, including calculating the average position of all pixels in the femoral head region, applying a circular or ellipse fitting algorithm to fit the shape of the femoral head, and taking the center of the circle or ellipse of the fitting result, or projecting the femoral head region onto the long axis of the femoral neck and taking the midpoint of the projection point;

[0022] Whether the center point of the femoral head is located on the long axis of the femoral neck is verified by measuring the distance from the center point of the femoral head to the long axis of the femoral neck, or by detecting the positional relationship between the center point of the femoral head and the long axis of the femoral neck.

[0023] Furthermore, in the CE angle definition module, it also includes:

[0024] For any one of the two-dimensional planes passing through the long axis of the femoral neck in the CT three-dimensional reconstruction of the acetabulum, mark the upper edge point and the lower edge point of the acetabulum on the two-dimensional plane, and determine them in the following manner:

[0025] A one-dimensional extreme value algorithm including a one-dimensional Sobel and Prewitt edge detection operator or a two-dimensional extreme value algorithm including a Canny edge detection operator is used to find extreme value points, and the upper edge point and the lower edge point are determined according to the positions of the extreme value points, wherein the upper edge point is the highest extreme value point and the lower edge point is the lowest extreme value point;

[0026] or

[0027] Morphological operations are used to find local maxima and local minima on the edge of the acetabulum, wherein the local maximum is the upper edge point and the local minimum is the lower edge point.

[0028] Furthermore, in the CE angle batch calculation module, it also includes: obtaining all the two-dimensional planes passing through the long axis of the femoral neck, and obtaining the edge points of the acetabulum on the two-dimensional planes, specifically:

[0029] In the three-dimensional space corresponding to the CT three-dimensional image, any one of the two-dimensional planes passing through the long axis of the femoral neck is selected, the two-dimensional plane is rotated around the long axis of the femoral neck, and the two-dimensional plane continuously intersects with the acetabulum to obtain a plurality of the two-dimensional planes;

[0030] For any one of the two-dimensional planes, determining the upper edge point and the lower edge point of the acetabulum on the two-dimensional plane;

[0031] After the two-dimensional plane is rotated 360 degrees around the long axis of the femoral neck, all the upper edge points and the lower edge points of the acetabulum on the two-dimensional plane are combined to form a set of the edge points of the acetabulum in three-dimensional space.

[0032] Furthermore, in the CE angle batch calculation module, it also includes: generating a direction angle-CE angle curve based on the CE angles of all the two-dimensional planes passing through the long axis of the femoral neck, specifically:

[0033] The direction angle-CE angle curve is a curve of the CE angle corresponding to direction angle values ​​of 0-360 degrees, wherein the horizontal coordinate is the direction angle and the vertical coordinate is the CE angle.

[0034] Furthermore, in the surgical removal range acquisition module, a threshold of the CE angle is set, and the set of upper edge points of the acetabulum corresponding to the CE angle having an angle higher than the threshold is the surgical removal range based on Pincer type deformity, specifically:

[0035] A threshold horizontal line is set in the coordinate system corresponding to the direction angle-CE angle curve according to the CE angle threshold. The portion above the threshold horizontal line is the portion where the CE angle is higher than the threshold, that is, the surgical removal range based on Pincer type deformity, which needs to be removed during surgery.

[0036] Furthermore, the CE angle definition and grinding range calculation system for Pincer type deformity also includes:

[0037] Based on the threshold horizontal line in the direction angle-CE angle curve, the CE angle data above the threshold horizontal line and the CE angle data below the threshold horizontal line are compared and analyzed, and then the threshold is adjusted to determine the final surgical removal range.

[0038] A method for defining the CE angle and calculating the grinding range of a Pincer type deformity using the above-mentioned system for defining the CE angle and calculating the grinding range of a Pincer type deformity comprises:

[0039] S1: For any two-dimensional plane passing through the long axis of the femoral neck in the CT three-dimensional image containing the acetabulum and femur, take the center point of the femoral head as the vertex on the two-dimensional plane, and calculate the angle between the long axis of the femoral neck and the line connecting the vertex and the upper edge point of the acetabulum on the two-dimensional plane as the CE angle on the two-dimensional plane;

[0040] S2: using the step of calculating the CE angle on the two-dimensional plane in step S1, calculate the CE angle of all the two-dimensional planes of the femoral neck long axis;

[0041] S3: setting a threshold of the CE angle, and a set of upper edge points of the acetabulum corresponding to the CE angle that is higher than the threshold is a surgical removal range based on Pincer-type deformity.

[0042] A computer device comprises a memory and one or more processors, wherein the memory stores computer codes, and when the computer codes are executed by the one or more processors, the one or more processors execute the above method.

[0043] A computer-readable storage medium stores computer codes. When the computer codes are executed, the above method is executed.

[0044] Compared with the prior art, the present invention has at least one of the following beneficial effects:

[0045] (1) A system for defining the CE angle and calculating the removal range of Pincer-type deformity is provided, comprising: a processor for defining the CE angle of the CT three-dimensional image showing the diseased bone tissue obtained before the operation, and calculating the surgical removal area according to the threshold of the CE angle, so as to perform bone tissue removal according to the surgical removal area in the subsequent image-guided hip arthroscopy minimally invasive surgery, and defining the CE angle and calculating the surgical removal range through the following modules: a CE angle definition module for defining the CE angle of the CT three-dimensional image containing the acetabulum and the femur, and calculating the surgical removal range; The module comprises a module for batch calculating a CE angle, ...

[0046] (2) The new CE angle definition and grinding range calculation method of the present invention can provide more accurate quantification for the clinical treatment of Pincer-type deformity, improve the surgical success rate, reduce the postoperative revision rate, improve the patient's quality of life, and save the patient's treatment cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a schematic diagram of calculating the CE angle in the prior art of the present invention;

[0048] Figure 2 It is a two-dimensional image diagram for calculating the CE angle in the prior art of the present invention;

[0049] Figure 3 The overall structure diagram of a system for defining the CE angle and calculating the grinding range of a Pincer type deformity according to the present invention;

[0050] Figure 4 is a schematic diagram of the improved CE angle defined on a two-dimensional plane of the present invention;

[0051] Figure 5A schematic diagram of a collection of all edge points of the acetabulum in three-dimensional space of the present invention;

[0052] Figure 6 It is a schematic diagram of the direction angle-CE angle curve of the present invention;

[0053] Figure 7 It is a schematic diagram of the grinding range of Pincer type deformity surgery of the present invention;

[0054] Figure 8 The present invention is an overall flow chart of a method for defining the CE angle and calculating the grinding range of a Pincer-type deformity. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0056] Those skilled in the art will appreciate that, unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0057] First embodiment

[0058] like Figure 3 As shown, this embodiment provides a CE angle definition and grinding range calculation system for Pincer type deformity, including:

[0059] A memory storing the acquired CT three-dimensional image for defining the CE angle of the Pincer type deformity and calculating the grinding range, as well as the defined CE angle, the set threshold of the CE angle, and the surgical grinding range based on the Pincer type deformity calculated according to the threshold of the CE angle;

[0060] An image acquisition device, used for acquiring the CT three-dimensional image required for defining the CE angle of the Pincer-type deformity and calculating the grinding range before treating the Pincer-type deformity in image-guided hip arthroscopy minimally invasive surgery;

[0061] A processor, which is used to define the CE angle of the CT three-dimensional image showing the diseased bone tissue obtained preoperatively before treating Pincer-type deformity in the image-guided hip arthroscopy minimally invasive surgery, and calculate the surgical removal area according to the threshold of the CE angle, so as to perform bone tissue removal according to the surgical removal area in the subsequent image-guided hip arthroscopy minimally invasive surgery, and define the CE angle and calculate the surgical removal range through the following modules:

[0062] The CE angle definition module is used to take the center point of the femoral head as the vertex in any two-dimensional plane passing through the long axis of the femoral neck in the CT three-dimensional image containing the acetabulum and femur, and calculate the angle between the long axis of the femoral neck and the line connecting the vertex and the upper edge point of the acetabulum on the two-dimensional plane as the CE angle on the two-dimensional plane.

[0063] Specifically, in this embodiment, it is first necessary to define a modified CE angle, which is defined based on the long axis of the femoral neck, the center point of the femoral head and the upper edge point of the acetabulum. The center point is located on the long axis of the femoral neck, the long axis of the femoral neck is a straight line located in the femoral neck, representing the main axis direction of the femoral neck, the center point of the femoral head is the geometric center point of the femoral head, that is, the center of the acetabulum, and the long axis of the femoral neck and the center point of the femoral head are determined by the following steps:

[0064] The acquired CT three-dimensional image including the acetabulum and femur is preprocessed including smoothing, histogram equalization, and artifact removal to reduce noise and enhance contrast;

[0065] Segmenting the femur region from the CT three-dimensional image using image segmentation techniques including threshold segmentation and edge detection;

[0066] The contour of the femur is detected by a contour detection algorithm including OpenCV on the segmented femur area, the coordinates of a group of points are obtained from the detected femur contour, and the coordinates of the points in the current group are fitted by a straight line fitting algorithm including the least square method. The fitted straight line is the straight line with the smallest sum of the squares of the distances from the points in the current group to the fitted straight line, which is the straight line where the long axis of the femoral neck is located;

[0067] The femoral head region is searched in the area around the long axis of the femoral neck by using a detection method including a sliding window, and the center point of the femoral head is obtained by using any one of the following methods, including calculating the average position of all pixels in the femoral head region, applying a circular or ellipse fitting algorithm to fit the shape of the femoral head, and taking the center of the circle or ellipse of the fitting result, or projecting the femoral head region onto the long axis of the femoral neck and taking the midpoint of the projection point;

[0068] Whether the center point of the femoral head is located on the long axis of the femoral neck is verified by measuring the distance from the center point of the femoral head to the long axis of the femoral neck, or by detecting the positional relationship between the center point of the femoral head and the long axis of the femoral neck.

[0069] Furthermore, if Figure 4 As shown, it is necessary to determine the actual CE angle on the current two-dimensional plane according to the above definition of the improved CE angle, and for any one of the two-dimensional planes passing through the long axis of the femoral neck in the CT three-dimensional reconstruction of the acetabulum, mark the upper edge point and the lower edge point of the acetabulum on the two-dimensional plane. After successful marking, the CE angle on the current two-dimensional plane is determined according to the above definition of the CE angle.

[0070] The upper and lower edge points are determined by:

[0071] A one-dimensional extreme value algorithm including a one-dimensional Sobel and Prewitt edge detection operator or a two-dimensional extreme value algorithm including a Canny edge detection operator is used to find extreme value points, and the upper edge point and the lower edge point are determined according to the positions of the extreme value points, wherein the upper edge point is the highest extreme value point and the lower edge point is the lowest extreme value point;

[0072] or

[0073] Morphological operations are used to find local maxima and local minima on the edge of the acetabulum, wherein the local maximum is the upper edge point and the local minimum is the lower edge point.

[0074] The CE angle batch calculation module is used to calculate the CE angle of all the two-dimensional planes of the femoral neck long axis by adopting the steps of calculating the CE angle on the two-dimensional plane in the CE angle definition module.

[0075] Specifically, after the improved CE angle is defined, the above-mentioned CE angle definition method needs to be used to calculate the CE angles on all two-dimensional planes passing through the long axis of the femoral neck in the three-dimensional space.

[0076] It is necessary to calculate the CE angle on all two-dimensional planes passing through the long axis of the femoral neck in the three-dimensional space. First, it is necessary to obtain all the two-dimensional planes passing through the long axis of the femoral neck, and obtain the edge points of the acetabulum on the two-dimensional planes. Specifically, take any one of the two-dimensional planes passing through the long axis of the femoral neck in the three-dimensional space corresponding to the CT three-dimensional image, rotate the two-dimensional plane around the long axis of the femoral neck, and continuously intersect the two-dimensional plane with the acetabulum to obtain a plurality of the two-dimensional planes; for any one of the two-dimensional planes, determine the upper edge point and the lower edge point of the acetabulum on the two-dimensional plane; after the two-dimensional plane rotates 360 degrees around the long axis of the femoral neck, the upper edge points and the lower edge points of the acetabulum on all the two-dimensional planes are combined to form a set of the edge points of the acetabulum in the three-dimensional space. Figure 5 As shown, this is the set of all edge points of the acetabulum in three-dimensional space.

[0077] It should be noted that the above-mentioned method of using all the two-dimensional planes passing through the long axis of the femoral neck to intercept the edge points of the acetabulum is not the only one. For example, since the edge points of the acetabulum are relatively obvious in the CT three-dimensional image, the edge points of the acetabulum can also be obtained by directly marking them. For another example, in theory, any straight line passing through the acetabulum is used as the rotation axis, and any two-dimensional plane rotating through the straight line can also be used to intercept all the edge points of the acetabulum. However, after determining the edge points, the method of calculating all CE angles in three dimensions must be unique, that is, all the two-dimensional planes passing through the long axis of the femur must be used as reference standards, and defined according to the long axis of the femoral neck, the center point of the femoral head and the upper edge point of the acetabulum on the current two-dimensional plane.

[0078] Furthermore, if Figure 6 As shown, for the calculated CE angles of all two-dimensional planes passing through the long axis of the femoral neck, the CE angles based on all the two-dimensional planes passing through the long axis of the femoral neck can also be established to generate a direction angle-CE angle curve. The direction angle-CE angle curve is a curve of the CE angles corresponding to direction angle values ​​of 0-360 degrees, wherein the horizontal coordinate is the direction angle and the vertical coordinate is the CE angle.

[0079] The surgical removal range acquisition module is used to set a threshold value of the CE angle, and the set of upper edge points of the acetabulum corresponding to the CE angle higher than the threshold value is the surgical removal range based on Pincer type deformity.

[0080] After all the values ​​of CE angles in three-dimensional space are calculated, it is necessary to determine the surgical removal range in Pincer-type deformity surgery based on the calculated CE angle values, specifically: set a threshold for the CE angle, and the set of acetabulum upper edge points corresponding to CE angles with angles higher than the threshold is the surgical removal range based on Pincer-type deformity. A better solution is to put it in the direction angle-CE angle curve, and set a threshold horizontal line in the coordinate system corresponding to the direction angle-CE angle curve according to the CE angle threshold. The part above the threshold horizontal line is the part of the CE angle that is higher than the threshold, that is, the surgical removal range based on Pincer-type deformity, which needs to be removed during surgery.

[0081] Furthermore, based on the threshold level in the direction angle-CE angle curve, the CE angle data above the threshold level and the CE angle data below the threshold level can be compared and analyzed, and then the threshold can be continuously adjusted to determine the final surgical ablation range, so that the surgical ablation range setting is more accurate. Figure 7 As shown, the black part in the figure is the final surgical removal area.

[0082] Second embodiment

[0083] like Figure 8 As shown, this embodiment provides a new CE angle definition and grinding range calculation method for Pincer type deformity, which is performed by the CE angle definition and grinding range calculation system for Pincer type deformity in the first embodiment, including:

[0084] S1: For any two-dimensional plane passing through the long axis of the femoral neck in the CT three-dimensional reconstruction of the acetabulum, the center point of the femoral head is taken as the vertex on the two-dimensional plane, and the angle between the long axis of the femoral neck and the line connecting the vertex and the upper edge point of the acetabulum on the two-dimensional plane is calculated as the CE angle on the two-dimensional plane;

[0085] S2: using the method for calculating the CE angle on the two-dimensional plane in step S1, calculating the CE angle of all the two-dimensional planes of the femoral neck long axis;

[0086] S3: setting a threshold of the CE angle, and a set of upper edge points of the acetabulum corresponding to the CE angle that is higher than the threshold is a surgical removal range based on Pincer-type deformity.

[0087] A computer-readable storage medium stores a computer code. When the computer code is executed, the above method is executed. A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The storage medium can include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0088] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

[0089] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0090] It should be noted that the above embodiments can be freely combined as needed. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered as the protection scope of the present invention.

Claims

1. A system for defining the CE angle and calculating the grinding range of Pincer type deformities. It is characterized in that include: A memory storing the acquired CT three-dimensional image for defining the CE angle of the Pincer type deformity and calculating the grinding range, as well as the defined CE angle, the set threshold of the CE angle, and the surgical grinding range based on the Pincer type deformity calculated according to the threshold of the CE angle; An image acquisition device, used for acquiring the CT three-dimensional image required for defining the CE angle of the Pincer-type deformity and calculating the grinding range before treating the Pincer-type deformity in image-guided hip arthroscopy minimally invasive surgery; A processor, which is used to define the CE angle of the CT three-dimensional image showing the diseased bone tissue obtained preoperatively before treating Pincer-type deformity in the image-guided hip arthroscopy minimally invasive surgery, and calculate the surgical removal area according to the threshold of the CE angle, so as to perform bone tissue removal according to the surgical removal area in the subsequent image-guided hip arthroscopy minimally invasive surgery, and define the CE angle and calculate the surgical removal range through the following modules: A CE angle definition module is used for taking the center point of the femoral head as the vertex on any two-dimensional plane passing through the long axis of the femoral neck in the CT three-dimensional image containing the acetabulum and femur, and calculating the angle between the long axis of the femoral neck and the line connecting the vertex and the upper edge point of the acetabulum on the two-dimensional plane as the CE angle on the two-dimensional plane; A CE angle batch calculation module, used to calculate the CE angles of all the two-dimensional planes of the femoral neck long axis by using the step of calculating the CE angle on the two-dimensional plane in the CE angle definition module; The surgical removal range acquisition module is used to set a threshold value of the CE angle, and the set of upper edge points of the acetabulum corresponding to the CE angle higher than the threshold value is the surgical removal range based on Pincer type deformity.

2. The CE angle definition and grinding range calculation system for Pincer type deformity according to claim 1, It is characterized in that The CE angle definition module also includes: Determine the long axis of the femoral neck and the center point of the femoral head, wherein the center point of the femoral head is located on the long axis of the femoral neck; Wherein, the long axis of the femoral neck is a straight line located in the femoral neck, representing the main axis direction of the femoral neck, and the center point of the femoral head is the geometric center point of the femoral head, that is, the center of the acetabulum. At the same time, the long axis of the femoral neck and the center point of the femoral head are determined by the following steps: The acquired CT three-dimensional image including the acetabulum and femur is preprocessed including smoothing, histogram equalization, and artifact removal to reduce noise and enhance contrast; Segmenting the femur region from the CT three-dimensional image using image segmentation techniques including threshold segmentation and edge detection; The contour of the femur is detected by a contour detection algorithm including OpenCV on the segmented femur area, the coordinates of a group of points are obtained from the detected femur contour, and the coordinates of the points in the current group are fitted by a straight line fitting algorithm including the least square method. The fitted straight line is the straight line with the smallest sum of the squares of the distances from the points in the current group to the fitted straight line, which is the straight line where the long axis of the femoral neck is located; The femoral head region is searched in the area around the long axis of the femoral neck by using a detection method including a sliding window, and the center point of the femoral head is obtained by using any one of the following methods, including calculating the average position of all pixels in the femoral head region, applying a circular or ellipse fitting algorithm to fit the shape of the femoral head, and taking the center of the circle or ellipse of the fitting result, or projecting the femoral head region onto the long axis of the femoral neck and taking the midpoint of the projection point; Whether the center point of the femoral head is located on the long axis of the femoral neck is verified by measuring the distance from the center point of the femoral head to the long axis of the femoral neck, or by detecting the positional relationship between the center point of the femoral head and the long axis of the femoral neck.

3. The CE angle definition and grinding range calculation system for Pincer type deformity according to claim 1, It is characterized in that The CE angle definition module also includes: For any one of the two-dimensional planes passing through the long axis of the femoral neck in the CT three-dimensional reconstruction of the acetabulum, mark the upper edge point and the lower edge point of the acetabulum on the two-dimensional plane, and determine them in the following manner: A one-dimensional extreme value algorithm including a one-dimensional Sobel and Prewitt edge detection operator or a two-dimensional extreme value algorithm including a Canny edge detection operator is used to find extreme value points, and the upper edge point and the lower edge point are determined according to the positions of the extreme value points, wherein the upper edge point is the highest extreme value point and the lower edge point is the lowest extreme value point; or Morphological operations are used to find local maxima and local minima on the edge of the acetabulum, wherein the local maximum is the upper edge point and the local minimum is the lower edge point.

4. The CE angle definition and grinding range calculation system for Pincer type deformity according to claim 3, It is characterized in that In the CE angle batch calculation module, it also includes: obtaining all the two-dimensional planes passing through the long axis of the femoral neck, and obtaining the edge points of the acetabulum on the two-dimensional planes, specifically: In the three-dimensional space corresponding to the CT three-dimensional image, any one of the two-dimensional planes passing through the long axis of the femoral neck is selected, the two-dimensional plane is rotated around the long axis of the femoral neck, and the two-dimensional plane continuously intersects with the acetabulum to obtain a plurality of the two-dimensional planes; For any one of the two-dimensional planes, determining the upper edge point and the lower edge point of the acetabulum on the two-dimensional plane; After the two-dimensional plane is rotated 360 degrees around the long axis of the femoral neck, all the upper edge points and the lower edge points of the acetabulum on the two-dimensional plane are combined to form a set of the edge points of the acetabulum in three-dimensional space.

5. The CE angle definition and grinding range calculation system for Pincer type deformity according to claim 1, It is characterized in that In the CE angle batch calculation module, it also includes: generating a direction angle-CE angle curve based on the CE angle of all the two-dimensional planes passing through the long axis of the femoral neck, specifically: The direction angle-CE angle curve is a curve of the CE angle corresponding to direction angle values ​​of 0-360 degrees, wherein the horizontal coordinate is the direction angle and the vertical coordinate is the CE angle.

6. The CE angle definition and grinding range calculation system for Pincer type deformity according to claim 5, It is characterized in that In the surgical removal range acquisition module, a threshold of the CE angle is set, and the set of upper edge points of the acetabulum corresponding to the CE angle higher than the threshold is the surgical removal range based on Pincer type deformity, specifically: A threshold horizontal line is set in the coordinate system corresponding to the direction angle-CE angle curve according to the CE angle threshold. The portion above the threshold horizontal line is the portion where the CE angle is higher than the threshold, that is, the surgical removal range based on Pincer type deformity, which needs to be removed during surgery.

7. The CE angle definition and grinding range calculation system for Pincer type deformity according to claim 6, It is characterized in that Also includes: Based on the threshold horizontal line in the direction angle-CE angle curve, the CE angle data above the threshold horizontal line and the CE angle data below the threshold horizontal line are compared and analyzed, and then the threshold is adjusted to determine the final surgical removal range.

8. A method for defining the CE angle and calculating the grinding range of a Pincer type deformity using the system for defining the CE angle and calculating the grinding range of a Pincer type deformity as described in any one of claims 1 to 7, It is characterized in that include: S1: For any two-dimensional plane passing through the long axis of the femoral neck in the CT three-dimensional image containing the acetabulum and femur, take the center point of the femoral head as the vertex on the two-dimensional plane, and calculate the angle between the long axis of the femoral neck and the line connecting the vertex and the upper edge point of the acetabulum on the two-dimensional plane as the CE angle on the two-dimensional plane; S2: using the step of calculating the CE angle on the two-dimensional plane in step S1, calculate the CE angle of all the two-dimensional planes of the femoral neck long axis; S3: setting a threshold of the CE angle, and a set of upper edge points of the acetabulum corresponding to the CE angle higher than the threshold is a surgical removal range based on Pincer-type deformity.

9. A computer device comprising a memory and one or more processors, wherein the memory stores computer codes, and when the computer codes are executed by the one or more processors, the one or more processors execute the method according to claim 8. 10 . A computer-readable storage medium storing a computer code, wherein when the computer code is executed, the method according to claim 8 is executed.