Pedicle screw planning method, apparatus, and computer program product

By initializing the population using a genetic algorithm and performing fitness assessment and genetic control, a variety of pedicle screw placement schemes are generated, solving the problems of single planning schemes and insufficient flexibility in existing technologies, and realizing the generation of efficient and flexible pedicle screw placement schemes.

CN121512692BActive Publication Date: 2026-04-17YUANHUA ORTHOPAEDIC ROBOTICS (SHENZHEN) LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
YUANHUA ORTHOPAEDIC ROBOTICS (SHENZHEN) LTD
Filing Date
2026-01-15
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Existing pedicle screw planning methods suffer from insufficient algorithm generalization, inability to provide multiple planning schemes, poor flexibility, and limitations due to difficulties in obtaining datasets.

Method used

A genetic algorithm is used to initialize the population. By defining multiple individuals including the first screw and the second screw, various screw placement information is constructed. Combined with fitness function for evaluation and genetic control, multiple target individuals are generated, providing multiple pedicle screw planning schemes.

Benefits of technology

While ensuring efficiency and accuracy, a variety of pedicle screw placement options are provided for surgeons to choose from, improving the flexibility and accuracy of the planning process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121512692B_ABST
    Figure CN121512692B_ABST
Patent Text Reader

Abstract

Embodiments of the present application are applicable to the field of computer-aided medical technology, and provide a pedicle screw planning method, device and computer program product, the method comprising: population initialization, the population comprising a plurality of individuals, any individual being defined as comprising a first screw and a second screw, the first screw and the second screw each having a plurality of screw placement information; performing fitness evaluation on each individual in the population according to a plurality of fitness functions to obtain a fitness score of each individual, the fitness functions being constructed based on a plurality of the screw placement information; performing genetic control on the population according to the fitness score to generate a next generation population; iteratively performing the genetic control for a plurality of times to obtain a target population, the target population comprising a plurality of target individuals, any target individual representing a pedicle screw planning scheme. The above method can efficiently and accurately plan a pedicle screw placement scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of computer-aided medical technology, and in particular relates to a pedicle screw planning method, device and computer program product. Background Technology

[0002] Pedicle screw fixation is one of the core techniques in spinal surgery, used to treat fractures, deformities, degenerative diseases, and more. With the development of medical imaging and robot-assisted navigation technologies, precise and safe screw placement is gaining increasing acceptance from doctors and patients.

[0003] Accurate planning of the pedicle screw placement is a prerequisite for successful pedicle screw fixation. Current technologies for pedicle screw planning combined with robot-assisted navigation mainly include two methods: traditional algorithms and deep learning algorithms. Traditional algorithms are flexible and simple, but rely on manually designed vertebral geometry features for identification. Human-defined rules cannot cover all complex vertebral conditions, resulting in insufficient generalization and a tendency to get stuck in local optima. Deep learning algorithms offer high accuracy, but depend on large amounts of training data, which is difficult and expensive to obtain due to ethical concerns regarding clinical data. Furthermore, both traditional and deep learning algorithms typically only provide a single optimized plan, lacking the flexibility to offer multiple options for surgeons. Summary of the Invention

[0004] In view of this, embodiments of this application provide a pedicle screw planning method, device, and computer program product, which can provide multiple planning schemes for surgeons to choose from while ensuring the efficiency and accuracy of pedicle screw placement planning. It can not only output efficient and accurate placement schemes, but also improve the flexibility of the planning process.

[0005] The first aspect of this application provides a pedicle screw planning method, including:

[0006] Population initialization, wherein the population includes multiple individuals, and any individual is defined as including a first screw and a second screw, wherein the first screw and the second screw each have multiple screw placement information;

[0007] The fitness of each individual in the population is evaluated according to multiple fitness functions to obtain a fitness score for each individual. The fitness functions are constructed based on multiple pinning information.

[0008] Genetic control is performed on the population based on the fitness score to generate the next generation population;

[0009] The genetic control is iterated multiple times to obtain a target population, which includes multiple target individuals, each of which represents a pedicle screw planning scheme.

[0010] Optionally, the step of genetically controlling the population based on the fitness score to generate the next generation population includes:

[0011] Based on the fitness score, multiple individuals in the population are sorted, and a predetermined number of individuals with the highest ranking are copied to the next generation population.

[0012] The first and second parent generations are determined from the population, and crossover mutation is performed based on the first and second parent generations to generate multiple offspring individuals. The multiple offspring individuals are then copied into the next generation population.

[0013] Optionally, the step of generating multiple offspring individuals through crossover mutation based on the first parent generation and the second parent generation includes:

[0014] Using the first parent generation as the base sequence and the second parent generation as the cross sequence, the base sequence is traversed sequentially; wherein, each sequence value in the base sequence and the cross sequence is a numerical value corresponding to various pinning information;

[0015] When any sequence value in the base sequence satisfies the crossover probability, the corresponding sequence value in the crossover sequence is replaced in the base sequence to obtain the offspring sequence;

[0016] Sequence mutation is performed on the offspring sequence to generate multiple offspring individuals.

[0017] Optionally, the step of performing sequence mutation on the offspring sequence to generate multiple offspring individuals includes:

[0018] Iterate through the child sequence in sequence;

[0019] When any sequence value in the offspring sequence meets the mutation probability, the sequence value of the corresponding part in the offspring sequence is modified to obtain the offspring individual.

[0020] Optionally, the various pin placement information includes screw entry point position, screw direction, screw diameter, and screw length. The screw entry point position of any screw in each individual of the initialized population is randomly determined within the vertebral space where the pin is to be placed. The screw direction is randomly determined, and the screw diameter and screw length are randomly selected from a screw database. The fitness function constructed based on the various pin placement information includes the following:

[0021] The region reward function is used to represent the ratio of the volume of the screw in the overlapping region of the cone to the total volume of the screw.

[0022] A symmetric reward function is used to represent the angular difference between the first and second screws and the vertebral midline.

[0023] The bone mineral density reward function is used to represent the ratio of the cumulative bone mineral density of the screw within the vertebral body to the overall bone mineral density of the vertebral body.

[0024] The stability reward function is used to represent the ratio of screw diameter to maximum diameter, and the ratio of screw length to maximum length;

[0025] The collision penalty function is used to represent the collision state between the first screw and the second screw;

[0026] The penetration penalty function is used to represent the positional relationship between the screw stop point and the vertebral body.

[0027] Optionally, the step of evaluating the fitness of each individual in the population based on multiple fitness functions to obtain a fitness score for each individual includes:

[0028] Determine the weights for each of the fitness functions;

[0029] Based on the weights, the reward and penalty values ​​corresponding to multiple fitness functions are weighted and summed to obtain the fitness score of each individual.

[0030] Optionally, the iteration performs the genetic control multiple times to obtain the target population, including:

[0031] For the generated next generation population, genetic control of the next generation population is repeated based on the fitness score;

[0032] When the number of iterations for genetic control of the next generation population reaches a set threshold, the current population is used as the target population.

[0033] Multiple target individuals are identified from the target population.

[0034] Optionally, determining multiple target individuals from the target population includes:

[0035] Sort multiple individuals in the target population according to the fitness score;

[0036] A predetermined proportion of individuals with the highest ranking are retained as target individuals representing the pedicle screw planning scheme.

[0037] A second aspect of this application provides a pedicle screw planning device, comprising:

[0038] An initialization module is used for population initialization, wherein the population includes multiple individuals, and any individual is defined as including a first screw and a second screw, wherein the first screw and the second screw each have multiple screw placement information;

[0039] The fitness evaluation module is used to evaluate the fitness of each individual in the population according to multiple fitness functions to obtain the fitness score of each individual. The fitness functions are constructed based on multiple pinning information.

[0040] A genetic control module is used to genetically control the population based on the fitness score to generate the next generation population;

[0041] The target population generation module is used to iteratively perform the genetic control multiple times to obtain a target population, which includes multiple target individuals, and any one of the target individuals represents a pedicle screw planning scheme.

[0042] A third aspect of this application provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the computer device performs the method as described in any of the first aspects above.

[0043] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a computer, implements the method described in any of the first aspects above.

[0044] A fifth aspect of this application provides a computer program product, including a computer program that, when the computer program is run, causes the method described in any of the first aspects above to be executed.

[0045] Compared with the prior art, the embodiments of this application have the following beneficial effects:

[0046] In this embodiment, by defining multiple individuals including a first screw and a second screw, a population comprising multiple individuals can be initialized. The various screw placement information of the first and second screws can be used to construct multiple fitness functions, thereby enabling fitness evaluation of each individual in the population based on these functions, yielding a fitness score for each individual. Based on this, genetic control of the population according to the fitness scores can generate a next-generation population. Through iterative genetic control, a target population comprising multiple target individuals can be obtained. Each target individual in the target population represents a pedicle screw planning scheme. Applying the planning method provided in this embodiment can provide multiple planning schemes for surgeons to choose from while ensuring the efficiency and accuracy of pedicle screw placement planning. This not only outputs efficient and accurate placement schemes but also improves the flexibility of the planning process. Attached Figure Description

[0047] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0048] Figure 1 This is a schematic diagram of a pedicle screw planning method provided in an embodiment of this application;

[0049] Figure 2 This is a schematic diagram of a next-generation population generation method provided in an embodiment of this application;

[0050] Figure 3 This is a schematic diagram of a pedicle screw planning process provided in an embodiment of this application;

[0051] Figure 4 This is a schematic diagram of a pedicle screw planning device provided in an embodiment of this application;

[0052] Figure 5 This is a schematic diagram of a computer device provided in an embodiment of this application. Detailed Implementation

[0053] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0054] As mentioned earlier, pedicle screw planning combined with robot-assisted navigation mainly includes two planning methods: those using traditional algorithms and those using deep learning algorithms. Both methods use spinal imaging data as input and output the planned screw positions, i.e., the screw's entry and exit points. Existing methods can only output a single planning scheme, failing to provide surgeons with more options and exhibiting poor flexibility.

[0055] To address the aforementioned issues, this application provides a genetic algorithm-based pedicle screw planning method. Based on the uncertainty of vertebral body geometry, it transforms clinicians' experience into optimization objectives and incorporates various reward and penalty mechanisms, such as screw overlap area rewards, symmetry rewards, bone density rewards, stability rewards, collision penalties, and penetration penalties. Leveraging the global search and randomness of genetic algorithms, it outputs efficient and accurate screw planning schemes. Furthermore, the method provided in this application can generate multiple executable planning schemes, allowing doctors to select the most suitable option based on the patient's specific situation.

[0056] The technical solution of this application will be described below through specific embodiments.

[0057] Reference Figure 1 The diagram illustrates a pedicle screw planning method provided in an embodiment of this application, which may specifically include the following steps:

[0058] S101, Population initialization, wherein the population includes multiple individuals, and any one of the individuals is defined as including a first screw and a second screw, wherein the first screw and the second screw each have multiple screw placement information.

[0059] It should be noted that this method can be applied to computer equipment; that is, the executing subject of this application embodiment is a computer device. This computer device can execute the various steps of this method to plan the pedicle screw placement scheme. Furthermore, the computer device executing this scheme can output multiple planning schemes for the surgeon to choose from. The aforementioned computer device can be a device with relevant data processing functions, such as a desktop computer or a cloud server. This application embodiment does not limit the specific type of computer device.

[0060] In pedicle screw placement planning, each vertebral body to be screwed requires two screws: a first screw (or screw 1) and a second screw (or screw 2). Therefore, when using a genetic algorithm for screw placement planning, each individual in the population can be defined as including both the first and second screws. For example, an individual... s It can be defined as:

[0061]

[0062] in, This indicates the first screw (screw 1). This indicates the second screw (screw 2).

[0063] In this embodiment, the first screw and the second screw may each have various placement information. This placement information can be related to how the first screw and the second screw are placed or inserted during the placement process. For example, the placement information may include the screw entry point position, screw direction, screw diameter, and screw length. The screw entry point position may refer to the starting point position for screw insertion, the screw direction may refer to the direction in which the screw is inserted into the vertebral body from the aforementioned entry point position, and the screw diameter and screw length indicate the type of screw.

[0064] In one possible implementation of the embodiments of this application, in the case of s When the definition includes a first screw and a second screw, the aforementioned first screw, second screw, and their corresponding screw placement information can be represented as follows:

[0065]

[0066]

[0067] in, Indicates the position of the screw insertion point. Indicates the direction of the screw. Indicates the diameter of the screw. This indicates the length of the screw. i =1,2, when i When =1, it indicates that the first screw is... ,when i When =2, it indicates the second screw, i.e. .

[0068] The diameter and length of the aforementioned screws are determined by the actual screws used. For example, the screw diameter and length values ​​can be determined based on the dimensions of various screws in a screw database. For instance, based on the actual dimensions of various screws in the screw database, the screw diameter and length values ​​could be:

[0069]

[0070]

[0071] In this embodiment of the application, the population includes multiple individuals as defined above. sEach individual s includes two screws and their corresponding screw placement information. One of the purposes of the computer device executing the embodiments of this application is to use a genetic algorithm to iteratively obtain a target population including multiple target individuals from an initialized population, where each target individual represents an executable planning scheme.

[0072] In this embodiment of the application, when multiple screw placement information includes screw entry point position, screw direction, screw diameter and screw length, each individual in the initialized population includes a first screw, a second screw and its corresponding screw entry point position, screw direction, screw diameter and screw length.

[0073] During population initialization, the screw insertion point of any screw can be randomly determined within the cone-shaped space where the screw is to be placed. The screw direction can also be randomly determined, while the screw diameter and length can be randomly selected from a screw database. This completes the population initialization.

[0074] S102. The fitness of each individual in the population is evaluated according to multiple fitness functions to obtain the fitness score of each individual. The fitness functions are constructed based on multiple pinning information.

[0075] In this embodiment, the fitness function can be constructed based on various screw placement information and can be used to evaluate the screw placement plan of the corresponding screw. Specifically, the fitness function is determined based on the spatial relationship between the cone and the screw plan, combined with actual clinical needs.

[0076] In one possible implementation of this application embodiment, the fitness function may include any and more of the following functions:

[0077] 1) Regional reward function;

[0078] 2) Symmetrical reward function;

[0079] 3) Bone mineral density reward function;

[0080] 4) Stability reward function;

[0081] 5) Collision penalty function;

[0082] 6) Penalty function for penetration.

[0083] The region reward function represents the ratio of the screw's volume in the overlapping region of the cone to the screw's volume. If this ratio is close to 1, it indicates that the screw is completely located within the cone.

[0084] The symmetric reward function is used to represent the angular difference between the two screws and the vertebral midline. The use of this function can prevent the relative angle between the two screws from being too large.

[0085] The bone mineral density (BMD) reward function represents the ratio of the cumulative BMD of the screw within the vertebral body to the total BMD of the vertebral body. This BMD value can be determined based on computed tomography (CT) scan values. A higher ratio indicates a more stable screw within the vertebral body, better meeting the requirements for clinical application.

[0086] The stability reward function represents the ratio of the screw diameter to the maximum diameter, and the ratio of the screw length to the maximum length. The maximum diameter and maximum length can refer to the maximum diameter and maximum length of screws already existing in the screw database. Generally, the larger the diameter ratio and length ratio, the higher the stability of the screw.

[0087] The collision penalty function is used to represent the collision state between the first screw and the second screw, that is, whether the two screws collide.

[0088] The penetration penalty function is used to represent the positional relationship between the screw stop and the vertebral body, i.e., whether the screw stop is located inside or outside the vertebral body.

[0089] The collision penalty function and penetration penalty function can be determined with corresponding coefficients based on the actual collision and penetration states. For example, if the first screw collides with the second screw, the collision penalty function can be represented by a collision coefficient of -1; if the first screw and the second screw do not collide, the collision coefficient can be represented by 1. Correspondingly, if the stop point of a screw is located outside the vertebral body, the penetration penalty function can be represented by a penetration coefficient of -1; if the stop points of both the first screw and the second screw are located inside the vertebral body, the penetration coefficient can be represented by 1.

[0090] In one possible implementation of this application, each fitness function may have a corresponding weight. A computer device can determine the weight of each fitness function and, based on that weight, perform a weighted sum of the reward and penalty values ​​corresponding to multiple fitness functions to obtain the fitness score for each individual. This fitness score can be used to represent the rationality or accuracy of the planning scheme corresponding to the individual.

[0091] In one example, the fitness score can be represented as:

[0092]

[0093] Here, Aera represents the ratio of the screw volume in the overlapping area of ​​the vertebral body to the total screw volume; a ratio close to 1 indicates that the screw is completely within the vertebral body. Angle represents the angle difference between the two screws and the central axis, preventing excessively large relative angles between the two screws. HU represents the ratio of the cumulative bone mineral density (CT value) of the screws within the vertebral body to the total bone mineral density (CT value) of the vertebral body; a larger ratio indicates greater stability of the screw within the vertebral body, better meeting clinical application requirements. D represents the ratio of the screw diameter to the maximum diameter in the screw database, and L represents the ratio of the screw length to the maximum length in the screw database; larger diameter and length ratios indicate higher screw stability. C indicates whether the screws collide; for example, -1 for collision and 1 for no collision. P indicates whether the screw's insertion point is outside the vertebral body; for example, -1 for penetrating the vertebral body and 1 for penetrating the vertebral body. The penalty coefficients for collision and penetration can be adjusted according to actual conditions. (i=1,2,3,4,5,6,7) represent different weights, which can be adjusted according to different clinical needs.

[0094] S103. Genetic control is performed on the population based on the fitness score to generate the next generation population.

[0095] In the embodiments of this application, genetic control can refer to the control process of generating the next generation of population based on fitness scores during population iteration.

[0096] In one possible implementation of this application, two different population generation strategies can be used simultaneously to generate the next generation population. For example, an elite strategy and a roulette wheel strategy can be used simultaneously to generate the next generation population.

[0097] The elite strategy can refer to retaining a portion of the best individuals and directly replicating the small group of individuals with the highest fitness scores (referred to as "elites") into the next generation of the population without crossover or mutation. To ensure the convergence of the algorithm, the top 5%-10% of individuals with the highest fitness scores (the larger the population, the higher the proportion) can be selected to directly enter the next generation of the population.

[0098] The roulette wheel strategy involves randomly pointing to a region on a disk and selecting an individual from that region as its parent. The disk consists of all individuals, and regions are divided by the ratio of an individual's fitness score to the total score; individuals with higher fitness scores are more likely to be selected as parents.

[0099] For multiple individuals selected as parents according to the roulette strategy, crossover mutation can be used to generate corresponding offspring individuals.

[0100] like Figure 2The diagram shown is a schematic representation of a next-generation population generation method provided in an embodiment of this application. According to... Figure 2 The generation methods shown can be used to generate the initial population in two ways: First, an elitist strategy can be employed, directly replicating the small subset of individuals with the highest fitness scores to form offspring set 1. Second, a roulette wheel strategy can be used to generate parent set 1 and parent set 2, and then crossover mutation can be used to generate offspring set 2. Offspring set 1 and offspring set 2 together constitute the next generation population. Figure 2 The next generation of the population shown can proceed in the same manner during subsequent iterations.

[0101] Combination Figure 2 The method for generating the next generation population, as shown, involves a computer device genetically controlling the population based on fitness scores to generate the next generation. First, multiple individuals in the existing population are ranked according to their fitness scores, and a predetermined number of individuals with the highest rankings are copied into the next generation population. This process is the process of an elite strategy, where the predetermined number of individuals with the highest rankings can be... Figure 2 The set of offspring individuals shown in Figure 1 includes multiple individuals.

[0102] In the roulette wheel strategy and crossover mutation process, the computer device can determine the first parent (or parent 1) and the second parent (or parent 2) from the population. Then, based on the first and second parents, crossover mutation is performed to generate multiple offspring individuals, which are then replicated into the next generation of the population. The multiple offspring individuals obtained through the roulette wheel strategy and crossover mutation process can be... Figure 2 The set of offspring individuals shown in Figure 2 includes multiple individuals.

[0103] It should be noted that multiple individuals selected through the elite strategy can serve as parent individuals in roulette wheel selection and crossover / mutation processes. For example, Figure 2 The individuals included in the neutron generation set 1 can be with Figure 2 Individuals in parent generation 1 or parent generation 2 are identical.

[0104] In this embodiment of the application, when generating multiple offspring individuals through crossover mutation based on the first and second parent generations, the first parent generation can be used as the base sequence and the second parent generation as the crossover sequence. Each sequence value in the aforementioned base sequence and crossover sequence corresponds to a value for various pin placement information. That is, the base sequence and crossover sequence can include sequence values ​​such as {position, orientation, diameter, and length of screw 1, and position, orientation, diameter, and length of screw 2}.

[0105] Computer devices can sequentially traverse the base sequence. When any sequence value in the base sequence satisfies the crossover probability, the corresponding sequence value in the crossover sequence can be replaced in the base sequence to obtain the offspring sequence.

[0106] For example, during the sequential traversal of the base sequence, if the sequence value of the length of screw 1 in the base sequence satisfies the crossover probability, the sequence value of the position, direction, diameter, length, etc. of screw 2 in the crossover sequence can be replaced in the base sequence to obtain the offspring sequence.

[0107] Based on this, multiple offspring individuals can be generated by performing sequence mutations on the offspring sequence.

[0108] Sequence mutation of the offspring sequence can be performed by sequentially traversing the sequence. If any sequence value in the offspring sequence satisfies the mutation probability, then that sequence value needs to be mutated, i.e., the corresponding sequence value in the offspring sequence is modified to obtain the offspring individual. For example, if the sequence value of the length of screw 1 in the offspring sequence satisfies the mutation probability, and the length of screw 1 is 30, then the length of screw 1 can be modified. Specifically, the length of screw 1 can be mutated by randomly selecting dimensions from the screw database.

[0109] S104. The genetic control is iterated multiple times to obtain a target population, which includes multiple target individuals, and any one of the target individuals represents a pedicle screw planning scheme.

[0110] The aforementioned S103 describes the specific process of genetically controlling the population based on fitness scores to generate the next generation. The execution of the genetic algorithm requires the computer to repeatedly perform genetic control multiple times until the number of iterations reaches a set threshold.

[0111] Specifically, for the generated next-generation population, the computer device can repeatedly perform genetic control on the next-generation population based on fitness scores. When the number of iterations of genetic control on the next-generation population reaches a set threshold, the currently obtained population can be used as the target population, thereby identifying multiple target individuals from the target population.

[0112] In one possible implementation of this application, considering that the vertebral cone to be fitted may have structural complexity due to fractures or lesions, the planning scheme with the highest fitness score may not be applicable. Therefore, it is advisable to retain several individuals with high scores within the population. Thus, when determining several target individuals from the target population, these individuals can be ranked according to their fitness scores, and a predetermined proportion of individuals with high rankings can be retained as target individuals representing the pedicle screw planning scheme. This predetermined proportion can be 5%-10%.

[0113] For example, if the target population contains 100 individuals, 5-10 individuals can be retained (5%-10%). These 5-10 individuals represent 5-10 feasible pedicle screw placement plans. The surgeon can choose the most suitable plan from these multiple plans based on the patient's specific situation. For instance, from the final target population, the suitability of the plans for each individual can be determined by ranking them from highest to lowest fitness score, thus identifying the plan that best matches the patient's condition and has the highest fitness score.

[0114] The planning method provided in this application generates multiple executable planning schemes. Compared with existing planning algorithms that can only retain one optimal solution, this avoids the situation where a scheme is abandoned due to the poor planning effect of a certain screw.

[0115] In this embodiment, by defining multiple individuals including a first screw and a second screw, a population comprising multiple individuals can be initialized. The various screw placement information of the first and second screws can be used to construct multiple fitness functions, thereby enabling fitness evaluation of each individual in the population based on these functions, resulting in a fitness score for each individual. Based on this, genetic control of the population according to the fitness scores can generate a next-generation population. Through iterative genetic control, a target population comprising multiple target individuals can be obtained. Each target individual in the target population represents a pedicle screw planning scheme. Applying the planning method provided in this embodiment can provide multiple planning schemes for surgeons to choose from while ensuring the efficiency and accuracy of pedicle screw placement planning. This not only outputs efficient and accurate placement schemes but also improves the flexibility of the planning process.

[0116] It should be noted that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0117] To facilitate understanding, the pedicle screw planning method provided in this application embodiment will be introduced below with a complete example.

[0118] Reference Figure 3 This diagram illustrates an automatic pedicle screw planning process provided in an embodiment of this application. The overall process of this method can be summarized into six parts: data preprocessing, screw data encoding, population initialization, fitness evaluation, genetic control, and generation of multiple screw planning schemes. Below, in conjunction with... Figure 3 As shown, a detailed introduction will be provided.

[0119] 1. In the data preprocessing stage:

[0120] Robot-assisted navigation surgery can be performed based on the patient's spinal imaging data. The overall spinal imaging data can be segmented into voxel data of individual vertebrae using manual or automatic segmentation, thus obtaining the vertebral midline. For example, as... Figure 3 As shown, taking a patient's CT image data as an example, through vertebral segmentation, the overall spinal CT image data can be divided into voxel data of individual vertebrae. Then, calculations are performed on the voxel data of individual vertebrae to determine the midline of that vertebra. After completing the above data preprocessing, automatic screw planning can be performed.

[0121] 2. During the screw data encoding stage:

[0122] Since each cone requires the planning of two screws, the encoding of an individual in the population is related to the position, orientation, diameter, and length of the two screws. The individual s is defined as:

[0123]

[0124]

[0125]

[0126] Among them, the first screw (screw 1) and the second screw (screw 2) are respectively used and express. Indicates the position of the screw insertion point. Indicates the direction of the screw. Indicates the diameter of the screw. This indicates the length of the screw. i =1,2, when i When =1, it indicates that the first screw is... ,when i When =2, it indicates the second screw, i.e. .

[0127] The range of screw diameters and lengths depends on the dimensions in the actual screw database used, and is set by the user. For example, the screw database may include:

[0128]

[0129]

[0130] 3. During the population initialization phase:

[0131] A population of N individuals can be randomly generated, where N is the population size. For each individual, the position of the screw can be obtained by randomly selecting a point in the cone space, the screw direction can be a random direction in space, and the diameter and length of the screw can be randomly selected from a screw database.

[0132] 4. During the fitness assessment phase:

[0133] The fitness function is the core of this approach. It is determined based on the spatial relationship between the cone and screw planning, combined with actual clinical needs. For example, the evaluation of screw planning can consist of the following components:

[0134] 1) The proportion of overlapping screw areas (regional reward);

[0135] 2) The angle between the screw and the central axis (symmetry bonus);

[0136] 3) The proportion of bone mineral density (CT value) in the screw overlap area (bone mineral density bonus);

[0137] 4) Screw diameter to length ratio (stability bonus);

[0138] 5) Collision status of screws (collision penalty);

[0139] 6) Screw penetration status (penetration penalty).

[0140] The aforementioned evaluation factors correspond to the six fitness functions in the aforementioned embodiments, namely, the region reward function, the symmetry reward function, the bone density reward function, the stability reward function, the collision penalty function, and the penetration penalty function.

[0141] Therefore, the expression for the fitness score can be obtained as follows:

[0142]

[0143] Here, Aera represents the ratio of the screw volume in the overlapping area of ​​the vertebral body to the total screw volume; a ratio close to 1 indicates that the screw is completely within the vertebral body. Angle represents the angle difference between the two screws and the central axis, preventing excessively large relative angles between the two screws. HU represents the ratio of the cumulative bone mineral density (CT value) of the screws within the vertebral body to the total bone mineral density (CT value) of the vertebral body; a larger ratio indicates greater stability of the screw within the vertebral body, better meeting clinical application requirements. D represents the ratio of the screw diameter to the maximum diameter in the screw database, and L represents the ratio of the screw length to the maximum length in the screw database; larger diameter and length ratios indicate higher screw stability. C indicates whether the screws collide; for example, -1 for collision and 1 for no collision. P indicates whether the screw's insertion point is outside the vertebral body; for example, -1 for penetrating the vertebral body and 1 for penetrating the vertebral body. The penalty coefficients for collision and penetration can be adjusted according to actual conditions. (i=1,2,3,4,5,6,7) represent different weights, which can be adjusted according to different clinical needs.

[0144] 5. In the stage of genetic control:

[0145] Genetic control refers to the control during the population iteration process, which calculates the scores of all individuals based on a fitness function to generate the next generation of the population. The generation methods in the embodiments of this application may include: elite strategy, roulette wheel strategy, crossover, and mutation.

[0146] The elite strategy involves retaining a subset of high-performing individuals and directly replicating the highest-fitting individuals (referred to as "elites") from the current population into the next generation without crossover or mutation. To ensure algorithm convergence, the top 5%-10% of individuals (the larger the population, the higher the percentage) can be selected for direct entry into the next generation.

[0147] The roulette wheel strategy involves randomly pointing to a region on a roulette wheel and selecting an individual within that region as its parent. The roulette wheel consists of all individuals, and regions are divided by the ratio of an individual's score to the total score; therefore, individuals with higher scores are more likely to be selected as parents. Parents selected via the roulette wheel strategy can include a first parent (parent 1) and a second parent (parent 2).

[0148] Crossover and mutation are methods for generating offspring. When performing crossover and mutation, the screw sequences of parent generation 1 and parent generation 2 can be crossovered. Assuming parent generation 1 has a lower fitness score, the sequence of parent generation 1 is used as the base sequence, and parent generation 2 is used as the crossover sequence. Both the base sequence and the crossover sequence contain sequence values ​​such as {position, orientation, diameter, and length of screw 1 and position, orientation, diameter, and length of screw 2}. It should be noted that screw 1 in the base sequence and screw 1 in the crossover sequence can be different screws; similarly, screw 2 in the base sequence and screw 2 in the crossover sequence can also be different screws.

[0149] For the base sequence, it can be traversed sequentially from left to right. When the crossover probability is met, the corresponding part of the parent 2 sequence can be replaced in the parent 1 sequence. After all traversals are completed, the offspring sequence is generated. At this point, the offspring sequence needs to undergo sequence mutation. Specifically, the offspring sequence is traversed sequentially, and when the mutation probability is met, a certain part of the sequence is mutated, modifying the value of that part. For example, if the screw length is 30, the size can be randomly selected from the screw database after mutation. After crossover and mutation, offspring are obtained, and genetic control is repeated multiple times until the size of the next generation population equals the set population size.

[0150] In this embodiment, the number of individuals in the population can be set between 50 and 150. Too few individuals result in insufficient diversity, a narrow search space, and a tendency to prematurely aggregate to a local optimum, making it impossible to find the truly optimal path; too many individuals lead to increased computational costs and excessively long algorithm execution time.

[0151] The process involves iterating repeatedly to generate a new population until the set threshold number of iterations is reached, at which point the target population is obtained.

[0152] 6. During the stage of generating multiple screw planning schemes:

[0153] Because genetic algorithms are characterized by randomness and strong robustness, they can effectively optimize even for cones with significant variability. Therefore, after a single computation, the highest fitness score is selected as the first choice, followed by other high-fitness schemes within the population. This is because cones may become structurally complex due to fractures or lesions, and the highest-scoring scheme may not always be suitable. For example, if the population size is 100, the top 5%-10% of individuals can be retained, resulting in 5-10 schemes for doctors to quickly review and select. Compared to most traditional automatic screw planning algorithms that only retain one optimal result and are easily discarded due to poor performance of a particular screw plan, this method can generate multiple screw planning schemes after a single computation, allowing doctors to choose and adjust, thus offering broader applicability.

[0154] Reference Figure 4 The diagram illustrates a pedicle screw planning device according to an embodiment of this application, which may specifically include an initialization module 401, a fitness evaluation module 402, a genetic control module 403, and a target population generation module 404, wherein:

[0155] An initialization module 401 is used for population initialization, wherein the population includes multiple individuals, and any individual is defined as including a first screw and a second screw, wherein the first screw and the second screw each have multiple screw placement information;

[0156] Fitness evaluation module 402 is used to evaluate the fitness of each individual in the population according to multiple fitness functions to obtain the fitness score of each individual. The fitness functions are constructed based on multiple pinning information.

[0157] Genetic control module 403 is used to perform genetic control on the population based on the fitness score to generate the next generation population;

[0158] The target population generation module 404 is used to iteratively perform the genetic control multiple times to obtain a target population, which includes multiple target individuals, and any one of the target individuals represents a pedicle screw planning scheme.

[0159] In this embodiment of the application, the genetic control module 403 can specifically be used for:

[0160] Based on the fitness score, multiple individuals in the population are sorted, and a predetermined number of individuals with the highest ranking are copied to the next generation population.

[0161] The first and second parent generations are determined from the population, and crossover mutation is performed based on the first and second parent generations to generate multiple offspring individuals. The multiple offspring individuals are then copied into the next generation population.

[0162] In one possible implementation of this application embodiment, the genetic control module 403 may also be used for:

[0163] Using the first parent generation as the base sequence and the second parent generation as the cross sequence, the base sequence is traversed sequentially; wherein, each sequence value in the base sequence and the cross sequence is a numerical value corresponding to various pinning information;

[0164] When any sequence value in the base sequence satisfies the crossover probability, the corresponding sequence value in the crossover sequence is replaced in the base sequence to obtain the offspring sequence;

[0165] Sequence mutation is performed on the offspring sequence to generate multiple offspring individuals.

[0166] In another possible implementation of this application embodiment, the genetic control module 403 may also be used for:

[0167] Iterate through the child sequence in sequence;

[0168] When any sequence value in the offspring sequence meets the mutation probability, the sequence value of the corresponding part in the offspring sequence is modified to obtain the offspring individual.

[0169] In this embodiment, the various types of pin placement information include screw entry point position, screw direction, screw diameter, and screw length. The screw entry point position of any screw in each individual of the initialized population is randomly determined within the vertebral space where the pin is to be placed. The screw direction is randomly determined, and the screw diameter and screw length are randomly selected from a screw database. The fitness function constructed based on these various pin placement information includes the following:

[0170] The region reward function is used to represent the ratio of the volume of the screw in the overlapping region of the cone to the total volume of the screw.

[0171] A symmetric reward function is used to represent the angular difference between the first and second screws and the vertebral midline.

[0172] The bone mineral density reward function is used to represent the ratio of the cumulative bone mineral density of the screw within the vertebral body to the overall bone mineral density of the vertebral body.

[0173] The stability reward function is used to represent the ratio of screw diameter to maximum diameter, and the ratio of screw length to maximum length;

[0174] The collision penalty function is used to represent the collision state between the first screw and the second screw;

[0175] The penetration penalty function is used to represent the positional relationship between the screw stop point and the vertebral body.

[0176] In this embodiment of the application, the fitness evaluation module 402 can specifically be used for:

[0177] Determine the weights for each of the fitness functions;

[0178] Based on the weights, the reward and penalty values ​​corresponding to multiple fitness functions are weighted and summed to obtain the fitness score of each individual.

[0179] In this embodiment of the application, the target population generation module 404 can specifically be used for:

[0180] For the generated next generation population, genetic control of the next generation population is repeated based on the fitness score;

[0181] When the number of iterations for genetic control of the next generation population reaches a set threshold, the current population is used as the target population.

[0182] Multiple target individuals are identified from the target population.

[0183] In one possible implementation of this application embodiment, the target population generation module 404 may also be used for:

[0184] Sort multiple individuals in the target population according to the fitness score;

[0185] A predetermined proportion of individuals with the highest ranking are retained as target individuals representing the pedicle screw planning scheme.

[0186] This application provides a pedicle screw planning device, which can be a computer device or a module or unit with corresponding functions within a computer device. Using this device, the steps in the aforementioned method embodiments can be implemented.

[0187] As the apparatus embodiments are basically similar to the method embodiments, they are described in a relatively simple manner. For relevant details, please refer to the description in the method embodiment section.

[0188] Reference Figure 5 The diagram illustrates a computer device provided in an embodiment of this application. Figure 5 As shown, the computer device 500 in this embodiment includes: a processor 510, a memory 520, and a computer program 521 stored in the memory 520 and executable on the processor 510. When the processor 510 executes the computer program 521, it implements the steps in the various embodiments of the pedicle screw planning method described above, for example... Figure 1 The steps S101 to S104 are shown. Alternatively, when the processor 510 executes the computer program 521, it implements the functions of each module / unit in the above-described device embodiments, for example... Figure 4 The functions of modules 401 to 404 are shown.

[0189] For example, the computer program 521 can be divided into one or more modules / units, which are stored in the memory 520 and executed by the processor 510 to complete this application. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, which can be used to describe the execution process of the computer program 521 in the computer device 500. For example, the computer program 521 can be divided into an initialization module, a fitness evaluation module, a genetic control module, and a target population generation module, with the specific functions of each module as follows:

[0190] An initialization module is used for population initialization, wherein the population includes multiple individuals, and any individual is defined as including a first screw and a second screw, wherein the first screw and the second screw each have multiple screw placement information;

[0191] The fitness evaluation module is used to evaluate the fitness of each individual in the population according to multiple fitness functions to obtain the fitness score of each individual. The fitness functions are constructed based on multiple pinning information.

[0192] A genetic control module is used to genetically control the population based on the fitness score to generate the next generation population;

[0193] The target population generation module is used to iteratively perform the genetic control multiple times to obtain a target population, which includes multiple target individuals, and any one of the target individuals represents a pedicle screw planning scheme.

[0194] The computer device 500 may be a device capable of implementing the relevant functions in the foregoing method embodiments. The computer device 500 may be a desktop computer, a cloud server, or other similar devices. The computer device 500 may include, but is not limited to, a processor 510 and a memory 520. Those skilled in the art will understand that... Figure 5 This is merely one example of computer device 500 and does not constitute a limitation on computer device 500. It may include more or fewer components than shown, or combine certain components, or different components. For example, computer device 500 may also include input / output devices, network access devices, buses, etc.

[0195] The processor 510 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0196] The memory 520 can be an internal storage unit of the computer device 500, such as a hard disk or memory of the computer device 500. The memory 520 can also be an external storage device of the computer device 500, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc., equipped on the computer device 500. Furthermore, the memory 520 can include both internal and external storage units of the computer device 500. The memory 520 is used to store the computer program 521 and other programs and data required by the computer device 500. The memory 520 can also be used to temporarily store data that has been output or will be output.

[0197] This application also discloses a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the methods described in the foregoing embodiments.

[0198] This application also discloses a computer-readable storage medium storing a computer program that, when executed by a computer, implements the methods described in the foregoing embodiments.

[0199] This application also discloses a computer program product, including a computer program that, when run on a computer, causes the computer to perform the methods described in the foregoing embodiments.

[0200] The embodiments described above are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A pedicle screw planning method, characterized by, include: Population initialization, wherein the population includes multiple individuals, and any individual is defined as including a first screw and a second screw, wherein the first screw and the second screw each have multiple screw placement information; The fitness of each individual in the population is evaluated according to multiple fitness functions to obtain a fitness score for each individual. The fitness functions are constructed based on multiple pinning information. Genetic control is performed on the population based on the fitness score to generate the next generation population; The genetic control is iterated multiple times to obtain a target population, which includes multiple target individuals, and any one of the target individuals represents a pedicle screw planning scheme. The various types of pin placement information include screw entry point position, screw direction, screw diameter, and screw length. In the initialized population, the screw entry point position of any screw in each individual is randomly determined within the vertebral space where the pin is to be placed. The screw direction is randomly determined, and the screw diameter and screw length are randomly selected from a screw database. The fitness function constructed based on these various pin placement information includes the following: The region reward function is used to represent the ratio of the volume of the screw in the overlapping region of the cone to the total volume of the screw. A symmetric reward function is used to represent the angular difference between the first and second screws and the vertebral midline. The bone mineral density reward function is used to represent the ratio of the cumulative bone mineral density of the screw within the vertebral body to the overall bone mineral density of the vertebral body. The stability reward function is used to represent the ratio of screw diameter to maximum diameter, and the ratio of screw length to maximum length; The collision penalty function is used to represent the collision state between the first screw and the second screw; The penetration penalty function is used to represent the positional relationship between the screw stop point and the vertebral body; The iteration performs the genetic control multiple times to obtain the target population, including: repeatedly performing genetic control on the next generation population based on the fitness score; when the number of iterations for genetic control of the next generation population reaches a set threshold, the currently obtained population is used as the target population. Multiple target individuals are identified from the target population.

2. The method of claim 1, wherein, The step of genetically controlling the population based on the fitness score to generate the next generation population includes: Based on the fitness score, multiple individuals in the population are sorted, and a predetermined number of individuals with the highest ranking are copied to the next generation population. The first and second parent generations are determined from the population, and crossover mutation is performed based on the first and second parent generations to generate multiple offspring individuals. The multiple offspring individuals are then copied into the next generation population.

3. The method of claim 2, wherein, The process of generating multiple offspring individuals through crossover mutation based on the first parent generation and the second parent generation includes: Using the first parent generation as the base sequence and the second parent generation as the cross sequence, the base sequence is traversed sequentially; wherein, each sequence value in the base sequence and the cross sequence is a numerical value corresponding to various pinning information; When any sequence value in the base sequence satisfies the crossover probability, the corresponding sequence value in the crossover sequence is replaced in the base sequence to obtain the offspring sequence; Sequence mutation is performed on the offspring sequence to generate multiple offspring individuals.

4. The method of claim 3, wherein, The step of performing sequence mutation on the offspring sequence to generate multiple offspring individuals includes: Iterate through the child sequence in sequence; When any sequence value in the offspring sequence meets the mutation probability, the sequence value of the corresponding part in the offspring sequence is modified to obtain the offspring individual.

5. The method according to any one of claims 1 to 4, characterized in that, The fitness evaluation of each individual in the population based on multiple fitness functions to obtain a fitness score for each individual includes: Determine the weights for each of the fitness functions; Based on the weights, the reward and penalty values ​​corresponding to multiple fitness functions are weighted and summed to obtain the fitness score of each individual.

6. The method of claim 5, wherein, The step of identifying multiple target individuals from the target population includes: Sort multiple individuals in the target population according to the fitness score; A predetermined proportion of individuals with the highest ranking are retained as target individuals representing the pedicle screw planning scheme.

7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it causes the computer device to implement the method as described in any one of claims 1 to 6.

8. A computer program product comprising a computer program, characterized in that, When the computer program is run, the method as described in any one of claims 1 to 6 is performed.

Citation Information

Patent Citations

  • Method for determining screw trajectory of pedicle bone screw

    CN116615151A

  • Pedicle screw automatic planning device, equipment and computer program product

    CN121059282A