Pedicicle screw trajectory optimization method based on vertebral body bone density distribution atlas

By using a personalized pedicle screw trajectory optimization method based on vertebral body bone density distribution maps, the problem that existing technologies cannot accurately assess bone quality in screw trajectory planning has been solved, thereby improving screw fixation strength and shortening operation time.

CN123126934APending Publication Date: 2026-11-20SOUTH CHINA HOSPITAL OF SHENZHEN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611000054.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-07
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing pedicle screw trajectory planning methods cannot accurately assess individual bone mass distribution, resulting in a high risk of penetration into cancellous bone areas and insufficient screw fixation strength, which increases the incidence of surgical complications, especially in patients with osteoporosis.

Method used

A personalized pedicle screw trajectory optimization method based on vertebral body bone mineral density distribution atlas is proposed. By segmenting and reconstructing 3D CT image data, a voxel-level bone mineral density distribution atlas is generated. Combined with multiple safety constraints and a global path search algorithm, the screw trajectory is optimized to maximize the cumulative bone mineral density (HU) value and the bone mineral density index around the thread, thus generating a corrected optimal screw trajectory.

Benefits of technology

It improves screw fixation strength, reduces the number of intraoperative adjustments and position verifications, shortens surgical planning time, and reduces surgical risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123126934A_ABST
    Figure CN123126934A_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on vertebral body bone density distribution atlas personalized pedicle screw trajectory optimization method and related device, wherein method includes: according to preoperative three-dimensional CT image data, construct the voxel level bone density distribution atlas of target vertebral body;According to the accumulated HU value of the region that candidate screw trajectory path passes through in voxel level bone density distribution atlas as the first component of optimization objective function;The path accumulated HU value of candidate screw trajectory in pedicle region bone density sub-atlas is as the second component of optimization objective function;Optimization is carried out in the diameter range and length range of candidate screw, to maximize the weighted comprehensive value of optimization objective function as the goal, the accumulated HU value of revised optimal screw trajectory, pedicle region accumulated HU value and thread surrounding bone density index are used as preoperative screw stability prediction index.The application reduces the number of C-arm fluoroscopy required for intraoperative adjustment and position verification, shortens the operation planning time and intraoperative operation length.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital orthopedics and assisted surgical planning technology, specifically to a method, device, and computing equipment for optimizing personalized pedicle screw trajectories based on vertebral body bone density distribution maps. Background Technology

[0002] Pedicle screw fixation is a classic surgical procedure in spinal surgery for treating spinal diseases such as degenerative changes, fractures, deformities, and tumors. The strength of the fixation directly determines the postoperative fusion effect and long-term clinical prognosis. With the increasing aging population, the proportion of patients with osteoporosis and localized bone abnormalities has risen significantly, and these patients often exhibit uneven distribution of cancellous and cortical bone in the vertebral body. Complications such as screw loosening, pullout, and bone cutting occur in 15% to 30% of patients with osteoporosis, often requiring revision surgery in severe cases, placing a heavy burden on both patients and the healthcare system. Therefore, accurately assessing individual bone mass distribution preoperatively and planning screw trajectories with safe boundaries has become one of the core requirements of precision medicine in spinal surgery.

[0003] Currently, pedicle screw trajectory planning mainly includes the following three methods. (1) Geometric planning method based on anatomical morphological parameters: By measuring CT morphological parameters such as pedicle width, height, and anteroposterior diameter of the vertebral body, and combining a fixed proportion (such as 70%~80% of the pedicle width) to determine the screw diameter and length, the pedicle central axis is used as the screw placement direction. The bone quality is assumed to be a homogeneous isotropic material, ignoring the differences in HU value distribution within the vertebral body. The HU value of cancellous bone within the same pedicle can fluctuate by 200~400 HU, and the trajectory relying solely on the geometric central axis may pass through the low-density medullary cavity area, leading to a decrease in screw holding force. (2) Statistical evaluation method based on global bone mineral density average: The average HU value of the vertebral body or the average HU value of the region of interest (ROI) from preoperative CT is used as a substitute indicator of bone quality to screen high-risk patients or adjust the screw diameter. For example, Luhmann et al. proposed that an average HU of vertebral body <80 indicates the need for bone cement reinforcement. However, this type of method compresses the entire vertebral body into a single statistic, losing the three-dimensional spatial distribution information of bone mineral density. In actual anatomy, the HU value of the cortical bone ring of the pedicle and the central cancellous bone of the vertebral body differs significantly. Osteoporosis is often focally distributed, and the global average value cannot reflect the true bone density profile along a specific trajectory. (3) The mechanical optimization method based on finite element simulation evaluates the mechanical properties of different trajectories by simulating screw pull-out or yield load. Establishing a finite element model containing nonlinear contact and anisotropic material properties requires several hours of manual operation, which cannot meet the operating room time window. If brute force enumeration or genetic algorithm is used, the calculation time for a single case can reach tens of minutes to several hours, which does not have clinical real-time capability.

[0004] To address the aforementioned issues, this invention proposes a personalized pedicle screw trajectory optimization method based on vertebral body bone mineral density distribution maps. The cumulative HU value of the corrected optimal screw trajectory, the cumulative HU value of the pedicle region, and the bone mineral density index around the screw thread are used as preoperative screw stability prediction indicators to reduce the number of C-arm fluoroscopy sessions required for intraoperative adjustments and position verification, thereby shortening surgical planning time and intraoperative operation time. Summary of the Invention

[0005] In view of the above problems, the present invention provides a method, device and computing equipment for personalized pedicle screw trajectory optimization based on vertebral body bone density distribution map.

[0006] According to one aspect of the present invention, a personalized pedicle screw trajectory optimization method based on vertebral body bone density distribution map is provided, comprising: Preoperative three-dimensional CT image data of the target vertebral body is acquired, and the preoperative three-dimensional CT image data is segmented and three-dimensionally reconstructed to generate a three-dimensional anatomical model of the target vertebral body; the minimum cross-sectional geometric parameters of the pedicle in the three-dimensional anatomical model are extracted; wherein, the minimum cross-sectional geometric parameters include the maximum inscribed circle diameter of the minimum cross-section of the pedicle, the coordinates of the center point of the minimum cross-section of the pedicle, and the anteroposterior diameter of the vertebral body; Based on the preoperative three-dimensional CT image data, a voxel-level bone mineral density distribution atlas of the target vertebral body is constructed. The voxel-level bone mineral density distribution atlas uses the HU value as a quantitative index to record the bone mineral density values ​​corresponding to each voxel position within the target vertebral body. The voxel-level bone mineral density distribution atlas includes a bone mineral density sub-atlas of the pedicle region and a bone mineral density sub-atlas of the vertebral body region. The diameter and length range of the candidate screws are determined based on the maximum inscribed circle diameter of the minimum cross section of the pedicle. The upper limit of the diameter of the candidate screws is set to a preset proportion of the maximum inscribed circle diameter, and the upper limit of the length of the candidate screws is set to a preset proportion of the anteroposterior diameter of the target vertebral body. Multiple safety constraints are set for the screw trajectory in the three-dimensional anatomical model, wherein the multiple safety constraints satisfy the following: the minimum distance between the screw trajectory and the center point of the minimum cross section of the pedicle, the screw edge and the pedicle and the inner wall of the vertebral cortex is not less than a preset distance; Under the premise of satisfying the multiple safety constraints, the cumulative HU value of the region traversed by the candidate screw trajectory path is used as the first component of the optimization objective function based on the voxel-level bone density distribution map; the cumulative HU value of the candidate screw trajectory path in the bone density sub-map of the pedicle region is used as the second component of the optimization objective function; the global path search algorithm is used to optimize within the diameter and length range of the candidate screw, with the goal of maximizing the weighted comprehensive value of the optimization objective function, and an initial optimal screw trajectory that maximizes the weighted comprehensive value is generated. Based on the starting coordinates, ending coordinates, direction vector, trajectory length, and candidate screw diameter of the initial optimal screw trajectory, a local neighborhood search optimization is performed on the initial optimal screw trajectory, with fine-tuning offset angle and fine-tuning center angle as adjustment parameters. During the local neighborhood search process, the HU value in a pre-defined thickness annular region around the initial optimal screw trajectory is extracted based on the bone density distribution map to calculate the thread peri-bone mineral density index. A weighted comprehensive optimization objective is constructed based on the thread peri-bone mineral density index and the cumulative HU value, generating a corrected optimal screw trajectory while maintaining the multiple safety constraints. The calculation region for the thread peri-bone mineral density index is a pre-defined thickness annular bone region around the trajectory axis. The three-dimensional spatial coordinate parameters of the corrected optimal screw trajectory and the corresponding recommended screw specifications are output to the data interface of the surgical navigation system or orthopedic surgical robot system. The cumulative HU value of the corrected optimal screw trajectory, the cumulative HU value of the pedicle region, and the bone mineral density index around the thread are used as preoperative screw stability prediction indicators.

[0007] In one alternative approach, segmenting and reconstructing the preoperative 3D CT image data to generate a 3D anatomical model of the target vertebra further includes: The HU value of each voxel in the preoperative three-dimensional CT image data is input into a three-dimensional U-Net convolutional neural network model to obtain a binary voxel mask of the target vertebral body. The maximum connected component belonging to the target vertebra is extracted from the binary voxel mask according to the three-dimensional connected component labeling algorithm. Bone islands or artifact noise that are not connected to the target vertebra are removed to obtain a pure binary voxel mask of the target vertebra. Using the pure binary voxel mask as a constraint, backtracking to the corresponding HU value in the preoperative three-dimensional CT image data, voxels with HU values ​​lower than the preset bone tissue threshold are re-marked as non-bone tissue to eliminate the interference of low-density medullary cavity in cancellous bone on the smoothness of the three-dimensional reconstruction surface, and obtaining the corrected binary voxel mask filtered by HU value. Isosurface extraction is performed on the modified binary voxel mask to generate an initial triangular mesh surface model; multiple Laplacian smoothing iterations are performed on the initial triangular mesh surface model to obtain a three-dimensional anatomical model of the target vertebra; wherein, the three-dimensional anatomical model is in triangular mesh data format, containing a set of vertex coordinates and a set of triangular facet indices.

[0008] In one alternative approach, constructing a voxel-level bone mineral density distribution atlas of the target vertebral body based on the preoperative three-dimensional CT image data further includes: Read the three-dimensional spatial coordinates and corresponding original CT values ​​of each voxel in the preoperative three-dimensional CT image data, perform dual-point calibration of the original CT values ​​using air and water phantoms to obtain calibrated HU values, and make the calibrated HU values ​​have a linear correspondence with bone density; construct key-value pairs between the three-dimensional spatial coordinates of each voxel and the calibrated HU values ​​to generate an initial voxel-level HU value mapping table. Using the three-dimensional anatomical model of the target vertebra as a spatial constraint, the initial voxel-level HU value mapping table is spatially clipped. The voxel coordinates and their HU values ​​located outside the three-dimensional anatomical model are removed from the initial voxel-level HU value mapping table, and only the data of voxels inside the three-dimensional anatomical model are retained to generate the voxel-level HU value mapping table inside the target vertebra. The voxel-level HU value mapping table inside the target vertebral body is input into an anisotropic Gaussian kernel function, and the calibrated HU values ​​are subjected to three-dimensional spatial smoothing filtering to obtain the smoothed HU value of each voxel; wherein, the smoothing intensity along the vertebral body axis and the smoothing intensity along the cross section of the anisotropic Gaussian kernel function are set according to a predetermined ratio; the smoothed HU values ​​are used as bone mineral density indicators and re-associated with the three-dimensional spatial coordinates of the corresponding voxels to generate a voxel-level bone mineral density distribution map of the target vertebral body; Based on the minimum cross-sectional location of the pedicle isthmus in the three-dimensional anatomical model, the voxel-level bone density distribution map is divided into a pedicle region bone density sub-map and a vertebral body region bone density sub-map using a spatial planar cutting algorithm. The voxel set located behind the pedicle isthmus cross-section constitutes the pedicle region bone density sub-map, and the voxel set located in front of the pedicle isthmus cross-section constitutes the vertebral body region bone density sub-map.

[0009] In one alternative approach, using the cumulative HU value of the region traversed by the candidate screw trajectory path as a first component of the optimization objective function based on the voxel-level bone mineral density distribution map further includes: Based on the voxel-level bone density distribution map, the starting coordinates, ending coordinates, trajectory length, and diameter of the candidate screw trajectory's central axis in three-dimensional space are used to generate a continuous set of voxel paths from the starting coordinates to the ending coordinates in the spatial coordinate system of the voxel-level bone density distribution map; wherein, the set of voxel paths includes the coordinates of all voxels that pass through the trajectory's central axis. The effective bone contact area of ​​the screw is defined based on the set of voxel paths and the diameter of the candidate screw. The shortest distance from each voxel in the voxel-level bone density distribution map to the set of voxel paths is calculated in a cylindrical neighborhood centered on each voxel in the set of voxel paths. If the shortest distance is not greater than half the diameter of the candidate screw, the voxel is marked as a path covering voxel, a covering voxel set covering all paths is generated, and the smoothed HU value corresponding to each voxel in the covering voxel set is obtained. Based on the set of covering voxels and their corresponding smoothed HU values, the smoothed HU values ​​of all voxels in the set of covering voxels are accumulated to eliminate the influence of different voxel sizes on the accumulation result, and the overall path accumulated HU value is obtained. The overall path accumulated HU value is used as the first component of the optimization objective function.

[0010] In an alternative approach, the cumulative HU value of the candidate screw trajectory in the bone mineral density submap of the pedicle region is further included as a second component of the optimization objective function: Using the bone density sub-map of the pedicle region, the voxel path set, and the path covering voxel set as spatial locations, a subset of voxels that simultaneously meet preset conditions is selected from the path covering voxel set; wherein, the preset conditions satisfy that the voxel belongs to the path covering voxel set and that the three-dimensional spatial coordinates of the voxel are within the effective voxel range of the bone density sub-map of the pedicle region. Based on the voxel subsets covering the pedicle region path and their corresponding smooth HU values, a geometric weight is assigned to the smooth HU value of each voxel, and the weighted HU values ​​of all voxels are summed to obtain the cumulative HU value of the pedicle region path. Dividing the cumulative HU value of the pedicle region path by the effective coverage length of the pedicle region path coverage voxel subset along the trajectory direction yields the second component of the optimization objective function.

[0011] In one alternative approach, the expression for the optimization objective function is: ; in, The screw trajectory should fully cover the total volume of bone voxels; The volume of bone tissue covered by the screws in the pedicle region; The effective penetration length of the screw trajectory within the pedicle region; The screw should fully cover the bone space area. The pedicle screw covers the bone proton region; The three-dimensional spatial coordinate vector of the bone voxel; The equation of the three-dimensional spatial curve of the screw trajectory center axis; voxels The corresponding HU bone mineral density value after calibration and smoothing; For the vertebral body bone density anisotropic gradient operator; , These are the Gaussian distance attenuation scaling factors for the overall trajectory and the pedicle region, respectively. This is a safety constraint penalty item.

[0012] In one alternative approach, the formula for calculating the bone mineral density index around the thread is: ; in, The annular integral region is defined by the axis of the screw trajectory. The inner diameter of the screw thread; The outer radius of the preset annular region; The effective surface area of ​​the annular integral region; voxels The Euclidean distance to the center axis of the screw trajectory; The equation of the three-dimensional spatial curve of the screw trajectory center axis; voxels The corresponding HU bone mineral density value after calibration and smoothing; This is the bone mineral density gradient inhibition coefficient; This represents the voxel bone density gradient magnitude.

[0013] In one alternative approach, the iterative optimization formula for correcting the optimal screw trajectory is: ; in, , The first The trajectory is fine-tuned in the next iteration, with the offset angle and the center angle fine-tuned. , They are respectively , Fine-tuning amount after iterative update; This is the first-order gradient iteration step size; These are the correction coefficients for the second-order Hessian matrix; , respectively optimize the objective function The first-order partial derivative gradients with respect to the offset angle and the central angle; The inverse of the second-order Hessian matrix of the objective function; To optimize the objective function; Bone mineral density index around the thread; To optimize variables.

[0014] According to another aspect of the present invention, a personalized pedicle screw trajectory optimization device based on vertebral body bone density distribution map is provided, comprising: The image acquisition and 3D reconstruction module is used to acquire preoperative 3D CT image data of the target vertebral body, segment and reconstruct the preoperative 3D CT image data to generate a 3D anatomical model of the target vertebral body; and extract the minimum cross-sectional geometric parameters of the pedicle in the 3D anatomical model; wherein, the minimum cross-sectional geometric parameters include the maximum inscribed circle diameter of the minimum cross-section of the pedicle, the coordinates of the center point of the minimum cross-section of the pedicle, and the anteroposterior diameter of the vertebral body. A voxel-level bone mineral density (BMD) atlas construction module is used to construct a voxel-level BMD distribution atlas of the target vertebral body based on the preoperative three-dimensional CT image data. The voxel-level BMD distribution atlas uses the HU value as a quantitative index to record the bone mineral density values ​​corresponding to each voxel position within the target vertebral body. The voxel-level BMD distribution atlas includes a pedicle region BMD sub-atlas and a vertebral body region BMD sub-atlas. The candidate screw specification parameterization module is used to determine the diameter range and length range of the candidate screw based on the maximum inscribed circle diameter of the minimum cross section of the pedicle, and to set the upper limit of the diameter of the candidate screw to a preset proportion of the maximum inscribed circle diameter, and to set the upper limit of the length of the candidate screw to a preset proportion of the anteroposterior diameter of the target vertebral body. The multiple safety constraint definition module is used to set multiple safety constraint conditions for the screw trajectory in the three-dimensional anatomical model, wherein the multiple safety constraint conditions satisfy: the minimum distance between the screw trajectory and the center point of the minimum cross section of the pedicle, the screw edge and the pedicle and the inner wall of the vertebral cortex is not less than a preset distance; The global bone mineral density weighted optimization module is used to, under the premise of satisfying the multiple safety constraints, take the cumulative HU value of the region traversed by the candidate screw trajectory path as the first component of the optimization objective function based on the voxel-level bone mineral density distribution map; take the cumulative HU value of the candidate screw trajectory path in the bone mineral density sub-map of the pedicle region as the second component of the optimization objective function; and perform optimization within the diameter and length range of the candidate screws according to the global path search algorithm, with the goal of maximizing the weighted comprehensive value of the optimization objective function, to generate an initial optimal screw trajectory that maximizes the weighted comprehensive value. The local neighborhood and thread bone density optimization module is used to perform local neighborhood search optimization on the initial optimal screw trajectory based on the starting point coordinates, ending point coordinates, direction vector, trajectory length, and candidate screw diameter, with fine-tuning offset angle and fine-tuning center angle as adjustment parameters. During the local neighborhood search process, the HU value is extracted from the pre-thickness annular region around the initial optimal screw trajectory based on the bone density distribution map to calculate the thread peri-bone mineral density index. A weighted comprehensive optimization objective is constructed based on the thread peri-bone mineral density index and the cumulative HU value to generate a corrected optimal screw trajectory while maintaining the multiple safety constraints. The calculation region for the thread peri-bone mineral density index is the annular bone region of pre-thickness around the trajectory axis. The trajectory parameter and stability index output module is used to output the three-dimensional spatial coordinate parameters of the corrected optimal screw trajectory and the corresponding recommended screw specifications to the data interface of the surgical navigation system or orthopedic surgical robot system, and to use the cumulative HU value of the corrected optimal screw trajectory, the cumulative HU value of the pedicle region and the bone mineral density index around the thread as preoperative screw stability prediction indicators.

[0015] According to another aspect of the present invention, a computing device is provided, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, which causes the processor to perform the operation corresponding to the above-mentioned personalized pedicle screw trajectory optimization method based on vertebral body bone density distribution map.

[0016] According to the solution provided by the present invention, preoperative three-dimensional CT image data of the target vertebral body is acquired, and the preoperative three-dimensional CT image data is segmented and three-dimensionally reconstructed to generate a three-dimensional anatomical model of the target vertebral body; the minimum cross-sectional geometric parameters of the pedicle in the three-dimensional anatomical model are extracted; wherein, the minimum cross-sectional geometric parameters include the maximum inscribed circle diameter of the minimum cross-section of the pedicle, the coordinates of the center point of the minimum cross-section of the pedicle, and the anteroposterior diameter of the vertebral body; a voxel-level bone density distribution map of the target vertebral body is constructed based on the preoperative three-dimensional CT image data, wherein the voxel-level bone density distribution map records the bone density values ​​corresponding to each voxel position inside the target vertebral body using HU value as a quantitative index; the voxel-level bone density distribution map includes the bone density of the pedicle region. The model uses a sub-map of bone density and a sub-map of bone mineral density in the vertebral body region. Based on the maximum inscribed circle diameter of the minimum cross-section of the pedicle, the diameter and length ranges of candidate screws are determined. The upper limit of the diameter of the candidate screws is set to a preset proportion of the maximum inscribed circle diameter, and the upper limit of the length of the candidate screws is set to a preset proportion of the anteroposterior diameter of the target vertebral body. Multiple safety constraints are set for the screw trajectory in the three-dimensional anatomical model. These multiple safety constraints satisfy the following: the minimum distance between the screw trajectory passing through the center point of the minimum cross-section of the pedicle, the screw edge, and the inner wall of the pedicle and vertebral cortex is not less than a preset distance. Under the premise of satisfying the multiple safety constraints, the candidate screw trajectory path is determined based on the voxel-level bone mineral density distribution map. The cumulative HU value of the region is used as the first component of the optimization objective function; the cumulative HU value of the candidate screw trajectory in the bone density submap of the pedicle region is used as the second component of the optimization objective function; optimization is performed within the diameter and length range of the candidate screws according to a global path search algorithm to maximize the weighted comprehensive value of the optimization objective function, generating an initial optimal screw trajectory that maximizes the weighted comprehensive value; based on the start coordinates, end coordinates, direction vector, trajectory length, and candidate screw diameter of the initial optimal screw trajectory, a local neighborhood search optimization is performed on the initial optimal screw trajectory with fine-tuning offset angle and fine-tuning central angle as adjustment parameters; during the local neighborhood search process, the bone density is used as the basis for optimization. The distribution map extracts the HU value within a pre-defined thickness annular region around the initial optimal screw trajectory to calculate the peri-thread bone mineral density index. A weighted comprehensive optimization objective is constructed based on the peri-thread bone mineral density index and the cumulative HU value, generating a modified optimal screw trajectory while maintaining the multiple safety constraints. The calculation region for the peri-thread bone mineral density index is a pre-defined thickness annular bone region around the trajectory axis. The three-dimensional spatial coordinate parameters of the modified optimal screw trajectory and the corresponding recommended screw specifications are output to the data interface of a surgical navigation system or orthopedic surgical robot system. The cumulative HU value of the modified optimal screw trajectory, the cumulative HU value of the pedicle region, and the peri-thread bone mineral density index are used as preoperative screw stability prediction indicators.This invention reduces the number of C-arm fluoroscopy sessions required for intraoperative adjustments and position verification, thus shortening surgical planning time and intraoperative operation time.

[0017] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0018] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 A flowchart illustrating the personalized pedicle screw trajectory optimization method based on vertebral body bone density distribution map according to an embodiment of the present invention is shown. Figure 2 This diagram illustrates a process for local optimization and correction of the optimal trajectory according to an embodiment of the present invention. Figure 3a A schematic diagram of the preoperative planning for posterior L4 vertebral body internal fixation according to an embodiment of the present invention is shown; Figure 3b This diagram illustrates the process before correcting the optimal screw trajectory according to an embodiment of the present invention. Figure 3c This diagram illustrates the modified optimal screw trajectory according to an embodiment of the present invention. Figure 4 A schematic diagram of the framework of the personalized pedicle screw trajectory optimization device based on vertebral body bone density distribution map according to an embodiment of the present invention is shown; Figure 5 A schematic diagram of the structure of a computing device according to an embodiment of the present invention is shown. Detailed Implementation

[0019] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

[0020] Figure 1 This diagram illustrates a flowchart of a personalized pedicle screw trajectory optimization method based on vertebral body bone density distribution maps, according to an embodiment of the present invention. Specifically, as shown... Figure 1 , Figure 2As shown, it includes the following steps: Step S101: Obtain preoperative three-dimensional CT image data of the target vertebral body, segment and reconstruct the preoperative three-dimensional CT image data to generate a three-dimensional anatomical model of the target vertebral body; extract the minimum cross-sectional geometric parameters of the pedicle in the three-dimensional anatomical model; wherein, the minimum cross-sectional geometric parameters include the maximum inscribed circle diameter of the minimum cross-section of the pedicle, the coordinates of the center point of the minimum cross-section of the pedicle, and the anteroposterior diameter of the vertebral body.

[0021] In this embodiment, by extracting the maximum inscribed circle diameter, center point coordinates, and anteroposterior diameter of the pedicle's minimum cross-section, the shortcomings of traditional manual measurement, which relies on experience and has poor repeatability, are eliminated. Using the maximum inscribed circle diameter as the upper limit for candidate screw diameter and the anteroposterior diameter as the upper limit for candidate screw length, the screw size is always limited within the actual bony space of the pedicle and vertebral body. This reduces the surgical risk of screws penetrating cortical bone and damaging adjacent neurovascular structures, while also avoiding insufficient fixation strength due to screws that are too thin or too short.

[0022] like Figure 3aAs shown, preoperative planning was performed on an L4 vertebral body patient scheduled for posterior lumbar lumbar fixation. Preoperative CT scan data of the L4 segment were used, with a slice thickness of 0.625 mm, yielding approximately 200 cross-sectional images with a pixel pitch of 0.3 mm. The CT data was resampled into isotropic voxels (0.5 mm³) and input into a 3D U-Net model to obtain a binary mask of the L4 vertebral body. After connected component filtering and HU threshold correction, a 3D triangular mesh model of the L4 vertebral body was reconstructed, containing approximately 120,000 vertices and approximately 240,000 triangular faces. Cross-sections were continuously cut along the pedicle axis at 0.5 mm intervals, and the maximum inscribed circle diameter of each section was calculated. The smallest cross-section of the left pedicle was located approximately 8.3 mm posterior to the posterior margin of the vertebral body, with a maximum inscribed circle diameter of 6.8 mm; the smallest cross-section of the right pedicle was located approximately 7.9 mm posterior to the posterior margin, with a maximum inscribed circle diameter of 7.2 mm. Record the coordinates of the center point of the left minimum cross-section (e.g., x=35.2, y=-12.5, z=45.8, in mm) and the coordinates of the center point of the right side (e.g., x=-33.7, y=-11.9, z=46.1). Measure the anteroposterior diameter of the L4 vertebral body on the sagittal reconstructed image; the distance from the anterior to the posterior cortex is 44.3 mm. The upper limit of the diameter of the left pedicle screw is 6.8 mm (the actual candidate range is set to 4.5-6.5 mm, with a preset ratio of 0.95); the upper limit of the diameter of the right pedicle screw is 7.2 mm (the actual candidate range is set to 4.5-6.8 mm); the upper limit of the length of both screws is 44.3 × preset ratio (e.g., 0.80) = 35.4 mm (the candidate length range is set to 30-35 mm); the trajectory of both screws must pass through the coordinates of the center point of their respective smallest cross-sections, so that the diameter and length of the candidate screws are limited within the safe anatomical range, while ensuring that the trajectory passes through the center of the narrowest area of ​​the pedicle, minimizing the risk of the screw perforating the bone wall.

[0023] In one alternative approach, segmenting and reconstructing the preoperative 3D CT image data to generate a 3D anatomical model of the target vertebra further includes: The HU value of each voxel in the preoperative three-dimensional CT image data is input into a three-dimensional U-Net convolutional neural network model to obtain a binary voxel mask of the target vertebral body. The maximum connected component belonging to the target vertebra is extracted from the binary voxel mask according to the three-dimensional connected component labeling algorithm. Bone islands or artifact noise that are not connected to the target vertebra are removed to obtain a pure binary voxel mask of the target vertebra. Using the pure binary voxel mask as a constraint, backtracking to the corresponding HU value in the preoperative three-dimensional CT image data, voxels with HU values ​​lower than the preset bone tissue threshold are re-marked as non-bone tissue to eliminate the interference of low-density medullary cavity in cancellous bone on the smoothness of the three-dimensional reconstruction surface, and obtaining the corrected binary voxel mask filtered by HU value. Isosurface extraction is performed on the modified binary voxel mask to generate an initial triangular mesh surface model; multiple Laplacian smoothing iterations are performed on the initial triangular mesh surface model to obtain a three-dimensional anatomical model of the target vertebra; wherein, the three-dimensional anatomical model is in triangular mesh data format, containing a set of vertex coordinates and a set of triangular facet indices.

[0024] In this embodiment, after obtaining the initial binary mask using a 3D U-Net, 3D connected component analysis is used to remove isolated bone islands / artifacts, and HU threshold backtracking is used to remove low-density medullary cavity interference. This avoids the problem of traditional single segmentation methods easily including paravertebral osteophytes, sclerotic plaques, or noise in the vertebral body model, ensuring that the model only contains the real vertebral bony structure. Cancellous bone contains a large number of low-density medullary cavities (HU values ​​are often lower than the bone tissue threshold). If directly reconstructed without filtering, its surface will exhibit "honeycomb-like" concave artifacts. By backtracking the original HU value using the pure mask as a constraint, voxels below the threshold are relabeled as non-bone tissue, filling the internal voids caused by the medullary cavity at the voxel level. This makes the surface of the triangular mesh generated by subsequent isosurface extraction smoother, avoiding calculation deviations in geometric parameters (such as the diameter of the minimum cross-section inscribed circle) caused by surface unevenness.

[0025] For example, a preoperative 3D model of the L3 vertebral body in an osteoporotic patient was performed. The L3 segment was scanned using a thin-slice CT scan with a slice thickness of 0.625 mm, a pixel matrix of 512×512, and a total of 180 slices. The original HU values ​​ranged from approximately -150 to 1200. The CT data was resampled to 0.5 mm isotropic voxels and input into a 3D U-Net. The output was an initial mask, in which the L3 vertebral body was completely segmented. However, the mask also contained independent bone islands (approximately 85 voxels) located laterally to the vertebral body and several low-density cavities in the central cancellous bone region of the vertebral body. A 26-neighborhood connected component analysis was performed, with the largest connected component volume being approximately 980,000 voxels. The remaining smaller components (bone islands and sporadic noise) were automatically removed, resulting in a clean mask. Using the clean mask as a constraint, the original HU values ​​were backtracked, and voxels with HU < 150 within the mask (approximately 12,000 voxels, mainly in the central medullary cavity region of the vertebral body) were relabeled as background. After correction, the mask no longer contained low-density voids. Marching Cubes was run on the corrected mask to generate an initial triangular mesh with approximately 150,000 vertices and 300,000 triangular faces. At this point, the overall mesh shape was correct, but slight stepped serrations were present on the pedicle surface. Multiple Laplacian smoothing operations (relaxation factor 0.4) significantly eliminated the stepped artifacts, resulting in a continuous and smooth surface on the inner wall of the pedicle, while the vertebral body volume shrinkage rate was <0.5%, and the anatomical dimensions were well maintained. The final 3D anatomical model was stored as a set of vertex coordinates (approximately 150,000 × 3 floating-point numbers) and a set of triangular facet indices (approximately 300,000 × 3 integers). Subsequent measurements showed that the maximum inscribed circle diameter of the minimum cross-section of the left L3 pedicle was 5.2 mm, which closely matched the actual intraoperative measurement (5.1 mm). The entire process, from CT input to model output, takes about 4 minutes, with U-Net inference taking 2.5 minutes and post-processing and reconstruction taking 1.5 minutes. This is a significant improvement in efficiency compared to the traditional manual threshold segmentation + manual repair method (about 30 minutes), and the model surface smoothness meets the requirements for navigation registration.

[0026] Step S102: Construct a voxel-level bone mineral density distribution map of the target vertebral body based on the preoperative three-dimensional CT image data. The voxel-level bone mineral density distribution map records the bone mineral density values ​​corresponding to each voxel position inside the target vertebral body using HU value as a quantitative index. The voxel-level bone mineral density distribution map includes a bone mineral density sub-map of the pedicle region and a bone mineral density sub-map of the vertebral body region.

[0027] In this embodiment, by associating the three-dimensional spatial coordinates of each voxel with the calibrated and smoothed HU value one by one, a voxel-level bone mineral density distribution map is generated. This allows bone mineral density information to no longer be limited to traditional two-dimensional regions of interest or average HU value measurements, but to perform full-space mapping with three-dimensional voxels as the smallest unit. This can finely characterize the bone mineral density heterogeneity in the pedicle, vertebral body cancellous bone, and cortical bone regions, providing a local bone mineral information resolution far superior to traditional methods for screw trajectory planning. By dividing the bone mineral density map of the same vertebral body into a pedicle region sub-map and a vertebral body region sub-map, the bone mineral density contributions of the pedicle region (the most critical and highest-risk segment for screw fixation) and the vertebral body region (the screw tail anchorage area) can be quantified and assigned different weights.

[0028] In one alternative approach, constructing a voxel-level bone mineral density distribution atlas of the target vertebral body based on the preoperative three-dimensional CT image data further includes: Read the three-dimensional spatial coordinates and corresponding original CT values ​​of each voxel in the preoperative three-dimensional CT image data, perform dual-point calibration of the original CT values ​​using air and water phantoms to obtain calibrated HU values, and make the calibrated HU values ​​have a linear correspondence with bone density; construct key-value pairs between the three-dimensional spatial coordinates of each voxel and the calibrated HU values ​​to generate an initial voxel-level HU value mapping table. Using the three-dimensional anatomical model of the target vertebra as a spatial constraint, the initial voxel-level HU value mapping table is spatially clipped. The voxel coordinates and their HU values ​​located outside the three-dimensional anatomical model are removed from the initial voxel-level HU value mapping table, and only the data of voxels inside the three-dimensional anatomical model are retained to generate the voxel-level HU value mapping table inside the target vertebra. The voxel-level HU value mapping table inside the target vertebral body is input into an anisotropic Gaussian kernel function, and the calibrated HU values ​​are subjected to three-dimensional spatial smoothing filtering to obtain the smoothed HU value of each voxel; wherein, the smoothing intensity along the vertebral body axis and the smoothing intensity along the cross section of the anisotropic Gaussian kernel function are set according to a predetermined ratio; the smoothed HU values ​​are used as bone mineral density indicators and re-associated with the three-dimensional spatial coordinates of the corresponding voxels to generate a voxel-level bone mineral density distribution map of the target vertebral body; Based on the minimum cross-sectional location of the pedicle isthmus in the three-dimensional anatomical model, the voxel-level bone density distribution map is divided into a pedicle region bone density sub-map and a vertebral body region bone density sub-map using a spatial planar cutting algorithm. The voxel set located behind the pedicle isthmus cross-section constitutes the pedicle region bone density sub-map, and the voxel set located in front of the pedicle isthmus cross-section constitutes the vertebral body region bone density sub-map.

[0029] In this embodiment, dual-point calibration using air and water phantoms eliminates systematic deviations in HU values ​​caused by different CT equipment and scanning parameters. This suppresses imaging noise while preserving the independent bone density distribution characteristics of the vertebral body along the axial and transverse sections, avoiding excessive smoothing that erases density gradient information in key anatomical areas. Spatial clipping using the three-dimensional anatomical model as a boundary strictly confines bone density data within the target vertebral body, eliminating interference from paravertebral soft tissues, air, adjacent vertebral bodies, or osteophytes. Vertebral body bone density varies relatively gently along the axial direction (crown-tail direction) but drastically in the transverse section (cortical-cancellous bone junction). This application achieves differentiated processing—"sufficient noise reduction along the axial direction and preservation of details along the transverse section"—by setting different smoothing intensities (axial smoothing scale is larger than transverse smoothing scale) for the axial and transverse sections respectively. This effectively reduces noise in the cancellous bone region while avoiding blurring of the cortical bone boundary.

[0030] Step S103: Determine the diameter range and length range of the candidate screws based on the maximum inscribed circle diameter of the minimum cross section of the pedicle. Set the upper limit of the diameter of the candidate screws to a preset proportion of the maximum inscribed circle diameter, and set the upper limit of the length of the candidate screws to a preset proportion of the anteroposterior diameter of the target vertebral body.

[0031] In this embodiment, the upper limit of the candidate screw size is determined based on the maximum inscribed circle diameter of the smallest cross-section of the patient's pedicle and the anteroposterior diameter of the vertebral body, achieving a precise match between the screw specification and the individual bony canal anatomy. Using the maximum inscribed circle diameter as the upper limit ensures that the candidate screw diameter never exceeds the actual bony capacity of the narrowest area of ​​the pedicle. Using the anteroposterior diameter as the upper limit ensures that the screw length does not exceed the anterior and posterior boundaries of the vertebral body, fundamentally reducing the possibility of the screw penetrating the inner wall of the pedicle or the cortical bone of the anterior edge of the vertebral body, significantly improving surgical safety. The upper limit of diameter is set as a preset proportion of the maximum inscribed circle diameter (e.g., 0.80–0.95), and the upper limit of length is set as a preset proportion of the anteroposterior diameter (e.g., 0.70–0.85). While ensuring a sufficient safe distance between the screw and the bone wall, the largest possible screw, thicker and longer, is selected to obtain better holding force and pull-out resistance, achieving a quantitative balance between safety and fixation effectiveness.

[0032] Step S104: Set multiple safety constraints for the screw trajectory in the three-dimensional anatomical model, wherein the multiple safety constraints satisfy the following: the minimum distance between the screw trajectory and the center point of the minimum cross section of the pedicle, the screw edge and the pedicle and the inner wall of the vertebral cortex is not less than a preset distance.

[0033] In this embodiment, the minimum distance between the screw edge and the pedicle and the inner wall of the vertebral cortex is not less than a preset distance (e.g., 1.0–2.0 mm), rather than just meeting the zero-distance requirement of not perforating. This can cope with intraoperative operation errors, image registration errors, or bony channel deformation, and significantly reduce the clinical risk of screw perforation of the cortical bone. It is especially suitable for patients with osteoporosis or abnormal pedicle morphology.

[0034] For example, in a patient scheduled for L4 left pedicle screw placement, the coordinates of the center point of the minimum cross-section of the left pedicle are (28.5, -12.3, 40.7) mm, and the maximum inscribed circle diameter is 7.2 mm. The preset safety distance is 1.5 mm. Candidate trajectory A: diameter 6.0 mm, central axis from the starting point (32.0, -10.0, 38.0) to the ending point (15.0, -18.0, 45.0) of the posterior edge of the vertebral body. Upon inspection, the central axis is only 0.2 mm from the center point of the minimum cross-section of the left pedicle (meeting the center constraint). 35 points are sampled along the axis at 0.5 mm steps. The shortest distance from the screw edge (radius 3.0 mm) to the inner wall of the cortical bone at each point is calculated. The minimum value is 1.7 mm (≥1.5 mm), satisfying the boundary distance constraint. This is marked as "feasible". Candidate trajectory B: 6.5 mm in diameter, with slight offsets at the start and end points. The central axis passes through the center point of the minimum cross-section of the left pedicle (error 0.1 mm). However, due to the increased diameter, at a sampling point in the isthmus of the pedicle, the shortest distance from the screw edge to the inner wall is only 1.2 mm, less than 1.5 mm, failing to meet the constraint and thus deemed "infeasible" and discarded. Candidate trajectory C: 5.5 mm in diameter, with the central axis not passing through the center point of the minimum cross-section of the left pedicle, deviating by 1.8 mm. Even though the edge distance meets the requirement of ≥1.5 mm, it is also discarded because it does not meet the mandatory center point constraint. The above constraints reduced the candidate trajectories from hundreds to approximately 30 feasible trajectories. Subsequently, only the path with the highest bone density accumulation was selected from these 30. The final optimal trajectory has a diameter of 6.0 mm and a length of 35 mm. Its central axis has a minimum distance of 1.7 mm (>1.5 mm) from the inner wall of the cortical bone throughout its entire length, and it passes exactly through the center point of the minimum cross-section of the left pedicle (deviation 0.2 mm). In actual surgical simulation, this trajectory ensures that the screw is completely within the bony passage, maintaining a sufficient safety gap with the cortical bone wall. Compared to the eccentric or excessively thick trajectory that might be selected without constraints, safety is fundamentally guaranteed. If the patient has low bone density (T-score < -2.5), the surgeon can pre-adjust the preset safety distance to 2.0 mm. In this case, a 6.0 mm diameter trajectory becomes infeasible due to the minimum distance of 1.7 mm, and a finer diameter (such as 5.5 mm) will be automatically recommended to ensure actual safety margin.

[0035] Step S105: Under the premise of satisfying the multiple safety constraints, the cumulative HU value of the region traversed by the candidate screw trajectory path is taken as the first component of the optimization objective function according to the voxel-level bone density distribution map; the cumulative HU value of the candidate screw trajectory path in the bone density sub-map of the pedicle region is taken as the second component of the optimization objective function; the global path search algorithm is used to optimize within the diameter and length range of the candidate screw, with the goal of maximizing the weighted comprehensive value of the optimization objective function, and an initial optimal screw trajectory that maximizes the weighted comprehensive value is generated.

[0036] In this embodiment, based on the HU values ​​in the voxel-level bone mineral density distribution atlas, the cumulative HU values ​​of the candidate screw trajectory coverage area are used as the first component of the objective function. This transforms abstract bone quality into a calculable numerical indicator, fundamentally differentiating it from path selection strategies based solely on anatomical geometry (such as channel diameter), allowing trajectory planning to truly reflect individual differences in bone mineral density distribution. The cumulative HU values ​​of paths in the pedicle region sub-atlas are used as the second component and separately included in the objective function. The pedicle isthmus is the most critical segment for screw pullout resistance, and its local bone density has a far greater impact on screw stability than the vertebral body cancellous bone region. By independently quantifying and weighting this region, the optimization algorithm is guided to prioritize paths with higher bone density within the pedicle, even if these paths are slightly inferior in the vertebral body region, ensuring maximum holding force in the core fixation area, which is entirely consistent with clinical biomechanical priorities. The first component reflects the total bone density throughout the entire process, while the second component highlights the density of the pedicle region. This allows the surgeon to adjust the weighting coefficients according to the patient's bone quality (e.g., increasing the weight of the pedicle region in cases of osteoporosis). This allows for a flexible balance between the total bone density throughout the entire process and the core area bone density. It avoids simply pursuing pedicle density while neglecting the anchorage of the vertebral body tail, and it also avoids unilaterally pursuing the total bone density throughout the entire process while neglecting the fixation of the most dangerous segment.

[0037] In one alternative approach, using the cumulative HU value of the region traversed by the candidate screw trajectory path as a first component of the optimization objective function based on the voxel-level bone mineral density distribution map further includes: Based on the voxel-level bone density distribution map, the starting coordinates, ending coordinates, trajectory length, and diameter of the candidate screw trajectory's central axis in three-dimensional space are used to generate a continuous set of voxel paths from the starting coordinates to the ending coordinates in the spatial coordinate system of the voxel-level bone density distribution map; wherein, the set of voxel paths includes the coordinates of all voxels that pass through the trajectory's central axis. The effective bone contact area of ​​the screw is defined based on the set of voxel paths and the diameter of the candidate screw. The shortest distance from each voxel in the voxel-level bone density distribution map to the set of voxel paths is calculated in a cylindrical neighborhood centered on each voxel in the set of voxel paths. If the shortest distance is not greater than half the diameter of the candidate screw, the voxel is marked as a path covering voxel, a covering voxel set covering all paths is generated, and the smoothed HU value corresponding to each voxel in the covering voxel set is obtained. Based on the set of covering voxels and their corresponding smoothed HU values, the smoothed HU values ​​of all voxels in the set of covering voxels are accumulated to eliminate the influence of different voxel sizes on the accumulation result, and the overall path accumulated HU value is obtained. The overall path accumulated HU value is used as the first component of the optimization objective function.

[0038] In this embodiment, by transforming the central axis of the candidate trajectory into a continuous set of voxel paths, and then determining the covering voxels using a cylindrical neighborhood (radius = half the screw diameter), a precise three-dimensional voxelized description of the effective bone contact area of ​​the screw is achieved. This avoids errors caused by substituting the entire screw volume with an axis or a limited number of sampling points, ensuring that the cumulative HU value accurately reflects the total bone density within the actual contact range between the screw and bone. For example, the first component of a candidate screw trajectory (diameter 6.5 mm, length 35 mm, starting coordinates (31.2, -11.5, 38.4), ending coordinates (16.8, -19.2, 44.7)) is calculated. The voxels are isotropic with a size of 0.5 mm. Sampling is performed along the central axis from the start point to the end point with a step size of 0.5 mm, resulting in approximately 70 sampling points. After mapping to voxel coordinates and removing duplicates, we obtain P_axis = { (62, -23, 77), (62, -23, 78), ...,(34, -38, 89)}, a total of 68 voxel coordinates with a radius R = 6.5 / 2 = 3.25 mm. We then iterate through the voxels within the bounding box centered on P_axis (approximately ±4 mm) in the bone mineral density map, calculating the shortest distance from each voxel to P_axis. Voxels with a distance ≤3.25 mm were selected, yielding approximately 2,850 voxels (corresponding to a screw cylinder volume of approximately 0.5³ × 2850 ≈ 356 mm³, which differs from the theoretical cylinder volume of π × 3.25² × 35 ≈ 1160 mm³. This difference is due to some voxels being located outside the vertebral body and being cut off, and the voxels not completely filling the cylinder; the actual coverage volume is reasonable). The smoothed HU values ​​of each of the 2,850 voxels were then queried, ranging from high density in the pedicle region (approximately 700 HU) to low density in the vertebral body cancellous bone region (approximately 200 HU). All values ​​were summed, resulting in F1 = 1,184,500 (unit: HU·voxel count). The F1 score, as the first component, is higher than that of another candidate trajectory (6.0 mm in diameter, 32.5 mm in length, calculated to cover approximately 2,400 voxels, with a cumulative HU value of approximately 968,000). This indicates that the 6.5 mm diameter path covers more high-density bone and is expected to provide better fixation. In subsequent optimization, the F1 score is combined with the second component (cumulative HU value in the pedicle region) to participate in weighted summation, guiding the algorithm to select the optimal trajectory.

[0039] In an alternative approach, the cumulative HU value of the candidate screw trajectory in the bone mineral density submap of the pedicle region is further included as a second component of the optimization objective function: Using the bone density sub-map of the pedicle region, the voxel path set, and the path covering voxel set as spatial locations, a subset of voxels that simultaneously meet preset conditions is selected from the path covering voxel set; wherein, the preset conditions satisfy that the voxel belongs to the path covering voxel set and that the three-dimensional spatial coordinates of the voxel are within the effective voxel range of the bone density sub-map of the pedicle region. Based on the voxel subsets covering the pedicle region path and their corresponding smooth HU values, a geometric weight is assigned to the smooth HU value of each voxel, and the weighted HU values ​​of all voxels are summed to obtain the cumulative HU value of the pedicle region path. Dividing the cumulative HU value of the pedicle region path by the effective coverage length of the pedicle region path coverage voxel subset along the trajectory direction yields the second component of the optimization objective function.

[0040] In this embodiment, spatial positioning filtering precisely separates a subset of voxels located only within the pedicle region sub-map from the full-coverage voxels. This allows the second component to independently reflect the bone density contacted by the screw at the pedicle isthmus (i.e., the most critical section for screw holding force), rather than being diluted by the large amount of low-density cancellous bone within the vertebral body. Dividing the weighted cumulative HU value by the effective coverage length of the trajectory within the pedicle region yields the bone density integral value per unit length. This eliminates the absolute value difference in cumulative values ​​caused by different pedicle region penetration lengths for different trajectories, making the second component an intensity-based indicator reflecting the bone density level per unit core length. This facilitates fair comparison between trajectories of different lengths and avoids "artificially high" scores for longer trajectories due to higher absolute cumulative values. For example, for a patient with L5 left pedicle, candidate trajectories A and B have both passed safety constraints; their second components are now calculated for optimization comparison. The pedicle region sub-map covers voxels from the pedicle isthmus section to the lamina region, with an effective length range of approximately 12 mm along the trajectory direction. The voxels are isotropic with a size of 0.5 mm, covering approximately 320 voxels located in the pedicle region (corresponding to a trajectory with a diameter of 6.5 mm and a length of 35 mm). Trajectory A (passing through the high-density area in the center of the pedicle) contains 328 voxels in its Ω_ped region, with a smoothed HU value ranging from 450 to 780, averaging approximately 620. A radial weighting method is used: w_radial = exp(-d² / (2×2.0²)) (σ=2.0 mm). Voxels near the central axis (d<1 mm) have a weight close to 1.0, while those at the edges (d≈3.0 mm) have a weight of approximately 0.32. The weighted summation yields S_ped_weighted = Σ(HU×w) ≈ 198,000. Along the trajectory direction, there are 24 path points belonging to the pedicle region (step size 0.5 mm), with a cumulative effective coverage length L_ped = 24×0.5 = 12.0 mm. Therefore, F2 = 198,000 / 12.0 = 16,500 (unit: HU·weight / mm). Trajectory B (biased towards the lateral aspect of the pedicle, avoiding the high-density cortical bone area), its Ω_ped contains 305 voxels, with a smoothed HU value ranging from 350 to 600, averaging approximately 480. The weighted sum of S_ped_weighted ≈ 138,000, and the effective coverage length L_ped = 11.8 mm (slightly shorter, due to the directional shift reducing the length extending out of the pedicle region). Therefore, F2 = 138,000 / 11.8 ≈ 11,695. The F2 of trajectory A (16,500) is significantly higher than that of trajectory B (11,695), indicating that the former has a better weighted integral of bone mineral density per unit length in the core area of ​​the pedicle.Combining the first component (assuming F1=1,184,500 for trajectory A and F1=1,210,000 for trajectory B, with the latter having a slightly higher cumulative total due to its longer total length and the same diameter), if the weight λ=0.5, then the overall score J_A=0.5×1,184,500+0.5×16,500≈600,500, and J_B=0.5×1,210,000+0.5×11,695≈610,848. In this case, trajectory B has a higher overall score (due to its larger total total score). If the weight of the pedicle region is increased to λ=0.3 (i.e., J=0.3×F1+0.7×F2), then JA≈0.3×1,184,500+0.7×16,500≈366,900, JB≈0.3×1,210,000+0.7×11,695≈371,187, and trajectory A surpasses it. The introduction of F2 allows surgeons to flexibly adjust and optimize the guidance according to clinical priorities (whether to prioritize the pedicle core area).

[0041] In one alternative approach, the expression for the optimization objective function is: ; in, The screw trajectory should fully cover the total volume of bone voxels; The volume of bone tissue covered by the screws in the pedicle region; The effective penetration length of the screw trajectory within the pedicle region; The screw should fully cover the bone space area. The pedicle screw covers the bone proton region; The three-dimensional spatial coordinate vector of the bone voxel; The equation of the three-dimensional spatial curve of the screw trajectory center axis; voxels The corresponding HU bone mineral density value after calibration and smoothing; For the vertebral body bone density anisotropic gradient operator; , These are the Gaussian distance attenuation scaling factors for the overall trajectory and the pedicle region, respectively. This is a safety constraint penalty item.

[0042] In this embodiment, the Gaussian attenuation factor The objective function assigns a higher contribution to voxels closer to the screw's central axis and a decreasing contribution to voxels farther from the axis. This simulates the shear and compressive stresses at the screw-bone interface, which are primarily concentrated in the region near the threaded surface, with limited bone participation in load-bearing areas further from the screw. The bone density anisotropic gradient operator provides additional gain to regions within the pedicle region where bone density gradients change dramatically (i.e., the junction of cortical and cancellous bone, and the boundaries of dense trabecular bone areas). A penalty term is included in the objective function. Multiple safety constraints (based on center point and edge distance ≥ preset value) are incorporated into the optimization in the form of soft constraints or penalty functions, so that the objective function value of trajectories that do not meet the safety conditions is significantly reduced (by adding a large positive penalty value), and thus automatically eliminated during the optimization process.

[0043] Step S106: Based on the starting point coordinates, ending point coordinates, direction vector, trajectory length, and candidate screw diameter of the initial optimal screw trajectory, perform local neighborhood search optimization on the initial optimal screw trajectory using fine-tuning offset angle and fine-tuning center angle as adjustment parameters; during the local neighborhood search process, extract the HU value within a preset thickness annular region around the initial optimal screw trajectory based on the bone density distribution map to calculate the thread peri-bone mineral density index; construct a weighted comprehensive optimization objective based on the thread peri-bone mineral density index and the cumulative HU value, and generate a corrected optimal screw trajectory while maintaining the multiple safety constraints; wherein, the calculation region of the thread peri-bone mineral density index is an annular bone region of preset thickness around the trajectory axis.

[0044] In this embodiment, the global search algorithm is limited by the discretization step size (such as the spacing between nail insertion points and the directional discretization interval), and the initial optimal trajectory is only the optimal solution under the grid precision. By using fine-tuning offset angle and fine-tuning central angle as continuously adjustable parameters, a local search is performed in the neighborhood of the initial trajectory, which can overcome the limitations of the discrete grid and achieve sub-millimeter or sub-degree level trajectory refinement, making the final corrected trajectory more accurately fit the local peak region of bone density distribution. The thread is the core structure for the screw to transfer load to the bone, and the density and uniformity of the surrounding bone directly determine the initial stability and long-term pull-out resistance of the screw. Unlike the cumulative HU value throughout the entire process, which reflects the total amount of bone density, the bone mineral density index around the thread is calculated for the annular bone region around the screw thread, upgrading the local optimization target from coarse-grained bone density integral to fine bone quality assessment of the thread interface, significantly improving the correlation between the optimization index and the screw fixation performance.

[0045] In one alternative approach, the formula for calculating the bone mineral density index around the thread is:

[0046] in, The annular integral region is defined by the axis of the screw trajectory. The inner diameter of the screw thread; The outer radius of the preset annular region; The effective surface area of ​​the annular integral region; voxels The Euclidean distance to the center axis of the screw trajectory; The equation of the three-dimensional spatial curve of the screw trajectory center axis; voxels The corresponding HU bone mineral density value after calibration and smoothing; This is the bone mineral density gradient inhibition coefficient; This represents the voxel bone density gradient magnitude.

[0047] In this embodiment, the integration region is defined as having an inner diameter centered on the screw axis. (Thread inner diameter) to outer diameter The annular space (with a preset outer radius), rather than the entire cylinder or the entire line area, corresponds to the effective load-bearing area where the screw threads are embedded in the bone, and the threaded sides and bone experience compression and shearing forces. This excludes the screw core (the central region where bone has been drilled away or destroyed) and non-contributing bone far from the threads, ensuring that the bone mineral density index around the threads accurately reflects the actual interface quality between the threads and bone. When sclerotic plaques, bone islands, or microstructural inhomogeneities exist in the bone, its gradient modulus value... Larger Correspondingly suppressing the contribution of this voxel prevents isolated high-density abnormalities (such as localized bone sclerosis) from excessively contributing to the bone mineral density index around the screw thread, thus more robustly reflecting the overall level of bone quality around the screw thread rather than an "extreme peak," which better meets the clinical screw stability evaluation requirement of reflecting a wide range of bone conditions.

[0048] In one alternative approach, the iterative optimization formula for correcting the optimal screw trajectory is:

[0049] in, , The first The trajectory is fine-tuned in the next iteration, with the offset angle and the center angle fine-tuned. , They are respectively , Fine-tuning amount after iterative update; This is the first-order gradient iteration step size; These are the correction coefficients for the second-order Hessian matrix; , respectively optimize the objective function The first-order partial derivative gradients with respect to the offset angle and the central angle; The inverse of the second-order Hessian matrix of the objective function; To optimize the objective function; Bone mineral density index around the thread; To optimize variables.

[0050] In this embodiment, the Hessian matrix characterizes the local second-order rate of change (curvature) of the objective function at the current position. Its inverse matrix corrects the curvature of the gradient direction, ensuring that the update direction points to the direction where the objective function value grows faster, rather than simply along the direction of maximum slope. This correction is particularly crucial when the objective function has a narrow "ridge" or "valley" terrain, avoiding the "zigzag" oscillations common in gradient methods and making the iteration path more directly point to the optimal solution. The offset angle and central angle are driven by their respective gradient and Hessian matrix components, respectively, without interference. Even when the objective function has significantly different sensitivities to the two parameters, they can be adjusted with appropriate step sizes, avoiding the problem of one parameter being over-adjusted and the other under-adjusted due to sensitivity mismatch during joint updates.

[0051] Step S107: Output the three-dimensional spatial coordinate parameters of the corrected optimal screw trajectory and the corresponding recommended screw specifications to the data interface of the surgical navigation system or orthopedic surgical robot system, and use the cumulative HU value of the corrected optimal screw trajectory, the cumulative HU value of the pedicle region, and the bone mineral density index around the thread as preoperative screw stability prediction indicators.

[0052] In this embodiment, the surgical navigation system can directly load trajectory parameters, guiding the surgeon or robot to place the screw along the optimal trajectory in real time during the operation. The orthopedic robot system can convert the trajectory coordinates into the robotic arm's motion path, achieving fully automatic or semi-automatic precise placement. For example, data is sent to the navigation workstation via the DICOM network protocol. During the operation, after the navigation system completes the registration between the patient space and the image space, it clearly displays the screw insertion point and the planned trajectory in the 3D view, tracks the probe tip position in real time, and displays its deviation from the planned trajectory (e.g., 1.2mm from the central axis, 0.5° angle deviation), guiding the surgeon to complete the guide pin placement along the planned path. The data is converted into a robot path planning file, the robotic arm automatically moves to the screw insertion point, locks the angle, and the surgeon completes the screw placement operation through the guide sleeve at the end of the robotic arm.

[0053] like Figure 3b , Figure 3cAs shown, the outer surface of the vertebral cortex is rendered with a matte white triangular mesh with 30% transparency, and the edges are outlined with a pure white 1.2pt outline. This preserves the complete anatomical contour and does not obscure the details of the bone density distribution in the internal cancellous bone. The vertex density of the triangular mesh is set to 8 vertices per square millimeter, perfectly matching the accuracy of the triangular mesh model output by the 3D reconstruction in the patent. A voxel-level bone density distribution pseudocolor with 60% transparency is superimposed on the interior of the cancellous bone. The pseudocolor transition uses a linear gradient without hard boundaries to realistically reproduce the natural gradient distribution of bone density inside the vertebral body. Using the minimum cross-section of the pedicle isthmus as the boundary, a semi-transparent white spatial segmentation plane divides the atlas into two sub-regions, with the edges of the segmentation plane marked by light gray dashed lines. Using the central axis of the screw trajectory as a reference, a semi-transparent safety buffer is generated by uniformly offsetting outward by 1.5mm. The buffer completely encloses the screw entity and remains equidistant from the inner wall of the surrounding cortical bone, clearly showing the safety boundary with no risk of perforation. The optimized screw is rendered in a matte silver finish with 40% transparency, made of medical-grade titanium alloy. The thread profile is based on the standard V-shaped thread parameters of the spinal pedicle screw. The bone density distribution around the screw can be directly observed through the semi-transparent screw, visually demonstrating the matching relationship between the screw implantation location and the high-bone density area.

[0054] According to the solution provided by the present invention, preoperative three-dimensional CT image data of the target vertebral body is acquired, and the preoperative three-dimensional CT image data is segmented and three-dimensionally reconstructed to generate a three-dimensional anatomical model of the target vertebral body; the minimum cross-sectional geometric parameters of the pedicle in the three-dimensional anatomical model are extracted; wherein, the minimum cross-sectional geometric parameters include the maximum inscribed circle diameter of the minimum cross-section of the pedicle, the coordinates of the center point of the minimum cross-section of the pedicle, and the anteroposterior diameter of the vertebral body; a voxel-level bone density distribution map of the target vertebral body is constructed based on the preoperative three-dimensional CT image data, wherein the voxel-level bone density distribution map records the bone density values ​​corresponding to each voxel position inside the target vertebral body using HU value as a quantitative index; the voxel-level bone density distribution map includes the bone density of the pedicle region. The model uses a sub-map of bone density and a sub-map of bone mineral density in the vertebral body region. Based on the maximum inscribed circle diameter of the minimum cross-section of the pedicle, the diameter and length ranges of candidate screws are determined. The upper limit of the diameter of the candidate screws is set to a preset proportion of the maximum inscribed circle diameter, and the upper limit of the length of the candidate screws is set to a preset proportion of the anteroposterior diameter of the target vertebral body. Multiple safety constraints are set for the screw trajectory in the three-dimensional anatomical model. These multiple safety constraints satisfy the following: the minimum distance between the screw trajectory passing through the center point of the minimum cross-section of the pedicle, the screw edge, and the inner wall of the pedicle and vertebral cortex is not less than a preset distance. Under the premise of satisfying the multiple safety constraints, the candidate screw trajectory path is determined based on the voxel-level bone mineral density distribution map. The cumulative HU value of the region is used as the first component of the optimization objective function; the cumulative HU value of the candidate screw trajectory in the bone density submap of the pedicle region is used as the second component of the optimization objective function; optimization is performed within the diameter and length range of the candidate screws according to a global path search algorithm to maximize the weighted comprehensive value of the optimization objective function, generating an initial optimal screw trajectory that maximizes the weighted comprehensive value; based on the start coordinates, end coordinates, direction vector, trajectory length, and candidate screw diameter of the initial optimal screw trajectory, a local neighborhood search optimization is performed on the initial optimal screw trajectory with fine-tuning offset angle and fine-tuning central angle as adjustment parameters; during the local neighborhood search process, the bone density is used as the basis for optimization. The distribution map extracts the HU value within a pre-defined thickness annular region around the initial optimal screw trajectory to calculate the peri-thread bone mineral density index. A weighted comprehensive optimization objective is constructed based on the peri-thread bone mineral density index and the cumulative HU value, generating a modified optimal screw trajectory while maintaining the multiple safety constraints. The calculation region for the peri-thread bone mineral density index is a pre-defined thickness annular bone region around the trajectory axis. The three-dimensional spatial coordinate parameters of the modified optimal screw trajectory and the corresponding recommended screw specifications are output to the data interface of a surgical navigation system or orthopedic surgical robot system. The cumulative HU value of the modified optimal screw trajectory, the cumulative HU value of the pedicle region, and the peri-thread bone mineral density index are used as preoperative screw stability prediction indicators.This invention reduces the number of C-arm fluoroscopy sessions required for intraoperative adjustments and position verification, thus shortening surgical planning time and intraoperative operation time.

[0055] Figure 4 A schematic diagram of the framework of a personalized pedicle screw trajectory optimization device based on vertebral body bone density distribution map according to an embodiment of the present invention is shown. The personalized pedicle screw trajectory optimization device based on vertebral body bone density distribution map includes: The image acquisition and 3D reconstruction module 410 is used to acquire preoperative 3D CT image data of the target vertebral body, segment and reconstruct the preoperative 3D CT image data to generate a 3D anatomical model of the target vertebral body; and extract the minimum cross-sectional geometric parameters of the pedicle in the 3D anatomical model; wherein, the minimum cross-sectional geometric parameters include the maximum inscribed circle diameter of the minimum cross-section of the pedicle, the coordinates of the center point of the minimum cross-section of the pedicle, and the anteroposterior diameter of the vertebral body. The voxel-level bone mineral density atlas construction module 420 is used to construct a voxel-level bone mineral density distribution atlas of the target vertebral body based on the preoperative three-dimensional CT image data. The voxel-level bone mineral density distribution atlas records the bone mineral density values ​​corresponding to each voxel position within the target vertebral body using HU values ​​as a quantitative index. The voxel-level bone mineral density distribution atlas includes a pedicle region bone mineral density sub-atlas and a vertebral body region bone mineral density sub-atlas. The candidate screw specification parameterization module 430 is used to determine the diameter range and length range of the candidate screw based on the maximum inscribed circle diameter of the minimum cross section of the pedicle, set the upper limit of the diameter of the candidate screw to a preset proportion of the maximum inscribed circle diameter, and set the upper limit of the length of the candidate screw to a preset proportion of the anteroposterior diameter of the target vertebral body. The multiple safety constraint definition module 440 is used to set multiple safety constraint conditions for the screw trajectory in the three-dimensional anatomical model, wherein the multiple safety constraint conditions satisfy: the minimum distance between the screw trajectory and the center point of the minimum cross section of the pedicle, the screw edge and the pedicle and the inner wall of the vertebral cortex is not less than a preset distance; The global bone mineral density weighted optimization module 450 is used to, under the premise of satisfying the multiple safety constraints, take the cumulative HU value of the region traversed by the candidate screw trajectory path as the first component of the optimization objective function based on the voxel-level bone mineral density distribution map; take the cumulative HU value of the candidate screw trajectory path in the bone mineral density sub-map of the pedicle region as the second component of the optimization objective function; and perform optimization within the diameter and length range of the candidate screws according to the global path search algorithm, with the goal of maximizing the weighted comprehensive value of the optimization objective function, to generate an initial optimal screw trajectory that maximizes the weighted comprehensive value. The local neighborhood and thread bone density optimization module 460 is used to perform local neighborhood search optimization on the initial optimal screw trajectory based on the starting point coordinates, ending point coordinates, direction vector, trajectory length, and candidate screw diameter, with fine-tuning offset angle and fine-tuning center angle as adjustment parameters; during the local neighborhood search process, the HU value is extracted from the annular region of a preset thickness around the initial optimal screw trajectory based on the bone density distribution map to calculate the thread peri-bone density index; a weighted comprehensive optimization objective is constructed based on the thread peri-bone density index and the cumulative HU value, and a corrected optimal screw trajectory is generated under the premise of maintaining the multiple safety constraints; wherein, the calculation region of the thread peri-bone density index is the annular bone region of a preset thickness around the trajectory axis; The trajectory parameter and stability index output module 470 is used to output the three-dimensional spatial coordinate parameters of the corrected optimal screw trajectory and the corresponding recommended screw specifications to the data interface of the surgical navigation system or orthopedic surgical robot system, and to use the cumulative HU value of the corrected optimal screw trajectory, the cumulative HU value of the pedicle region and the bone mineral density index around the thread as preoperative screw stability prediction indicators.

[0056] Figure 5 The diagram shows a structural schematic of an embodiment of the computing device of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the computing device.

[0057] like Figure 5 As shown, the computing device may include: a processor 502, a communications interface 504, a memory 506, and a communications bus 508.

[0058] The processor 502, communication interface 504, and memory 506 communicate with each other via communication bus 508. Communication interface 504 is used to communicate with other network elements such as clients or other servers. Processor 502 executes program 510, specifically performing the relevant steps in the embodiment of the personalized pedicle screw trajectory optimization method based on vertebral bone density distribution maps described above.

[0059] Specifically, program 510 may include program code that includes computer operation instructions.

[0060] Processor 502 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The computing device includes one or more processors, which may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0061] Memory 506 is used to store program 510. Memory 506 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0062] According to the solution provided by the present invention, preoperative three-dimensional CT image data of the target vertebral body is acquired, and the preoperative three-dimensional CT image data is segmented and three-dimensionally reconstructed to generate a three-dimensional anatomical model of the target vertebral body; the minimum cross-sectional geometric parameters of the pedicle in the three-dimensional anatomical model are extracted; wherein, the minimum cross-sectional geometric parameters include the maximum inscribed circle diameter of the minimum cross-section of the pedicle, the coordinates of the center point of the minimum cross-section of the pedicle, and the anteroposterior diameter of the vertebral body; a voxel-level bone density distribution map of the target vertebral body is constructed based on the preoperative three-dimensional CT image data, wherein the voxel-level bone density distribution map records the bone density values ​​corresponding to each voxel position inside the target vertebral body using HU value as a quantitative index; the voxel-level bone density distribution map includes the bone density of the pedicle region. The model uses a sub-map of bone density and a sub-map of bone mineral density in the vertebral body region. Based on the maximum inscribed circle diameter of the minimum cross-section of the pedicle, the diameter and length ranges of candidate screws are determined. The upper limit of the diameter of the candidate screws is set to a preset proportion of the maximum inscribed circle diameter, and the upper limit of the length of the candidate screws is set to a preset proportion of the anteroposterior diameter of the target vertebral body. Multiple safety constraints are set for the screw trajectory in the three-dimensional anatomical model. These multiple safety constraints satisfy the following: the minimum distance between the screw trajectory passing through the center point of the minimum cross-section of the pedicle, the screw edge, and the inner wall of the pedicle and vertebral cortex is not less than a preset distance. Under the premise of satisfying the multiple safety constraints, the candidate screw trajectory path is determined based on the voxel-level bone mineral density distribution map. The cumulative HU value of the region is used as the first component of the optimization objective function; the cumulative HU value of the candidate screw trajectory in the bone density submap of the pedicle region is used as the second component of the optimization objective function; optimization is performed within the diameter and length range of the candidate screws according to a global path search algorithm to maximize the weighted comprehensive value of the optimization objective function, generating an initial optimal screw trajectory that maximizes the weighted comprehensive value; based on the start coordinates, end coordinates, direction vector, trajectory length, and candidate screw diameter of the initial optimal screw trajectory, a local neighborhood search optimization is performed on the initial optimal screw trajectory with fine-tuning offset angle and fine-tuning central angle as adjustment parameters; during the local neighborhood search process, the bone density is used as the basis for optimization. The distribution map extracts the HU value within a pre-defined thickness annular region around the initial optimal screw trajectory to calculate the peri-thread bone mineral density index. A weighted comprehensive optimization objective is constructed based on the peri-thread bone mineral density index and the cumulative HU value, generating a modified optimal screw trajectory while maintaining the multiple safety constraints. The calculation region for the peri-thread bone mineral density index is a pre-defined thickness annular bone region around the trajectory axis. The three-dimensional spatial coordinate parameters of the modified optimal screw trajectory and the corresponding recommended screw specifications are output to the data interface of a surgical navigation system or orthopedic surgical robot system. The cumulative HU value of the modified optimal screw trajectory, the cumulative HU value of the pedicle region, and the peri-thread bone mineral density index are used as preoperative screw stability prediction indicators.This invention reduces the number of C-arm fluoroscopy sessions required for intraoperative adjustments and position verification, thus shortening surgical planning time and intraoperative operation time.

[0063] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination of all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed can be employed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose. Furthermore, those skilled in the art will understand that although some embodiments herein include certain features included in other embodiments but not others, combinations of features from different embodiments are intended to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims listing several devices, several of these devices may be embodied by the same hardware item. Unless otherwise specified, the steps in the above embodiments should not be construed as limiting the order of execution.

Claims

1. A personalized pedicle screw trajectory optimization method based on vertebral body bone density distribution map, characterized in that, include: Preoperative three-dimensional CT image data of the target vertebral body is acquired, and the preoperative three-dimensional CT image data is segmented and three-dimensionally reconstructed to generate a three-dimensional anatomical model of the target vertebral body; the minimum cross-sectional geometric parameters of the pedicle in the three-dimensional anatomical model are extracted; wherein, the minimum cross-sectional geometric parameters include the maximum inscribed circle diameter of the minimum cross-section of the pedicle, the coordinates of the center point of the minimum cross-section of the pedicle, and the anteroposterior diameter of the vertebral body; Based on the preoperative three-dimensional CT image data, a voxel-level bone mineral density distribution atlas of the target vertebral body is constructed. The voxel-level bone mineral density distribution atlas uses the HU value as a quantitative index to record the bone mineral density values ​​corresponding to each voxel position within the target vertebral body. The voxel-level bone mineral density distribution atlas includes a bone mineral density sub-atlas of the pedicle region and a bone mineral density sub-atlas of the vertebral body region. The diameter and length range of the candidate screws are determined based on the maximum inscribed circle diameter of the minimum cross section of the pedicle. The upper limit of the diameter of the candidate screws is set to a preset proportion of the maximum inscribed circle diameter, and the upper limit of the length of the candidate screws is set to a preset proportion of the anteroposterior diameter of the target vertebral body. Multiple safety constraints are set for the screw trajectory in the three-dimensional anatomical model, wherein the multiple safety constraints satisfy the following: the minimum distance between the screw trajectory and the center point of the minimum cross section of the pedicle, the screw edge and the pedicle and the inner wall of the vertebral cortex is not less than a preset distance; Under the premise of satisfying the multiple safety constraints, the cumulative HU value of the region traversed by the candidate screw trajectory path is used as the first component of the optimization objective function based on the voxel-level bone density distribution map; the cumulative HU value of the candidate screw trajectory path in the bone density sub-map of the pedicle region is used as the second component of the optimization objective function; the global path search algorithm is used to optimize within the diameter and length range of the candidate screw, with the goal of maximizing the weighted comprehensive value of the optimization objective function, and an initial optimal screw trajectory that maximizes the weighted comprehensive value is generated. Based on the starting coordinates, ending coordinates, direction vector, trajectory length, and candidate screw diameter of the initial optimal screw trajectory, a local neighborhood search optimization is performed on the initial optimal screw trajectory, with fine-tuning offset angle and fine-tuning center angle as adjustment parameters. During the local neighborhood search process, the HU value in a pre-defined thickness annular region around the initial optimal screw trajectory is extracted based on the bone density distribution map to calculate the thread peri-bone mineral density index. A weighted comprehensive optimization objective is constructed based on the thread peri-bone mineral density index and the cumulative HU value, generating a corrected optimal screw trajectory while maintaining the multiple safety constraints. The calculation region for the thread peri-bone mineral density index is a pre-defined thickness annular bone region around the trajectory axis. The three-dimensional spatial coordinate parameters of the corrected optimal screw trajectory and the corresponding recommended screw specifications are output to the data interface of the surgical navigation system or orthopedic surgical robot system. The cumulative HU value of the corrected optimal screw trajectory, the cumulative HU value of the pedicle region, and the bone mineral density index around the thread are used as preoperative screw stability prediction indicators.

2. The personalized pedicle screw trajectory optimization method based on vertebral body bone density distribution map according to claim 1, characterized in that, The process of segmenting and reconstructing the preoperative 3D CT image data to generate a 3D anatomical model of the target vertebra further includes: The HU value of each voxel in the preoperative three-dimensional CT image data is input into a three-dimensional U-Net convolutional neural network model to obtain a binary voxel mask of the target vertebral body. The maximum connected component belonging to the target vertebra is extracted from the binary voxel mask according to the three-dimensional connected component labeling algorithm. Bone islands or artifact noise that are not connected to the target vertebra are removed to obtain a pure binary voxel mask of the target vertebra. Using the pure binary voxel mask as a constraint, backtracking to the corresponding HU value in the preoperative three-dimensional CT image data, voxels with HU values ​​lower than the preset bone tissue threshold are re-marked as non-bone tissue to eliminate the interference of low-density medullary cavity in cancellous bone on the smoothness of the three-dimensional reconstruction surface, and obtaining the corrected binary voxel mask filtered by HU value. Isosurface extraction is performed on the modified binary voxel mask to generate an initial triangular mesh surface model; multiple Laplacian smoothing iterations are performed on the initial triangular mesh surface model to obtain a three-dimensional anatomical model of the target vertebra; wherein, the three-dimensional anatomical model is in triangular mesh data format, containing a set of vertex coordinates and a set of triangular facet indices.

3. The personalized pedicle screw trajectory optimization method based on vertebral body bone density distribution map according to claim 1, characterized in that, Constructing a voxel-level bone mineral density distribution atlas of the target vertebra based on the preoperative three-dimensional CT image data further includes: Read the three-dimensional spatial coordinates and corresponding original CT values ​​of each voxel in the preoperative three-dimensional CT image data, perform dual-point calibration of the original CT values ​​using air and water phantoms to obtain calibrated HU values, and make the calibrated HU values ​​have a linear correspondence with bone density; construct key-value pairs between the three-dimensional spatial coordinates of each voxel and the calibrated HU values ​​to generate an initial voxel-level HU value mapping table. Using the three-dimensional anatomical model of the target vertebra as a spatial constraint, the initial voxel-level HU value mapping table is spatially clipped. The voxel coordinates and their HU values ​​located outside the three-dimensional anatomical model are removed from the initial voxel-level HU value mapping table, and only the data of voxels inside the three-dimensional anatomical model are retained to generate the voxel-level HU value mapping table inside the target vertebra. The voxel-level HU value mapping table inside the target vertebral body is input into an anisotropic Gaussian kernel function, and the calibrated HU values ​​are subjected to three-dimensional spatial smoothing filtering to obtain the smoothed HU value of each voxel; wherein, the smoothing intensity along the vertebral body axis and the smoothing intensity along the cross section of the anisotropic Gaussian kernel function are set according to a predetermined ratio; the smoothed HU values ​​are used as bone mineral density indicators and re-associated with the three-dimensional spatial coordinates of the corresponding voxels to generate a voxel-level bone mineral density distribution map of the target vertebral body; Based on the minimum cross-sectional location of the pedicle isthmus in the three-dimensional anatomical model, the voxel-level bone density distribution map is divided into a pedicle region bone density sub-map and a vertebral body region bone density sub-map using a spatial planar cutting algorithm. The voxel set located behind the pedicle isthmus cross-section constitutes the pedicle region bone density sub-map, and the voxel set located in front of the pedicle isthmus cross-section constitutes the vertebral body region bone density sub-map.

4. The personalized pedicle screw trajectory optimization method based on vertebral body bone density distribution map according to claim 2, characterized in that, Based on the voxel-level bone mineral density distribution map, the cumulative HU value of the region traversed by the candidate screw trajectory path is used as the first component of the optimization objective function, further including: Based on the voxel-level bone density distribution map, the starting coordinates, ending coordinates, trajectory length, and diameter of the candidate screw trajectory's central axis in three-dimensional space are used to generate a continuous set of voxel paths from the starting coordinates to the ending coordinates in the spatial coordinate system of the voxel-level bone density distribution map; wherein, the set of voxel paths includes the coordinates of all voxels that pass through the trajectory's central axis. The effective bone contact area of ​​the screw is defined based on the set of voxel paths and the diameter of the candidate screw. The shortest distance from each voxel in the voxel-level bone density distribution map to the set of voxel paths is calculated in a cylindrical neighborhood centered on each voxel in the set of voxel paths. If the shortest distance is not greater than half the diameter of the candidate screw, the voxel is marked as a path covering voxel, a covering voxel set covering all paths is generated, and the smoothed HU value corresponding to each voxel in the covering voxel set is obtained. Based on the set of covering voxels and their corresponding smoothed HU values, the smoothed HU values ​​of all voxels in the set of covering voxels are accumulated to eliminate the influence of different voxel sizes on the accumulation result, and the overall path accumulated HU value is obtained. The overall path accumulated HU value is used as the first component of the optimization objective function.

5. The personalized pedicle screw trajectory optimization method based on vertebral body bone density distribution map according to claim 2, characterized in that, Based on the voxel-level bone mineral density distribution map, the cumulative HU value of the region traversed by the candidate screw trajectory path is used as the first component of the optimization objective function, further including: Based on the voxel-level bone density distribution map, the starting coordinates, ending coordinates, trajectory length, and diameter of the candidate screw trajectory's central axis in three-dimensional space are used to generate a continuous set of voxel paths from the starting coordinates to the ending coordinates in the spatial coordinate system of the voxel-level bone density distribution map; wherein, the set of voxel paths includes the coordinates of all voxels that pass through the trajectory's central axis. The effective bone contact area of ​​the screw is defined based on the set of voxel paths and the diameter of the candidate screw. The shortest distance from each voxel in the voxel-level bone density distribution map to the set of voxel paths is calculated in a cylindrical neighborhood centered on each voxel in the set of voxel paths. If the shortest distance is not greater than half the diameter of the candidate screw, the voxel is marked as a path covering voxel, a covering voxel set covering all paths is generated, and the smoothed HU value corresponding to each voxel in the covering voxel set is obtained. Based on the set of covering voxels and their corresponding smoothed HU values, the smoothed HU values ​​of all voxels in the set of covering voxels are accumulated to eliminate the influence of different voxel sizes on the accumulation result, and the overall path accumulated HU value is obtained. The overall path accumulated HU value is used as the first component of the optimization objective function.

6. The personalized pedicle screw trajectory optimization method based on vertebral body bone density distribution map according to claim 1, characterized in that, The expression for the optimization objective function is: ; in, The screw trajectory should fully cover the total volume of bone voxels; The volume of bone tissue covered by the screws in the pedicle region; The effective penetration length of the screw trajectory within the pedicle region; The screw should fully cover the bone space area. The pedicle screw covers the bone proton region; The three-dimensional spatial coordinate vector of the bone voxel; The equation of the three-dimensional spatial curve of the screw trajectory center axis; voxels The corresponding HU bone mineral density value after calibration and smoothing; For the vertebral body bone density anisotropic gradient operator; , These are the Gaussian distance attenuation scaling factors for the overall trajectory and the pedicle region, respectively. This is a safety constraint penalty item.

7. The personalized pedicle screw trajectory optimization method based on vertebral body bone density distribution map according to claim 1, characterized in that, The formula for calculating the bone mineral density index around the thread is: ; in, The annular integral region is defined by the axis of the screw trajectory. The inner diameter of the screw thread; The outer radius of the preset annular region; The effective surface area of ​​the annular integral region; voxels The Euclidean distance to the center axis of the screw trajectory; The equation of the three-dimensional spatial curve of the screw trajectory center axis; voxels The corresponding HU bone mineral density value after calibration and smoothing; This is the bone mineral density gradient inhibition coefficient; This represents the voxel bone density gradient magnitude.

8. The personalized pedicle screw trajectory optimization method based on vertebral body bone density distribution map according to claim 1, characterized in that, The iterative optimization formula for correcting the optimal screw trajectory is as follows: ; in, , The first The trajectory is fine-tuned in the next iteration, with the offset angle and the center angle fine-tuned. , They are respectively , Fine-tuning amount after iterative update; This is the first-order gradient iteration step size; These are the correction coefficients for the second-order Hessian matrix; , respectively optimize the objective function The first-order partial derivative gradients with respect to the offset angle and the central angle; The inverse of the second-order Hessian matrix of the objective function; To optimize the objective function; Bone mineral density index around the thread; To optimize variables.

9. A personalized pedicle screw trajectory optimization device based on vertebral body bone density distribution map, characterized in that, include: The image acquisition and 3D reconstruction module is used to acquire preoperative 3D CT image data of the target vertebral body, segment and reconstruct the preoperative 3D CT image data to generate a 3D anatomical model of the target vertebral body; and extract the minimum cross-sectional geometric parameters of the pedicle in the 3D anatomical model; wherein, the minimum cross-sectional geometric parameters include the maximum inscribed circle diameter of the minimum cross-section of the pedicle, the coordinates of the center point of the minimum cross-section of the pedicle, and the anteroposterior diameter of the vertebral body. A voxel-level bone mineral density (BMD) atlas construction module is used to construct a voxel-level BMD distribution atlas of the target vertebral body based on the preoperative three-dimensional CT image data. The voxel-level BMD distribution atlas uses the HU value as a quantitative index to record the bone mineral density values ​​corresponding to each voxel position within the target vertebral body. The voxel-level BMD distribution atlas includes a pedicle region BMD sub-atlas and a vertebral body region BMD sub-atlas. The candidate screw specification parameterization module is used to determine the diameter range and length range of the candidate screw based on the maximum inscribed circle diameter of the minimum cross section of the pedicle, and to set the upper limit of the diameter of the candidate screw to a preset proportion of the maximum inscribed circle diameter, and to set the upper limit of the length of the candidate screw to a preset proportion of the anteroposterior diameter of the target vertebral body. The multiple safety constraint definition module is used to set multiple safety constraint conditions for the screw trajectory in the three-dimensional anatomical model, wherein the multiple safety constraint conditions satisfy: the minimum distance between the screw trajectory and the center point of the minimum cross section of the pedicle, the screw edge and the pedicle and the inner wall of the vertebral cortex is not less than a preset distance; The global bone mineral density weighted optimization module is used to, under the premise of satisfying the multiple safety constraints, take the cumulative HU value of the region traversed by the candidate screw trajectory path as the first component of the optimization objective function based on the voxel-level bone mineral density distribution map; take the cumulative HU value of the candidate screw trajectory path in the bone mineral density sub-map of the pedicle region as the second component of the optimization objective function; and perform optimization within the diameter and length range of the candidate screws according to the global path search algorithm, with the goal of maximizing the weighted comprehensive value of the optimization objective function, to generate an initial optimal screw trajectory that maximizes the weighted comprehensive value. The local neighborhood and thread bone density optimization module is used to perform local neighborhood search optimization on the initial optimal screw trajectory based on the starting point coordinates, ending point coordinates, direction vector, trajectory length, and candidate screw diameter, with fine-tuning offset angle and fine-tuning center angle as adjustment parameters. During the local neighborhood search process, the HU value is extracted from the pre-thickness annular region around the initial optimal screw trajectory based on the bone density distribution map to calculate the thread peri-bone mineral density index. A weighted comprehensive optimization objective is constructed based on the thread peri-bone mineral density index and the cumulative HU value to generate a corrected optimal screw trajectory while maintaining the multiple safety constraints. The calculation region for the thread peri-bone mineral density index is the annular bone region of pre-thickness around the trajectory axis. The trajectory parameter and stability index output module is used to output the three-dimensional spatial coordinate parameters of the corrected optimal screw trajectory and the corresponding recommended screw specifications to the data interface of the surgical navigation system or orthopedic surgical robot system, and to use the cumulative HU value of the corrected optimal screw trajectory, the cumulative HU value of the pedicle region and the bone mineral density index around the thread as preoperative screw stability prediction indicators.

10. A computing device, comprising: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction, which causes the processor to perform the operation corresponding to the above-mentioned personalized pedicle screw trajectory optimization method based on vertebral body bone density distribution map.