DDH auxiliary diagnosis method and device
The image processing algorithm is used to correct the key point position of the hip joint in the pelvic X-ray film to generate auxiliary diagnostic information, which solves the problems of low efficiency and low accuracy of DDH diagnosis in the existing technology and achieves high-precision auxiliary diagnosis of DDH. .
Patent Information
- Application Number
- CN202210617348.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-01
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-06-01
AI Technical Summary
In the existing technology, the diagnostic efficiency of DDH is low and the accuracy is not high. There are errors in manual measurement, and it is impossible to effectively diagnose hip dysplasia in infants and young children early.
By obtaining anteroposterior X-rays of the pelvis and identity information, image processing algorithms are used to correct the manually marked key points of the hip joint to generate auxiliary diagnostic information, including H line, P line, D line, acetabular index and lateral center edge. angle to improve diagnostic accuracy.
The accuracy and efficiency of DDH diagnosis are improved. The accuracy of key point positions after computer correction reaches the pixel level. Combined with doctor annotation and computer analysis, the diagnosis efficiency is significantly improved.
Smart Images

Figure CN115036005B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of computer technology, and in particular relates to a DDH auxiliary diagnosis method and device. Background Art
[0002] DDH (Developmental Dysplasia of the Hip) is one of the common bone diseases in infants and young children. If the disease is not diagnosed early, it will usually lead to severe hip deformity.
[0003] In the prior art, doctors manually measure the anterior-posterior X-ray of the patient's pelvis to obtain the lateral edge of the acetabulum (point P), the apex of the Y-shaped cartilage of the acetabulum (point Y), and the midpoint of the proximal femoral metaphysis (point H). Based on these bony key points, they obtain indicators such as AI (Acetabular Index), the angle between the vertical line of the midpoint of the proximal femoral metaphysis and the lateral edge of the acetabulum, the Perkin line, and the Hilgenreiner line. Then, based on the different ages and genders of the patients and against different standards, they diagnose whether they suffer from DDH.
[0004] However, obtaining key indicators related to DDH through manual measurement is not only time-consuming and laborious, but also subject to measurement errors, which to some extent affects the efficiency of doctors' diagnosis of DDH disease. In addition, although there are methods in the prior art that use artificial intelligence methods to quickly obtain indicators such as bone key points, their accuracy and reliability are not high and they cannot be applied in practice at present. Summary of the invention
[0005] In order to solve the above problems existing in the prior art, the present invention provides a DDH auxiliary diagnosis method and device. The technical problem to be solved by the present invention is achieved by the following technical solutions:
[0006] In a first aspect, the present invention provides a DDH auxiliary diagnosis method, comprising:
[0007] Obtaining a pelvic anteroposterior X-ray film to be diagnosed, and receiving identity information of the child to whom the pelvic anteroposterior X-ray film belongs;
[0008] Obtain the first position of the key points of the hip joint of the child that are manually marked;
[0009] For each of the key points, extracting a region to be processed containing each key point from the anteroposterior X-ray film of the pelvis, and correcting the first position of the key point in each region to be processed to obtain a second position of the key point;
[0010] Auxiliary diagnosis information is generated using the second position of the key point and the identity information; the auxiliary diagnosis information includes: H line, P line, D line, acetabular index, lateral center edge angle and critical acetabular index in the diagnostic standard corresponding to the child.
[0011] In one embodiment of the present invention, the key points include: point P of the lateral edge of the acetabulum on both sides of the hip joint of the child, point Y of the apex of the acetabulum Y-shaped cartilage, and two end points of the epiphysis.
[0012] In one embodiment of the present invention, for each of the key points, the step of extracting the to-be-processed area containing each key point from the pelvic anteroposterior X-ray film, and correcting the first position of the key point in each to-be-processed area to obtain the second position of the key point includes:
[0013] For each of the key points, extracting a region to be processed containing each key point from the anteroposterior X-ray film of the pelvis, and performing Canny edge detection on the region to be processed;
[0014] According to the edge detection result, the first position of the key point in the area to be processed is corrected to obtain the second position.
[0015] In one embodiment of the present invention, before the step of performing Canny edge detection on the area to be processed, the method further includes:
[0016] Performing grayscale processing on the area to be processed;
[0017] The grayscale processed area is Gaussian filtered and converted into a binary image.
[0018] In one embodiment of the present invention, the step of correcting the first position of the key point in the area to be processed according to the edge detection result to obtain the second position includes:
[0019] According to the edge detection result of the area to be processed, the coordinates of each pixel point on the edge are obtained;
[0020] According to the coordinates of each pixel point on the edge and the first position of the key point in the to-be-processed area, respectively calculating the Euclidean distance between each pixel point on the edge and the key point in the to-be-processed area;
[0021] Determine the minimum Euclidean distance between each pixel point on the edge and the key point in the area to be processed;
[0022] If the minimum Euclidean distance is less than or equal to the preset deviation threshold, it means that there is no deviation in the first position of the manually marked key point, and the first position is used as the corrected second position of the key point; otherwise, it means that there is a deviation in the first position of the manually marked key point, and the coordinates of the pixel point corresponding to the minimum Euclidean distance on the edge are used as the corrected second position of the key point.
[0023] In one embodiment of the present invention, the step of generating auxiliary diagnosis information using the second position of the key point and the identity information includes:
[0024] Connect the apex points Y of the acetabular Y-shaped cartilage on both sides of the child's hip joint and extend them to generate an H line;
[0025] Draw perpendicular lines to the H line through the lateral edges of the acetabulum points P on both sides of the hip joint, respectively, to generate two P lines; wherein the P line on the first side of the hip joint and the H line form a first rectangular coordinate system, and the origin of the first rectangular coordinate system is: the intersection of the P line on the first side of the hip joint and the H line, and the P line on the second side of the hip joint and the H line form a second rectangular coordinate system, and the origin of the second rectangular coordinate system is: the intersection of the P line on the second side of the hip joint and the H line;
[0026] Generate two D lines using the origin of the first rectangular coordinate system and the origin of the second rectangular coordinate system;
[0027] Determine the H point according to the second positions of the two end points of the metaphysis, and determine the acetabular index and the lateral center edge angle according to the H point, the origin of the first rectangular coordinate system and the origin of the second rectangular coordinate system;
[0028] According to the identity information, a critical acetabular index in a diagnostic standard corresponding to the child is determined.
[0029] In one embodiment of the present invention, the identity information includes: the gender, age and nationality of the patient;
[0030] Before the step of receiving the identity information of the child to whom the pelvic anteroposterior X-ray film belongs, the method further includes:
[0031] The information is generated to display a first interface for the patient's identity information and a second interface for displaying the pelvic anteroposterior X-ray.
[0032] In one embodiment of the present invention, after the step of determining the critical acetabular index in the diagnostic criteria corresponding to the child according to the identity information, the method further comprises:
[0033] The critical acetabular index is displayed in the first interface, and the H line, the P line, the D line, the acetabular index, and the lateral center edge angle are displayed in the second interface.
[0034] In one embodiment of the present invention, the diagnostic criteria include: Shengjing criteria applicable to Chinese and Shengjing criteria applicable to foreigners. standard.
[0035] In a second aspect, the present invention provides a DDH auxiliary diagnosis device, comprising:
[0036] A receiving module is used to obtain the pelvic anteroposterior X-ray film to be diagnosed and receive the identity information of the child to whom the pelvic anteroposterior X-ray film belongs;
[0037] An acquisition module, used to acquire the first position of the key points of the hip joint of the child that are manually marked;
[0038] An extraction module is used to extract, for each of the key points, a region to be processed containing each key point from the anteroposterior X-ray film of the pelvis, and to correct the first position of the key point in each region to be processed to obtain a second position of the key point;
[0039] A generation module is used to generate auxiliary diagnosis information using the second position of the key point and the identity information; the auxiliary diagnosis information includes: H line, P line, D line, acetabular index, lateral center edge angle and critical acetabular index in the diagnostic standard corresponding to the child.
[0040] Compared with the prior art, the present invention has the following beneficial effects:
[0041] (1) The present invention provides a DDH auxiliary diagnosis method. After obtaining a pelvic anteroposterior X-ray film to be diagnosed, the first position of the key point of the hip joint manually marked by the doctor is received, and then the first position of the key point is corrected by an image processing algorithm to obtain the second position of the key point, and then the accurate second position is used to generate DDH diagnosis auxiliary information. It can be seen that in the above process, the doctor only needs to mark the approximate positions of several key points, and the accuracy of the key point position after computer correction can reach the pixel level.
[0042] (2) The DDH auxiliary diagnosis method provided by the present invention combines the accuracy of doctors in obtaining key points with the powerful data analysis capabilities of computers. By providing doctors with auxiliary diagnosis information and information such as the nationality, age, and gender of the child, the doctor's work efficiency is effectively improved.
[0043] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1is a flow chart of the DDH auxiliary diagnosis method provided by an embodiment of the present invention;
[0045] Figure 2 is an example diagram of an AP X-ray of a pelvis to be diagnosed provided by an embodiment of the present invention;
[0046] Figure 3 is a schematic diagram of a DDH auxiliary diagnosis method provided by an embodiment of the present invention;
[0047] Figure 4 is another schematic diagram of the DDH auxiliary diagnosis method provided by an embodiment of the present invention;
[0048] Figure 5 is another schematic diagram of the DDH auxiliary diagnosis method provided by an embodiment of the present invention;
[0049] Figure 6 is another schematic diagram of the DDH auxiliary diagnosis method provided by an embodiment of the present invention;
[0050] Figure 7 is another schematic diagram of the DDH auxiliary diagnosis method provided by an embodiment of the present invention;
[0051] Figure 8 is another schematic diagram of the DDH auxiliary diagnosis method provided by an embodiment of the present invention;
[0052] Fig. 9 It is a structural schematic diagram of a DDH auxiliary diagnosis device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0053] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.
[0054] Figure 1 is a flow chart of the DDH auxiliary diagnosis method provided by an embodiment of the present invention. Figure 1 , an embodiment of the present invention provides a DDH auxiliary diagnosis method, comprising:
[0055] S1. Obtaining a pelvic anteroposterior X-ray film to be diagnosed, and receiving identity information of the child to whom the pelvic anteroposterior X-ray film belongs;
[0056] S2, obtaining the first position of the key points of the hip joint of the child that are manually marked;
[0057] S3, for each key point, extracting the to-be-processed area containing each key point from the pelvic anteroposterior X-ray film, and correcting the first position of the key point in each to-be-processed area to obtain the second position of the key point;
[0058] S4. Generate auxiliary diagnosis information using the second position and identity information of the key point; the auxiliary diagnosis information includes: H line, P line, D line, acetabular index, lateral center edge angle and critical acetabular index in the diagnostic standard corresponding to the child.
[0059] It should be understood that for children over 4-6 months old, the diagnosis of DDH mainly relies on pelvic AP X-rays. Doctors need to obtain important bony anatomical landmarks, that is, the position information of bony key points based on the pelvic AP X-rays, and obtain auxiliary diagnostic information for DDH based on this.
[0060] Figure 1 : is a flow chart of the DDH auxiliary diagnosis method provided by an embodiment of the present invention. In this embodiment, the key points of the child's hip joint include: the lateral edge P point of the acetabulum on both sides of the child's hip joint, i.e. Figure 2 Points 1 and 5 shown, and point Y at the apex of the acetabular Y-shaped cartilage are Figure 2 Points 2 and 6 shown, as well as the two ends of the epiphyseal end, are Figure 2 Points 3, 4, 7 and 8 are shown. It should be noted that Figure 2 The side marked with an "R" is actually the right side of the child's hip joint.
[0061] Figure 3 Schematic diagram of the DDH auxiliary diagnosis method provided by the embodiment of the present invention. Figure 3 As shown, in the above step S2, for each key point, the region to be processed containing each key point is extracted from the pelvic anteroposterior X-ray film, and the first position of the key point in each region to be processed is corrected to obtain the second position of the key point, including:
[0062] S201, for each key point, extracting a processing region containing each key point from the pelvic anteroposterior X-ray film, and performing Canny edge detection on the processing region;
[0063] S202: According to the edge detection result, correct the first position of the key point in the processing area to obtain a second position.
[0064] This embodiment still uses Figure 2 Take the 8 key points shown as an example to illustrate. Figure 2-3 First, eight processing areas containing key points are extracted from the anteroposterior X-ray film of the pelvis. The processing area is obtained by intercepting a square area of 30*30 pixels centered at the first position (x, y) of the key point; then, the processing area is grayed out, converting it from an RGB image to a grayscale image, and then the grayed area is Gaussian filtered to filter out noise and converted into a binary image.
[0065] Furthermore, Canny edge detection is performed on the area to be processed after the above processing, and then the first position of the key point is corrected according to the edge detection result to obtain the second position.
[0066] Optionally, the step of correcting the first position of the key point in the area to be processed according to the edge detection result to obtain the second position includes:
[0067] According to the edge detection result of the area to be processed, the coordinates of each pixel on the edge are obtained;
[0068] According to the coordinates of each pixel point on the edge and the first position of the key point in the to-be-processed area, the Euclidean distance between each pixel point on the edge and the key point in the to-be-processed area is calculated respectively;
[0069] Determine the minimum Euclidean distance between each pixel point on the edge and the key point in the area to be processed;
[0070] If the minimum Euclidean distance is less than or equal to the preset deviation threshold, it means that there is no deviation in the first position of the manually marked key point, and the first position is used as the corrected second position of the key point; otherwise, it means that there is a deviation in the first position of the manually marked key point, and the coordinates of the pixel point corresponding to the minimum Euclidean distance on the edge are used as the corrected second position of the key point.
[0071] For more details, please see Figure 3 After detecting the edge in the image to be processed, traverse each pixel point (a, b) on the edge and calculate the Euclidean distance d between the first position (x, y) of the key point in the area to be processed and each pixel point (a, b) according to the following formula:
[0072]
[0073] Next, determine the minimum Euclidean distance between each pixel point on the edge and the key point. When the minimum Euclidean distance is less than or equal to the preset deviation threshold, it means that there is no deviation in the first position of the manually marked key point, so the first position can be directly used as the corrected second position of the key point; conversely, when the minimum Euclidean distance is greater than the preset deviation threshold, it means that there is a deviation in the first position of the manually marked key point. At this time, the coordinates of the pixel point on the edge that makes the Euclidean distance the smallest are used as the corrected second position of the key point in the area to be processed, and the coordinates of the pixel point are used as the corrected second position of the key point in the area to be processed.
[0074] Figure 4It is another schematic diagram of the DDH auxiliary diagnosis method provided by an embodiment of the present invention. It should be noted that, in the anteroposterior X-ray film of the pelvis, there will be a situation where the bony edge has a double image and the contrast is not high. In this case, when the area to be processed containing the key point is converted into a binary image, different image binarization thresholds are selected to produce different binary images, and the edges of the detection place are also different. Therefore, the present embodiment sets a preset deviation threshold to make up for the error in this regard. Wherein, the selection of the preset deviation threshold depends on the acceptable error range, so it is also applicable to the film with clear bony edges.
[0075] It can be understood that this embodiment corrects the key points with deviations in manual marking to the position of the bony edge, which avoids errors in marking key points to a certain extent. In practical applications, if the key point positions corrected by the computer are inconsistent with the positions required by the doctor, the doctor may choose not to use the key point positions corrected by the computer, but to use more appropriate key point positions marked manually.
[0076] Figure 5 FIG. 2 is another schematic diagram of the DDH auxiliary diagnosis method provided by an embodiment of the present invention. Figure 5 As shown, in the above step S4, the step of generating auxiliary diagnosis information using the second position of the key point and the identity information includes:
[0077] S401, connect the apex points Y of the acetabulum Y-shaped cartilage on both sides of the child's hip joint and extend them to generate an H line;
[0078] S402, draw perpendicular lines from the points P on the lateral edges of the acetabulum on both sides of the hip joint to the H line, generating two P lines; wherein the P line and the H line on the first side of the hip joint form a first rectangular coordinate system, and the origin of the first rectangular coordinate system is: the intersection of the P line and the H line on the first side of the hip joint, and the P line and the H line on the second side of the hip joint form a second rectangular coordinate system, and the origin of the second rectangular coordinate system is: the intersection of the P line and the H line on the second side of the hip joint;
[0079] S403, generating two D lines using the origin of the first rectangular coordinate system and the origin of the second rectangular coordinate system;
[0080] S404, determining the H point according to the second position of the two end points of the metaphysis, and determining the acetabular index and the lateral center edge angle according to the H point, the origin of the first rectangular coordinate system and the origin of the second rectangular coordinate system;
[0081] S405. Determine the critical acetabular index in the diagnostic criteria corresponding to the child according to the identity information.
[0082] In this embodiment, after the position of the key point is corrected, the accuracy of the obtained second position can reach the pixel level. Step S4 needs to draw auxiliary diagnostic markings based on this. Optionally, the auxiliary diagnostic markings include: Perkin line (P line for short), Hilgenreiner line (H line for short), and Diagonal line (D line for short).
[0083] Specifically, see Figure 5 First, connect the apex points Y of the acetabulum Y-shaped cartilage on both sides of the child's hip joint and extend them to generate the H line. Then, draw perpendicular lines to the H line through the points P on both sides of the hip joint to obtain two P lines. Figure 5 From the perspective shown, the P line and the H line located on the first side of the hip joint form a first rectangular coordinate system. The origin of the first rectangular coordinate system is the intersection of the P line and the H line. The angle bisector of the lower left quadrant of the first rectangular coordinate system is drawn through the origin of the first rectangular coordinate system to obtain the first D line.
[0084] Similarly, the P line and the H line located on the second side of the hip joint form a second rectangular coordinate system. The origin of the second rectangular coordinate system is the intersection of the second side P line and the H line. The angle bisector of the lower right quadrant of the second rectangular coordinate system is drawn through the origin of the second rectangular coordinate system to obtain the second D line.
[0085] After drawing the auxiliary diagnostic markings, the acetabular index and LCEA (lateral center-edgeangle) can be calculated based on the origin of the first rectangular coordinate system, the origin of the second rectangular coordinate system, the apex Y of the acetabular Y-shaped cartilage, and the lateral edge P of the acetabulum. These imaging evaluation indicators serve as diagnostic auxiliary information to assist doctors in subsequent diagnosis.
[0086] It should be noted that, when selecting the H point in this embodiment, the midpoint of the line connecting the two end points of the epiphysis can be used to approximate the H point.
[0087] Furthermore, based on the patient's identity information input by the doctor, such as the patient's gender, age and nationality, the critical acetabular index of the diagnostic standard corresponding to the patient is determined. Figure 6-8 is another schematic diagram of the DDH auxiliary diagnosis method provided by an embodiment of the present invention, see Figure 6-8 , the diagnostic criteria in this embodiment include Figure 6 Applicable to foreigners as shown Standard and Figure 7-8 The Shengjing standard applicable to Chinese people is shown in the figure. The above-mentioned DDH auxiliary diagnosis method obtains the critical acetabular index from these two standards according to the identity information of the child, so that the doctor can refer to the normal value range of relevant indicators in children of different age groups to complete the diagnosis of DDH and its severity classification.
[0088] Optionally, before the step of receiving the identity information of the child to whom the pelvic anteroposterior X-ray film belongs, the step further includes:
[0089] The information is generated to display a first interface for the patient's identity information and a second interface for displaying an AP X-ray of the pelvis.
[0090] After determining the critical acetabular index in the diagnostic criteria corresponding to the child based on the identity information, the following steps are also included:
[0091] The critical acetabular index is displayed in the first interface, and the H line, P line, D line, acetabular index and lateral center edge angle are displayed in the second interface.
[0092] Specifically, in the above-mentioned DDH auxiliary diagnosis method provided by the present invention, a user graphical interface is also provided. Figure 5 After receiving the identity information of the child to whom the pelvic anteroposterior X-ray film belongs in step S1, the identity information such as the child's age, gender, nationality, etc. is displayed in the first interface, and the child's pelvic anteroposterior X-ray film is displayed in the second interface.
[0093] Furthermore, after obtaining the auxiliary diagnosis information, the auxiliary diagnosis information can also be displayed in the first or second interface. Figure 5 The diagnostic auxiliary information displayed in the figure "Right AI: 22.8° (30.5°), Left AI: 24.8° (30.5°)" indicates that the actual acetabular index of the right hip joint of the child is 22.8°, and the actual acetabular index of the left hip joint is 24.8°, while the critical acetabular index obtained by looking up the table according to the patient's identity information is 30.5°. The diagnostic auxiliary information "Right LCEA: 7.3°, Left LCEA: 6.9°" indicates that the lateral center edge angle of the right hip joint of the child is 7.3°, and the lateral center edge angle of the left hip joint is 6.9°.
[0094] Fig. 9 Schematic diagram of a structure of a DDH auxiliary diagnosis device provided by an embodiment of the present invention. Fig. 9 As shown, an embodiment of the present invention further provides a DDH auxiliary diagnosis device, comprising:
[0095] The receiving module 910 is used to obtain the pelvic anteroposterior X-ray film to be diagnosed and receive the identity information of the child to whom the pelvic anteroposterior X-ray film belongs;
[0096] An acquisition module 920 is used to acquire the first position of the key points of the hip joint of the child that are manually marked;
[0097] An extraction module 930 is used to extract, for each of the key points, a region to be processed containing each key point from the pelvic anteroposterior X-ray film, and correct the first position of the key point in each region to be processed to obtain a second position of the key point;
[0098] The generation module 940 is used to generate auxiliary diagnosis information using the second position and identity information of the key point; the auxiliary diagnosis information includes: H line, P line, D line, acetabular index, lateral center edge angle and critical acetabular index in the diagnostic standard corresponding to the child.
[0099] It can be seen from the above embodiments that the beneficial effects of the present invention are:
[0100] (1) The present invention provides a DDH auxiliary diagnosis method and device. After obtaining the pelvic anteroposterior X-ray film to be diagnosed, the first position of the key point of the hip joint manually marked by the doctor is received, and then the first position of the key point is corrected by the image processing algorithm to obtain the second position of the key point, and then the accurate second position is used to generate DDH diagnosis auxiliary information. It can be seen that in the above process, the doctor only needs to mark the approximate positions of several key points, and the accuracy of the key point position after computer correction can reach the pixel level.
[0101] (2) The DDH auxiliary diagnosis method provided by the present invention combines the accuracy of doctors in obtaining key points with the powerful data analysis capabilities of computers. By providing doctors with auxiliary diagnosis information and information such as the nationality, age, and gender of the child, the doctor's work efficiency is effectively improved.
[0102] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0103] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification.
[0104] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0105] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A DDH auxiliary diagnosis method, characterized in that: include: Obtaining a pelvic anteroposterior X-ray film to be diagnosed, and receiving identity information of the child to whom the pelvic anteroposterior X-ray film belongs; Obtain the first position of the key points of the hip joint of the child that are manually marked; For each of the key points, extracting a region to be processed containing each key point from the anteroposterior X-ray film of the pelvis, and correcting the first position of the key point in each region to be processed to obtain a second position of the key point; generating auxiliary diagnosis information using the second position of the key point and the identity information; The auxiliary diagnosis information includes: H line, P line, D line, acetabular index, lateral center edge angle and critical acetabular index in the diagnostic criteria corresponding to the child; The step of extracting the regions to be processed containing each key point from the anteroposterior X-ray film of the pelvis for each key point, and correcting the first position of the key point in each region to be processed to obtain the second position of the key point includes: For each of the key points, extracting a region to be processed containing each key point from the anteroposterior X-ray film of the pelvis, and performing Canny edge detection on the region to be processed; According to the edge detection result, the first position of the key point in the area to be processed is corrected to obtain a second position; Wherein, before the step of performing Canny edge detection on the area to be processed, the method further includes: Performing grayscale processing on the area to be processed; Perform Gaussian filtering on the area to be processed after grayscale processing and convert it into a binary image; The step of correcting the first position of the key point in the area to be processed according to the edge detection result to obtain the second position includes: According to the edge detection result of the area to be processed, the coordinates of each pixel point on the edge are obtained; According to the coordinates of each pixel point on the edge and the first position of the key point in the to-be-processed area, respectively calculating the Euclidean distance between each pixel point on the edge and the key point in the to-be-processed area; Determine the minimum Euclidean distance between each pixel point on the edge and the key point in the area to be processed; If the minimum Euclidean distance is less than or equal to the preset deviation threshold, it means that there is no deviation in the first position of the manually marked key point, and the first position is used as the corrected second position of the key point; otherwise, it means that there is a deviation in the first position of the manually marked key point, and the coordinates of the pixel point corresponding to the minimum Euclidean distance on the edge are used as the corrected second position of the key point.
2. The DDH auxiliary diagnosis method according to claim 1, characterized in that: The key points include: point P of the lateral edge of the acetabulum on both sides of the hip joint of the child, point Y of the apex of the Y-shaped cartilage of the acetabulum, and two end points of the epiphysis.
3. The DDH auxiliary diagnosis method according to claim 2, characterized in that: The step of generating auxiliary diagnosis information by using the second position of the key point and the identity information comprises: Connect the apex points Y of the acetabular Y-shaped cartilage on both sides of the child's hip joint and extend them to generate an H line; Draw perpendicular lines to the H line through the lateral edges of the acetabulum points P on both sides of the hip joint, respectively, to generate two P lines; wherein the P line on the first side of the hip joint and the H line form a first rectangular coordinate system, and the origin of the first rectangular coordinate system is: the intersection of the P line on the first side of the hip joint and the H line, and the P line on the second side of the hip joint and the H line form a second rectangular coordinate system, and the origin of the second rectangular coordinate system is: the intersection of the P line on the second side of the hip joint and the H line; Generate two D lines using the origin of the first rectangular coordinate system and the origin of the second rectangular coordinate system; Determine the H point according to the second positions of the two end points of the metaphysis, and determine the acetabular index and the lateral center edge angle according to the H point, the origin of the first rectangular coordinate system and the origin of the second rectangular coordinate system; According to the identity information, a critical acetabular index in a diagnostic standard corresponding to the child is determined.
4. The DDH auxiliary diagnosis method according to claim 3, characterized in that: The identity information includes: the patient's gender, age and nationality; Before the step of receiving the identity information of the child to whom the pelvic anteroposterior X-ray film belongs, the method further includes: The information is generated to display a first interface for the patient's identity information and a second interface for displaying the pelvic anteroposterior X-ray.
5. The DDH auxiliary diagnosis method according to claim 4, characterized in that: After the step of determining the critical acetabular index in the diagnostic criteria corresponding to the child according to the identity information, the method further includes: The critical acetabular index is displayed in the first interface, and the H line, P line, D line, acetabular index and lateral center edge angle are displayed in the second interface.
6. The DDH-assisted diagnosis method according to claim 5, characterized in that: The diagnostic criteria include: Shengjing criteria for Chinese and standard.
7. A DDH auxiliary diagnosis device, characterized in that: include: A receiving module is used to obtain the pelvic anteroposterior X-ray film to be diagnosed and receive the identity information of the child to whom the pelvic anteroposterior X-ray film belongs; An acquisition module, used to acquire the first position of the key points of the hip joint of the child that are manually marked; An extraction module is used to extract, for each of the key points, a region to be processed containing each key point from the anteroposterior X-ray film of the pelvis, and to correct the first position of the key point in each region to be processed to obtain a second position of the key point; A generating module, configured to generate auxiliary diagnosis information using the second position of the key point and the identity information; The auxiliary diagnosis information includes: H line, P line, D line, acetabular index, lateral center edge angle and critical acetabular index in the diagnostic criteria corresponding to the child; The extraction module extracts the to-be-processed area containing each key point from the pelvic anteroposterior X-ray film for each key point, and corrects the first position of the key point in each to-be-processed area to obtain the second position of the key point, including: For each of the key points, extracting a region to be processed containing each key point from the anteroposterior X-ray film of the pelvis, and performing Canny edge detection on the region to be processed; According to the edge detection result, the first position of the key point in the area to be processed is corrected to obtain a second position; Wherein, before the step of performing Canny edge detection on the area to be processed, the method further includes: Performing grayscale processing on the area to be processed; Perform Gaussian filtering on the area to be processed after grayscale processing and convert it into a binary image; The step of correcting the first position of the key point in the area to be processed according to the edge detection result to obtain the second position includes: According to the edge detection result of the area to be processed, the coordinates of each pixel point on the edge are obtained; According to the coordinates of each pixel point on the edge and the first position of the key point in the to-be-processed area, respectively calculating the Euclidean distance between each pixel point on the edge and the key point in the to-be-processed area; Determine the minimum Euclidean distance between each pixel point on the edge and the key point in the area to be processed; If the minimum Euclidean distance is less than or equal to the preset deviation threshold, it means that there is no deviation in the first position of the manually marked key point, and the first position is used as the corrected second position of the key point; otherwise, it means that there is a deviation in the first position of the manually marked key point, and the coordinates of the pixel point corresponding to the minimum Euclidean distance on the edge are used as the corrected second position of the key point.
Citation Information
Patent Citations
Method for accurately extracting key point in hip joint image
CN110895809A
Hip joint image processing method and system based on magnetic resonance, storage medium and equipment
CN111563901A
DDH artificial intelligence auxiliary diagnosis method and device
CN111798976A
Hip joint key point position detection method and system based on multi-task learning
CN113362282A
Automatic grading method for ankylosing spondylitis based on multi-task deep learning
CN113763340A
