Shape matching method for bone repair of severe alveolar bone defects based on machine vision

Through high-resolution CT scanning and machine vision technology, the alveolar bone defect and block bone model is reconstructed in three-dimensionally, and the surgical solution is optimized using geometric hashing algorithms and Boolean calculations, which solves the inaccurate shape matching of alveolar bone defects in traditional dental surgery and isolate inaccurate and The problem of insufficient biomechanical stability has achieved more efficient alveolar bone repair and patient recovery.

CN118383866BActive Publication Date: 2024-11-22PEKING UNIV SCHOOL OF STOMATOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410488914.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-23
Publication Date
2024-11-22
Estimated Expiration
2044-04-23

AI Technical Summary

Technical Problem

The treatment of severe alveolar bone defects in traditional dental surgery has problems such as inaccurate shape matching, long surgery time, and insufficient biomechanical stability, resulting in poor fit between the grafted bone block and the defect area, high risk of surgical failure and poor patient recovery. .

Method used

Using high-resolution CT scanning and machine vision technology, models of alveolar bone defect areas and blocky bones are reconstructed by three-dimensionally, using geometric hashing algorithms and Boolean computing to optimize trimming and filling schemes to ensure the best match between bone blocks and defect areas. and biomechanical stability.

Benefits of technology

It improves the accuracy of shape matching during surgery, shortens the surgical time, enhances the transplant success rate and patient recovery speed, ensures long-term functional stability, and reduces the need for reoperation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118383866B_ABST
    Figure CN118383866B_ABST
Patent Text Reader

Abstract

The present invention discloses a machine vision-based bone block repair shape matching method for severe alveolar bone defect, including S1, using a high-resolution CT scanning device to scan the patient's alveolar bone defect area and the autologous bone block in the bone area to be taken; S2, preprocessing the collected image data; S3, generating a three-dimensional model of the alveolar bone defect area and a three-dimensional model of the block bone; S4, applying a three-dimensional "chessboard" style grid; S5, using a geometric hash algorithm to find out the repair scheme of the block bone and the filling scheme of the alveolar bone defect area; S6, using Boolean calculation to further optimize the repair scheme of the block bone and the filling scheme of the alveolar bone defect area, and finally obtain the best repair and filling scheme; S7, generating detailed surgical guidance steps and parameters. The present invention can find a matching method for bone block repair through high-resolution CT scanning and advanced machine vision technology, and accurately reconstruct the three-dimensional model of the alveolar bone defect area and the transplanted bone block.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of dental technology, and in particular to a machine vision-based bone block trimming shape matching method for severe alveolar bone defects. Background Art

[0002] In modern oral implant restoration and reconstruction surgery, the treatment of severe alveolar bone defects is a complex and extremely challenging problem. Traditional methods rely on the surgeon's experience and intuitive judgment to use autologous or allogeneic bone transplants to repair the defects. However, these methods have many limitations and challenges, including but not limited to low matching between the transplanted bone block and the defect area, long operation time, low precision, and insufficient biomechanical stability that may affect the patient's recovery.

[0003] The main defects of the prior art include:

[0004] 1. Traditional methods often rely on the doctor's experience and manual measurement, and it is difficult to achieve a highly accurate match between the shape of the alveolar bone defect area and the transplanted bone block. It is easy for the transplanted bone block to fit poorly with the bone defect area. Poor fit is not conducive to the survival of the transplanted bone block, and also increases the difficulty of firmly fixing the transplanted bone block, thereby affecting the repair effect and the patient's recovery.

[0005] 2. Due to the lack of effective prediction and planning tools, traditional surgery requires repeatedly placing the transplanted bone blocks in the bone defect area for comparison, testing and multiple trimming to adapt to the shape of the defect area. This not only increases the operation time, increases the ischemic time of the transplanted bone blocks in vitro, which may reduce the activity of the bone blocks, but also increases the risk of transplanted bone block disintegration and contamination during surgery, and increases the patient's mouth opening time, thereby increasing the risk of operation failure and patient discomfort during surgery.

[0006] 3. It is difficult to accurately evaluate the biomechanical stability between the transplanted bone block and the alveolar bone defect area using traditional methods, which may lead to transplant failure or long-term functional impairment.

[0007] Therefore, how to provide a method for shape matching of bone blocks for severe alveolar bone defects based on machine vision is an urgent problem to be solved by those skilled in the art. Summary of the invention

[0008] One purpose of the present invention is to propose a shape matching method for bone block trimming of severe alveolar bone defects based on machine vision. The present invention can find a matching method for bone block trimming through high-resolution CT scanning and advanced machine vision technology, and accurately reconstruct a three-dimensional model of the alveolar bone defect area and the transplanted bone block.

[0009] A method for shape matching of bone blocks for severe alveolar bone defect repair based on machine vision according to an embodiment of the present invention comprises the following steps:

[0010] S1. Use high-resolution CT scanning equipment to scan the patient's alveolar bone defect area and the autologous bone block in the area where the bone is to be harvested from multiple angles;

[0011] S2, denoising and standardizing the collected image data;

[0012] S3. Use machine vision technology and image processing algorithms to perform three-dimensional reconstruction on the processed image data, generate a three-dimensional model of the alveolar bone defect area and a three-dimensional model of the block bone, and analyze the shape, size and complexity of the defect area and the block bone;

[0013] S4, applying a three-dimensional "chessboard" style grid to the three-dimensional model of the alveolar bone defect area and the three-dimensional model of the block bone, and calculating the amount of material to be removed at each grid point to determine the specific parameters of drill grinding, including position, depth and angle;

[0014] S5. Using a geometric hash algorithm, the three-dimensional model of the block bone is compared with the three-dimensional model of the alveolar bone defect area to find out a repair plan for the block bone and a filling plan for the alveolar bone defect area. The repair plan for the block bone and the filling plan for the alveolar bone defect area take into account the joint area, shape fit and potential biomechanical stability between the block bone and the alveolar bone defect area;

[0015] S6. Use Boolean calculation to further optimize the repair plan of the block bone and the filling plan of the alveolar bone defect area, and finally obtain the best repair and filling plan;

[0016] S7. Generate detailed surgical guidance steps and parameters based on the optimal trimming and filling plan, including cutting angle, depth and specific trimming process.

[0017] Optionally, the S1 specifically includes:

[0018] S11. Select a high-resolution CT scanning device with at least 256-slice spiral scanning function. The resolution standard is set to at least 0.5 mm. The resolution requirement is set as follows:

[0019]

[0020] Where R represents the required spatial resolution in line pairs / mm, and d min Represents the smallest structure size that can be resolved;

[0021] S12. Before scanning, pre-scanning planning is performed through the software to set specific scanning parameters, including scanning angle, number of layers, and size of the scanning area. The setting relationship of the scanning parameters is expressed by the following formula:

[0022] A = θ × N × D;

[0023] Where A represents the total coverage angle of the scanned area, θ represents the angular coverage of each scan, N is the total number of scanned layers, and D is the thickness of each scanned layer;

[0024] S13, adjust the patient's posture so that the alveolar bone defect area and the predetermined autologous block bone extraction area are aligned with the center line of the CT scanning device, and use a positioning belt or a bracket to fix the patient's position. The posture adjustment is based on the patient's body shape and the specific conditions of the scanning area using the following formula:

[0025] P = f(p, v, t);

[0026] Among them, P represents the final posture parameter, p is the expected scanning position, v is the patient volume parameter, and t is the thickness of the target area;

[0027] S14. Perform an initial low-dose scan to obtain the approximate location of the region. Adjust the scan parameters and patient position based on the preliminary images. The effect of the initial low-dose scan is evaluated by the following formula:

[0028]

[0029] Among them, Q represents the percentage of improvement in image quality, I0 is the original image intensity, and I is the processed image intensity;

[0030] S15, perform high-resolution scanning, and perform detailed scanning from at least four different angles, including 0°, 90°, 180°, and 270°, and reconfirm the patient's position and scanning parameters before scanning at each angle;

[0031] S16. After collecting the scanning data at all angles, the autologous bone block data of the patient's alveolar bone defect area and the area where bone is to be harvested are imported into a dedicated image processing software.

[0032] Optionally, the S3 specifically includes:

[0033] S31, importing the preprocessed image data into the three-dimensional reconstruction software, automatically identifying the alveolar bone defect area and the outline of the block bone based on machine vision technology, and segmenting the region of interest using an edge detection algorithm;

[0034] S32. Use voxelization method to convert the two-dimensional image data into point cloud data in three-dimensional space, and assign a density value V to each voxel point:

[0035] V(i,j,k)=w1·I(i,j)+w2·G(i,j)+w3·C(i,j,k);

[0036] Among them, V(i,j,k) is the density value of point (i,j,k) in three-dimensional space, I(i,j) represents the gray value of the two-dimensional image at coordinate (i,j), G(i,j) is the gradient amplitude of the image at (i,j), reflecting the edge strength of the point, C(i,j,k) represents the curvature caused by the difference in gray values ​​of adjacent voxels, which is used to evaluate the local changes of three-dimensional shape, w1, w2 and w3 are weight coefficients, which are used to balance the role of different image features in determining the density value;

[0037] S33, using the Marching Cubes algorithm, convert the point cloud data obtained in step S32 into a continuous three-dimensional surface model, calculate the relative positions between different point clouds, automatically construct a three-dimensional surface, and generate a three-dimensional model M of the alveolar bone defect area d and block bone 3D model M b :

[0038]

[0039] Among them, M represents the final three-dimensional model of the alveolar bone defect area M d and block bone 3D model M b Surface, P represents the point cloud dataset, H and K are the mean curvature and Gaussian curvature of each point on the model surface, respectively, which are used to evaluate the smoothness and local shape variation of the surface, and λ1, λ2 and λ3 are balance terms;

[0040] S34, using geometric morphological analysis tools, the three-dimensional model M of the alveolar bone defect area generated in step S33 d and block bone 3D model M b Perform shape, size and complexity analysis:

[0041]

[0042] Among them, S b (M) represents the three-dimensional model of the alveolar bone defect area M d and block bone 3D model M b The geometric morphological analysis results comprehensively evaluate the overall influence of the volume, surface area and the average square curvature of the surface of the model, and measure the shape, size and complexity of the block bone model. V(M) represents the three-dimensional model M of the alveolar bone defect area. d and block bone 3D model M b The volume of the alveolar bone defect area is represented by A(M). d and block bone 3D model M b The surface area of ​​∫ M H 2 dA is the three-dimensional model of the alveolar bone defect area M d and block bone 3D model Mb The integral of the mean square of curvature at each point on the surface is an indicator of the smoothness of the model surface and the local morphological changes. The high curvature area indicates the sharp or concave and convex parts on the model. b , β b and γ b The coefficients are used to balance the contributions of volume, surface area, and the square of the mean curvature of the surface to the overall analysis result.

[0043] Optionally, the S31 specifically includes:

[0044] S311, applying a convolutional neural network to extract features from the processed image data, taking the alveolar bone defect area image and the autologous block bone image as input images\I, the process is represented by the following formula:

[0045]

[0046] Where F represents the extracted feature map, W k and b represent the weight and bias of the kth convolution kernel, respectively. k is the local area of ​​the input image under the action of the kth convolution kernel. ReLU is a nonlinear activation function that provides the model with nonlinear modeling capabilities. BN represents batch normalization, which is used to accelerate the training process and improve model stability. * represents convolution operation. Attention(I,W att ) is an attention mechanism, where W att are the learned attention weights used to strengthen the representation of important features in the image and suppress unimportant parts;

[0047] S312. Based on the extracted feature vector, the Canny edge detection is used to identify the contours of the alveolar bone defect area and the block bone:

[0048]

[0049] Among them, E represents the result of edge detection, I x and I y Respectively represent the gradient of the image in the horizontal and vertical directions. NMS is non-maximum suppression, which is used to eliminate redundant responses in edge detection and retain the strongest edge signal. AT(I,τ low ,τ high ) is an adaptive threshold technique, where τ low and τ high They are low threshold and high threshold, respectively, used to dynamically adjust the sensitivity of edge detection according to the image content;

[0050] S313, applying a graph cut algorithm to the result after edge detection, introducing a complex energy function based on pixel adjacency and pixel intensity difference to refine and accurately segment the target area:

[0051]

[0052] Among them, α and β are weight parameters for adjusting the contribution of data term and smoothing term, γ controls the degree of influence of adjacent pixel intensity difference on smoothing term, and ||I p I q || 2 is the difference in intensity between pixels p and q, used to adjust the effect of the smoothing term;

[0053] S314. Through steps S11-S13, the precise contours of the alveolar bone defect area and the block bone are obtained.

[0054] Optionally, the S4 specifically includes:

[0055] S41, 3D model of alveolar bone defect area M d and block bone 3D model M b Apply a 3D meshing algorithm to generate an equally spaced checkerboard-style grid:

[0056] G(i,j,k)=(x0+i·a,y0+j·a,z0+k·a);

[0057] Where G(i,j,k) represents the coordinates of the point in the grid, (i,j,k) is the index of the grid point, (x0,y0,z0) is the starting coordinates of the three-dimensional grid, and a is the side length of the grid;

[0058] S42, for each grid point, calculate the distance D relative to the model surface, and determine the amount of material V to be removed based on the distance remove :

[0059]

[0060] Where ρ is the density of the material, D is the shortest distance from the grid point to the model surface, D0 is the ideal distance threshold, and k is the shape adjustment factor;

[0061] S43, according to the amount of material V to be removed remove Calculate and determine the specific parameters of drill bit grinding, including the position P of the drill bit grinding drill , depth D drill and angle A drill :

[0062]

[0063]

[0064]

[0065] Among them, Pdrill is the target position of the drill bit grinding, P grid is the position of the current grid point, is the material volume gradient, indicating the direction of maximum material removal, Δx is the position fine-tuning amount, D drill is the grinding depth of the drill, r is the radius of the drill, A drill is the grinding angle of the drill, which is determined by the gradient direction of the material removal;

[0066] S44, repeat steps S41 to S43 until the three-dimensional model M of the alveolar bone defect area is complete. d and block bone 3D model M b All grid points on are processed.

[0067] Optionally, the S5 specifically includes:

[0068] S51, is the three-dimensional model M of the alveolar bone defect area d and block bone 3D model M b Generate a unique geometric hash value, which is performed by analyzing the geometric characteristics and spatial distribution of the model, dividing the model surface into a regular voxel grid and calculating the point density inside each voxel, assigning a hash value to each voxel;

[0069] H geo (M) = ∑ p∈M (ω1·Curv(p)+ω2ShapeIndex(p)+ω3·Dist centroid (p))hash(p);

[0070] Among them, H geo (M) represents the three-dimensional model of the alveolar bone defect area M d and block bone 3D model M b The geometric hash value of point p is: p represents a point in the model. ω1, ω2, and ω3 are weight factors used to balance the contribution of different geometric features in the hash value generation process. Curv(p) calculates the curvature of point p, which reflects the curvature of the model surface at point p. ShapeIndex(p) is the shape index of point p, which is a geometric attribute used to describe the characteristics of the local surface shape. Dist centroid (p) represents the distance from point p to the centroid of the model, which is used to capture the spatial distribution characteristics of the model. hash(p) applies a hash function to the position of point p to generate a unique numerical identifier;

[0071] S52, using geometric hash values ​​to quickly match voxels of the two models, find voxel pairs with high matching degrees, the matching degrees of the voxel pairs are determined by comparing the hash values ​​of the models, and for the matching voxel pairs, calculate their spatial alignment parameters to optimize the positional relationship between the models;

[0072]

[0073] Among them, δ is a comparison function that returns a score based on the similarity of the hash values, and ω is a weight function that adjusts the contribution of each voxel to the match based on the spatial alignment parameter α and the shape matching parameter β;

[0074] S53. Based on the matching degree and spatial alignment parameters, formulate a plan for the repair of the block bone and the filling plan for the alveolar bone defect area, including determining the specific area where material needs to be removed or added and calculating the optimal depth and angle of the repair and filling operation;

[0075] The modification plan is how to adjust the block bone 3D model to best match the alveolar bone defect area:

[0076]

[0077] Among them, R scheme represents the trimming scheme, M d and They represent the alveolar bone defect area model and the rotation angle θ, ψ is the block bone model adjusted, Λ is the function to evaluate the matching degree of the two models, which takes into account the joint area, shape fit and potential biomechanical stability, and Ω is the material removal amount V remove and the addition amount V add The cost function of .

[0078] The filling plan is how to best integrate the adjusted block bone model into the alveolar bone defect area:

[0079]

[0080] Among them, F scheme represents the filling solution, S d is the surface of the alveolar bone defect area, M match It is a measurement of the matching degree between the block bone and the alveolar bone defect area. It is the surface point of blocky bone The nearest alveolar bone defect area surface point The distance difference between them, α and β are coefficients that weigh the matching degree and the joint gap.

[0081] Optionally, the S6 specifically includes:

[0082] S61, based on the determined repair plan R scheme and filling plan F scheme , the block bone three-dimensional model M d and block bone 3D model M bPerform Boolean operation processing, apply Boolean difference operation to simulate the trimming of block bone model and Boolean union operation to simulate the filling of defect area;

[0083] Define the deformation mapping function for model trimming and the deformation mapping function for filling, and combine the processes through Boolean operations:

[0084] Trimming the mapping function:

[0085]

[0086] in, Based on the modification plan The rotation matrix of is based on the trimming solution position vector The translation matrix of .

[0087] Fill mapping function:

[0088]

[0089] Among them, Scale(V add ) According to the amount of added material V add Scaling matrix to adjust the model size;

[0090] Boolean operation optimization model:

[0091]

[0092] Among them, M final represents the final model after trimming and filling. represents a Boolean difference operation, which is used to remove the corresponding amount of material from the block bone model. represents a Boolean union operation, which is used to add the trimmed block bone model to the alveolar bone defect area;

[0093] S62, for M final Perform geometry and topology checks to confirm that the trimming and filling process does not introduce any non-physical geometric features and topological errors. Geometric features include excessive sharp angles or unrealistic hanging structures, and topological errors include holes or self-intersecting surfaces. Introduce the geometric integrity evaluation function G integrity And the topological integrity evaluation function \(T_{integrity}\) respectively evaluates the geometric characteristics and topological structure of the modified model:

[0094] Geometric integrity assessment:

[0095]

[0096] Where κ(d) is defined on the model surface M finalThe local curvature function of each point on the model, τ(s) is defined on the model boundary The curvature function on ;

[0097] Topological integrity assessment:

[0098]

[0099] Among them, χ(M final ) is the Euler characteristic number of the model, reflecting the topological complexity of the model, H i (M final ) is the topological impact assessment of the ith hole;

[0100] S63. Evaluation M final The original alveolar bone defect area M d The quality of the joint between the two, including the joint area, shape fit and potential biomechanical stability:

[0101]

[0102] Among them, A(M final ∩M d ) is the joint area between the model after trimming and filling and the original alveolar bone defect area, is the model M at each point p in the joint area final Surface and M d The measure of the difference in normal vectors, S(M final ,M d ) is a function that assesses biomechanical stability;

[0103] S64. Based on the joint quality assessment results, fine-tune the trimming and filling plans, including making slight adjustments to the trimming depth, angle, or distribution of the filling material, to obtain the best trimming and filling plans.

[0104] The beneficial effects of the present invention are:

[0105] (1) The present invention uses high-resolution CT scanning and advanced machine vision technology to find a matching method for bone repair and accurately reconstruct the three-dimensional model of the alveolar bone defect area and the transplanted bone block. Compared with the traditional manual measurement and matching method, it can greatly improve the shape matching accuracy during the repair process and ensure seamless connection between the transplanted bone block and the defect area, which is of great significance for improving surgical results and accelerating patient recovery.

[0106] (2) The geometric hash algorithm and Boolean calculation steps of the present invention optimize the trimming and filling schemes, greatly reduce the trial and error time of the matching scheme during the operation, and effectively shorten the operation time.

[0107] (3) The present invention ensures the biomechanical stability and durability of the repaired area by carefully analyzing the geometric and topological characteristics of the model after trimming and filling, which not only improves the success rate of transplantation, but also helps to maintain long-term functional recovery and reduces the need for reoperation that the patient may need in the future. BRIEF DESCRIPTION OF THE DRAWINGS

[0108] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0109] Figure 1 This is a flow chart of a machine vision-based bone block shape matching method for severe alveolar bone defect proposed by the present invention. DETAILED DESCRIPTION

[0110] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.

[0111] refer to Figure 1 A shape matching method for bone repair of severe alveolar bone defects based on machine vision comprises the following steps:

[0112] S1. Use high-resolution CT scanning equipment to scan the patient's alveolar bone defect area and the autologous bone block in the area where the bone is to be harvested from multiple angles;

[0113] In this implementation, S1 specifically includes:

[0114] S11. Select a high-resolution CT scanning device with at least 256-slice spiral scanning function. The resolution standard is set to at least 0.5 mm. The resolution requirement is set as follows:

[0115]

[0116] Where R represents the required spatial resolution in line pairs / mm, and d min Represents the smallest structure size that can be resolved;

[0117] S12. Before scanning, pre-scanning planning is performed through the software to set specific scanning parameters, including scanning angle, number of layers, and size of the scanning area. The setting relationship of the scanning parameters is expressed by the following formula:

[0118] A = θ × N × D;

[0119] Where A represents the total coverage angle of the scanned area, θ represents the angular coverage of each scan, N is the total number of scanned layers, and D is the thickness of each scanned layer;

[0120] S13, adjust the patient's posture so that the alveolar bone defect area and the predetermined autologous block bone extraction area are aligned with the center line of the CT scanning device, and use a positioning belt or a bracket to fix the patient's position. The posture adjustment is based on the patient's body shape and the specific conditions of the scanning area using the following formula:

[0121] P = f(p, v, t);

[0122] Among them, P represents the final posture parameter, p is the expected scanning position, v is the patient volume parameter, and t is the thickness of the target area;

[0123] S14. Perform an initial low-dose scan to obtain the approximate location of the region. Adjust the scan parameters and patient position based on the preliminary images. The effect of the initial low-dose scan is evaluated by the following formula:

[0124]

[0125] Among them, Q represents the percentage of improvement in image quality, I0 is the original image intensity, and I is the processed image intensity;

[0126] S15, perform high-resolution scanning, and perform detailed scanning from at least four different angles, including 0°, 90°, 180°, and 270°, and reconfirm the patient's position and scanning parameters before scanning at each angle;

[0127] S16. After collecting the scanning data at all angles, the autologous bone block data of the patient's alveolar bone defect area and the area where bone is to be harvested are imported into a dedicated image processing software.

[0128] S2, denoising and standardizing the collected image data;

[0129] S3. Use machine vision technology and image processing algorithms to perform three-dimensional reconstruction on the processed image data, generate a three-dimensional model of the alveolar bone defect area and a three-dimensional model of the block bone, and analyze the shape, size and complexity of the defect area and the block bone;

[0130] In this implementation, S3 specifically includes:

[0131] S31, importing the preprocessed image data into the three-dimensional reconstruction software, automatically identifying the alveolar bone defect area and the outline of the block bone based on machine vision technology, and segmenting the region of interest using an edge detection algorithm;

[0132] In this implementation, S31 specifically includes:

[0133] S311, applying a convolutional neural network to extract features from the processed image data, taking the alveolar bone defect area image and the autologous block bone image as input images\I, the process is represented by the following formula:

[0134]

[0135] Where F represents the extracted feature map, W k and b represent the weight and bias of the kth convolution kernel, respectively. k is the local area of ​​the input image under the action of the kth convolution kernel. ReLU is a nonlinear activation function that provides the model with nonlinear modeling capabilities. BN represents batch normalization, which is used to accelerate the training process and improve model stability. * represents convolution operation. Attention(I,W att ) is an attention mechanism, where W att are the learned attention weights used to strengthen the representation of important features in the image and suppress unimportant parts;

[0136] S312. Based on the extracted feature vector, the Canny edge detection is used to identify the contours of the alveolar bone defect area and the block bone:

[0137]

[0138] Among them, E represents the result of edge detection, I x and I y Respectively represent the gradient of the image in the horizontal and vertical directions. NMS is non-maximum suppression, which is used to eliminate redundant responses in edge detection and retain the strongest edge signal. AT(I,τ low ,τ high ) is an adaptive threshold technique, where τ low and τ high They are low threshold and high threshold, respectively, used to dynamically adjust the sensitivity of edge detection according to the image content;

[0139] S313, applying a graph cut algorithm to the result after edge detection, introducing a complex energy function based on pixel adjacency and pixel intensity difference to refine and accurately segment the target area:

[0140]

[0141] Among them, α and β are weight parameters for adjusting the contribution of data term and smoothing term, γ controls the degree of influence of adjacent pixel intensity difference on smoothing term, and ||I p I q || 2 is the difference in intensity between pixels p and q, used to adjust the effect of the smoothing term;

[0142] S314. Through steps S11-S13, the precise contours of the alveolar bone defect area and the block bone are obtained.

[0143] S32. Use voxelization method to convert the two-dimensional image data into point cloud data in three-dimensional space, and assign a density value V to each voxel point:

[0144] V(i,j,k)=w1·I(i,j)+w2·G(i,j)+w3·C(i,j,k);

[0145] Among them, V(i,j,k) is the density value of point (i,j,k) in three-dimensional space, I(i,j) represents the gray value of the two-dimensional image at coordinate (i,j), G(i,j) is the gradient amplitude of the image at (i,j), reflecting the edge strength of the point, C(i,j,k) represents the curvature caused by the difference in gray values ​​of adjacent voxels, which is used to evaluate the local changes of three-dimensional shape, w1, w2 and w3 are weight coefficients, which are used to balance the role of different image features in determining the density value;

[0146] S33, using the Marching Cubes algorithm, convert the point cloud data obtained in step S32 into a continuous three-dimensional surface model, calculate the relative positions between different point clouds, automatically construct a three-dimensional surface, and generate a three-dimensional model M of the alveolar bone defect area d and block bone 3D model M b :

[0147]

[0148] Among them, M represents the final three-dimensional model of the alveolar bone defect area M d and block bone 3D model M b Surface, P represents the point cloud dataset, H and K are the mean curvature and Gaussian curvature of each point on the model surface, respectively, which are used to evaluate the smoothness and local shape variation of the surface, and λ1, λ2 and λ3 are balance terms;

[0149] S34, using geometric morphological analysis tools, the three-dimensional model M of the alveolar bone defect area generated in step S33 d and block bone 3D model M b Perform shape, size and complexity analysis:

[0150]

[0151] Among them, S b (M) represents the three-dimensional model of the alveolar bone defect area M d and block bone 3D model M b The geometric morphological analysis results comprehensively evaluate the overall influence of the volume, surface area and the average square curvature of the surface of the model, and measure the shape, size and complexity of the block bone model. V(M) represents the three-dimensional model M of the alveolar bone defect area. d and block bone 3D model Mb The volume of the alveolar bone defect area is represented by A(M). d and block bone 3D model M b The surface area of ​​∫ M H 2 dA is the three-dimensional model of the alveolar bone defect area M d and block bone 3D model M b The integral of the mean square of curvature at each point on the surface is an indicator of the smoothness of the model surface and the local morphological changes. The high curvature area indicates the sharp or concave and convex parts on the model. b , β b and γ b The coefficients are used to balance the contributions of volume, surface area, and the square of the mean curvature of the surface to the overall analysis result.

[0152] S4, applying a three-dimensional "chessboard" style grid to the three-dimensional model of the alveolar bone defect area and the three-dimensional model of the block bone, and calculating the amount of material to be removed at each grid point to determine the specific parameters of drill grinding, including position, depth and angle;

[0153] In this implementation, S4 specifically includes:

[0154] S41, 3D model of alveolar bone defect area M d and block bone 3D model M b Apply a 3D meshing algorithm to generate an equally spaced checkerboard-style grid:

[0155] G(i,j,k)=(x0+i·a,y0+j·a,z0+k·a);

[0156] Where G(i,j,k) represents the coordinates of the point in the grid, (i,j,k) is the index of the grid point, (x0,y0,z0) is the starting coordinates of the three-dimensional grid, and a is the side length of the grid;

[0157] S42, for each grid point, calculate the distance D relative to the model surface, and determine the amount of material V to be removed based on the distance remove :

[0158]

[0159] Where ρ is the density of the material, D is the shortest distance from the grid point to the model surface, D0 is the ideal distance threshold, and k is the shape adjustment factor;

[0160] S43, according to the amount of material V to be removed remove Calculate and determine the specific parameters of drill bit grinding, including the position P of the drill bit grinding drill , depth D drill and angle A drill:

[0161]

[0162]

[0163]

[0164] Among them, P drill is the target position of the drill bit grinding, P grid is the position of the current grid point, is the material volume gradient, indicating the direction of maximum material removal, Δx is the position fine-tuning amount, D drill is the grinding depth of the drill, r is the radius of the drill, A drill is the grinding angle of the drill, which is determined by the gradient direction of the material removal;

[0165] S44, repeat steps S41 to S43 until the three-dimensional model M of the alveolar bone defect area is complete. d and block bone 3D model M b All grid points on are processed.

[0166] S5. Using a geometric hash algorithm, the three-dimensional model of the block bone is compared with the three-dimensional model of the alveolar bone defect area to find out a repair plan for the block bone and a filling plan for the alveolar bone defect area. The repair plan for the block bone and the filling plan for the alveolar bone defect area take into account the joint area, shape fit and potential biomechanical stability between the block bone and the alveolar bone defect area;

[0167] In this implementation, S5 specifically includes:

[0168] S51, is the three-dimensional model M of the alveolar bone defect area d and block bone 3D model M b Generate a unique geometric hash value, which is performed by analyzing the geometric characteristics and spatial distribution of the model, dividing the model surface into a regular voxel grid and calculating the point density inside each voxel, assigning a hash value to each voxel;

[0169] H geo (M) = ∑ p∈M (ω1·Curv(p)+ω2·ShapeIndex(p)+ω3·Dist centroid (p))hash(p);

[0170] Among them, H geo (M) represents the three-dimensional model of the alveolar bone defect area M d and block bone 3D model M bThe geometric hash value of point p is: p represents a point in the model. ω1, ω2, and ω3 are weight factors used to balance the contribution of different geometric features in the hash value generation process. Curv(p) calculates the curvature of point p, which reflects the curvature of the model surface at point p. ShapeIndex(p) is the shape index of point p, which is a geometric attribute used to describe the characteristics of the local surface shape. Dist centroid (p) represents the distance from point p to the centroid of the model, which is used to capture the spatial distribution characteristics of the model. hash(p) applies a hash function to the position of point p to generate a unique numerical identifier;

[0171] S52, using geometric hash values ​​to quickly match voxels of the two models, find voxel pairs with high matching degrees, the matching degrees of the voxel pairs are determined by comparing the hash values ​​of the models, and for the matching voxel pairs, calculate their spatial alignment parameters to optimize the positional relationship between the models;

[0172]

[0173] Among them, δ is a comparison function that returns a score based on the similarity of the hash values, and ω is a weight function that adjusts the contribution of each voxel to the match based on the spatial alignment parameter α and the shape matching parameter β;

[0174] S53. Based on the matching degree and spatial alignment parameters, formulate a plan for the repair of the block bone and the filling plan for the alveolar bone defect area, including determining the specific area where material needs to be removed or added and calculating the optimal depth and angle of the repair and filling operation;

[0175] The modification plan is how to adjust the block bone 3D model to best match the alveolar bone defect area:

[0176]

[0177] Among them, R scheme represents the trimming scheme, M d and They represent the alveolar bone defect area model and the rotation angle θ, ψ is the block bone model adjusted, Λ is the function to evaluate the matching degree of the two models, which takes into account the joint area, shape fit and potential biomechanical stability, and Ω is the material removal amount V remove and the addition amount V add The cost function of .

[0178] The filling plan is how to best integrate the adjusted block bone model into the alveolar bone defect area:

[0179]

[0180] Among them, Fscheme represents the filling solution, S d is the surface of the alveolar bone defect area, M match It is a measurement of the matching degree between the block bone and the alveolar bone defect area. It is the surface point of blocky bone The nearest alveolar bone defect area surface point The distance difference between them, α and β are coefficients that weigh the matching degree and the joint gap.

[0181] S6. Use Boolean calculation to further optimize the repair plan of the block bone and the filling plan of the alveolar bone defect area, and finally obtain the best repair and filling plan;

[0182] In this implementation, S6 specifically includes:

[0183] S61, based on the determined repair plan R scheme and filling plan F scheme , the block bone three-dimensional model M d and block bone 3D model M b Perform Boolean operation processing, apply Boolean difference operation to simulate the trimming of block bone model and Boolean union operation to simulate the filling of defect area;

[0184] Define the deformation mapping function for model trimming and the deformation mapping function for filling, and combine the processes through Boolean operations:

[0185] Trimming the mapping function:

[0186]

[0187] in, Based on the modification plan The rotation matrix of is based on the trimming solution position vector The translation matrix of .

[0188] Fill mapping function:

[0189]

[0190] Among them, Scale(V add ) According to the amount of added material V add Scaling matrix to adjust the model size;

[0191] Boolean operation optimization model:

[0192]

[0193] Among them, M final represents the final model after trimming and filling. represents a Boolean difference operation, which is used to remove the corresponding amount of material from the block bone model. represents a Boolean union operation, which is used to add the trimmed block bone model to the alveolar bone defect area;

[0194] S62, for M final Perform geometry and topology checks to confirm that the trimming and filling process does not introduce any non-physical geometric features and topological errors. Geometric features include excessive sharp angles or unrealistic hanging structures, and topological errors include holes or self-intersecting surfaces. Introduce the geometric integrity evaluation function G integrity And the topological integrity evaluation function \(T_{integrity}\) respectively evaluates the geometric characteristics and topological structure of the modified model:

[0195] Geometric integrity assessment:

[0196]

[0197] Where κ(d) is defined on the model surface M final The local curvature function of each point on the model, τ(s) is defined on the model boundary The curvature function on ;

[0198] Topological integrity assessment:

[0199]

[0200] Among them, χ(M final ) is the Euler characteristic number of the model, reflecting the topological complexity of the model, H i (M final ) is the topological impact assessment of the ith hole;

[0201] S63. Evaluation M final The original alveolar bone defect area M d The quality of the joint between the two, including the joint area, shape fit and potential biomechanical stability:

[0202]

[0203] Among them, A(M final ∩M d ) is the joint area between the model after trimming and filling and the original alveolar bone defect area, is the model M at each point p in the joint area final Surface and M d The measure of the difference in normal vectors, S(M final ,M d ) is a function that assesses biomechanical stability;

[0204] S64. Based on the joint quality assessment results, fine-tune the trimming and filling plans, including making slight adjustments to the trimming depth, angle, or distribution of the filling material, to obtain the best trimming and filling plans.

[0205] S7. Generate detailed surgical guidance steps and parameters based on the optimal trimming and filling plan, including cutting angle, depth and specific trimming process.

[0206] Embodiment 1:

[0207] The present invention was applied in a certain city dental hospital. In September 2023, a 52-year-old male patient suffered from severe alveolar bone loss due to severe periodontal disease and needed alveolar bone repair surgery for subsequent dental implants. Because the patient's remaining alveolar bone is small and cannot directly support the implant, an autologous block bone transplant is required first, and then a second-stage implant surgery is performed after the implanted block bone heals. The patient's alveolar bone defect is located in the maxillary bone, with irregular size and shape. Traditional repair methods make it difficult to achieve an ideal match between the implanted block bone and the original bone in the bone defect area, thus affecting the final treatment effect.

[0208] In this embodiment, the hospital uses a machine vision-based bone block shape matching method for severe alveolar bone defect repair. The specific steps are as follows:

[0209] 1. High-precision CT scan: First, a high-resolution CT scanning device was used to perform a detailed scan of the patient's maxillary defect area and the autologous bone block (taken from the patient's iliac bone) in the area where the bone was to be harvested, capturing image data from multiple angles.

[0210] 2. Image data processing: Subsequently, the scanned image data is denoised and standardized through specialized image processing software to improve image quality and lay the foundation for subsequent three-dimensional reconstruction.

[0211] 3. 3D model reconstruction and analysis: Using advanced machine vision technology and image processing algorithms, the processed image data is reconstructed in 3D to generate 3D models of the alveolar bone defect area and block bone, and the shape, size and complexity of the two models are analyzed in detail.

[0212] 4. Shape matching and shaping plan formulation: Through geometric hashing algorithm and Boolean calculation technology, the three-dimensional model is matched and analyzed to determine the best bone block shaping plan and alveolar bone defect filling plan to ensure a high degree of fit between the transplanted bone block and the defect area.

[0213] By applying this method, doctors can accurately plan the repair and filling plan before the operation, which greatly improves the predictability and success rate of the operation. In this embodiment, the comparison data before and after the operation are as follows:

[0214] Bone graft fit: The RMSE value of displacement between the inner contour of the actual implanted bone block (the tissue surface between the inner side of the bone block and the original bone of the recipient area) and the surface of the original bone of the recipient area was obtained by measuring the displacement. The measurement method is to use the CBCT immediately after bone grafting in Mimics software to reconstruct the inner contour of the implanted bone block and the surface model of the original bone of the recipient area, import it into Geomagic software, and measure it using "deviation analysis". The result is that the fit of this method is reduced from the average displacement RMSE value of 1.05mm to 0.3mm compared with the traditional method, indicating that this method improves the fit of the implanted bone block and the original bone of the recipient area.

[0215] Operation time: The operation time using the method of the present invention was reduced from an average of 4 hours to 2 hours, a reduction of 50%.

[0216] Recovery time: The patient's bone graft healing time after bone grafting was shortened from an average of 6 months to 4 months. Implant placement surgery was performed 4 months after bone grafting, which accelerated the patient's recovery process.

[0217] Success rate: The secondary bone grafting rate after alveolar bone defect repair surgery using this method was reduced from 20% to 5%, indicating that this method can reduce the need for secondary bone grafting, thereby reducing patient costs and additional surgery.

[0218] In addition, the follow-up 4 months after the operation showed that there was no significant difference in morphology and function between the alveolar bone repaired by the method of the present invention and the natural alveolar bone, the biomechanical stability was good, and no loosening or rejection reaction of the transplanted bone was found.

[0219] The present invention uses high-resolution CT scanning and advanced machine vision technology to find a matching method for bone repair and accurately reconstruct the three-dimensional model of the alveolar bone defect area and the transplanted bone block. Compared with the traditional manual measurement and matching method, it can greatly improve the shape matching accuracy during the repair process and ensure seamless connection between the transplanted bone block and the defect area, which is of great significance for improving surgical results and accelerating patient recovery.

[0220] The geometric hash algorithm and Boolean calculation steps of the present invention optimize the trimming and filling schemes, greatly reduce the trial and error time of the matching scheme during the operation, and effectively shorten the operation time.

[0221] The present invention ensures the biomechanical stability and durability of the repaired area by carefully analyzing the geometric and topological characteristics of the model after trimming and filling, which not only improves the success rate of transplantation, but also helps to maintain long-term functional recovery and reduces the possibility of reoperation that the patient may need in the future.

[0222] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A machine vision-based bone block shape matching method for severe alveolar bone defect repair, characterized in that: The following steps are involved: S1. Use high-resolution CT scanning equipment to scan the patient's alveolar bone defect area and the autologous bone block in the area where the bone is to be harvested from multiple angles; S2, denoising and standardizing the collected image data; S3. Use machine vision technology and image processing algorithms to perform three-dimensional reconstruction on the processed image data, generate a three-dimensional model of the alveolar bone defect area and a three-dimensional model of the block bone, and analyze the shape, size and complexity of the defect area and the block bone; S4, applying a three-dimensional "chessboard" style grid to the three-dimensional model of the alveolar bone defect area and the three-dimensional model of the block bone, and calculating the amount of material to be removed at each grid point to determine the specific parameters of the drill grinding, including position, depth and angle; S5. Using a geometric hash algorithm, the three-dimensional model of the block bone is compared with the three-dimensional model of the alveolar bone defect area to find out a repair plan for the block bone and a filling plan for the alveolar bone defect area. The repair plan for the block bone and the filling plan for the alveolar bone defect area take into account the joint area, shape fit and potential biomechanical stability between the block bone and the alveolar bone defect area; S6. Use Boolean calculation to further optimize the repair plan of the block bone and the filling plan of the alveolar bone defect area, and finally obtain the best repair and filling plan; S7. Generate detailed surgical guidance steps and parameters based on the optimal trimming and filling plan, including cutting angle, depth and specific trimming process.

2. The method for shape matching of bone blocks for severe alveolar bone defects based on machine vision according to claim 1, characterized in that: The S1 specifically includes: S11. Select a high-resolution CT scanning device with at least 256-slice spiral scanning function. The resolution standard is set to at least 0.5 mm. The resolution requirement is set as follows: Where R represents the required spatial resolution in line pairs / mm, and d min Represents the smallest structure size that can be resolved; S12. Before scanning, pre-scanning planning is performed through the software to set specific scanning parameters, including scanning angle, number of layers, and size of the scanning area. The setting relationship of the scanning parameters is expressed by the following formula: A = θ × N × D; Where A represents the total coverage angle of the scanned area, θ represents the angular coverage of each scan, N is the total number of scanned layers, and D is the thickness of each scanned layer; S13, adjust the patient's posture so that the alveolar bone defect area and the predetermined autologous block bone extraction area are aligned with the center line of the CT scanning device, and use a positioning belt or a bracket to fix the patient's position. The posture adjustment is based on the patient's body shape and the specific conditions of the scanning area using the following formula: P = f(p, v, t); Among them, P represents the final posture parameter, p is the expected scanning position, v is the patient volume parameter, and t is the thickness of the target area; S14. Perform an initial low-dose scan to obtain the approximate location of the region. Adjust the scan parameters and patient position based on the preliminary images. The effect of the initial low-dose scan is evaluated by the following formula: Among them, Q represents the percentage of improvement in image quality, I0 is the original image intensity, and I is the processed image intensity; S15, perform high-resolution scanning, and perform detailed scanning from at least four different angles, including 0°, 90°, 180°, and 270°, and reconfirm the patient's position and scanning parameters before scanning at each angle; S16. After collecting the scanning data at all angles, the autologous bone block data of the patient's alveolar bone defect area and the area where bone is to be harvested are imported into a dedicated image processing software.

3. The method for shape matching of bone blocks for severe alveolar bone defect repair based on machine vision according to claim 2, characterized in that: The S3 specifically includes: S31, importing the preprocessed image data into the three-dimensional reconstruction software, automatically identifying the alveolar bone defect area and the outline of the block bone based on machine vision technology, and segmenting the region of interest using an edge detection algorithm; S32. Use voxelization method to convert the two-dimensional image data into point cloud data in three-dimensional space, and assign a density value V to each voxel point: V(i,j,k)=w1·I(i,j)+w2·G(i,j)+w3·C(i,j,k); Among them, V(i,j,k) is the density value of point (i,j,k) in three-dimensional space, I(i,j) represents the gray value of the two-dimensional image at coordinate (i,j), G(i,j) is the gradient amplitude of the image at (i,j), reflecting the edge strength of the point, C(i,j,k) represents the curvature caused by the difference in gray values ​​of adjacent voxels, which is used to evaluate the local changes of three-dimensional shape, w1, w2 and w3 are weight coefficients, which are used to balance the role of different image features in determining the density value; S33, using the Marching Cubes algorithm, convert the point cloud data obtained in step S32 into a continuous three-dimensional surface model, calculate the relative positions between different point clouds, automatically construct a three-dimensional surface, and generate a three-dimensional model M of the alveolar bone defect area d and block bone 3D model M b : Among them, M represents the final three-dimensional model of the alveolar bone defect area M d and block bone 3D model M b Surface, P represents the point cloud dataset, H and K are the mean curvature and Gaussian curvature of each point on the model surface, respectively, which are used to evaluate the smoothness and local shape variation of the surface, λ1, λ2 and λ3 are balance terms, and A1 represents the geometric or spatial parameter; S34, using geometric morphological analysis tools, the three-dimensional model M of the alveolar bone defect area generated in step S33 d and block bone 3D model M b Perform shape, size and complexity analysis: Among them, S b (M) represents the three-dimensional model of the alveolar bone defect area M d and block bone 3D model M b The geometric morphological analysis results comprehensively evaluate the overall influence of the volume, surface area and the average square curvature of the surface of the model, and measure the shape, size and complexity of the block bone model. V(M) represents the three-dimensional model M of the alveolar bone defect area. d and block bone 3D model M b The volume of the alveolar bone defect area is represented by A(M). d and block bone 3D model M b The surface area of ​​∫ M H 2 dA1 is the three-dimensional model of the alveolar bone defect area d and block bone 3D model M b The integral of the mean square of curvature at each point on the surface is an indicator of the smoothness of the model surface and the local morphological changes. The high curvature area indicates the sharp or concave and convex parts on the model. b , β b and γ b The coefficients are used to balance the contributions of volume, surface area, and the square of the mean curvature of the surface to the overall analysis result.

4. The method for shape matching of bone blocks for severe alveolar bone defect repair based on machine vision according to claim 3, characterized in that: The S31 specifically includes: S311, applying a convolutional neural network to extract features from the processed image data, taking the alveolar bone defect area image and the autologous block bone image as input image I, the process is represented by the following formula: Where F represents the extracted feature map, W k and b represent the weight and bias of the kth convolution kernel, respectively. k is the local area of ​​the input image under the action of the kth convolution kernel. ReLU is a nonlinear activation function that provides the model with nonlinear modeling capabilities. BN represents batch normalization, which is used to accelerate the training process and improve model stability. * represents convolution operation. Attention(I,W att ) is an attention mechanism, where W att are the learned attention weights used to strengthen the representation of important features in the image and suppress unimportant parts; S312. Based on the extracted feature vector, the Canny edge detection is used to identify the contours of the alveolar bone defect area and the block bone: Among them, E represents the result of edge detection, I x and I y Respectively represent the gradient of the image in the horizontal and vertical directions. NMS is non-maximum suppression, which is used to eliminate redundant responses in edge detection and retain the strongest edge signal. AT(I,τ low ,τ high ) is an adaptive threshold technique, where τ low and τ high They are low threshold and high threshold, respectively, used to dynamically adjust the sensitivity of edge detection according to the image content; S313, applying a graph cut algorithm to the result after edge detection, introducing a complex energy function based on pixel adjacency and pixel intensity difference to refine and accurately segment the target area: Among them, α and β are weight parameters that adjust the contribution of data term and smoothing term, γ controls the degree of influence of adjacent pixel intensity difference on smoothing term, ∥I p I q ∥ 2 is the difference in intensity between pixels p and q, used to adjust the effect of the smoothing term, E data (p,L p ) is a data item used to represent each pixel point p and its label L p The matching degree, E smooth (L p ,L q ) is a smoothing term that measures the labels L of adjacent pixels p and q p With label L q The difference between S314. Through steps S11-S13, the precise contours of the alveolar bone defect area and the block bone are obtained.

5. The method for shape matching of bone blocks for severe alveolar bone defect repair based on machine vision according to claim 4, characterized in that: The S4 specifically includes: S41, 3D model of alveolar bone defect area M d and block bone 3D model M b Apply a 3D meshing algorithm to generate an equally spaced checkerboard-style grid: G(i,j,k)=(x0+i·a,y0+j·a,z0+k·a); Where G(i,j,k) represents the coordinates of the point in the grid, (i,j,k) is the index of the grid point, (x0,y0,z0) is the starting coordinates of the three-dimensional grid, and a is the side length of the grid; S42, for each grid point, calculate the distance D relative to the model surface, and determine the amount of material V to be removed based on the distance remove : Where ρ is the density of the material, D is the shortest distance from the grid point to the model surface, D0 is the ideal distance threshold, k is the shape adjustment factor, and M represents the integration area; S43, according to the amount of material V to be removed remove Calculate and determine the specific parameters of drill bit grinding, including the position P of the drill bit grinding drill , depth D drill and angle A drill : Among them, P drill is the target position of the drill bit grinding, P grid is the position of the current grid point, is the material volume gradient, indicating the direction of maximum material removal, Δx is the position fine-tuning amount, D drill is the grinding depth of the drill, r is the radius of the drill, A drill is the grinding angle of the drill, which is determined by the gradient direction of the material removal; S44, repeat steps S41 to S43 until the three-dimensional model M of the alveolar bone defect area is complete. d and block bone 3D model M b All grid points on are processed.

6. The method for shape matching of bone blocks for severe alveolar bone defect repair based on machine vision according to claim 5, characterized in that: The S5 specifically includes: S51, is the three-dimensional model M of the alveolar bone defect area d and block bone 3D model M b Generate a unique geometric hash value, which is performed by analyzing the geometric characteristics and spatial distribution of the model, dividing the model surface into a regular voxel grid and calculating the point density inside each voxel, assigning a hash value to each voxel; H geo (M)=∑ p∈M (ω1·Curv(p)+ω2·ShapeIndex(p)+ω3· Dist centroid (p))hash(p); Among them, H geo (M) represents the three-dimensional model of the alveolar bone defect area M d and block bone 3D model M b The geometric hash value of point p is: p represents a point in the model. ω1, ω2, and ω3 are weight factors used to balance the contribution of different geometric features in the hash value generation process. Curv(p) calculates the curvature of point p, which reflects the curvature of the model surface at point p. ShapeIndex(p) is the shape index of point p, which is a geometric attribute used to describe the characteristics of the local surface shape. Dist centroid (p) represents the distance from point p to the centroid of the model, which is used to capture the spatial distribution characteristics of the model. hash(p) applies a hash function to the position of point p to generate a unique numerical identifier; S52, using geometric hash values ​​to quickly match voxels of the two models, find voxel pairs with high matching degrees, the matching degrees of the voxel pairs are determined by comparing the hash values ​​of the models, and for the matching voxel pairs, calculate their spatial alignment parameters to optimize the positional relationship between the models; Among them, δ is a comparison function that returns a score based on the similarity of the hash values, ω is a weight function that adjusts the contribution of each voxel to the match based on the spatial alignment parameter α2 and the shape matching parameter β2, V ijk and V lmn Represents alveolar bone defect model M d and block bone model M b voxel, δ(H geo (M),H(V lmn )) is a comparison function that generates a matching score for each voxel pair based on the similarity of the hash values. If the hash values ​​of two voxels are close, the matching degree is high and the score is large. geo (M) represents the geometric hash value of the 3D model M, H(V lmn ) is a voxel V in the block bone model lmn The geometric hash value of ; S53. Based on the matching degree and spatial alignment parameters, formulate a plan for the repair of the block bone and the filling plan for the alveolar bone defect area, including determining the specific area where material needs to be removed or added and calculating the optimal depth and angle of the repair and filling operation; The modification plan is how to adjust the block bone 3D model to best match the alveolar bone defect area: Among them, R scheme represents the trimming scheme, M d and They represent the alveolar bone defect area model and the rotation angle θ, ψ is the block bone model adjusted, Λ is the function to evaluate the matching degree of the two models, which takes into account the joint area, shape fit and potential biomechanical stability, and Ω is the material removal amount V remove and the addition amount V add The cost function of The filling plan is how to best integrate the adjusted block bone model into the alveolar bone defect area: Among them, F scheme represents the filling solution, S d is the surface of the alveolar bone defect area, M match It is a measurement of the matching degree between the block bone and the alveolar bone defect area. It is the surface point of blocky bone The nearest alveolar bone defect area surface point The distance difference between them, α1 and β1 are coefficients that weigh the matching degree and the joint gap.

7. The method for shape matching of bone blocks for severe alveolar bone defect repair based on machine vision according to claim 6, characterized in that: The S6 specifically includes: S61, based on the determined repair plan R scheme and filling plan F scheme , the block bone three-dimensional model M d and block bone 3D model M b Perform Boolean operation processing, apply Boolean difference operation to simulate the trimming of block bone model and Boolean union operation to simulate the filling of defect area; Define the deformation mapping function for model trimming and the deformation mapping function for filling, and combine the processes through Boolean operations: Trimming the mapping function: in, Based on the modification plan The rotation matrix of is based on the trimming solution position vector The translation matrix of Fill mapping function: Among them, Scale(V add ) According to the amount of added material V add Scaling matrix to adjust the model size; Boolean operation optimization model: Among them, M final represents the final model after trimming and filling. represents a Boolean difference operation, which is used to remove the corresponding amount of material from the block bone model. represents a Boolean union operation, which is used to add the trimmed block bone model to the alveolar bone defect area; S62, for M final Perform geometry and topology checks to confirm that the trimming and filling process does not introduce any non-physical geometric features and topological errors. Geometric features include excessive sharp angles or unrealistic hanging structures, and topological errors include holes or self-intersecting surfaces. Introduce the geometric integrity evaluation function G integrity And the topological integrity evaluation function \(T_{integrity}\) respectively evaluates the geometric characteristics and topological structure of the modified model: Geometric integrity assessment: Where κ(d) is defined on the model surface M final The local curvature function of each point on the model, τ(s) is defined on the model boundary The curvature function on ; Topological integrity assessment: Among them, χ(M final ) is the Euler characteristic number of the model, reflecting the topological complexity of the model, H i (M final ) is the topological impact assessment of the ith hole; S63. Evaluation M final The original alveolar bone defect area M d The quality of the joint between the two, including the joint area, shape fit and potential biomechanical stability: Among them, A(M final ∩M d ) is the joint area between the model after trimming and filling and the original alveolar bone defect area, is the model M at each point p in the joint area final Surface and M d The measure of the difference in normal vectors, S(M final ,M d ) is a function that assesses biomechanical stability; S64. Based on the joint quality assessment results, fine-tune the trimming and filling plans, including making slight adjustments to the trimming depth, angle, or distribution of the filling material, to obtain the best trimming and filling plans.