Articular cartilage image defect identification method, repair stent design method, electronic equipment and medium
By identifying the location of articular cartilage image defects, collecting data from multiple perspectives and reconstructing a three-dimensional digital model, it solves the problems of positioning accuracy and complex structure simulation in the existing technology, and achieves the precise design of articular cartilage repair scaffolds and the integration of autologous tissues.
Patent Information
- Application Number
- CN202410914120.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technology cannot locate the detailed features and minute changes of internal joint defects in real time. As a result, handheld 3D printing repair methods cannot guarantee repair accuracy and simulation of complex structures, and cannot be closely integrated with autologous native tissues.
By acquiring articular cartilage images, identifying defect locations, collecting data from multiple perspectives, converting it into initial point cloud data, generating a 3D Gaussian ellipsoid set, projecting it into a 2D Gaussian space, optimizing the point cloud distribution, reconstructing a three-dimensional digital model, and designing personalized articular cartilage Repair bracket.
It achieves precise positioning of articular cartilage defects and three-dimensional digital model reconstruction, ensuring the tight integration of the repair scaffold and autologous native tissue, and improving repair accuracy and simulation capabilities of complex structures.
Smart Images

Figure CN118840487A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of medical devices, and in particular relates to an articular cartilage image defect recognition method and a repair bracket design method, electronic equipment, and a medium. Background Art
[0002] At present, there are few studies on the personalized design of medical devices for repairing osteochondral defects, such as biological scaffolds and joint prostheses. In the existing technology, CT or MRI is usually used to obtain high-precision three-dimensional raw data of the patient's knee joint, and a three-dimensional model of the patella is established using reverse engineering methods. However, CT or MRI cannot provide real-time feedback and locate the detailed features and minor changes of the internal defects of the joint, and cannot well assist doctors in performing in-situ repair operations while observing the operation.
[0003] Currently, the most commonly used surgical treatment for articular cartilage injury in clinical practice is mainly based on handheld 3D printing equipment for cartilage repair. The main process is that clinicians use a handheld bio-gun to directly add repair materials to the damaged cartilage to achieve the purpose of treatment.
[0004] However, this method of using a manual handheld biogun cannot guarantee the required repair accuracy, and can only print and repair cartilage defects of simple shapes. It cannot simulate the complex structure of natural cartilage and cannot ensure close integration with autologous native tissue. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention provides a design method, electronic equipment and medium for an in-situ printed repair bracket for a joint.
[0006] In a first aspect, an embodiment of the present invention provides a method for identifying defects in articular cartilage images, the method comprising:
[0007] Acquire an image of the articular cartilage to be repaired, and identify the defect location in the articular cartilage image; collect cartilage defect image data from multiple perspectives at the defect location of the articular cartilage;
[0008] The cartilage defect image data is converted into initial point cloud data, a 3D Gaussian ellipsoid set is generated based on the initial point cloud data, and the 3D Gaussian ellipsoid set is projected into a 2D Gaussian: the distance between the center of the 3D ellipsoid and the current 2D Gaussian pixel point is sorted, and the first N 3D Gaussian ellipsoids are taken to calculate the color value of the pixel point in the 2D Gaussian space; the loss function is calculated based on the color value of the pixel point in the 2D Gaussian space and the cartilage defect image data, the point cloud distribution is optimized, and the center position, color, and opacity of the point cloud are reconstructed to obtain a three-dimensional digital model of the articular cartilage defect. Compared with the prior art, the beneficial effects of the present invention are:
[0009] In a second aspect, an embodiment of the present invention provides a method for designing an articular cartilage repair scaffold, the method comprising:
[0010] Obtain the articular surface of the articular cartilage defect;
[0011] Performing curved surface reconstruction on the three-dimensional digital model of the articular cartilage defect to obtain the fusion surface of the articular cartilage defect;
[0012] Obtain the supporting structure between the articular surface and the fusion surface;
[0013] The supporting structure and the articular surface are used together as a scaffold for repairing articular cartilage.
[0014] In a third aspect, an embodiment of the present invention provides an electronic device comprising a memory and a processor, wherein the memory is coupled to the processor; wherein the memory is used to store program data, and the processor is used to execute the program data to implement the above-mentioned articular cartilage image defect identification method or articular cartilage repair scaffold design method.
[0015] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned articular cartilage image defect recognition method or articular cartilage repair scaffold design method.
[0016] In a fifth aspect, an embodiment of the present invention provides a computer program product, including a computer program / instructions, which, when executed by a processor, implements the above-mentioned articular cartilage image defect recognition method or articular cartilage repair scaffold design method.
[0017] Compared with the prior art, the present invention has the following beneficial effects:
[0018] The present invention provides a method for identifying defects in articular cartilage images and a method for designing a repair bracket. By identifying the defect position in the articular cartilage image and collecting cartilage defect image data from multiple perspectives at the defect position of the articular cartilage, the detailed features and slight changes of the defect inside the joint can be located; the cartilage defect scene is quickly reconstructed based on a three-dimensional Gaussian sputtering field network model to obtain an accurate three-dimensional digital model of the articular cartilage defect. Furthermore, the present invention performs surface reconstruction based on the three-dimensional digital model of the articular cartilage defect to obtain a fusion surface at the articular cartilage defect, and reconstructs the joint surface morphology, ensuring the close integration of the repair bracket and the autologous native tissue. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0020] Figure 1 A flow chart of a method for identifying articular cartilage defects in an image provided by an embodiment of the present invention;
[0021] Figure 2 is a schematic diagram of multi-angle photography of an articular cartilage defect provided by an embodiment of the present invention;
[0022] Figure 3 is a schematic diagram of three-dimensional reconstruction of articular cartilage provided by an embodiment of the present invention;
[0023] Figure 4 is a result diagram of three-dimensional reconstruction of articular cartilage provided by an embodiment of the present invention;
[0024] Figure 5 is a schematic diagram of a process for obtaining an articular cartilage repair scaffold provided in an embodiment of the present invention;
[0025] Figure 6 It is a schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] It should be noted that, in the absence of conflict, the features in the following embodiments and implementations may be combined with each other.
[0028] like Figure 1 As shown, an embodiment of the present invention provides a method for identifying articular cartilage defects in an image, which specifically includes the following steps:
[0029] Step S1, obtaining an image of articular cartilage to be repaired, identifying a defect location in the articular cartilage image; and collecting cartilage defect image data from multiple perspectives at the defect location of the articular cartilage.
[0030] Specifically, in this example, an endoscopic image of the patient's defective cartilage is used as the image of the articular cartilage to be repaired.
[0031] Further, identifying the defect location in the articular cartilage image includes:
[0032] Encode the articular cartilage image to be repaired to obtain a first feature map F1;
[0033] The first feature map F1 is enlarged n times, and the number of channels is n 2 The convolution of2 A second feature map F2;
[0034] n 2 The first feature map in the second feature map F2 is replaced by the first feature map F1 to obtain a third feature map F3;
[0035] The same pixel position of each channel in the third feature map F3 is spliced to obtain an n×n decoding feature map;
[0036] The defect location in the articular cartilage image is identified by classifying and predicting the decoded feature map using a Softmax classifier.
[0037] Furthermore, if Figure 2 As shown, the cartilage defect image data collected from multiple perspectives at the defect position of the articular cartilage includes:
[0038] Taking the center position of the defect of the articular cartilage as the central reference point O of the image acquisition path and the distance R as the radius, the endoscope is moved in multiple random closed trajectories in the internal area of the upper hemisphere with O as the center and R as the radius to capture and collect no less than N images. It is necessary to ensure that the scenes between the pictures have a significant overlap; the distance R is the maximum focal length of the endoscope.
[0039] Step S2, converting the cartilage defect image data into initial point cloud data, generating a 3D Gaussian ellipsoid set based on the initial point cloud data, and projecting the 3D Gaussian ellipsoid set into a 2D Gaussian: sorting by the distance between the center of the 3D ellipsoid and the current 2D Gaussian pixel point, taking the first N 3D Gaussian ellipsoids to calculate the color value of the pixel point in the 2D Gaussian space; calculating the loss function based on the color value of the pixel point in the 2D Gaussian space and the cartilage defect image data, optimizing the point cloud distribution, reconstructing the center position, color, and opacity of the point cloud, and obtaining a three-dimensional digital model of the articular cartilage defect.
[0040] Specifically, Figure 3 As shown, step S2 includes the following sub-steps:
[0041] Step S201, using the SIFT algorithm to extract and match feature points of the cartilage defect image data, and then using SFM incremental sparse reconstruction to obtain camera pose estimation and sparse point cloud coordinates of key points, which are used as initial point cloud data of the three-dimensional Gaussian sputtering field;
[0042] Exemplarily, a total of 25 multi-view images taken at a tibial cartilage defect of a knee joint and after data cleaning are input, COLMAP is used for preprocessing of sparse point cloud reconstruction, the camera model is set to the SIMPLE_PINHOLE model suitable for undistorted images for feature extraction and alignment, and a bin file containing the three-dimensional coordinates of the image and the camera pose estimation is output, wherein the camera pose estimation file includes the focal length f and the principal point (cx, cy).
[0043] Step S202, generating a 3D Gaussian ellipsoid set, wherein the 3D Gaussian ellipsoid set includes position, shape, color, and opacity information;
[0044] Among them, the position information of the 3D Gaussian ellipsoid set is the position of each point in the initial point cloud data, recorded as (x, y, z);
[0045] The shape information of the 3D Gaussian ellipsoid set is represented by the covariance matrix ∑ of the Gaussian ellipsoid, which contains the rotation matrix R of the Gaussian ellipsoid and the scaling matrix S on each axis, denoted as ∑=RSS T R T ; The dimensions of the rotation matrix R and the scaling matrix S are determined according to the number of key points in the initial point cloud data;
[0046] The color information c = (r, g, b) of the 3D Gaussian ellipsoid set is represented by spherical harmonics, so that the initial point cloud data will show different colors at different angles;
[0047] The opacity information of the 3D Gaussian ellipsoid set is the distribution density α of the initial point cloud data;
[0048] Step S203, projecting the 3D Gaussian ellipsoid set to 2D Gaussian: performing projection transformation calculation based on the covariance matrix ∑, projecting the 3D Gaussian ellipsoid set to a two-dimensional image space under a fixed viewing angle, and the projected 2D covariance matrix ∑′ can be calculated using the following formula:
[0049] ∑′=JW∑WTJT;
[0050] Where J represents the Jacobian matrix mapping from three-dimensional space to two-dimensional space, W represents the external parameter matrix of the camera, and ∑ represents the covariance matrix of the spatial distribution of the point cloud data. Specifically, the covariance matrix is subjected to ∑ eigendecomposition:
[0051] ∑=RSS T R T
[0052] Where R and S represent the linear transformation matrices for rotation and scaling of the 3D point cloud, respectively.
[0053] Step S204, color rendering: sort by the distance between the center of the 3D ellipsoid and the current 2D Gaussian pixel, and take the first N 3D Gaussian ellipsoids to calculate the color value C of the pixel in the 2D Gaussian space; this can be expressed using the following formula:
[0054]
[0055] Assume that at a certain radius r c N 3D Gaussian ellipsoids in the spherical area can affect the color value of the current pixel. They are sorted according to the distance between the center of the ellipsoid and the current pixel to obtain an ordered ellipsoid set of size N.
[0056] Where i is the current ellipsoid in the ordered ellipsoid set, c i Represents the color information of the current ellipsoid i, α i represents the opacity information of the current ellipsoid i, and j represents the jth ellipsoid before i in the ordered ellipsoid set, α j It represents the opacity information of ellipsoid j (j<i), that is, the cumulative effect of the opacity information before ellipsoid i is used as the influence weight for calculating the pixel color value.
[0057] Step S205, based on the color value of the pixel point in the 2D Gaussian space and the cartilage defect image data, the L1 loss and the DSSIM loss are calculated, and the weighted sum of the L1 loss and the DSSIM loss is used as the loss function to optimize the point cloud distribution, reconstruct the center position, color, and opacity of the point cloud, and obtain a three-dimensional digital model of the articular cartilage defect ( Figure 4 ).
[0058] Specifically, the color value C of the pixel point in the 2D Gaussian space is the prediction result pred of a prediction step. The L1 loss and DSSIM loss are solved by comparing with the real cartilage defect image data gt under the fixed viewing angle of the input. The forward propagation and gradient backpropagation optimize the 3D Gaussian ellipsoid set including position, shape, color, and opacity information, and the prediction result pred is continuously iterated and optimized. The loss function is expressed as:
[0059] L=(1-λ)L1+λL D-SSIM ;
[0060] In the formula, λ represents the weight coefficient.
[0061] Furthermore, the optimization process also includes: adaptively changing the distribution mode of the point cloud based on the gradient, performing densification every 100 iterations, removing ellipsoids with high transparency, that is, removing ellipsoids with opacity α lower than a certain set threshold ∈ αFor scenes lacking geometric features (under-reconstruction) or with a Gaussian sphere covering a large area (over-reconstruction), there are usually large spatial position gradients, so for scenes with gradients greater than the preset threshold T pos The densification is performed in an area.
[0062] Furthermore, the optimization process also includes: a point cloud pruning operation based on position distribution, by setting the maximum screen size parameter ∈ r , the radius of the area projected on the camera plane is greater than ∈ r The Gaussian ellipsoid set is removed, that is, the points close to the camera are removed.
[0063] like Figure 5 As shown, the present invention also provides a method for designing an articular cartilage repair scaffold, the method comprising:
[0064] Step S100, obtaining the articular surface of the articular cartilage defect. In this example, the healthy side of the articular cartilage is mirrored to obtain the articular surface of the articular cartilage defect.
[0065] Step S200, performing curved surface reconstruction on the three-dimensional digital model of the articular cartilage defect obtained by the above-mentioned articular cartilage image defect recognition method to thin the shell, so as to obtain a fusion surface of the articular cartilage defect.
[0066] Step S300, obtaining the support structure between the joint surface and the fusion surface.
[0067] Step S400, using the support structure and the joint surface together as an articular cartilage repair scaffold.
[0068] In this example, a cartilage repair scaffold is printed and manufactured in one go using a 3D printing technology of stacked printing; 3D printing uses an artificial polymer-hydrogel composite microsphere material, which encapsulates bone marrow mesenchymal stem cells in hydrogel microspheres, and simultaneously wraps calcium-phosphorus active biomaterials and artificial polymer materials on the surface of the hydrogel microspheres, thereby achieving a long-term sustained release of bone marrow mesenchymal stem cells in the body through the slow degradation of the surface artificial polymer material and the hydrogel, thereby promoting bone and cartilage tissue repair in a more controllable manner; the amount of material used in the 3D printing can be estimated by the volume difference of the three-dimensional models of the healthy side cartilage and the defective side cartilage.
[0069] The personalized spatial form of the joint in situ printed repair stent completed in this embodiment can be used to repair defective sides of the cartilage layer and subchondral bone layer of the tibial plateau of the knee joint, but is not limited to these defective sides.
[0070] Accordingly, the present application also provides an electronic device, comprising: one or more processors; a memory for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the above method. Figure 6 As shown, it is a hardware structure diagram of any device with data processing capability where the method provided by the embodiment of the present invention is located, except Figure 6 In addition to the processor, memory and network interface shown, any device with data processing capability in which the apparatus in the embodiment is located may also include other hardware, generally based on the actual functions of the device with data processing capability, which will not be described in detail.
[0071] Accordingly, the present application also provides a computer-readable storage medium on which computer instructions are stored, and when the instructions are executed by a processor, the above method is implemented. The computer-readable storage medium can be an internal storage unit of any device with data processing capabilities described in any of the aforementioned embodiments, such as a hard disk or a memory. The computer-readable storage medium can also be an external storage device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), an SD card, a flash card (Flash Card), etc. equipped on the device. Furthermore, the computer-readable storage medium can also include both an internal storage unit of any device with data processing capabilities and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by any device with data processing capabilities, and can also be used to temporarily store data that has been output or is to be output.
[0072] The above embodiments are only used to illustrate the design ideas and features of the present invention, and their purpose is to enable those skilled in the art to understand the content of the present invention and implement it accordingly. The protection scope of the present invention is not limited to the above embodiments. Therefore, any equivalent changes or modifications made based on the principles and design ideas disclosed by the present invention are within the protection scope of the present invention.
Claims
1. A method for identifying articular cartilage defects, characterized in that: The method comprises: Acquire an image of the articular cartilage to be repaired, and identify the defect location in the articular cartilage image; collect cartilage defect image data from multiple perspectives at the defect location of the articular cartilage; The cartilage defect image data is converted into initial point cloud data, and a 3D Gaussian ellipsoid set is generated based on the initial point cloud data. The 3D Gaussian ellipsoid set is projected into a 2D Gaussian: the distance between the center of the 3D ellipsoid and the current 2D Gaussian pixel point is sorted, and the first N 3D Gaussian ellipsoids are used to calculate the color value of the pixel point in the 2D Gaussian space; the loss function is calculated based on the color value of the pixel point in the 2D Gaussian space and the cartilage defect image data, the point cloud distribution is optimized, the center position, color, and opacity of the point cloud are reconstructed, and a three-dimensional digital model of the articular cartilage defect is obtained.
2. The method for identifying articular cartilage defects according to claim 1, characterized in that: Identifying the location of defects in articular cartilage images involves: Encode the articular cartilage image to be repaired to obtain a first feature map F1; The first feature map F1 is enlarged n times, and the number of channels is n 2 The convolution of 2 A second feature map F2; n 2 The first feature map in the second feature map F2 is replaced by the first feature map F1 to obtain a third feature map F3; The same pixel position of each channel in the third feature map F3 is spliced to obtain an n×n decoding feature map; The defect location in the articular cartilage image is identified by classifying and predicting the decoded feature map using a Softmax classifier.
3. The method for identifying articular cartilage defects according to claim 1, characterized in that: The cartilage defect image data collected from multiple perspectives at the defect location of the articular cartilage includes: Taking the center position of the defect of the articular cartilage as the central reference point O of the image acquisition path and the distance R as the radius, the endoscope is moved in multiple random closed trajectories in the internal area of the upper hemisphere with O as the center and R as the radius to capture and collect no less than N images. It is necessary to ensure that the scenes between the pictures have a significant overlap; the distance R is the maximum focal length of the endoscope.
4. The method for identifying articular cartilage defects according to claim 1, characterized in that: The process of obtaining a three-dimensional digital model of the articular cartilage defect includes: Converting cartilage defect image data into initial point cloud data; Generate a 3D Gaussian ellipsoid set, the 3D Gaussian ellipsoid set includes position, shape, color, and opacity information; wherein the position information of the 3D Gaussian ellipsoid set is the position of each point in the initial point cloud data; the shape information of the 3D Gaussian ellipsoid set is represented by the covariance matrix of the Gaussian ellipsoid, the covariance matrix includes the rotation matrix of the Gaussian ellipsoid and the scaling matrix on each axis, and the dimensions of the rotation matrix and the scaling matrix are determined according to the number of key points in the initial point cloud data; the color information of the 3D Gaussian ellipsoid set is represented based on the spherical harmonic function c=(r, g, b); the opacity information of the 3D Gaussian ellipsoid set is the distribution density of the initial point cloud data; Project the 3D Gaussian ellipsoid set to a 2D Gaussian; Sort by the distance between the center of the 3D ellipsoid and the current 2D Gaussian pixel, and take the first N 3D Gaussian ellipsoids to calculate the color value of the pixel in the 2D Gaussian space; The L1 loss and DSSIM loss were calculated based on the color values of the pixels in the 2D Gaussian space and the cartilage defect image data. The weighted sum of the L1 loss and DSSIM loss was used as the loss function to optimize the point cloud distribution, reconstruct the center position, color, and opacity of the point cloud, and obtain a three-dimensional digital model of the articular cartilage defect.
5. The method for identifying articular cartilage defects according to claim 1, characterized in that: The expression of the color value of a pixel in 2D Gaussian space is as follows: Assume that at a certain radius r c N 3D Gaussian ellipsoids in the spherical area can affect the color value of the current pixel point, and are sorted according to the distance between the center of the ellipsoid and the current pixel point to obtain an ordered ellipsoid set of size N; where \(i\) traverses the current ellipsoid in the set of ordered ellipsoids, \(c\) i represents the color information of the current ellipsoid \(i\), \(\alpha\) i represents the opacity information of the current ellipsoid \(i\), \(\alpha\) j represents the opacity information of the ellipsoid \(j\), \(j < i\), and \(j\) represents the \(j\)-th ellipsoid in the set of ordered ellipsoids that precedes the ellipsoid \(i\).
6. A method for designing an articular cartilage repair scaffold, characterized in that: The method comprises: Obtain the articular surface of the articular cartilage defect; Performing surface reconstruction on the three-dimensional digital model of the articular cartilage defect obtained by the articular cartilage image defect recognition method according to any one of claims 1 to 5 to obtain a fusion surface of the articular cartilage defect; Obtain the supporting structure between the articular surface and the fusion surface; The supporting structure and the articular surface are used together as a scaffold for repairing articular cartilage.
7. A method for designing an articular cartilage repair scaffold according to claim 6, characterized in that: The method comprises: obtaining the articular surface at the articular cartilage defect comprises: The healthy side of the articular cartilage is mirrored to obtain the articular surface at the articular cartilage defect.
8. An electronic device, comprising a memory and a processor, characterized in that: The memory is coupled to the processor; wherein the memory is used to store program data, and the processor is used to execute the program data to implement the articular cartilage image defect recognition method described in any one of claims 1-5 or the articular cartilage repair scaffold design method described in any one of claims 6-7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for identifying articular cartilage defects in images as described in any one of claims 1 to 5 or the method for designing an articular cartilage repair scaffold as described in any one of claims 6 to 7 is implemented.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the method for identifying articular cartilage defects in images described in any one of claims 1 to 5 or the method for designing an articular cartilage repair scaffold described in any one of claims 6 to 7 is implemented.
Citation Information
Patent Citations
Real-time rendering method and device based on multi-level Gaussian sputtering
CN118096972A
Cited By
Method for optimizing 3D Gaussian model construction based on threshold value and statistical filtering
CN119323647A
Method and system for reconstructing cartilage surface and electronic equipment
CN119523630A
Three-dimensional digital human flaw repairing method, related device and storage medium
CN120726242A
A three-dimensional digital human flaw repairing method and related device and storage medium
CN120726242B
