A method for closed-loop optimization and regional contribution assessment of a pelvic floor organ deformation template
By using a closed-loop optimization method for pelvic organ deformation templates and a perturbation contribution assessment method, the problem of unstable template output in multi-object deformation analysis of the pelvic floor is solved, the repeatability and comparability of pelvic organ deformation analysis are realized, and a reliable assessment of regional perturbation contribution is provided, which is applicable to medical image analysis of female pelvic floor dysfunction.
Patent Information
- Application Number
- CN202611365341.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-04
- Publication Date
- 2026-11-20
AI Technical Summary
Existing pelvic floor multi-object deformation analysis techniques lack a unified evaluation benchmark, parameter adjustment lacks a closed-loop rollback mechanism, repeated sampling units are unreasonable, and it is impossible to distinguish between local motion intensity and actual regional disturbance contribution, resulting in poor stability, repeatability and comparability of template output results.
A closed-loop optimization and perturbation contribution assessment method for pelvic floor organ deformation templates was adopted. Through data standardization, initial template construction, template quality evaluation, closed-loop iterative optimization, state-to-state deformation path solving, anatomical region perturbation experiment, and subject-level repeatability reliability evaluation, parameters were automatically accepted or rolled back, and the contribution of local motion energy and regional perturbation sensitivity was distinguished, ensuring template quality and result reliability.
It improves the reproducibility, comparability, and traceability of pelvic floor organ deformation analysis, outputs stable multi-object deformation templates and regional perturbation sensitivity contribution, and is suitable for statistical analysis and functional assessment of dynamic MRI images of the female pelvic floor.
Smart Images

Figure CN123142933A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of medical image contour data processing, deformation registration and statistical shape analysis, specifically to a method for closed-loop optimization of pelvic organ deformation templates and regional contribution assessment, applicable to medical image analysis research on female pelvic floor dysfunction. Background Technology
[0002] The female pelvic floor structure consists of the bladder, uterus, rectum, levator palpebrae superioris, and surrounding supporting tissues. Under different physiological functional states, such as the resting state, the Valsalva maneuver, and the anal sphincter contraction state, the various pelvic floor organs undergo positional shifts, scale changes, and local morphological deformations. Extracting the contours of pelvic floor organs from different functional states and subjects using dynamic magnetic resonance imaging (MRI), and conducting multi-subject contour registration and statistical deformation analysis, is an important technical means to elucidate the coordinated deformation patterns of pelvic floor organs and to assist in the research of pelvic floor dysfunction.
[0003] Multi-object deformation templates are the foundation for conducting the aforementioned statistical deformation analysis. The quality of template construction is affected by multiple parameters, including the initial template, deformation kernel width, data matching weights, noise parameters, regularization parameters, and iteration termination conditions. Existing techniques lack a mechanism to pre-lock the sample set, quality evaluation indicators, normalization parameters, and indicator weights before optimization begins. Evaluation benchmarks are prone to change before and after parameter adjustments, making it difficult to distinguish whether template quality changes originate from parameter adjustments or changes in the evaluation system. This hinders objective comparison, automatic acceptance, or rollback of candidate parameters, resulting in poor stability and insufficient reproducibility of template output results.
[0004] Furthermore, existing multi-state pelvic organ deformation modeling schemes often split data on different functional states and organ contours of the same subject during repeated statistical calculations, failing to treat the subject as a complete sampling unit. This approach disrupts the correlation between individual multi-state data, resulting in inconsistent repeated calculation units. Consequently, the comparability of subsequent regional contribution calculations and confidence interval estimations decreases, reducing the reliability of statistical evaluation results.
[0005] Current research commonly uses principal component loads, local displacement amplitudes, and velocity field deformation energy to characterize the strength of deformation in anatomical regions. However, the intensity of local deformation motion is not equivalent to the actual contribution of that anatomical region to the overall template and the deformation path between states. If different anatomical regions use different perturbation scales and perturbation modes, the calculation results cannot be compared horizontally. Existing schemes lack a standardized local perturbation-reconstruction evaluation mechanism with unified amplitude and topology preservation, and cannot objectively quantify the sensitivity contribution of each anatomical region to the overall deformation system.
[0006] In summary, existing techniques for analyzing multi-object deformation of the pelvic floor suffer from several drawbacks, including a lack of unified evaluation criteria for template optimization, a lack of closed-loop rollback mechanisms for parameter adjustments, unreasonable repeated sampling units, and an inability to distinguish between local motion intensity and the actual regional disturbance contribution. There is an urgent need to develop an integrated processing solution that enables closed-loop optimization of deformation template quality feedback, quantifies the contribution of anatomical region disturbance sensitivity based on standardized disturbance reconstruction, and verifies the reliability of results, thereby improving the repeatability, comparability, and traceability of batch deformation analysis of pelvic floor organs. Summary of the Invention
[0007] The purpose of this invention is to overcome the shortcomings of existing technologies and provide a closed-loop optimization and disturbance contribution assessment method for pelvic floor organ deformation templates. This method addresses the technical problems in the construction of existing pelvic floor multi-object deformation templates, such as the lack of fixed and reproducible quality comparison benchmarks for parameter adjustment, the inability to automatically accept and roll back candidate parameters, unreasonable repeated modeling sampling units, the inability to objectively characterize the actual sensitivity contribution of anatomical regions to overall deformation based solely on local deformation intensity, and the lack of quantitative evaluation of the reliability of deformation analysis results. This invention aims to improve the repeatability, comparability, and traceability of pelvic floor organ deformation analysis results.
[0008] To achieve the above objectives, the present invention adopts the following technical solution: A closed-loop optimization method for pelvic floor organ deformation templates and an assessment of perturbation contributions are proposed. The overall process includes data standardization, initial template construction, template quality evaluation, closed-loop iterative optimization, inter-state deformation path solving, anatomical region perturbation experiment, perturbation sensitivity contribution calculation, and subject-level repeatability reliability evaluation. The steps include: Step S1: Obtain multi-object contour data of pelvic floor organs from multiple subjects under at least two pelvic floor functional states, and perform coordinate standardization, object identification unification, contour direction unification, and contour point correspondence processing on the multi-object contour data to construct a standardized sample set. There are N subjects, S functional states, and K contour objects. The two-dimensional contour of the k-th object of the i-th subject in the s-th state is denoted as:
[0009] in Represents the coordinates of the contour points. This represents the fixed number of sampling points for the k-th object; single-sample multi-object data under a state s is represented as follows: .
[0010] Step S2: Before starting template closed-loop optimization, fix the standardized sample set, quality evaluation index, index normalization parameter, index weight, quality improvement threshold, and morphological hard constraint conditions. Initial multi-object deformation templates corresponding to various pelvic floor functional states were constructed based on a standardized sample set. .
[0011] Step S3: Calculate the overall quality score of the initial multi-object deformation template using pre-fixed quality evaluation indicators, normalization parameters, and weights, while performing a hard morphological constraint check. This invention divides quality indicators into soft quality indicators and hard morphological constraints; soft quality indicators include registration error indicators, contour geometric deviation indicators, and deformation distribution balance indicators between objects; soft quality indicators need to be normalized without dimensions.
[0012] For the j-th quality indicator, where a larger value represents higher template quality, the normalization formula is:
[0013] For the j-th quality indicator, where a smaller value represents higher template quality, the normalization formula is:
[0014] Formula for calculating the overall quality score:
[0015] In the formula: As the indicator weight, full , ; and These are the upper and lower reference limits for the j-th quality indicator, respectively. This means truncating the value to the interval [0,1]. To prevent the denominator from being a tiny positive number with a value of 0.
[0016] Morphological hard constraints are independent of the overall quality score and do not participate in the weighted calculation; hard constraint judgment for the m-th candidate template in round t:
[0017] The number of contour self-intersections; This represents the number of anomalies in the contour point sequence. The least Jacobian determinant of the deformation mapping; This is due to anatomical relationship deviations among multiple objects; Preset anatomical deviation threshold; =1 indicates that the candidate template passes the hard morphological constraints.
[0018] The uniformity of deformation distribution among objects is characterized by the proportion of deformation energy fitted by the template. The proportion of deformation energy fitted by the template for the k-th organ object is as follows:
[0019] Step S4: Identify current template quality anomalies and generate candidate template construction parameters based on the preset "quality anomaly parameter adjustment" mapping relationship; Template construction parameter set:
[0020] in: Global deformation kernel width; Object matching kernel width; Contour smoothing regularization intensity; Topology maintains regularization strength; Anatomical coupling constraint strength; Noise parameters; Object matching weight; Maximum number of iterations; Template update step size.
[0021] During the generation of candidate templates, the standardized sample set, initialization conditions, and unadjusted parameters are kept completely unchanged, and the corresponding multi-object deformation candidate templates are reconstructed based on the candidate parameters.
[0022] Step S5: Calculate the quality improvement of the candidate template relative to the currently accepted templates:
[0023] In the formula, The overall quality score for the m-th candidate template. This represents the overall quality score of the templates accepted in this round.
[0024] If the candidate template satisfies the hard constraints =1, and ( If the minimum quality improvement threshold is used, the template is determined as an acceptable candidate template; if there are multiple qualified candidates, the one with the highest overall quality score is selected to update the current template; if there are no qualified candidates, the original template is retained to roll back the parameters. The algorithm iterates until the iteration stopping condition is met, and outputs a qualified target multi-object deformation template. The iteration stopping condition includes at least one of the following: the current template's comprehensive quality score reaches the template qualification threshold; no acceptable candidate templates are found in consecutive rounds; the algorithm reaches the maximum number of iterations; and all candidate templates fail to pass the hard morphological constraints.
[0025] This method independently performs closed-loop template optimization for each pelvic floor functional state. If the template optimization for any pelvic floor functional state fails, it is marked as an optimization failure and will not proceed to the subsequent perturbation contribution evaluation process. After all iterations are completed successfully, the method outputs the target multi-object deformation templates that meet the quality standards for each functional state.
[0026] Step S6: After obtaining the target multi-object deformation template in at least two pelvic floor functional states, calculate the deformation path between different states under the same object and deformation parameter conditions. ;in The deformation flow represents the evolution from state a to state b. The target template represents state a. Combined with pre-determined anatomical landmarks and contour point order, a fixed set of candidate anatomical regions is obtained.
[0027] Local motion energy during state transition, local motion energy of the r-th anatomical region of the k-th object:
[0028] In the formula, This represents the dynamic contour segment of the anatomical region at time t. The instantaneous velocity field represents the state transition; based on this energy index, it can be further normalized to obtain the local motion energy ratio of the object and the local motion energy ratio of the region. It should be noted that the local motion energy ratio can only characterize the intensity of motion during deformation and is not equivalent to the regional disturbance sensitivity contribution obtained by this invention.
[0029] Step S7: Apply a positive vector to each candidate anatomical region. =+1, reverse =-1 Topology-preserving normalized local perturbation, perturbation formula:
[0030] In the formula, These are the original contour points; Contour normal vector; organ baseline perimeter; Unify the dimensionless perturbation amplitude; [0,1] Smoothing weights, with weights of 0 at both ends of the region to ensure the continuity of the contour between regions; the number of contour points, point order, sample set, and template parameters remain unchanged during the perturbation process. After the perturbation is completed, the perturbed template is reconstructed, and the deformation path and state transition energy between states are recalculated.
[0031] If contour self-intersection or topology failure occurs after the perturbation, reduce the perturbation amplitude and try again. If topology failure still occurs after multiple attempts, mark the perturbation result as invalid.
[0032] Step S8: Calculate the difference in normalized templates before and after the perturbation. Path differences Energy difference The weighted summation yields the overall perturbation difference:
[0033] ≥0、 ≥0、 ≥0; + + =1; Calculate the contribution of regional disturbance sensitivity based on comprehensive disturbance differences:
[0034] R represents the total number of candidate anatomical regions; The threshold for the effectiveness of the overall perturbation difference; under effective conditions .
[0035] Step S9: Subject-level repeated calculations to complete the confidence interval solution and stability evaluation: Using the subject as an indivisible complete sampling unit, perform at least two of the following repeated calculation methods: Bootstrap resampling, multiple initialization repeated calculations, leave-one-subject calculations, and multiple preset amplitude perturbation calculations.
[0036] In each repeated sampling, all pelvic floor functional status and all organ data corresponding to the same subject are sampled as a whole without splitting. The template obtained from each round of repeated calculations needs to undergo the aforementioned template quality evaluation. Only results that simultaneously meet the comprehensive quality conditions and morphological hard constraints are judged as valid repeated results; invalid results are recorded separately for the reasons for failure and are not included in subsequent statistical calculations.
[0037] Based on the regional disturbance sensitivity contribution from all valid repeated calculations, the mean contribution and sample variance were statistically obtained. The confidence interval for the contribution was calculated using the percentile method, and the consistency of regional rankings was also statistically analyzed. The formula for calculating the stability index characterizing the level of variation in regional contribution is as follows:
[0038] The closer the value is to 1, the more stable the estimated contribution of that region. The confidence level is output by integrating all stability indicators; the final output includes the target multi-object deformation template, deformation path between states, perturbation sensitivity contribution of each anatomical region, confidence interval, stability and confidence information.
[0039] Furthermore, the pelvic floor functional states include at least two of the following: resting state, tile-like state, and anal contraction state; the pelvic floor organ multi-object contours include at least two of the following organs or organ anatomical regions: bladder, uterus, rectum, and levator palpebrae; and the same type of object maintains complete consistency in object identification, contour direction, number of contour points, and sequence of contour points in different functional states.
[0040] Furthermore, the registration error index in the soft quality index is selected from at least one of the following: corresponding point distance, Chamfer distance, Hausdorff distance, Varifold distance, and registration residual; the contour geometric deviation index includes at least one of the following: local curvature anomaly proportion, area deviation, perimeter deviation, and open contour endpoint distance anomaly; the deformation distribution balance index between objects includes at least one of the following: object template fitting deformation energy ratio, maximum object template fitting deformation energy ratio, template fitting deformation energy ratio dispersion, and template fitting deformation energy entropy.
[0041] Further, in step S4, a mapping between quality anomaly types and template construction parameter adjustment is pre-established; if the global contour error exceeds the standard, the global deformation kernel width, iteration number, and noise parameters are adjusted; if the geometric contour deviation exceeds the standard, the object matching kernel width and smoothing regularization intensity are adjusted; if hard constraints result in contour self-intersection and Jacobian determinant less than or equal to zero, the topology preservation regularization intensity is increased; if the anatomical relationship deviation exceeds the limit, the anatomical coupling constraint intensity is increased; if the object fitting energy ratio is too high, the regularization intensity is increased and the matching weights are adjusted. After the weight adjustment is completed, all object weights are re-normalized to ensure that the sum of the weights equals 1.
[0042] Furthermore, in step S7, the bidirectional topology maintains normalized local perturbation, and only a single candidate anatomical region is perturbed at a time, while the remaining anatomical regions remain completely unchanged; if contour self-intersection or topology failure occurs after perturbation, the perturbation amplitude is reduced and the perturbation is retried, and if it still fails, the perturbation is marked as invalid.
[0043] Furthermore, in step S9, subject-level repeated calculations are performed. In each round of resampling, all functional states and all organ data of the same subject are extracted as a whole without splitting. Each template obtained from resampling needs to be evaluated for quality first. Only those that meet the template quality and hard constraint conditions are considered valid repeated results. Invalid samples are recorded separately for reasons of failure and are not included in the contribution mean, variance, and confidence interval statistics. The selection frequency of the region entering the top N and the stability index of the disturbance amplitude can also be calculated, and the credibility level (high, medium, low) is output comprehensively.
[0044] This invention also provides a closed-loop optimization and perturbation contribution assessment system for pelvic organ deformation templates, used to implement the above-mentioned closed-loop optimization and perturbation contribution assessment method for pelvic organ deformation templates, comprising: The data processing module is used to acquire and standardize multi-state pelvic floor organ contour data. The template building module is used to build multi-object deformation templates for various pelvic floor functional states; The quality evaluation module is used to calculate the overall quality score of the template and complete the calculation of soft quality indicators and the check of hard constraints on form. The closed-loop optimization module identifies quality anomalies, generates candidate parameters, completes candidate template evaluation, and performs candidate parameter acceptance or rollback. The state path calculation module is used to calculate the deformation path between states of different target templates and to calculate the local motion energy index of the object and region. The region perturbation module is used to apply bidirectional topology-preserving normalization perturbation to candidate anatomical regions, triggering template and deformation path recalculation; The contribution calculation module calculates the contribution of each region to the perturbation sensitivity based on the differences in templates, paths, and energy before and after the perturbation. The credibility evaluation module performs subject-level repeated calculations and outputs the confidence interval of regional contribution and the stability evaluation results.
[0045] The present invention also provides a computer-readable storage medium having a computer program stored thereon; when the computer program is executed by a processor, it implements the previously described method for closed-loop optimization of pelvic floor organ deformation template and evaluation of disturbance contribution.
[0046] The beneficial effects of this invention are: First, before the closed-loop template optimization is initiated, the present invention locks the standardized sample set, all quality indicators, normalized parameters, weights, and hard constraints, and all candidate templates use a unified evaluation benchmark. Based on the quality improvement amount and morphological hard constraints, the candidate parameters are automatically accepted or rolled back, solving the benchmark drift problem of traditional solutions and improving the stability of multi-object deformation template output. Second, this invention distinguishes between "local motion energy intensity" and the actual perturbation sensitivity contribution of the anatomical region. It applies a uniform amplitude and topology-preserving bidirectional local perturbation to each anatomical region, and completely reconstructs the template and the deformation path between states after the perturbation. It calculates the contribution by combining the three types of differences of template, path and energy. The calculation results of different anatomical regions are horizontally comparable. Third, this invention uses subjects as indivisible sampling units to perform repeated statistical calculations, avoiding statistical bias caused by splitting individual multi-state data; it outputs the contribution value along with the confidence interval, multiple stability indicators, and credibility level, thus achieving quantitative credibility evaluation of the results. Fourth, the entire solution achieves an integrated process for evaluating the reliability of the contribution of anatomical region perturbation to the standardized contour template closed-loop optimization state deformation path, improving the repeatability, comparability, and traceability of batch deformation analysis of pelvic floor organs. It is suitable for statistical analysis of dynamic MRI images of the female pelvic floor and scientific research evaluation of pelvic floor dysfunction. Attached Figure Description
[0047] Figure 1 This is a schematic diagram of the process for a closed-loop optimization method for pelvic organ deformation templates and a method for evaluating regional contributions according to the present invention. Figure 2 This is a flowchart of the quality evaluation and iterative optimization process for multi-object deformation target templates in this invention; Figure 3 Flowchart for calculating the regional contribution of state transition deformation and verifying stability in this invention; Figure 4 This is a schematic diagram of the auxiliary stability evaluation results of the principal components of this invention; Detailed Implementation
[0048] The following is in conjunction with the appendix Figure 1 To be continued Figure 4 The present invention will be further illustrated by specific embodiments. It should be noted that these embodiments are implemented based on the technical solution of the present invention, and detailed implementation methods and specific operation processes are given, but the protection scope of the present invention is not limited to the following embodiments.
[0049] This embodiment uses two-dimensional contour data from dynamic magnetic resonance MRI images of the female pelvic floor as the processing object. N=32 subjects were selected, and images of each subject in three pelvic floor functional states—resting state, Valsalva maneuver, and anal sphincter contraction state—were collected. Contours of K=4 types of pelvic floor organs—bladder, uterus, rectum, and levator ani—were extracted, and the complete computational processing of the method of this invention was carried out. It should be noted that the number of subjects, types of pelvic floor functional states, and number of organs are merely illustrative and can be adjusted according to actual research needs.
[0050] S1. Standardization of multi-state pelvic floor organ contour data.
[0051] The contours of pelvic organs in different states of each subject were segmented and extracted from dynamic MRI images. Each type of organ was resampled to a fixed number of contour points P. k The contours are sequentially processed using coordinate system one, rigid alignment, contour direction unification, and contour starting point alignment to ensure that contour points with the same index have anatomical correspondences under the same organ object, thus constructing a standardized sample set.
[0052] The two-dimensional contour of the k-th organ of the i-th subject in the s-th state is represented as follows:
[0053] These are the coordinates of the two-dimensional contour points. This embodiment retains the actual size information of the organ, only removing translations and rotations, and does not perform scale normalization.
[0054] S2. With fixed configuration parameters, construct the initial multi-object deformation template.
[0055] Before starting template closed-loop optimization, fix the entire configuration: keep the standardized sample set unchanged; select soft quality indicators: registration error (Chamfer distance), proportion of local curvature anomalies, area deviation, and object template fitting deformation energy entropy; set reference upper and lower limits and indicator weights for each indicator. The sum of the weights equals 1; set the minimum quality improvement threshold. 1. Hard constraint threshold for morphology; 2. Initial set of parameters for fixed template construction. It includes global deformation kernel width, matching kernel width for each object, smoothing regularization strength, topology preservation regularization strength, anatomical coupling constraint strength, noise parameters, object matching weights, maximum number of iterations, and template update step size.
[0056] Initial multi-object deformation templates are constructed based on the arithmetic mean of a standardized sample set for the resting state, the valvular state, and the contracted state, respectively. .
[0057] S3. Calculation of template comprehensive quality score and verification of hard morphological constraints.
[0058] For the initial template, read the pre-fixed quality index parameters and calculate each soft quality index.
[0059] For metrics where smaller values indicate better quality (Chamfer distance, curvature anomaly ratio, area deviation, etc.), inverse normalization is used; if metrics such as contour overlap, where larger values indicate better quality, are subsequently introduced, forward normalization is used.
[0060]
[0061] Overall quality score:
[0062] The clip function restricts the output to the range [0,1]. =10 -6 To prevent the denominator from being 0.
[0063] Simultaneously, a hard morphological constraint check is performed. The hard constraint conditions are: no self-intersection of the contour, no disorder of the contour point order, the minimum Jacobian determinant of the deformation mapping is greater than 0, and the relative positional deviation of multiple organ anatomy does not exceed the threshold. .
[0064]
[0065] =1 indicates that the candidate template passes the hard morphological constraints.
[0066] Calculate the proportion of deformation energy in the template fitting for each organ object:
[0067] The deformation energy entropy fitted to the object template is used as a soft quality index to evaluate the degree of balance in deformation fitting among multiple objects. The results of hard morphological constraints are not included in the weighted calculation of the overall quality score, but are only a necessary prerequisite for whether a candidate template can be accepted.
[0068] S4. Identify quality anomalies, generate candidate template construction parameters, and reconstruct candidate templates.
[0069] Read all quality indicator results of the currently accepted template and identify the types of quality anomalies.
[0070] For example, when the global Chamfer registration error exceeds the threshold and the hard constraint verification passes, candidate parameters are generated: reduce the global deformation kernel width and increase the maximum number of iterations; if the proportion of local curvature anomalies is too high, increase the contour smoothing regularization intensity; if the detected contour self-intersection and minimum Jacobian determinant are ≤0 (topological folding), increase the topology preservation regularization intensity; if the deviation of multi-organ anatomical relationships exceeds the limit, increase the anatomical relationship coupling constraint intensity; if the deformation energy ratio of a certain organ object template fitting is too high, and a single organ dominates the fitting phenomenon, reduce the matching weight of that organ object, and then renormalize the weights of all objects to ensure that the sum of all weights equals 1.
[0071] Set of parameters for template construction in round t:
[0072] For each set of candidate parameters, only the parameters corresponding to the anomaly are modified, while the standardized sample set, initialization conditions, and other unadjusted parameters remain unchanged. The candidate multi-object deformation template is then reconstructed.
[0073] S5. Candidate template evaluation, execution parameter acceptance or rollback, iteration to obtain the target template.
[0074] Calculate the quality improvement of the candidate template relative to the current template:
[0075] Candidate templates must simultaneously satisfy: ,and Only those that meet the criteria are considered acceptable candidate templates.
[0076] When multiple qualified candidates exist, the comprehensive quality score is selected. The highest-ranking candidate template updates the current template and its corresponding parameters; if there are no qualified candidate templates, the previous template and parameters are retained, thus rolling back the parameters.
[0077] Template optimization that terminates the current iteration when any one of the stopping conditions is met: ① The overall quality score reaches the preset passing threshold τ QAnd the hard constraints on the shape are passed; ② No acceptable candidate template appeared in L=5 consecutive iterations; ③ Reach the preset maximum number of iterations; ④ None of the candidate templates passed the hard morphological constraints.
[0078] This invention performs independent closed-loop optimization for three states: resting state, valvular state, and anal contraction state. If any pelvic floor functional state template fails to optimize, it is marked as optimization failure, and the entire process is terminated without proceeding to subsequent perturbation contribution calculations. In this embodiment, all three rounds of state template optimization achieve the target, outputting the target multi-object deformation template T corresponding to each state. 静息 T 瓦式 T 缩肛 .
[0079] S6. Calculate the deformation path between states, divide the candidate anatomical regions, and calculate the local motion energy.
[0080] In this embodiment, the resting state → Vasile state is selected as the state transition process under study. Based on the target templates of the two states, the geodesic deformation model is used to solve the deformation path between states:
[0081] In the formula For deformation flow; =T a (Restless template) Approaching T b (Tile-type template).
[0082] Taking the bladder as an example, based on anatomical landmarks, the bladder outline is divided into four candidate anatomical regions: the top of the bladder, the anterior wall of the bladder, the posterior wall of the bladder, and the bladder neck region. The uterus, rectum, and levator palpebrae superioris are also divided based on anatomical landmarks. The boundaries and outline point indices of all candidate anatomical regions are fixed, and the region division is not modified in subsequent perturbation, recalculation, and resampling processes.
[0083] Calculate the local kinetic energy of each organ and each anatomical region under state transition:
[0084] This is the dynamic contour segment of the region. This represents the instantaneous velocity field during state transition. Further normalization yields the proportion of local motion energy of the object and the proportion of local motion energy of the region.
[0085] It should be noted that the proportion of local motion energy only represents the strength of deformation motion in that region, and is not equivalent to the contribution of regional disturbance sensitivity, and does not participate in the parameter adjustment of template closed-loop optimization.
[0086] S7. Bidirectional topological preservation and normalization of local perturbations in candidate anatomical regions.
[0087] For each candidate anatomical region, a positive perturbation is applied sequentially. =+1, Reverse perturbation =-1, perturbation formula:
[0088] These are the original contour points; Contour unit normal vector; This refers to the perimeter of the organ's reference template outline; the dimensionless perturbation amplitude in this embodiment. =0.08; Sine-squared smoothing weights are used at both ends of the region. =0, ensuring the continuity of the outline at the boundary of the region after disturbance.
[0089] The perturbation constraint means that only a single anatomical region is perturbed each time; the contour coordinates, number of contour points, point order, sample set, and all parameters of the other organs, other anatomical regions, and templates remain completely unchanged.
[0090] After the perturbation is completed, the topology is checked. If the contours are self-intersecting or the Jacobian determinant is ≤0, the perturbation amplitude is reduced and the test is repeated. If the topology still fails after multiple retries, the perturbation is marked as invalid and the results are skipped.
[0091] When the perturbation is effective, the perturbed multi-object template is reconstructed, and the deformation path and total energy of state transition between states are solved again.
[0092] S8. Calculate template differences, path differences, and energy differences to determine the contribution of regional disturbance sensitivity.
[0093] The normalized template difference is obtained by averaging the results of the positive and negative perturbations respectively. Differences in normalization paths Normalized energy difference .
[0094] Set weights =1 / 3, the sum of the three is 1; calculate the overall disturbance difference:
[0095] Contribution of regional disturbance sensitivity:
[0096] R represents the total number of candidate anatomical regions in this embodiment. The threshold for the effectiveness of the comprehensive perturbation difference; under effective conditions .
[0097] The larger the value, the greater the combined impact on the overall template, deformation path, and state transition energy when the same perturbation is applied to the anatomical region.
[0098] S9. Subject-level repeated sampling, confidence intervals and stability evaluation.
[0099] The Bootstrap resampling method, which is not divisible by the subject, was used, with a total of B=200 resampling times. In each resampling, all functional states and all organ data of the same subject were extracted as a whole unit, and the splitting of individual multi-state data was prohibited.
[0100] After each round of resampling, the entire process of S2-S8 is run; and template quality and hard constraints are checked first; only samples that meet the standards for template quality and morphological hard constraints are recorded as valid duplicate results; the reasons for failure of optimized samples are recorded and they are not included in the statistical calculation.
[0101] Based on B v Based on the number of valid replicates, the mean contribution of each candidate anatomical region was calculated. Sample variance The percentile method was used to determine the 95% confidence interval.
[0102] Indicators of variation stability:
[0103] The closer the value is to 1, the more stable the estimated contribution of that region. =10 -6 Avoid having a denominator of 0.
[0104] Simultaneously, statistics were compiled on: the selection frequency of the top m regions in terms of contribution, amplitude stability under multiple perturbation amplitudes, and relative width of the confidence interval; based on multiple indicators, the confidence level was classified as high, medium, and low.
[0105] The final output includes: target multi-object deformation template, deformation path between resting tile states, perturbation sensitivity contribution of each anatomical region, 95% confidence interval of each region, stability index, and confidence level.
[0106] This embodiment also outputs principal component analysis as an auxiliary reference. The principal component angle and the difference in explanation rate are only used as auxiliary stability results and do not participate in the contribution C. r The calculation.
[0107] This embodiment also provides a corresponding system for implementing the above method, and the execution flow of each module of the system is as described in the specification; it also provides a computer-readable storage medium for storing a computer program, and when the processor executes the program, it implements all the method steps of this embodiment.
[0108] It should be understood that the number of subjects, organs, perturbation amplitude, number of iterations, and weight coefficients in this embodiment are all examples, and the present invention is not limited to the above parameter settings; the selection of indicators, anatomical partitioning methods, and deformation models can be replaced with equivalent ones, and these modifications all fall within the protection scope of the claims of the present invention.
Claims
1. A method for closed-loop optimization of pelvic floor organ deformation templates and evaluation of perturbation contributions, characterized in that, A method for processing medical image contour data includes the following steps: S1. Obtain multi-object contour data of pelvic floor organs from multiple subjects under at least two pelvic floor functional states, and perform coordinate standardization, object identification unification, contour direction unification, and contour point correspondence processing on the multi-object contour data to construct a standardized sample set. S2. Before the template closed-loop optimization is started, the standardized sample set, quality evaluation index, index normalization parameter, index weight, quality improvement threshold and morphological hard constraint condition are fixed, and the initial multi-object deformation template corresponding to each pelvic floor functional state is constructed based on the standardized sample set. S3. Calculate the comprehensive quality score of the initial multi-object deformation template based on the pre-fixed quality evaluation indicators, normalization parameters and indicator weights, and perform hard morphological constraint checks at the same time; the hard morphological constraints include zero contour self-intersections, zero contour point sequence anomalies, a minimum Jacobian determinant of deformation mapping greater than zero, and multi-object anatomical relationship deviations not exceeding a preset anatomical deviation threshold. S4. Identify the current template quality anomalies, generate candidate template construction parameters based on the mapping relationship of the preset quality anomaly template construction parameters adjustment; keep the standardized sample set, initialization conditions and unadjusted parameters unchanged, and reconstruct the candidate multi-object deformation template; S5. Calculate the quality improvement of the candidate template relative to the currently accepted template; if a candidate template simultaneously meets the requirements of passing the hard morphological constraint check and having a quality improvement amount not less than the preset minimum quality improvement threshold, it is considered an acceptable candidate template; if multiple acceptable candidate templates exist, select the template with the highest comprehensive quality score to update the current template; if no candidate templates are available, retain the current template and implement parameter rollback; iterate until a qualified target multi-object deformation template is obtained; if any pelvic floor functional state template fails to optimize, terminate the subsequent processing flow. S6. After obtaining the target multi-object deformation template in at least two pelvic floor functional states, calculate the state-to-state deformation path between different target templates; divide the candidate anatomical regions according to the order of anatomical landmarks and contour points. S7. Apply forward and reverse topological preservation normalized local perturbations to each candidate anatomical region in sequence. During the perturbation process, keep the sample set, template construction parameters, number of contour points and order of contour points unchanged. After the perturbation, reconstruct the perturbation multi-object deformation template and recalculate the deformation path and state transition energy between states. S8. Based on the differences in template, path, and energy before and after the perturbation, calculate the weighted comprehensive perturbation difference, and obtain the regional perturbation sensitivity contribution of each candidate anatomical region based on the comprehensive perturbation difference. S9. Repeated calculations are performed using subjects as indivisible sampling units. All functional states and organ data of the same subject are sampled as a whole without being split. Only the calculation results that meet the template quality and morphological hard constraints are considered as valid results. Based on the valid results, the confidence interval and stability index of the contribution of regional perturbation sensitivity are calculated, and the target multi-object deformation template, regional perturbation sensitivity contribution, and confidence information are output.
2. The method for closed-loop optimization of pelvic floor organ deformation template and evaluation of disturbance contribution according to claim 1, characterized in that, The pelvic floor functional states include at least two of the following: resting state, valvular state, and anal contraction state; the pelvic floor organ multi-object contour data are two-dimensional contours obtained by dynamic magnetic resonance image segmentation, including at least two of the following organs: bladder, uterus, rectum, and levator palpebrae; the same object maintains consistent object identification, contour direction, number of contour points, and contour point order in different functional states.
3. The method for closed-loop optimization of pelvic floor organ deformation template and evaluation of disturbance contribution according to claim 1, characterized in that, In step S3, the quality evaluation index includes soft quality indexes, which include registration error index, contour geometric deviation index, and deformation distribution balance index between objects; the registration error index is selected from at least one of Chamfer distance, Hausdorff distance, and Varifold distance; the contour geometric deviation index includes local curvature anomaly ratio, area deviation, and perimeter deviation; the deformation distribution balance index between objects includes at least the proportion of deformation energy fitted by the object template.
4. The method for closed-loop optimization of pelvic floor organ deformation template and evaluation of disturbance contribution according to claim 3, characterized in that, In step S3, the soft quality indicators are normalized without dimensions; indicators with larger values, representing higher template quality, are normalized by forward normalization; indicators with smaller values, representing higher template quality, are normalized by backward normalization. The weighted summation yields the overall quality score; the morphological hard constraints are not included in the weighted calculation of the overall quality score.
5. The method for closed-loop optimization of pelvic floor organ deformation template and evaluation of disturbance contribution according to claim 1, characterized in that, The local perturbation mentioned in step S7 is a local displacement of a smooth boundary applied along the contour normal; the perturbation weights at both ends of the region are set to 0 to ensure the continuity of the candidate anatomical region and the adjacent region contours after the perturbation; if a topological failure occurs after the perturbation, the perturbation amplitude is reduced and the trial is repeated, and if the trial still fails, the perturbation is marked as invalid.
6. The method for closed-loop optimization of pelvic floor organ deformation template and evaluation of disturbance contribution according to claim 1, characterized in that, Step S6 also calculates the proportion of local motion energy during state transition of the organ object and candidate anatomical region; the proportion of local motion energy only characterizes the strength of deformation motion, is not used for parameter adjustment in template closed-loop optimization, and is not equal to the contribution of regional perturbation sensitivity.
7. The method for closed-loop optimization of pelvic floor organ deformation template and evaluation of disturbance contribution according to claim 1, characterized in that, Step S9 involves repeated calculations using methods including Bootstrap resampling; stability indicators include contribution variation stability indicators; and high, medium, and low confidence levels are determined based on stability indicators, confidence interval width, and regional ranking selection frequency.
8. The method for closed-loop optimization of pelvic floor organ deformation template and evaluation of perturbation contribution according to any one of claims 17, characterized in that, The iteration stopping conditions in step S5 include at least one of the following: the current template's overall quality score reaches the preset qualified threshold and passes the hard morphological constraint; no acceptable candidate templates exist for multiple consecutive rounds; the maximum number of iterations is reached; and all candidate templates fail to pass the hard morphological constraint.
9. A closed-loop optimization system for pelvic floor organ deformation templates and a perturbation contribution assessment system, characterized in that, The method for implementing the closed-loop optimization and perturbation contribution assessment of the pelvic floor organ deformation template as described in any one of claims 18 includes: The data processing module is used to acquire and standardize multi-state pelvic floor organ contour data. The template building module is used to build multi-object deformation templates corresponding to various pelvic floor functional states; The quality evaluation module is used to calculate the overall quality score of the template and perform soft quality index calculation and hard constraint check of the form. The closed-loop optimization module identifies template quality anomalies, generates candidate template construction parameters, evaluates candidate templates, and performs candidate parameter acceptance or rollback. The state path calculation module is used to calculate the state deformation path between different target templates and to calculate the local motion energy index of the object and the anatomical region. The region perturbation module is used to apply bidirectional topology-preserving normalized local perturbations to candidate anatomical regions, triggering recalculation of the template and deformation path; The contribution calculation module is used to calculate the contribution of regional perturbation sensitivity based on the differences in templates, paths, and energy before and after the perturbation. The credibility evaluation module is used to perform repeated calculations with subjects as the sampling unit, and output the confidence interval of regional contribution, stability and credibility information.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the closed-loop optimization and disturbance contribution assessment method for pelvic organ deformation templates as described in any one of claims 18.
