Medullary cavity morphological analysis method and device and computer equipment

By acquiring and analyzing the medullary cavity characteristic area information in the three-dimensional model, the problem of relying on manual measurement in the prior art medullary cavity morphology analysis is solved, and automated analysis and efficient results of medullary cavity morphology are achieved.

CN119722559APending Publication Date: 2025-03-28WUHAN UNITED IMAGING HEALTHCARE SURGICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311265464.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In the prior art, the morphological analysis of the medullary cavity relies on manual measurement by doctors, which is time-consuming and labor-intensive and inefficient.

Method used

A method of morphology analysis of the medullary cavity is provided. By obtaining a three-dimensional model of the part to be examined including the medullary cavity and obtaining the medullary cavity morphology information of the medullary cavity characteristic area in the three-dimensional model, in response to the display instruction, the medullary cavity morphology information corresponding to the medullary cavity position in the medullary cavity characteristic area is displayed.

Benefits of technology

Automatic analysis of the medullary cavity morphology is realized, efficiency is improved, the influence of subjective factors is reduced, and the reliability of the analysis results is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119722559A_ABST
    Figure CN119722559A_ABST
Patent Text Reader

Abstract

The invention relates to a medullary cavity morphological analysis method and device and computer equipment. The method comprises the following steps: acquiring a three-dimensional model of a to-be-detected part comprising a medullary cavity, and acquiring medullary cavity form information of a medullary cavity feature region in the three-dimensional model, so as to display the medullary cavity form information of a corresponding medullary cavity position in the medullary cavity feature region in response to a display instruction. Wherein the display instruction is used for indicating the position of the medullary cavity. According to the method, the medullary cavity form information of different medullary cavity positions in the medullary cavity feature area is determined and visually displayed based on the three-dimensional model of the to-be-detected part, automatic analysis of the medullary cavity form is achieved, the efficiency is improved, meanwhile, the influence of subjective factors is reduced, and the reliability of the analysis result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of medical technology, and in particular to a method, device and computer equipment for analyzing medullary cavity morphology. Background Art

[0002] Hip replacement is currently an effective method for treating severe hip arthritis, which can greatly reduce joint pain and improve the patient's quality of life.

[0003] In the related technology, in the preoperative stage of hip replacement, doctors need to judge and analyze the CT scan data of the patient's hip joint and femur based on their experience, and manually measure the medullary cavity morphology information on the femoral side of the hip joint, so as to select a suitable prosthesis for the patient in a targeted manner, making the installation of the hip joint prosthesis more stable, and improving the success rate of the operation and the patient's postoperative rehabilitation effect.

[0004] However, the medullary cavity morphology analysis in related technologies relies on manual measurement by doctors, which is time-consuming, labor-intensive and inefficient. Summary of the invention

[0005] Based on this, it is necessary to provide a method, device and computer equipment for medullary cavity morphology analysis to address the above technical issues.

[0006] In a first aspect, the present application provides a method for analyzing medullary cavity morphology, comprising:

[0007] Acquire a three-dimensional model of the part to be examined including the medullary cavity;

[0008] Obtaining medullary cavity morphology information of the medullary cavity characteristic area in the three-dimensional model;

[0009] In response to the display instruction, the medullary cavity morphology information corresponding to the medullary cavity position in the medullary cavity feature area is displayed; the display instruction is used to indicate the medullary cavity position.

[0010] In one embodiment, obtaining medullary cavity morphology information of a medullary cavity characteristic region in a three-dimensional model includes:

[0011] Determine the characteristic area of ​​the medullary cavity in the three-dimensional model;

[0012] The cross-sectional information of the medullary cavity characteristic region at different medullary cavity positions is obtained as the medullary cavity morphological information.

[0013] In one embodiment, the cross section is a reference cross section perpendicular to the axis of the medullary cavity in the medullary cavity feature region; obtaining cross-sectional information of the medullary cavity feature region at cross sections at different medullary cavity positions includes:

[0014] Obtain the medullary cavity size of the medullary cavity characteristic area under each reference section;

[0015] Determine the medullary cavity shape under each reference section according to the medullary cavity size under each reference section;

[0016] The medullary cavity size and medullary cavity morphology under each reference section are determined as the cross-sectional information of the medullary cavity characteristic area under different sections.

[0017] In one embodiment, the size of the medullary cavity includes a maximum diameter and a minimum diameter; and determining the medullary cavity shape at each reference section according to the size of the medullary cavity at each reference section includes:

[0018] For each reference section, an ellipse is fitted according to the maximum diameter and the minimum diameter;

[0019] The fitted ellipse is used as the medullary cavity morphology under the corresponding reference section.

[0020] In one embodiment, determining a characteristic region of a medullary cavity in a three-dimensional model includes:

[0021] Determine the starting point and end point of the characteristic area of ​​the medullary cavity according to the three-dimensional model;

[0022] The area between the starting position and the end position in the three-dimensional model is determined as the medullary cavity characteristic area.

[0023] In one embodiment, determining the starting position and the ending position of the medullary cavity characteristic region according to the three-dimensional model includes:

[0024] Identify and determine the structural feature points in the three-dimensional model, and determine the starting position of the medullary cavity feature area according to the positions of the structural feature points;

[0025] The isthmus position of the medullary cavity in the three-dimensional model is determined, and the end position of the medullary cavity characteristic area is determined according to the isthmus position of the medullary cavity.

[0026] In one embodiment, the method further comprises:

[0027] Receiving a user's adjustment operation on the medullary cavity position; the adjustment operation includes a user's selection adjustment operation on at least one medullary cavity position in the medullary cavity feature area, or a user's sliding adjustment operation on a sliding component; the sliding component is used to adjust the medullary cavity position;

[0028] Generate display instructions corresponding to the adjustment operation.

[0029] In one embodiment, when the part to be inspected is a femur, obtaining a three-dimensional model of the part to be inspected including a medullary cavity comprises:

[0030] Acquiring medical images including the part to be examined;

[0031] Segment the medical image to obtain a target area image including a femoral tissue area and a medullary cavity area;

[0032] A three-dimensional model of the femur is generated based on the target area image.

[0033] In a second aspect, the present application also provides a medullary cavity morphology analysis device, comprising:

[0034] A model acquisition module, used for acquiring a three-dimensional model of the part to be examined including the medullary cavity;

[0035] A morphology acquisition module, used to acquire the medullary cavity morphology information of the medullary cavity characteristic area in the three-dimensional model;

[0036] The information display module is used to display the medullary cavity morphology information corresponding to the medullary cavity position in the medullary cavity feature area in response to the display instruction; the display instruction is used to indicate the medullary cavity position.

[0037] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above-mentioned medullary cavity morphology analysis methods when executing the computer program.

[0038] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above-mentioned medullary cavity morphology analysis methods when the computer program is executed by a processor.

[0039] In a fifth aspect, the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned medullary cavity morphology analysis methods.

[0040] The above-mentioned medullary cavity morphology analysis method, device and computer equipment obtain a three-dimensional model of the part to be inspected including the medullary cavity, and obtain the medullary cavity morphology information of the medullary cavity characteristic area in the three-dimensional model, so as to respond to the display instruction and display the medullary cavity morphology information of the medullary cavity characteristic area corresponding to the medullary cavity position. The display instruction is used to indicate the medullary cavity position. In the above-mentioned method, the medullary cavity morphology information of different medullary cavity positions in the medullary cavity characteristic area is determined and visually displayed based on the three-dimensional model of the part to be inspected, thereby realizing the automated analysis of the medullary cavity morphology, improving efficiency while reducing the influence of subjective factors and improving the reliability of the analysis results. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 is an internal structure diagram of a computer device in one embodiment;

[0042] Figure 2 A schematic diagram of a flow chart of a method for analyzing medullary cavity morphology in one embodiment;

[0043] Figure 3 A schematic diagram of a process for obtaining medullary cavity morphology information in one embodiment;

[0044] Figure 4A schematic diagram of a process for obtaining cross-sectional information in one embodiment;

[0045] Figure 5 A schematic diagram of a process for determining the morphology of a medullary cavity in one embodiment;

[0046] Figure 6 A schematic diagram of a flow chart for determining a characteristic region of a medullary cavity in one embodiment;

[0047] Figure 7 A schematic diagram of a flow chart of generating a display instruction in one embodiment;

[0048] Figure 8 A schematic diagram of a flow chart for determining a characteristic region of a medullary cavity in one embodiment;

[0049] Fig. 9 A schematic diagram of an interface showing a three-dimensional model of a femur in one embodiment;

[0050] Fig.10 A schematic diagram of an interface showing a sliding component in an embodiment;

[0051] Fig.11 A schematic diagram of a process for generating a three-dimensional model of a femur in one embodiment;

[0052] Fig.12 is a schematic diagram of a three-dimensional model of a femur in one embodiment;

[0053] Fig.13 is a schematic diagram of an MPR view of a femur in one embodiment;

[0054] Fig.14 1 is a structural block diagram of a medullary cavity morphology analysis device in one embodiment. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0056] The medullary cavity morphology analysis method provided in the embodiment of the present application can be applied to Figure 1The computer device shown in the figure can be a terminal. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for analyzing the morphology of the medullary cavity is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the housing of the computer device, or an external keyboard, touchpad or mouse.

[0057] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0058] In one embodiment, if Figure 2 As shown, a method for analyzing medullary cavity morphology is provided, and the method is applied to Figure 1 The computer device in the example is used to illustrate, including the following steps:

[0059] S210, obtaining a three-dimensional model of the part to be inspected including the medullary cavity.

[0060] In the medical field, the medullary cavity is a cavity formed by bone tissue surrounding hematopoietic tissue (such as bone marrow). Exemplarily, the part to be inspected including the medullary cavity can be a femur. The three-dimensional model of the part to be inspected including the medullary cavity is a three-dimensional digital model of the part to be inspected including the medullary cavity.

[0061] Optionally, the computer device can communicate with a medical imaging device, the medical imaging device is used to perform image scanning on the part to be inspected including the medullary cavity, and construct a three-dimensional model of the part to be inspected including the medullary cavity based on the obtained scanned image, and the computer device can directly obtain the three-dimensional model of the part to be inspected including the medullary cavity obtained based on the medical imaging device. The computer device can also include a scanning module for performing image scanning, so that the part to be inspected including the medullary cavity is image scanned by the scanning module, and the three-dimensional model of the part to be inspected including the medullary cavity is constructed based on the obtained scanned image.

[0062] S220, obtaining medullary cavity morphology information of the medullary cavity characteristic area in the three-dimensional model.

[0063] Wherein, the medullary cavity characteristic area is an area in the part to be inspected that reflects the distribution characteristics of the medullary cavity. Exemplarily, the medullary cavity characteristic area may include the entire medullary cavity area in the part to be inspected, or may include a partial medullary cavity area in the part to be inspected, such as the middle medullary cavity area. The medullary cavity morphology information is used to characterize the morphological characteristics of the medullary cavity. Exemplarily, the medullary cavity morphology information may include at least one of the cross-sectional size and shape of the medullary cavity, and the size and shape of the longitudinal section (also referred to as "section").

[0064] Optionally, after obtaining the three-dimensional model of the part to be inspected including the medullary cavity, the computer device may determine the medullary cavity characteristic region in the three-dimensional model based on the preset prior position of the medullary cavity characteristic region, and correspondingly obtain the medullary cavity morphology information of the medullary cavity characteristic region. Exemplarily, when the medullary cavity morphology information includes the longitudinal section size and shape of the medullary cavity, the computer device may longitudinally cut the medullary cavity characteristic region in the three-dimensional model to form a longitudinal section view of the medullary cavity characteristic region, and extract the regional contour of the medullary cavity characteristic region based on the longitudinal section view to obtain the size and shape of the regional contour and use it as the longitudinal section size and shape of the medullary cavity, that is, to obtain the medullary cavity morphology information of the medullary cavity characteristic region in the three-dimensional model.

[0065] Optionally, the computer device can also input the three-dimensional model of the part to be inspected into a pre-selected trained region recognition model to extract the medullary cavity feature region in the three-dimensional model. The region recognition model can be a deep learning model trained by using a large number of three-dimensional models of similar parts to be inspected including marking information as training samples, such as a convolutional neural network (CNN) model.

[0066] For example, in the scenario of assisting hip replacement surgery, the part to be inspected including the medullary cavity is the patient's femur, and the three-dimensional model of the part to be inspected is the three-dimensional model of the femur. The marking information in the training sample includes the left and right femoral tissue areas in the three-dimensional model of the femur, and the upper and lower endpoints of the left and right medullary cavities. The upper and lower endpoints of the left and right medullary cavities can be used to characterize the starting point position of the medullary cavity feature area. The training sample can be obtained from the lower limb medical image library.

[0067] S230. In response to the display instruction, display the medullary cavity morphology information corresponding to the medullary cavity position in the medullary cavity feature area; the display instruction is used to indicate the medullary cavity position.

[0068] The medullary cavity morphology information of different medullary cavity positions is different. The display instruction can be manually triggered based on the user's input operation, or it can be automatically triggered. The computer device is equipped with a display unit, which can be used to display the medullary cavity morphology information.

[0069] Optionally, when a display instruction is manually triggered, the computer device can render and display a three-dimensional model of the part to be inspected through a display unit, and receive input operations performed by the user through input components (such as keyboard, mouse) or touch methods, and then trigger a display instruction for the medullary cavity position indicated by the input operation, and then display the medullary cavity morphology information of the corresponding medullary cavity position through the display unit.

[0070] Exemplarily, continuing with the above example, when the medullary cavity morphology information includes the longitudinal cross-sectional size and shape of the medullary cavity, the user can select the medullary cavity position in the three-dimensional model displayed by the display unit by touch to trigger a display instruction for indicating the medullary cavity position selected by the user, and the computer device responds to the display instruction by displaying the longitudinal cross-sectional size and shape of the medullary cavity of the medullary cavity position through the display unit as the medullary cavity morphology information corresponding to the medullary cavity position.

[0071] Optionally, when the display instruction is automatically triggered, the computer device can render and display the three-dimensional model of the part to be inspected through the display unit, trigger the display instructions indicating different preset medullary cavity positions in a preset order, and then display the medullary cavity morphology information of the corresponding preset medullary cavity positions through the display unit.

[0072] Exemplarily, the preset sequence may include a preset medullary cavity position ① that corresponds to the entire medullary cavity region first, a preset medullary cavity position ② that corresponds to the middle medullary cavity region second, and a preset medullary cavity position ③ that corresponds to the medullary cavity regions on both sides last. The computer device may first trigger the display instruction indicating the preset medullary cavity position ① in the preset sequence to display the medullary cavity morphology information of the preset medullary cavity position ① accordingly; then trigger the display instruction indicating the preset medullary cavity position ② to display the medullary cavity morphology information of the preset medullary cavity position ② accordingly; finally trigger the display instruction indicating the preset medullary cavity position ③ to display the medullary cavity morphology information of the preset medullary cavity position ③ accordingly, and may further periodically display the medullary cavity morphology information of each preset medullary cavity position in this preset sequence.

[0073] In an embodiment of the present application, by obtaining a three-dimensional model of the part to be inspected including the medullary cavity, and obtaining the medullary cavity morphology information of the medullary cavity characteristic area in the three-dimensional model, in response to a display instruction, the medullary cavity morphology information of the corresponding medullary cavity position in the medullary cavity characteristic area is displayed. The display instruction is used to indicate the medullary cavity position. In the above method, the medullary cavity morphology information of different medullary cavity positions in the medullary cavity characteristic area is determined and visually displayed based on the three-dimensional model of the part to be inspected, thereby realizing the automated analysis of the medullary cavity morphology, improving efficiency while reducing the influence of subjective factors and improving the reliability of the analysis results.

[0074] In the medical field, especially in joint replacement surgery, the cross-sectional information of the medullary cavity is the key information for determining the replacement prosthesis, so obtaining the cross-sectional information of the medullary cavity is the key to the medullary cavity morphology analysis. Based on this, in one embodiment, Figure 3 As shown, the above S220, obtaining the medullary cavity morphology information of the medullary cavity characteristic area in the three-dimensional model, includes:

[0075] S310: Determine a characteristic region of the medullary cavity in the three-dimensional model.

[0076] Optionally, the computer device may determine the medullary cavity feature area in the three-dimensional model based on the preset prior position of the medullary cavity feature area. Exemplarily, the preset prior position of the medullary cavity feature area is located in the middle area of ​​the three-dimensional model, and the computer device determines that the middle area of ​​the three-dimensional model is the medullary cavity feature area. The computer device may also determine the medullary cavity feature area in the three-dimensional model based on the regional characteristics of the medullary cavity feature area. Exemplarily, the regional characteristics of the medullary cavity feature area are that the medullary cavity size gradually increases / decreases from one end of the medullary cavity to the other end, and the computer device determines that the area in the three-dimensional model that meets the above regional characteristics is the medullary cavity feature area.

[0077] Optionally, after determining the medullary cavity characteristic region in the three-dimensional model, the computer device may display the medullary cavity characteristic region separately from other regions in the three-dimensional model. Exemplarily, the medullary cavity characteristic region in the three-dimensional model may be highlighted in a bright color.

[0078] S320, obtaining cross-sectional information of the medullary cavity characteristic region at different medullary cavity positions as medullary cavity morphology information.

[0079] The cross-sectional information is used for the contour features of the medullary cavity under the cross section. Exemplarily, the contour features of the medullary cavity may include the size and / or shape of the medullary cavity contour.

[0080] Optionally, after determining the medullary cavity characteristic area in the three-dimensional model, the computer device can obtain the medullary cavity cross-sectional images of the medullary cavity characteristic area at different medullary cavity positions, and extract the medullary cavity contour in each medullary cavity cross-sectional image to obtain the size and shape of the medullary cavity contour, that is, to obtain the cross-sectional information of the medullary cavity characteristic area at the cross-sectional area at the corresponding medullary cavity position, and use it as the medullary cavity morphology information.

[0081] Optionally, in order to obtain the medullary cavity cross-sectional images of the medullary cavity characteristic region under the cross-sectional images at different medullary cavity positions, the computer device may generate cross-sectional images at different medullary cavity positions in the corresponding medullary cavity characteristic region after determining the medullary cavity characteristic region in the three-dimensional model, and use the corresponding cross-sectional images to perform cross-sectional cutting on the medullary cavity characteristic region to obtain the medullary cavity cross-sectional images of the medullary cavity characteristic region under the cross-sectional images at different medullary cavity positions. A reference cross-sectional image parallel to the medullary cavity cross-sectional image may also be generated, and the reference cross-sectional image may be used to perform cross-sectional cutting on the medullary cavity characteristic region with one end of the medullary cavity characteristic region as the cutting starting point and the other end as the cutting terminal to obtain the medullary cavity cross-sectional images of the medullary cavity characteristic region under the cross-sectional images at different medullary cavity positions.

[0082] In the embodiment of the present application, the characteristic region of the medullary cavity in the three-dimensional model is determined to obtain cross-sectional information of the characteristic region of the medullary cavity at different medullary cavity positions as medullary cavity morphology information. In the above method, the cross-sectional information of the characteristic region of the medullary cavity at different medullary cavity positions is used as the medullary cavity morphology information, i.e., the medullary cavity morphology analysis result, to assist subsequent medical operations, and accordingly improve the practical application value of the medullary cavity morphology analysis method.

[0083] The cross sections at different medullary cavity positions are reference cross sections perpendicular to the medullary cavity axis in the medullary cavity feature area. Based on this, in one embodiment, Figure 4 As shown, the step of obtaining cross-sectional information of the medullary cavity characteristic region at different medullary cavity positions in S320 includes:

[0084] S410, obtaining the medullary cavity size of the medullary cavity characteristic region in each reference cross section.

[0085] The medullary cavity axis is the line connecting the midpoints of the two ends of the medullary cavity characteristic area.

[0086] Optionally, the computer device can obtain a line connecting the midpoints of both ends of the medullary cavity characteristic area as the medullary cavity axis, and generate a plane perpendicular to the medullary cavity axis as a reference section, thereby obtaining a medullary cavity cross-sectional view of the medullary cavity characteristic area under each reference section, and extracting the medullary cavity contour in each medullary cavity cross-sectional view to obtain the size of the medullary cavity contour as the medullary cavity size.

[0087] Optionally, the computer device may generate reference sections corresponding to different medullary cavity positions in the medullary cavity feature region, and use the corresponding reference sections to perform cross-section cutting on the medullary cavity feature region to obtain the medullary cavity cross-sectional view of the medullary cavity feature region under each reference section. The generated reference section may also be used to perform cross-sectional cutting of the medullary cavity feature region with one end of the medullary cavity feature region as the cutting starting point and the other end as the cutting end point, and perform cross-sectional cutting of the medullary cavity feature region with a preset step length to obtain the medullary cavity cross-sectional view of the medullary cavity feature region under each reference section.

[0088] S420, determining the medullary cavity shape at each reference cross section according to the medullary cavity size at each reference cross section.

[0089] Among them, the morphology of the medullary cavity under the reference section depends on the size of the medullary cavity.

[0090] Optionally, after obtaining the medullary cavity size at each reference cross section, the computer device may determine the corresponding medullary cavity morphology based on the medullary cavity size for each reference cross section to obtain the medullary cavity morphology at each reference cross section.

[0091] S430, determining the medullary cavity size and medullary cavity shape at each reference cross section as cross-sectional information of the medullary cavity characteristic region at different cross sections.

[0092] Optionally, after obtaining the medullary cavity size and medullary cavity morphology at each reference section, the computer device can associate the medullary cavity size and medullary cavity morphology at the same reference section and use them as cross-sectional information of the medullary cavity characteristic area at the corresponding reference section, that is, obtain cross-sectional information of the medullary cavity characteristic area at different sections.

[0093] Typically, the medullary cavity is approximately elliptical in shape, and the medullary cavity size includes a maximum diameter and a minimum diameter. In one optional embodiment, Figure 5 As shown, the above S420, determining the medullary cavity shape under each reference cross section according to the medullary cavity size under each reference cross section, includes:

[0094] S510 , for each reference cross section, fitting an ellipse according to the maximum diameter and the minimum diameter.

[0095] Optionally, for each reference section, the computer device may perform contour analysis on the medullary cavity cross-sectional view corresponding to each reference section to determine the maximum diameter and minimum diameter of the medullary cavity contour in the medullary cavity cross-sectional view, and fit an ellipse based on the maximum diameter and the minimum diameter.

[0096] To obtain the maximum diameter and minimum diameter of the medullary cavity, illustratively, the computer device can generate a reference line in the medullary cavity cross-sectional view, which is located in the plane of the medullary cavity cross-sectional view and passes through the point where the medullary cavity axis is located in the medullary cavity cross-sectional view, and rotate the reference line in a clockwise / counterclockwise direction at a preset angle step (such as 1°). Each time it rotates, the straight-line distance between the intersection of the reference line and the medullary cavity contour is obtained accordingly, until the reference line returns to the rotation starting point (i.e., rotates 360°), and multiple straight-line distances can be obtained. The computer device further compares the sizes of the multiple straight-line distances to determine that the maximum straight-line distance is the maximum diameter of the medullary cavity under the corresponding reference section, and determines that the minimum straight-line distance is the minimum diameter of the medullary cavity under the corresponding reference section.

[0097] S520, using the fitted ellipse as the medullary cavity morphology corresponding to the reference section.

[0098] Optionally, for each reference section, the computer device may directly use the ellipse obtained by fitting the maximum diameter and the minimum diameter under the corresponding reference section as the medullary cavity morphology under the corresponding reference section.

[0099] In the embodiment of the present application, the medullary cavity size of the medullary cavity characteristic area under each reference section is obtained, and the medullary cavity morphology under each reference section is determined according to the medullary cavity size under each reference section, and then the medullary cavity size and medullary cavity morphology under each reference section are determined as the cross-sectional information of the medullary cavity characteristic area under different sections. Among them, the section is a reference section perpendicular to the medullary cavity axis in the medullary cavity characteristic area. The medullary cavity size includes a maximum diameter and a minimum diameter. Specifically, for each reference section, an ellipse can be fitted according to the maximum diameter and the minimum diameter, so that the fitted ellipse is used as the medullary cavity morphology under the corresponding reference section. In the above method, the medullary cavity size and the medullary cavity morphology are used as cross-sectional information at the same time, which improves the richness and comprehensiveness of the cross-sectional information, and the medullary cavity morphology is obtained by fitting an ellipse based on the maximum diameter and the minimum diameter in the medullary cavity size. The fitting simplifies the process of determining the medullary cavity morphology, and correspondingly improves the overall analysis efficiency.

[0100] To simplify the process of locating the characteristic region of the medullary cavity in the three-dimensional model, in one embodiment, Figure 6 As shown, the above S310, determining the characteristic region of the medullary cavity in the three-dimensional model, includes:

[0101] S610: Determine the starting point and the end point of the medullary cavity characteristic region according to the three-dimensional model.

[0102] Optionally, the computer device can input the three-dimensional model of the part to be inspected into a pre-selected trained position recognition model to extract the starting position and the end position in the three-dimensional model. The position recognition model can be a deep learning model trained by using a large number of three-dimensional models of similar parts to be inspected including marked positions as training samples, such as a CNN model.

[0103] For example, in the scenario of assisting hip replacement surgery, the part to be inspected including the medullary cavity is the patient's femur, the three-dimensional model of the part to be inspected is the three-dimensional model of the femur, and the marked positions in the training sample include the upper and lower endpoints of the left and right medullary cavities in the three-dimensional model of the femur. The positions of the upper and lower endpoints of the left and right medullary cavities are the starting position and the end position of the medullary cavity feature area.

[0104] S620: Determine the area between the starting position and the end position in the three-dimensional model as the medullary cavity characteristic area.

[0105] Optionally, after obtaining the starting position and the ending position of the medullary cavity characteristic region in the three-dimensional model, the computer device may directly determine that the region between the starting position and the ending position in the three-dimensional model is the medullary cavity characteristic region.

[0106] In the embodiment of the present application, the starting position and the end position of the medullary cavity characteristic region are determined according to the three-dimensional model, and the region between the starting position and the end position in the three-dimensional model is determined as the medullary cavity characteristic region. In the above method, it is only necessary to determine the starting position and the end position of the medullary cavity characteristic region, so as to directly use the region between the starting position and the end position in the three-dimensional model as the medullary cavity characteristic region, which simplifies the positioning process of the medullary cavity characteristic region in the three-dimensional model, saves the positioning time, and correspondingly improves the overall analysis efficiency.

[0107] In order to reduce the influence of individual differences on the starting position and the end position of the medullary cavity characteristic region, in one embodiment, as Figure 7 As shown, the above S610, determining the starting position and the ending position of the medullary cavity characteristic area according to the three-dimensional model, includes:

[0108] S710: Identify and determine structural feature points in the three-dimensional model, and determine the starting position of the medullary cavity feature area according to the positions of the structural feature points.

[0109] The structural feature point corresponds to the inherent structure in the part to be inspected, has a preset position relationship with the starting position of the medullary cavity feature area, and can be used to locate the starting position of the medullary cavity feature area on the three-dimensional model. For example, taking the femur as the part to be inspected, the structural feature point corresponds to the lesser trochanter of the femur.

[0110] Optionally, the computer device can identify and determine the structural feature points in the three-dimensional model, and obtain a preset position relationship between the structural feature points and the starting position of the medullary cavity feature area, so as to determine the starting position of the medullary cavity feature area on the three-dimensional model based on the position of the structural feature points in the three-dimensional model and the preset position relationship.

[0111] Optionally, in order to identify the structural feature points in the three-dimensional model, the computer device may determine a feature area in the three-dimensional model that matches the structural feature based on the structural feature of the inherent structure corresponding to the structural feature point, and determine the structural feature point according to the feature area. Exemplarily, the computer device may take the center point of the feature area as the structural feature point. The computer device may also input the three-dimensional model into a pre-trained structural recognition model so that the structural recognition model can recognize the structural feature points in the three-dimensional model.

[0112] S720: Determine the position of the isthmus of the medullary cavity in the three-dimensional model, and determine the end position of the medullary cavity characteristic area according to the position of the isthmus of the medullary cavity.

[0113] The isthmus position of the medullary cavity can be determined based on the medullary cavity size under the corresponding reference section. For example, the isthmus position of the medullary cavity can be the position of the minimum medullary cavity size under the corresponding reference section in the three-dimensional model, or can be the position of the minimum medullary cavity area under the corresponding reference section in the three-dimensional model. The medullary cavity area can be determined based on the medullary cavity size.

[0114] Optionally, in the process of determining the medullary cavity size under each reference section, the computer device may compare the sizes of the medullary cavity sizes / medullary cavity areas under adjacent reference sections to determine the position of the minimum medullary cavity size / minimum medullary cavity area under the corresponding reference section in the three-dimensional model as the isthmus position of the medullary cavity, and further determine the end position of the medullary cavity characteristic area according to the isthmus position of the medullary cavity. Exemplarily, the computer device may directly use the isthmus position of the medullary cavity in the three-dimensional model as the end position of the medullary cavity characteristic area, or may use the isthmus position of the medullary cavity on the three-dimensional model, extending a preset distance in a direction away from the starting position of the medullary cavity characteristic area, as the end position of the medullary cavity characteristic area.

[0115] In the embodiment of the present application, the structural feature points in the three-dimensional model are identified and determined, and the starting position of the medullary cavity feature area is determined according to the position of the structural feature points, so as to determine the isthmus position of the medullary cavity in the three-dimensional model, and the end position of the medullary cavity feature area is determined according to the isthmus position of the medullary cavity. In the above method, due to the structural characteristics of the part to be inspected, the three-dimensional model of the part to be inspected includes structural feature points of the corresponding inherent structure and the isthmus position of the medullary cavity, and then the starting position of the medullary cavity feature area is determined based on the structural feature points, and the end position of the medullary cavity feature area is determined based on the isthmus position of the medullary cavity, which reduces the influence of individual differences on the starting position and the end position of the medullary cavity feature area, and correspondingly improves the positioning accuracy of the starting position and the end position.

[0116] In the case of manually triggering the display instruction, in one embodiment, such as Figure 8 As shown, the above method also includes:

[0117] S810, receiving a user's adjustment operation on the medullary cavity position; the adjustment operation includes a user's selection adjustment operation on at least one medullary cavity position in the medullary cavity feature area, or a user's sliding adjustment operation on a sliding component; the sliding component is used to adjust the medullary cavity position.

[0118] The user's adjustment operation on the medullary cavity position may be performed by the user directly acting on the display unit in a touch manner, or may be performed by the user with the aid of an input device.

[0119] Optionally, the computer device can display a three-dimensional model of the part to be inspected through a display unit, and the user can perform a selection and adjustment operation on at least one medullary cavity position in the medullary cavity feature area based on the displayed three-dimensional model. The computer device receives the selection and adjustment operation accordingly to change the indicated medullary cavity position.

[0120] For example, taking the femur as an example, the three-dimensional model (part) of the femur displayed by the display unit is as follows: Fig. 9 The computer device may also use an ellipse graphic element to highlight the starting position A and the end position B of the corresponding medullary cavity feature area, and may also use an ellipse graphic element to display the medullary cavity position S selected by the user, and simultaneously display the medullary cavity size corresponding to the medullary cavity position s, such as the minimum diameter and the maximum diameter. The displayed ellipse graphic element is generated based on the enlarged medullary cavity shape corresponding to the medullary cavity position.

[0121] Optionally, the sliding component for adjusting the position of the medullary cavity is a virtual sliding component. The computer device can display the virtual sliding component through a display unit. The user can perform a sliding adjustment operation on the adjustment line on the virtual sliding component based on the displayed three-dimensional model, and the computer device receives and selects the sliding adjustment operation accordingly to change the indicated medullary cavity position. The position of the adjustment line on the virtual sliding component corresponds one-to-one to the medullary cavity position of the medullary cavity feature area in the three-dimensional model.

[0122] For example, taking the femur as an example, the virtual sliding component displayed by the display unit may be as follows: Fig.10 The computer device can also display the dynamic adjustment process of the adjustment line L sliding on the virtual sliding component, and synchronously display the medullary cavity size corresponding to the medullary cavity position, such as the maximum diameter (i.e., the long diameter in the figure) and the minimum diameter (i.e., the short diameter in the figure).

[0123] Optionally, the display unit of the computer device can also synchronously display the three-dimensional model of the cost part and the sliding component, wherein the display information on the three-dimensional model can change synchronously with the user's adjustment operation on the sliding component.

[0124] S820: Generate a display instruction corresponding to the adjustment operation.

[0125] Optionally, after receiving the user's adjustment operation on the medullary cavity position, the computer device may generate a display instruction carrying the medullary cavity position corresponding to the adjustment operation as a display instruction corresponding to the adjustment operation.

[0126] In an embodiment of the present application, by receiving the user's adjustment operation on the medullary cavity position, a display instruction corresponding to the adjustment operation is generated. The adjustment operation includes the user's selection adjustment operation on at least one medullary cavity position in the medullary cavity feature area, or the user's sliding adjustment operation on the sliding component. The sliding component is used to adjust the medullary cavity position. Through the above method, flexible adjustment of the medullary cavity position is achieved, while improving the intuitiveness and convenience of the adjustment, which helps the user to efficiently and accurately adjust the medullary cavity position according to actual needs.

[0127] The medullary cavity is a cavity formed by bone tissue surrounding hematopoietic tissue (such as bone marrow). Therefore, the part to be inspected includes not only the medullary cavity but also the bone tissue. When the part to be inspected is the femur, the femur correspondingly includes the medullary cavity and the bone tissue. Based on this, in one embodiment, Fig.11 As shown, the above S210, obtaining a three-dimensional model of the part to be inspected including the medullary cavity, includes:

[0128] S1110 , obtaining a medical image including the part to be examined.

[0129] The medical image is a medical fluoroscopic image. For example, the medical image may be a computed tomography (CT) image or a magnetic resonance (MR) image.

[0130] Optionally, the computer device can communicate with a medical imaging device, and the medical imaging device is used to perform an image scan on the patient's lower limbs to obtain a medical image including a femur, and the computer device can directly obtain the medical image obtained based on the medical imaging device. The computer device can also include a scanning module for performing an image scan, so that the scanning module can perform an image scan on the patient's lower limbs to obtain a medical image of the femur to be examined.

[0131] S1120, segmenting the medical image to obtain a target area image including a bone tissue area and a medullary cavity area.

[0132] The femoral tissue region in the medical image corresponds to the bone tissue of the femur (ie, “femoral tissue”), and the medullary cavity region in the medical image corresponds to the medullary cavity of the femur.

[0133] Optionally, after obtaining a medical image including a femur, the computer device can input the medical image into a pre-trained segmentation model so that the segmentation model can segment the medical image to obtain the femoral tissue area and medullary cavity area in the medical image, and use the image including the femoral tissue area and medullary cavity area in the medical image as the target area image.

[0134] For example, the segmentation model can be a deep learning model, such as a CNN model, obtained by training a large number of three-dimensional models of femurs including label information as training samples. The label information in the training samples includes the left and right femoral tissue areas and the medullary cavity area in the three-dimensional model of the femur. The medullary cavity area can be specifically represented by the upper and lower endpoints of the left and right medullary cavities.

[0135] S1130, generating a three-dimensional model of the femur according to the target area image.

[0136] Optionally, after obtaining the target area image including the femoral tissue area and the medullary cavity area, the computer device can obtain the three-dimensional mesh data of the femur based on the target area image, and use the image rendering engine to render and generate a mesh view of the femur, i.e., a three-dimensional model of the femur, according to the three-dimensional mesh data of the femur. For example, the generated three-dimensional model of the femur is as follows: Fig.12 shown.

[0137] Optionally, the computer device can also generate a multi-planar reconstruction (MPR) view of the part to be examined based on the medical image including the part to be examined, so that the user can view the medullary cavity of the femur based on a three-dimensional perspective and a planar perspective at the same time. Exemplarily, the computer device can specifically generate MPR views of the transverse crown of the femur in three directions. For example, Fig.13 This is an MPR view of a femur, wherein the medullary cavity can be displayed in the form of a mask and the femoral tissue can be displayed in the form of a contour line in the MPR view.

[0138] In the embodiment of the present application, by acquiring a medical image including the part to be inspected and segmenting the medical image, a target area image including the femoral tissue area and the medullary cavity area is obtained, and then a three-dimensional model of the femur is generated according to the target area image. In the above method, the accurate construction of the three-dimensional model of the femur is achieved, the model accuracy is improved, and the accuracy of the medullary cavity morphology analysis based on the three-dimensional model is correspondingly improved.

[0139] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0140] Based on the same inventive concept, the embodiment of the present application also provides a medullary cavity morphology analysis device for implementing the medullary cavity morphology analysis method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more medullary cavity morphology analysis device embodiments provided below can refer to the limitations of the medullary cavity morphology analysis method above, and will not be repeated here.

[0141] In one embodiment, Fig.14 As shown, a medullary cavity morphology analysis device is provided, comprising: a model acquisition module 1401, a morphology acquisition module 1402 and an information display module 1403, wherein:

[0142] The model acquisition module 1401 is used to acquire a three-dimensional model of the part to be inspected including the medullary cavity;

[0143] The morphology acquisition module 1402 is used to acquire the medullary cavity morphology information of the medullary cavity characteristic area in the three-dimensional model;

[0144] The information display module 1403 is used to display the medullary cavity morphology information corresponding to the medullary cavity position in the medullary cavity feature area in response to the display instruction; the display instruction is used to indicate the medullary cavity position.

[0145] In one embodiment, the morphology acquisition module 1402 includes:

[0146] A region submodule is used to determine the characteristic region of the medullary cavity in the three-dimensional model;

[0147] The information submodule is used to obtain cross-sectional information of the medullary cavity characteristic region at different medullary cavity positions as medullary cavity morphology information.

[0148] In one embodiment, the cross section is a reference cross section of the medullary cavity axis in the vertical medullary cavity feature area; the information submodule includes:

[0149] A size unit, used to obtain the size of the medullary cavity in the characteristic area of ​​the medullary cavity under each reference section;

[0150] A morphology unit, used to determine the morphology of the medullary cavity at each reference cross section according to the size of the medullary cavity at each reference cross section;

[0151] The information unit is used to determine the medullary cavity size and medullary cavity shape under each reference cross section as the cross-sectional information of the medullary cavity characteristic area under different cross sections.

[0152] In one embodiment, the medullary cavity size includes a maximum diameter and a minimum diameter; and the morphological unit includes:

[0153] A fitting subunit, for fitting an ellipse according to a maximum diameter and a minimum diameter for each reference cross section;

[0154] The morphology subunit is used to use the fitted ellipse as the medullary cavity morphology under the corresponding reference section.

[0155] In one embodiment, the region submodule includes:

[0156] A position unit, used for determining a starting position and an end position of a medullary cavity characteristic area according to a three-dimensional model;

[0157] The area unit is used to determine that the area between the starting position and the end position in the three-dimensional model is the medullary cavity characteristic area.

[0158] In one embodiment, the location unit includes:

[0159] The feature subunit is used to identify and determine the structural feature points in the three-dimensional model, and determine the starting position of the medullary cavity feature area according to the position of the structural feature points;

[0160] The isthmus subunit is used to determine the isthmus position of the medullary cavity in the three-dimensional model, and determine the end point position of the medullary cavity characteristic area according to the isthmus position of the medullary cavity.

[0161] In one of the embodiments, the above-mentioned device further includes: an adjustment receiving module and an instruction generating module;

[0162] An adjustment receiving module is used to receive an adjustment operation of the medullary cavity position by a user; the adjustment operation includes a selection adjustment operation of at least one medullary cavity position in the medullary cavity feature area by a user, or a sliding adjustment operation of a sliding component by a user; the sliding component is used to adjust the medullary cavity position;

[0163] The instruction generation module is used to generate display instructions corresponding to the adjustment operation.

[0164] In one embodiment, when the part to be inspected is a femur, the model acquisition module 1401 includes:

[0165] An imaging submodule, used to obtain medical images including the part to be examined;

[0166] The segmentation submodule is used to segment the medical image to obtain a target area image including a femoral tissue area and a medullary cavity area;

[0167] The generation submodule is used to generate a three-dimensional model of the femur according to the target area image.

[0168] Each module in the above-mentioned medullary cavity morphology analysis device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0169] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0170] Acquire a three-dimensional model of the part to be inspected including the medullary cavity; acquire medullary cavity morphology information of the medullary cavity characteristic area in the three-dimensional model; and display the medullary cavity morphology information corresponding to the medullary cavity position in the medullary cavity characteristic area in response to a display instruction; the display instruction is used to indicate the medullary cavity position.

[0171] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0172] Determine the medullary cavity characteristic region in the three-dimensional model; obtain cross-sectional information of the medullary cavity characteristic region at different medullary cavity positions as medullary cavity morphology information.

[0173] In one embodiment, the cross section is a reference cross section perpendicular to the axis of the medullary cavity in the feature area of ​​the medullary cavity; when the processor executes the computer program, the following steps are also implemented:

[0174] The medullary cavity size of the medullary cavity characteristic area under each reference section is obtained; the medullary cavity morphology under each reference section is determined according to the medullary cavity size under each reference section; and the medullary cavity size and medullary cavity morphology under each reference section are determined as the cross-sectional information of the medullary cavity characteristic area under different sections.

[0175] In one embodiment, the medullary cavity size includes a maximum diameter and a minimum diameter; when the processor executes the computer program, the following steps are also implemented:

[0176] For each reference section, an ellipse is fitted according to the maximum diameter and the minimum diameter; the fitted ellipse is used as the medullary cavity morphology under the corresponding reference section.

[0177] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0178] The starting point and the end point of the medullary cavity characteristic region are determined according to the three-dimensional model; and the region between the starting point and the end point in the three-dimensional model is determined as the medullary cavity characteristic region.

[0179] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0180] Identify and determine the structural feature points in the three-dimensional model, and determine the starting point position of the medullary cavity feature area according to the position of the structural feature points; determine the isthmus position of the medullary cavity in the three-dimensional model, and determine the end point position of the medullary cavity feature area according to the isthmus position of the medullary cavity.

[0181] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0182] Receive the user's adjustment operation on the medullary cavity position; the adjustment operation includes the user's selection adjustment operation on at least one medullary cavity position in the medullary cavity feature area, or the user's sliding adjustment operation on the sliding component; the sliding component is used to adjust the medullary cavity position; generate a display instruction corresponding to the adjustment operation.

[0183] In one embodiment, when the part to be inspected is a femur, the processor further implements the following steps when executing the computer program:

[0184] A medical image including the part to be examined is acquired; the medical image is segmented to obtain a target area image including a femoral tissue area and a medullary cavity area; and a three-dimensional model of the femur is generated according to the target area image.

[0185] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0186] Acquire a three-dimensional model of the part to be inspected including the medullary cavity; acquire medullary cavity morphology information of the medullary cavity characteristic area in the three-dimensional model; and display the medullary cavity morphology information corresponding to the medullary cavity position in the medullary cavity characteristic area in response to a display instruction; the display instruction is used to indicate the medullary cavity position.

[0187] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0188] Determine the medullary cavity characteristic region in the three-dimensional model; obtain cross-sectional information of the medullary cavity characteristic region at different medullary cavity positions as medullary cavity morphology information.

[0189] In one embodiment, the cross section is a reference cross section perpendicular to the axis of the medullary cavity in the medullary cavity feature region; when the computer program is executed by the processor, the following steps are also implemented:

[0190] The medullary cavity size of the medullary cavity characteristic area under each reference section is obtained; the medullary cavity morphology under each reference section is determined according to the medullary cavity size under each reference section; and the medullary cavity size and medullary cavity morphology under each reference section are determined as the cross-sectional information of the medullary cavity characteristic area under different sections.

[0191] In one embodiment, the medullary cavity size includes a maximum diameter and a minimum diameter; when the computer program is executed by the processor, the following steps are also implemented:

[0192] For each reference section, an ellipse is fitted according to the maximum diameter and the minimum diameter; the fitted ellipse is used as the medullary cavity morphology under the corresponding reference section.

[0193] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0194] The starting point and the end point of the medullary cavity characteristic region are determined according to the three-dimensional model; and the region between the starting point and the end point in the three-dimensional model is determined as the medullary cavity characteristic region.

[0195] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0196] Identify and determine the structural feature points in the three-dimensional model, and determine the starting point position of the medullary cavity feature area according to the position of the structural feature points; determine the isthmus position of the medullary cavity in the three-dimensional model, and determine the end point position of the medullary cavity feature area according to the isthmus position of the medullary cavity.

[0197] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0198] Receive the user's adjustment operation on the medullary cavity position; the adjustment operation includes the user's selection adjustment operation on at least one medullary cavity position in the medullary cavity feature area, or the user's sliding adjustment operation on the sliding component; the sliding component is used to adjust the medullary cavity position; generate a display instruction corresponding to the adjustment operation.

[0199] In one embodiment, when the part to be inspected is a femur, the computer program further implements the following steps when executed by the processor:

[0200] A medical image including the part to be examined is acquired; the medical image is segmented to obtain a target area image including a femoral tissue area and a medullary cavity area; and a three-dimensional model of the femur is generated according to the target area image.

[0201] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0202] Acquire a three-dimensional model of the part to be inspected including the medullary cavity; acquire medullary cavity morphology information of the medullary cavity characteristic area in the three-dimensional model; and display the medullary cavity morphology information corresponding to the medullary cavity position in the medullary cavity characteristic area in response to a display instruction; the display instruction is used to indicate the medullary cavity position.

[0203] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0204] Determine the medullary cavity characteristic region in the three-dimensional model; obtain cross-sectional information of the medullary cavity characteristic region at different medullary cavity positions as medullary cavity morphology information.

[0205] In one embodiment, the cross section is a reference cross section perpendicular to the axis of the medullary cavity in the medullary cavity feature region; when the computer program is executed by the processor, the following steps are also implemented:

[0206] The medullary cavity size of the medullary cavity characteristic area under each reference section is obtained; the medullary cavity morphology under each reference section is determined according to the medullary cavity size under each reference section; and the medullary cavity size and medullary cavity morphology under each reference section are determined as the cross-sectional information of the medullary cavity characteristic area under different sections.

[0207] In one embodiment, the medullary cavity size includes a maximum diameter and a minimum diameter; when the computer program is executed by the processor, the following steps are also implemented:

[0208] For each reference section, an ellipse is fitted according to the maximum diameter and the minimum diameter; the fitted ellipse is used as the medullary cavity morphology under the corresponding reference section.

[0209] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0210] The starting point and the end point of the medullary cavity characteristic region are determined according to the three-dimensional model; and the region between the starting point and the end point in the three-dimensional model is determined as the medullary cavity characteristic region.

[0211] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0212] Identify and determine the structural feature points in the three-dimensional model, and determine the starting point position of the medullary cavity feature area according to the position of the structural feature points; determine the isthmus position of the medullary cavity in the three-dimensional model, and determine the end point position of the medullary cavity feature area according to the isthmus position of the medullary cavity.

[0213] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0214] Receive the user's adjustment operation on the medullary cavity position; the adjustment operation includes the user's selection adjustment operation on at least one medullary cavity position in the medullary cavity feature area, or the user's sliding adjustment operation on the sliding component; the sliding component is used to adjust the medullary cavity position; generate a display instruction corresponding to the adjustment operation.

[0215] In one embodiment, when the part to be inspected is a femur, the computer program further implements the following steps when executed by the processor:

[0216] A medical image including the part to be examined is acquired; the medical image is segmented to obtain a target area image including a femoral tissue area and a medullary cavity area; and a three-dimensional model of the femur is generated according to the target area image.

[0217] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0218] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above 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.

[0219] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for analyzing medullary cavity morphology, characterized in that: The method comprises: Acquire a three-dimensional model of the part to be examined including the medullary cavity; Acquiring medullary cavity morphology information of a medullary cavity characteristic region in the three-dimensional model; In response to a display instruction, medullary cavity morphology information corresponding to the medullary cavity position in the medullary cavity feature area is displayed; the display instruction is used to indicate the medullary cavity position.

2. The method according to claim 1, characterized in that The step of obtaining the medullary cavity morphology information of the medullary cavity characteristic area in the three-dimensional model includes: Determining the medullary cavity characteristic region in the three-dimensional model; The cross-sectional information of the medullary cavity characteristic region at different medullary cavity positions is obtained as the medullary cavity morphology information.

3. The method according to claim 2, characterized in that The cross section is a reference cross section perpendicular to the medullary cavity axis in the medullary cavity feature region; and obtaining cross-sectional information of the medullary cavity feature region at cross sections at different medullary cavity positions includes: Acquire the medullary cavity size of the medullary cavity characteristic region under each reference cross section; Determine the medullary cavity shape under each reference cross section according to the medullary cavity size under each reference cross section; The medullary cavity size and medullary cavity shape under each reference cross section are determined as the cross-sectional information of the medullary cavity characteristic region under different cross sections.

4. The method according to claim 3, characterized in that The medullary cavity size includes a maximum diameter and a minimum diameter; and determining the medullary cavity shape under each reference cross section according to the medullary cavity size under each reference cross section includes: For each of the reference cross sections, fitting an ellipse according to the maximum diameter and the minimum diameter; The ellipse obtained by fitting is used as the medullary cavity shape corresponding to the reference section.

5. The method according to claim 2, characterized in that: The determining the medullary cavity characteristic region in the three-dimensional model comprises: Determine the starting point and the end point of the medullary cavity characteristic area according to the three-dimensional model; An area between the starting position and the end position in the three-dimensional model is determined as the medullary cavity characteristic area.

6. The method according to claim 5, characterized in that Determining the starting point and the ending point of the medullary cavity characteristic area according to the three-dimensional model includes: Identifying and determining structural feature points in the three-dimensional model, and determining the starting position of the medullary cavity feature area according to the positions of the structural feature points; The isthmus position of the medullary cavity in the three-dimensional model is determined, and the end point position of the medullary cavity characteristic area is determined according to the isthmus position of the medullary cavity.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: receiving a user's adjustment operation on the medullary cavity position; the adjustment operation includes a selection adjustment operation of the user on at least one medullary cavity position in the medullary cavity feature area, or a sliding adjustment operation of the user on a sliding component; the sliding component is used to adjust the medullary cavity position; The display instruction corresponding to the adjustment operation is generated.

8. The method according to any one of claims 1 to 6, characterized in that In the case where the part to be inspected is a femur, the step of obtaining a three-dimensional model of the part to be inspected including the medullary cavity comprises: Acquiring a medical image including the part to be examined; Segmenting the medical image to obtain a target area image including a femoral tissue area and a medullary cavity area; A three-dimensional model of the femur is generated according to the target area image.

9. A medullary cavity morphology analysis device, characterized in that: The device comprises: A model acquisition module, used for acquiring a three-dimensional model of the part to be examined including the medullary cavity; A morphology acquisition module, used to acquire the medullary cavity morphology information of the medullary cavity characteristic area in the three-dimensional model; The information display module is used to display the medullary cavity morphology information corresponding to the medullary cavity position in the medullary cavity feature area in response to a display instruction; the display instruction is used to indicate the medullary cavity position.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.