A digital generation method and device for joint bone tumor prosthesis
Through the PatchGan network and multi-modal image processing, the problems of inaccurate osteotomy position and difficult surgical planning in orthopedic surgical osteotomy operations are solved, personalized osteotomy guide plate and prosthesis design is realized, and the accuracy and accuracy of the operation are improved. Restoration effect.
Patent Information
- Application Number
- CN202410159227.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-04
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-02-04
AI Technical Summary
The osteotomy position in traditional orthopedic surgery is imprecise, surgical planning is difficult, individual differences increase the complexity of the surgery, and postoperative recovery is a challenge. Personalized prosthesis design is required to ensure bone healing and functional recovery.
Using a multi-classification model based on the PatchGan network, through pre-operative multi-modal image preprocessing and musculoskeletal system tumor surgical staging, the lesion area and surgical area boundaries are extracted, a personalized osteotomy guide plate model and a prosthesis model are generated, and simulated cutting is performed. Mechanical analysis of bones and structures.
It achieves precise matching of osteotomy positions and prosthesis design, improves the accuracy of surgical planning and postoperative functional recovery, and meets the needs of individual differences.
Smart Images

Figure CN118000975B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical devices, and in particular to a method and device for digitally generating a joint bone tumor prosthesis. Background Art
[0002] The treatment for joint bone tumors is osteotomy. Traditional orthopedic surgery is for the surgeon to judge and select the osteotomy position based on experience and the surface characteristics of the lesion, which can easily cause large trauma, inaccurate osteotomy position, and difficult surgical planning. There are also many problems in the development of modern orthopedic intelligent osteotomy. For example, because the shape and angle of the bone structure vary due to individual differences, the osteotomy guide needs to be customized according to the specific situation of each patient. Individual differences increase the complexity and difficulty of the operation. In addition, before the osteotomy, the doctor needs to carry out detailed preoperative planning, including determining parameters such as the cutting position. These positions are highly correlated with the surgical staging of the patient's musculoskeletal system tumor. Finally, postoperative recovery after osteotomy is also a challenge. The prosthesis needs to be fully evaluated to ensure normal bone healing and functional recovery. Summary of the invention
[0003] The embodiment of the present invention provides a method and device for digitally generating a joint bone tumor prosthesis. The present application provides a method for digitally generating a joint bone tumor prosthesis. In order to solve the problems of inaccurate osteotomy position and difficult surgical planning, the present invention can not only obtain personalized osteotomy guide design and prosthesis design based on the patient's preoperative multimodal imaging and osteotomy range, but also based on the patient's musculoskeletal system tumor surgical staging, and finally simulate osteotomy and structural mechanics analysis of the prosthesis. In order to solve the above-mentioned invention purpose, the technical solution is as follows:
[0004] On the one hand, the embodiment of the present application provides a method for digitally generating a joint bone tumor prosthesis, comprising the following steps:
[0005] S1: obtaining a preoperative multimodal image of the patient, and preprocessing the preoperative multimodal image to obtain a preprocessed multimodal image;
[0006] S2: Obtain the surgical staging of the patient's musculoskeletal system tumor, input the pre-processed multimodal image into the pre-trained tumor segmentation model corresponding to the staging, and obtain a mask image with the lesion area, surgical area and non-lesion area marked, wherein the tumor segmentation model is a multi-classification model based on the PatchGan network;
[0007] S3: Based on the mask image with the lesion area and the surgical area marked, the boundary of the lesion area and the surgical area are extracted to determine the osteotomy range;
[0008] S4: Generate an intraoperative guidance plan according to the osteotomy range, which includes automatic registration preparation of computer navigation-assisted technology and generation of an osteotomy guide model;
[0009] S5: performing three-dimensional reconstruction according to the mask image marking the lesion area and the surgical area, obtaining a reconstructed three-dimensional model, and generating a matching prosthesis model;
[0010] S6: performing simulated osteotomy and structural mechanics analysis on the matching prosthesis model.
[0011] Optionally, the step of acquiring a preoperative multimodal image of the patient and preprocessing the preoperative multimodal image to obtain a preprocessed multimodal image in S1 includes:
[0012] S11: Acquire preoperative multimodal images covering the same area, wherein the preoperative multimodal images include: CT, MRI, PETCT and PET;
[0013] S12: performing intensity normalization on each image in the preoperative multimodal image to obtain a normalized preoperative multimodal image;
[0014] S13: performing bias field correction on the normalized preoperative multimodal image to obtain a corrected preoperative multimodal image;
[0015] S14: performing image registration on the corrected preoperative multimodal image to obtain a registered preoperative multimodal image;
[0016] S15: spectrally fuse the registered preoperative multimodal images to obtain preprocessed multimodal images.
[0017] Optionally, before obtaining the surgical staging of the musculoskeletal system tumor of the patient in S2, inputting the preprocessed multimodal image into a pre-trained tumor segmentation model corresponding to the staging to obtain a mask image marking the lesion area, the surgical area and the non-lesion area, the tumor segmentation model is a multi-classification model based on the PatchGan network, and the method further includes:
[0018] S0: Train the tumor segmentation model to be trained at different stages:
[0019] The step S0 of training the tumor segmentation models to be trained at different stages includes:
[0020] S01: According to the surgical staging of musculoskeletal tumors, medical imaging datasets containing multimodal images and corresponding lesion area boundary segmentation images of different stages are collected;
[0021] S02: Preprocessing the medical image dataset according to different stages to obtain preprocessed medical image datasets of different stages;
[0022] S03: dividing each image in the preprocessed medical image data set of different stages into a plurality of Patch samples, wherein the Patch samples include a series of images with an area lower than a threshold and corresponding lesion area boundary segmentation images;
[0023] S04: Generate a corresponding label for each Patch sample, wherein the label is a three-category image, wherein the three-category image includes region 1, region 2, and region 3, wherein region 1 is a lesion region, region 2 is a surgical region, and region 3 is a non-lesion region. The lesion region is a region that is lesioned and requires surgery, the surgical region is a region that is non-lesioned and requires surgery, and the non-lesion region is a region that is non-lesioned and does not require surgery;
[0024] S05: Combine patch samples and labels to generate training data of different stages;
[0025] S06: For each surgical stage of musculoskeletal system tumors, construct a PatchGan network, wherein the PatchGan network includes a generator and a discriminator;
[0026] S07: Modify the PatchGan network, add attention networks to the generator and discriminator, and obtain tumor segmentation models to be trained for different stages;
[0027] S08: Training the tumor segmentation models to be trained for different stages based on the training data of different stages until the generative model and the discriminator converge, thereby obtaining pre-trained tumor segmentation models for different stages, wherein the pre-trained tumor segmentation models for different stages only include the generative model.
[0028] Optionally, the step S3 extracts the boundary of the lesion area and the boundary of the surgery area based on the mask image on which the lesion area and the surgery area are marked, and determines the osteotomy range, including:
[0029] S31: Use an n*n*n window to traverse the mask image marked with the lesion area and the surgical area, and calculate the proportion of the lesion area, the surgical area, and the non-lesion area in the window. If the proportion of the non-lesion area exceeds 80%, the center point is recorded as the non-lesion area. If the proportion of the non-lesion area does not exceed 80% and the proportion of the surgical area is equal to or higher than the lesion area, the center point is recorded as the surgical area. If the proportion of the non-lesion area does not exceed 80% and the proportion of the surgical area is lower than the lesion area, the center point is recorded as the lesion area.
[0030] S32: extracting the boundary of the surgical area based on the lesion area and the surgical area;
[0031] S33: extracting the boundary of the lesion area based on the lesion area;
[0032] S34: Calculate the ratio of the area of the lesion region to the area of the surgical region, and compare the ratio with a preset threshold. If the ratio is greater than the preset threshold, set the surgical region as the osteotomy range.
[0033] Optionally, the step S4 generates an intraoperative guidance plan according to the osteotomy range, wherein the guidance plan includes automatic registration preparation of computer navigation-assisted technology and generation of an osteotomy guide plate model, including:
[0034] S41: Obtaining an osteotomy range, and obtaining an osteotomy plane according to the osteotomy range;
[0035] S42: based on the osteotomy plane, obtaining a basic model of a matching osteotomy guide plate;
[0036] S43: Calculate the number of bone screw guides according to the osteotomy range;
[0037] S44: based on the number of bone screw guides, adding bone screw guides to the basic model of the matching osteotomy guide to generate a matching osteotomy guide model;
[0038] S45: Extract bone tumor features of osteotomy range;
[0039] S46: Extract the bone tumor points visible during surgery based on the bone tumor features and generate all potential marker placement locations;
[0040] S47: calculating the matching relationship between corresponding points of all potential marker placement positions in the patient's preoperative multimodal images;
[0041] S48: Based on the matching relationship, calculate the parameters of the image registration algorithm to obtain a pre-adjusted image registration algorithm, wherein the pre-adjusted image registration algorithm is used for automatic registration of computer navigation-assisted technology.
[0042] Optionally, the step S5 performs three-dimensional reconstruction according to the mask image marking the lesion area and the surgical area to obtain a reconstructed three-dimensional model and generate a matching prosthesis model, including:
[0043] S51: reconstructing a three-dimensional model of the bone and surrounding bone tissue using a three-dimensional reconstruction technology according to the preprocessed multimodal image and the mask image marking the lesion area and the surgical area, to obtain a reconstructed three-dimensional model, wherein the three-dimensional reconstruction technology includes voxelization, surface reconstruction or a hybrid method;
[0044] S52: defining prosthesis parameters according to the reconstructed three-dimensional model and the mask image to obtain a matching prosthesis model, wherein the prosthesis parameter definition is based on the surgical area of the reconstructed three-dimensional model, and defines the shape, size and material of the prosthesis model;
[0045] S53: Calculate the volume of the prosthesis according to the matched prosthesis model, and determine whether the volume of the prosthesis is equal to the volume of the surgical area in the reconstructed three-dimensional model. If they are not equal, modify the matched prosthesis model.
[0046] Optionally, the step of performing simulated osteotomy and structural mechanics analysis on the matched prosthesis model in S6 includes:
[0047] S61: Based on the matching prosthesis model and the matching osteotomy guide model, simulated surgery is performed to verify the rationality of the prosthesis and osteotomy guide;
[0048] S62: extracting kinematic parameters of the prosthesis and the bone according to the matched prosthesis model and the reconstructed three-dimensional model;
[0049] S63: Based on the kinematic parameters of the prosthesis and the bone, material properties, contact properties and boundary conditions are set to simulate the load conditions of the prosthesis in joint flexion and extension and single-leg standing states, and analyze the local dynamic mechanical properties before and after the operation. The local dynamic mechanical properties include deformation of each part of the prosthesis, stress / strain distribution and internal energy change characteristics, and the material properties include elastic modulus and Poisson's ratio;
[0050] S64: Based on the local dynamic mechanical properties before and after surgery, the mechanical properties of the prosthesis are tested and compared with the regulatory requirements of the implant. According to the preset mechanical property threshold, the optimization goal is set and the matching prosthesis model is modified until the mechanical properties of the prosthesis meet the preset mechanical property threshold.
[0051] In a second aspect, an embodiment of the present application provides a device for digitally generating a joint bone tumor prosthesis, comprising the following steps:
[0052] Multimodal imaging unit: used to obtain preoperative multimodal images of patients, and preprocess the preoperative multimodal images to obtain preprocessed multimodal images;
[0053] Tumor segmentation model unit: used to obtain the surgical staging of the patient's musculoskeletal system tumor, input the pre-processed multimodal image into the pre-trained tumor segmentation model of the corresponding staging, and obtain a mask image with the lesion area, surgical area and non-lesion area marked. The tumor segmentation model is a multi-classification model based on the PatchGan network;
[0054] Boundary unit: used to extract the boundary of the lesion area and the surgical area based on the mask image marked with the lesion area and the surgical area, and determine the osteotomy range;
[0055] Guidance plan unit: used to generate an intraoperative guidance plan according to the osteotomy range, wherein the guidance plan includes automatic registration preparation of computer navigation-assisted technology and generation of an osteotomy guide plate model;
[0056] 3D reconstruction unit: used to perform 3D reconstruction based on the mask image marking the lesion area and the surgical area, obtain a reconstructed 3D model, and generate a matching prosthesis model;
[0057] Structural mechanics unit: used for simulating osteotomy and structural mechanics analysis of the matching prosthesis model.
[0058] In a third aspect, an embodiment of the present application provides an electronic device, characterized in that the electronic device comprises: a shell, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is placed inside the space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute any of the methods described in the foregoing.
[0059] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any of the methods described above.
[0060] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:
[0061] Compared with the prior art, the above technical solution has at least the following beneficial effects: the above solution, based on the digital generation method of joint bone tumor prosthesis, uses a multi-classification model based on the PatchGan network to fully distinguish the lesion area and the surgical area, and on this basis, uses a reconstructed three-dimensional model to achieve accurate matching between the surgical area and the prosthesis. Finally, personalized osteotomy and structural mechanics analysis are performed based on the matched prosthesis model. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0063] Figure 1 This is a flow chart of a method for digitally generating a joint bone tumor prosthesis provided by an embodiment of the present invention;
[0064] Figure 2 is a schematic diagram of an example of a customized prosthesis provided by an embodiment of the present invention;
[0065] Figure 3 This is a block diagram of a digital generation device for a joint bone tumor prosthesis provided by an embodiment of the present invention;
[0066] Figure 4 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0067] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0068] The embodiment of the present invention provides a method for digitally generating a joint bone tumor prosthesis. The method can be implemented by an electronic device, which can be a terminal or a server. Figure 1 The flowchart of a method for digitally generating a joint bone tumor prosthesis is shown, and the processing flow of the method may include the following steps:
[0069] S1: obtaining a preoperative multimodal image of the patient, and preprocessing the preoperative multimodal image to obtain a preprocessed multimodal image;
[0070] As an optional implementation, the S1 includes:
[0071] S11: Acquire preoperative multimodal images covering the same area, wherein the preoperative multimodal images include: CT, MRI, PETCT and PET;
[0072] S12: performing intensity normalization on each image in the preoperative multimodal image to obtain a normalized preoperative multimodal image;
[0073] S13: performing bias field correction on the normalized preoperative multimodal image to obtain a corrected preoperative multimodal image;
[0074] S14: performing image registration on the corrected preoperative multimodal image to obtain a registered preoperative multimodal image;
[0075] S15: spectrally fuse the registered preoperative multimodal images to obtain preprocessed multimodal images.
[0076] In some embodiments, multimodal image reconstruction technology is a method of fusing and reconstructing multiple different types of medical image data. It can combine data from different imaging modalities (such as CT, MRI, PET, etc.) to generate a more comprehensive and accurate three-dimensional model. It can provide more comprehensive and accurate information. Specific multimodal image reconstruction technologies and methods may vary depending on application requirements and data characteristics. In practical applications, it is necessary to select and optimize the corresponding methods according to specific circumstances.
[0077] It should be noted that when performing multimodal image reconstruction, it is necessary to consider the timeliness of each image according to the specific situation and ensure that the image data is acquired and processed within a reasonable time frame.
[0078] S2: Obtain the surgical staging of the patient's musculoskeletal system tumor, input the pre-processed multimodal image into the pre-trained tumor segmentation model corresponding to the staging, and obtain a mask image with the lesion area, surgical area and non-lesion area marked, wherein the tumor segmentation model is a multi-classification model based on the PatchGan network;
[0079] As an optional implementation manner, before S2, the method further includes:
[0080] S0: Train the tumor segmentation model to be trained at different stages:
[0081] The step S0 of training the tumor segmentation models to be trained at different stages includes:
[0082] S01: According to the surgical staging of musculoskeletal tumors, medical imaging datasets containing multimodal images and corresponding lesion area boundary segmentation images of different stages are collected;
[0083] S02: Preprocessing the medical image dataset according to different stages to obtain preprocessed medical image datasets of different stages;
[0084] S03: dividing each image in the preprocessed medical image data set of different stages into a plurality of Patch samples, wherein the Patch samples include a series of images with an area lower than a threshold and corresponding lesion area boundary segmentation images;
[0085] S04: Generate a corresponding label for each Patch sample, wherein the label is a three-category image, wherein the three-category image includes region 1, region 2, and region 3, wherein region 1 is a lesion region, region 2 is a surgical region, and region 3 is a non-lesion region. The lesion region is a region that is lesioned and requires surgery, the surgical region is a region that is non-lesioned and requires surgery, and the non-lesion region is a region that is non-lesioned and does not require surgery;
[0086] S05: Combine patch samples and labels to generate training data of different stages;
[0087] S06: For each surgical stage of musculoskeletal system tumors, construct a PatchGan network, wherein the PatchGan network includes a generator and a discriminator;
[0088] S07: Modify the PatchGan network, add attention networks to the generator and discriminator, and obtain tumor segmentation models to be trained for different stages;
[0089] S08: Training the tumor segmentation models to be trained for different stages based on the training data of different stages until the generative model and the discriminator converge, thereby obtaining pre-trained tumor segmentation models for different stages, wherein the pre-trained tumor segmentation models for different stages only include the generative model.
[0090] In some embodiments, the PatchGan network is a convolutional neural network model for image generation and image processing tasks. The PatchGan network distinguishes local areas of the image rather than the entire image. This method enables the network to more accurately judge and process image details. The PatchGan network has multiple hyperparameters that need to be adjusted, including learning rate, batch size, and network structure. When training the network, appropriate hyperparameter adjustments are required to obtain better performance and results.
[0091] In some embodiments, a deep learning framework (such as TensorFlow, PyTorch, etc.) can be used to construct a PatchGan model. The architecture of PatchGAN is mainly composed of convolutional layers, excitation layers, and contrast layers. The convolutional layer is responsible for performing spatial filtering operations on the image to extract image features; the excitation layer adopts a residual structure and retains the detailed information of the image through jump connections; the contrast layer is used to compare whether two random noise vectors belong to the same distribution. During the training process, the model can be optimized by minimizing the adversarial loss and reconstruction loss to improve the quality of the generated image.
[0092] It should be noted that when using the PatchGan model, the input image needs to be divided into several patches. Usually, a fixed-size sliding window is used to divide the input image into patches. Due to the specificity of osteotomy images, for example, the medical imaging features are single and the lesion area is small, the Patch generation process in this application needs to use a sliding window smaller than 50*50, and the step size must be smaller than the sliding window size to ensure that there is an overlapping area between adjacent Patches. The specific sliding window size can be determined by referring to the size of the minimum lesion area. At the same time, the overlapping area between adjacent Patches is not less than half of the minimum lesion area.
[0093] It should be noted that when performing osteotomy, the surgical area is usually larger than the lesion area. This is because the cut portion is larger than the lesion area to provide enough room to ensure complete removal of the lesion tissue and prevent the spread or residual of the lesion. At the same time, in osteotomy, it is crucial to ensure the clarity of the incision edges. By cutting a portion larger than the lesion area, it can ensure that the incision edges are clear and there is enough space for repair and reconstruction.
[0094] It should be further explained that marking images into lesion areas, surgical areas, and non-lesion areas allows the experts engaged in marking to fully consider multiple factors such as development stage, bone morphology, incision characteristics, etc.
[0095] Preferably, when generating labels for training data, the patient's preoperative multimodal images can be imported into the Materialise Mimics software, and a three-dimensional model of the bone and surrounding bone tissue can be reconstructed by automatically generating and manually selecting and cutting bone defects; using the patient's three-dimensional bone model, the lesion area and the surgical area confirmed by the physician can be calibrated in the Materialise Mimics software according to the tumor position.
[0096] S3: Based on the mask image with the lesion area and the surgical area marked, the boundary of the lesion area and the surgical area are extracted to determine the osteotomy range;
[0097] As an optional implementation, the S3 includes:
[0098] S31: Use an n*n*n window to traverse the mask image marked with the lesion area and the surgical area, and calculate the proportion of the lesion area, the surgical area, and the non-lesion area in the window. If the proportion of the non-lesion area exceeds 80%, the center point is recorded as the non-lesion area. If the proportion of the non-lesion area does not exceed 80% and the proportion of the surgical area is equal to or higher than the lesion area, the center point is recorded as the surgical area. If the proportion of the non-lesion area does not exceed 80% and the proportion of the surgical area is lower than the lesion area, the center point is recorded as the lesion area.
[0099] S32: extracting the boundary of the surgical area based on the lesion area and the surgical area;
[0100] S33: extracting the boundary of the lesion area based on the lesion area;
[0101] S34: Calculate the ratio of the area of the lesion region to the area of the surgical region, and compare the ratio with a preset threshold. If the ratio is greater than the preset threshold, set the surgical region as the osteotomy range.
[0102] In some embodiments, the window traversal method can process local areas of the image to better capture local details and features. During the window traversal process, there will be a certain overlap between adjacent windows, which can ensure the continuity and smoothness of the processing results.
[0103] It should be further explained that the preset size n can start from 3, and if unconnected areas appear in the surgical area, the preset size can be increased.
[0104] S4: Generate an intraoperative guidance plan according to the osteotomy range, which includes automatic registration preparation of computer navigation-assisted technology and generation of an osteotomy guide model;
[0105] As an optional implementation, the S4 includes:
[0106] S41: Obtaining an osteotomy range, and obtaining an osteotomy plane according to the osteotomy range;
[0107] S42: based on the osteotomy plane, obtaining a basic model of a matching osteotomy guide plate;
[0108] S43: Calculate the number of bone screw guides according to the osteotomy range;
[0109] S44: based on the number of bone screw guides, adding bone screw guides to the basic model of the matching osteotomy guide to generate a matching osteotomy guide model;
[0110] S45: Extract bone tumor features of osteotomy range;
[0111] S46: Extract the bone tumor points visible during surgery based on the bone tumor features and generate all potential marker placement locations;
[0112] S47: calculating the matching relationship between corresponding points of all potential marker placement positions in the patient's preoperative multimodal images;
[0113] S48: Based on the matching relationship, calculate the parameters of the image registration algorithm to obtain a pre-adjusted image registration algorithm, wherein the pre-adjusted image registration algorithm is used for automatic registration of computer navigation-assisted technology.
[0114] In some embodiments, the reconstructed 3D model is reverse processed using Geomagic Wrap and then imported into engineering 3D modeling software (CREO7.0) in IGS format for 3D modeling of individualized prostheses and optimization of the fine structure of the prosthesis.
[0115] It should be noted that the 3-matic software was used to generate a matching osteotomy guide according to the osteotomy position.
[0116] S5: performing three-dimensional reconstruction according to the mask image marking the lesion area and the surgical area, obtaining a reconstructed three-dimensional model, and generating a matching prosthesis model;
[0117] As an optional implementation, the S5 includes:
[0118] S51: reconstructing a three-dimensional model of the bone and surrounding bone tissue using a three-dimensional reconstruction technology according to the preprocessed multimodal image and the mask image marking the lesion area and the surgical area, to obtain a reconstructed three-dimensional model, wherein the three-dimensional reconstruction technology includes voxelization, surface reconstruction or a hybrid method;
[0119] S52: defining prosthesis parameters according to the reconstructed three-dimensional model and the mask image to obtain a matching prosthesis model, wherein the prosthesis parameter definition is based on the surgical area of the reconstructed three-dimensional model, and defines the shape, size and material of the prosthesis model;
[0120] S53: Calculate the volume of the prosthesis according to the matched prosthesis model, and determine whether the volume of the prosthesis is equal to the volume of the surgical area in the reconstructed three-dimensional model. If they are not equal, modify the matched prosthesis model.
[0121] S6: performing simulated osteotomy and structural mechanics analysis on the matching prosthesis model.
[0122] In some embodiments, a simulated surgery is performed in 3-matic or Materialise Mimics software to verify the rationality of the bone prosthesis model and surgical guide design.
[0123] It should be noted that the mechanical properties of customized metal prostheses are tested in accordance with the requirements of the medical device surgical implant industry standard "YY 0502-2005 Knee Prosthesis" to ensure that the mechanical strength of the prosthesis meets the requirements of implant regulations and provide safety and reliability guarantees for the clinical application of the prosthesis.
[0124] The above is an introduction to the method embodiment. The following is a further explanation of the scheme described in this application through an apparatus embodiment.
[0125] like Figure 3 As shown, the embodiment of the present application provides a digital generation device 300 for a joint bone tumor prosthesis, comprising the following steps:
[0126] The multimodal imaging unit 310 is used to obtain the preoperative multimodal image of the patient and preprocess the preoperative multimodal image to obtain the preprocessed multimodal image;
[0127] Tumor segmentation model unit 320: used to obtain the surgical staging of the patient's musculoskeletal system tumor, input the pre-processed multimodal image into the pre-trained tumor segmentation model corresponding to the staging, and obtain a mask image with the lesion area, surgical area and non-lesion area marked, wherein the tumor segmentation model is a multi-classification model based on the PatchGan network;
[0128] Boundary unit 330: used to extract the boundary of the lesion area and the boundary of the surgical area based on the mask image marked with the lesion area and the surgical area, and determine the osteotomy range;
[0129] Guidance plan unit 340: used to generate an intraoperative guidance plan according to the osteotomy range, wherein the guidance plan includes automatic registration preparation of computer navigation-assisted technology and generation of an osteotomy guide plate model;
[0130] The three-dimensional reconstruction unit 350 is used to perform three-dimensional reconstruction according to the mask image that marks the lesion area and the operation area, obtain a reconstructed three-dimensional model, and generate a matching prosthesis model;
[0131] Structural mechanics unit 360: used for simulating osteotomy and structural mechanics analysis of the matching prosthesis model.
[0132] In response to the problems of inaccurate osteotomy position and difficult surgical planning during existing joint bone tumor surgeries, this application provides a method for digitally generating joint bone tumor prostheses that can take into account the surgical staging of musculoskeletal system tumors and the patient's own bone characteristics. This method can generate personalized osteotomy plans, and can achieve accurate osteotomy guide plate generation and prosthesis design. Customized prostheses are designed with the aid of computers, and special prostheses are prepared using 3D printing additive equipment and CNC machining equipment. The prosthesis is installed and implanted according to preoperative planning assisted by computer navigation or orthopedic robots, which improves the matching degree of the prosthesis and thus improves the level of postoperative functional recovery.
[0133] An embodiment of the present invention also provides an electronic device, comprising: a shell, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is placed inside the space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute any of the methods described in the foregoing.
[0134] Figure 4 It is a structural diagram of an electronic device 400 provided in an embodiment of the present invention. The electronic device 400 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 401 and one or more memories 402, wherein the memory 402 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 401 to implement the steps of the above method.
[0135] The embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any of the above methods. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0136] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0137] There are a few points to note:
[0138] (1) The drawings of the embodiments of the present invention only relate to the structures related to the embodiments of the present invention, and other structures may refer to the general design.
[0139] (2) For the sake of clarity, in the drawings used to describe the embodiments of the present invention, the thickness of the layers or regions is exaggerated or reduced, that is, these drawings are not drawn according to the actual scale. It is understood that when an element such as a layer, film, region or substrate is referred to as being "on" or "under" another element, the element may be "directly" "on" or "under" the other element or there may be intermediate elements.
[0140] 3) In the absence of conflict, the embodiments of the present invention and the features therein may be combined with each other to obtain new embodiments.
[0141] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for digitally generating a joint bone tumor prosthesis, characterized in that: include: S1: obtaining a preoperative multimodal image of the patient, and preprocessing the preoperative multimodal image to obtain a preprocessed multimodal image; S2: Obtain the surgical staging of the patient's musculoskeletal system tumor, input the pre-processed multimodal image into the pre-trained tumor segmentation model corresponding to the staging, and obtain a mask image with the lesion area, surgical area and non-lesion area marked, wherein the tumor segmentation model is a multi-classification model based on the PatchGan network; Before obtaining the surgical staging of the musculoskeletal system tumor of the patient in S2, inputting the pre-processed multimodal image into the pre-trained tumor segmentation model corresponding to the staging to obtain a mask image marking the lesion area, the surgical area and the non-lesion area, the tumor segmentation model is a multi-classification model based on the PatchGan network, and the method further includes: S0: Train the tumor segmentation model to be trained at different stages: The step S0 of training the tumor segmentation models to be trained at different stages includes: S01: According to the surgical staging of musculoskeletal tumors, medical imaging datasets containing multimodal images and corresponding lesion area boundary segmentation images of different stages are collected; S02: Preprocessing the medical image dataset according to different stages to obtain preprocessed medical image datasets of different stages; S03: dividing each image in the preprocessed medical image data set of different stages into a plurality of Patch samples, wherein the Patch samples include a series of images with an area lower than a threshold and corresponding lesion area boundary segmentation images; S04: Generate a corresponding label for each Patch sample, wherein the label is a three-category image, wherein the three-category image includes region 1, region 2, and region 3, wherein region 1 is a lesion region, region 2 is a surgical region, and region 3 is a non-lesion region. The lesion region is a region that is lesioned and requires surgery, the surgical region is a region that is non-lesioned and requires surgery, and the non-lesion region is a region that is non-lesioned and does not require surgery; S05: Combine patch samples and labels to generate training data of different stages; S06: For each surgical stage of musculoskeletal system tumors, construct a PatchGan network, wherein the PatchGan network includes a generator and a discriminator; S07: Modify the PatchGan network, add attention networks to the generator and discriminator, and obtain tumor segmentation models to be trained for different stages; S08: training the tumor segmentation models to be trained at different stages based on the training data of different stages until the generative model and the discriminator converge, thereby obtaining pre-trained tumor segmentation models at different stages, wherein the pre-trained tumor segmentation models at different stages only include the generative model; S3: Based on the mask image with the lesion area and the surgical area marked, the boundary of the lesion area and the surgical area are extracted to determine the osteotomy range; S4: Generate an intraoperative guidance plan according to the osteotomy range, which includes automatic registration preparation of computer navigation-assisted technology and generation of an osteotomy guide model; S5: performing three-dimensional reconstruction according to the mask image marking the lesion area and the surgical area, obtaining a reconstructed three-dimensional model, and generating a matching prosthesis model; S6: performing simulated osteotomy and structural mechanics analysis on the matching prosthesis model.
2. The method for digitally generating a joint bone tumor prosthesis according to claim 1, characterized in that: The step S1 of acquiring a preoperative multimodal image of the patient and preprocessing the preoperative multimodal image to obtain a preprocessed multimodal image includes: S11: Acquire preoperative multimodal images covering the same area, wherein the preoperative multimodal images include: CT, MRI, PETCT and PET; S12: performing intensity normalization on each image in the preoperative multimodal image to obtain a normalized preoperative multimodal image; S13: performing bias field correction on the normalized preoperative multimodal image to obtain a corrected preoperative multimodal image; S14: performing image registration on the corrected preoperative multimodal image to obtain a registered preoperative multimodal image; S15: spectrally fuse the registered preoperative multimodal images to obtain preprocessed multimodal images.
3. The method for digitally generating a joint bone tumor prosthesis according to claim 1, characterized in that: The S3 extracts the boundary of the lesion area and the boundary of the surgery area based on the mask image marked with the lesion area and the surgery area, and determines the osteotomy range, including: S31: Use an n*n*n window to traverse the mask image marked with the lesion area and the surgical area, and calculate the proportion of the lesion area, the surgical area, and the non-lesion area in the window. If the proportion of the non-lesion area exceeds 80%, the center point is recorded as the non-lesion area. If the proportion of the non-lesion area does not exceed 80% and the proportion of the surgical area is equal to or higher than the lesion area, the center point is recorded as the surgical area. If the proportion of the non-lesion area does not exceed 80% and the proportion of the surgical area is lower than the lesion area, the center point is recorded as the lesion area. S32: extracting the boundary of the surgical area based on the lesion area and the surgical area; S33: extracting the boundary of the lesion area based on the lesion area; S34: Calculate the ratio of the area of the lesion region to the area of the surgical region, and compare the ratio with a preset threshold. If the ratio is greater than the preset threshold, set the surgical region as the osteotomy range.
4. The method for digitally generating a joint bone tumor prosthesis according to claim 1, characterized in that: The S4 generates an intraoperative guidance plan based on the osteotomy range, including: S41: Obtaining an osteotomy range, and obtaining an osteotomy plane according to the osteotomy range; S42: based on the osteotomy plane, obtaining a basic model of a matching osteotomy guide plate; S43: Calculate the number of bone screw guides according to the osteotomy range; S44: based on the number of bone screw guides, adding bone screw guides to the basic model of the matching osteotomy guide to generate a matching osteotomy guide model; S45: Extract bone tumor features of osteotomy range; S46: Extract the bone tumor points visible during surgery based on the bone tumor features and generate all potential marker placement locations; S47: calculating the matching relationship between corresponding points of all potential marker placement positions in the patient's preoperative multimodal images; S48: Based on the matching relationship, calculate the parameters of the image registration algorithm to obtain a pre-adjusted image registration algorithm, wherein the pre-adjusted image registration algorithm is used for automatic registration of computer navigation-assisted technology.
5. The method for digitally generating a joint bone tumor prosthesis according to claim 1, characterized in that: The step S5 performs three-dimensional reconstruction according to the mask image marking the lesion area and the surgical area to obtain a reconstructed three-dimensional model and generate a matching prosthesis model, including: S51: reconstructing a three-dimensional model of the bone and surrounding bone tissue using a three-dimensional reconstruction technology according to the preprocessed multimodal image and the mask image marking the lesion area and the surgical area, to obtain a reconstructed three-dimensional model, wherein the three-dimensional reconstruction technology includes voxelization, surface reconstruction or a hybrid method; S52: defining prosthesis parameters according to the reconstructed three-dimensional model and the mask image to obtain a matching prosthesis model, wherein the prosthesis parameter definition is based on the surgical area of the reconstructed three-dimensional model, and defines the shape, size and material of the prosthesis model; S53: Calculate the volume of the prosthesis according to the matched prosthesis model, and determine whether the volume of the prosthesis is equal to the volume of the surgical area in the reconstructed three-dimensional model. If they are not equal, modify the matched prosthesis model.
6. The method for digitally generating a joint bone tumor prosthesis according to claim 1, characterized in that: The S6 performs simulated osteotomy and structural mechanics analysis on the matching prosthesis model, including: S61: Based on the matching prosthesis model and the matching osteotomy guide model, simulated surgery is performed to verify the rationality of the prosthesis and osteotomy guide; S62: extracting kinematic parameters of the prosthesis and the bone according to the matched prosthesis model and the reconstructed three-dimensional model; S63: Based on the kinematic parameters of the prosthesis and the bone, material properties, contact properties and boundary conditions are set to simulate the load conditions of the prosthesis in joint flexion and extension and single-leg standing states, and analyze the local dynamic mechanical properties before and after the operation. The local dynamic mechanical properties include deformation of each part of the prosthesis, stress / strain distribution and internal energy change characteristics, and the material properties include elastic modulus and Poisson's ratio; S64: Based on the local dynamic mechanical properties before and after surgery, the mechanical properties of the prosthesis are tested and compared with the regulatory requirements of the implant. According to the preset mechanical property threshold, the optimization goal is set and the matching prosthesis model is modified until the mechanical properties of the prosthesis meet the preset mechanical property threshold.
7. A digital generation device for joint bone tumor prosthesis, characterized in that: The device is applicable to the method according to any one of claims 1 to 6, and comprises: Multimodal imaging unit: used to obtain preoperative multimodal images of patients, and preprocess the preoperative multimodal images to obtain preprocessed multimodal images; Tumor segmentation model unit: used to obtain the surgical staging of the patient's musculoskeletal system tumor, input the pre-processed multimodal image into the pre-trained tumor segmentation model of the corresponding staging, and obtain a mask image with the lesion area, surgical area and non-lesion area marked. The tumor segmentation model is a multi-classification model based on the PatchGan network; Boundary unit: used to extract the boundary of the lesion area and the surgical area based on the mask image marked with the lesion area and the surgical area, and determine the osteotomy range; Guidance plan unit: used to generate an intraoperative guidance plan according to the osteotomy range, wherein the guidance plan includes automatic registration preparation of computer navigation-assisted technology and generation of an osteotomy guide plate model; 3D reconstruction unit: used to perform 3D reconstruction based on the mask image marking the lesion area and the surgical area, obtain a reconstructed 3D model, and generate a matching prosthesis model; Structural mechanics unit: used for simulating osteotomy and structural mechanics analysis of the matching prosthesis model.
8. An electronic device, characterized in that: The electronic device comprises: a housing, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is placed inside the space enclosed by the housing, and the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program codes; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the method of any one of claims 1 to 6.
