Intravascular electrode implantation assisting method and system
By obtaining vascular image information, screening and simulating the intravascular electrode implantation process, and calculating the comprehensive index of morphological changes, the vascular selection problem in the intravascular electrode implantation method is solved, and the electrode stent implantation with the least risk is achieved.
Patent Information
- Application Number
- CN202411003986.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-15
AI Technical Summary
In the prior art, there is a lack of clear vascular selection methods for intravascular electrode implantation methods, which makes it difficult to assess the difficulty and risk of implantation.
By obtaining branch morphological information in the blood vessel image, vascular branches that meet the requirements of electrode stent implantation are screened, and the implantation process is simulated to calculate the comprehensive index of morphological changes, and the branch with the least implantation risk is selected as the final blood vessel.
Effectively select blood vessel branches that meet the requirements of electrode stent implantation and have a low risk of implantation, which improves the safety and efficiency of the implantation process.
Smart Images

Figure CN118967603A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of medical technology assistance technology, and in particular to an intravascular electrode implantation assistance method and system. Background Art
[0002] Currently, the method of intravascular electrode implantation is the same as that of vascular stent implantation, and the intravascular electrode is placed in the desired position through the guidance of a guide wire and a catheter. In the related technologies, most of them only focus on the structure and function of the intravascular electrode, and there is no clear explanation on how to choose the best implantation vessel. Summary of the invention
[0003] The present disclosure aims to solve at least one of the technical problems existing in the prior art, and proposes an intravascular electrode implantation auxiliary method and system.
[0004] In a first aspect, an embodiment of the present disclosure provides an intravascular electrode implantation assisting method, comprising:
[0005] Acquiring branch morphology information of each vascular branch in the vascular image, wherein the branch morphology information includes: center line and tube diameter information corresponding to the vascular branch, wherein the tube diameter information includes: diameter of each vascular segment included in the vascular branch;
[0006] According to the branch morphology information of each vascular branch, a vascular branch that meets the implantation requirements of the electrode stent is selected as a candidate vascular branch;
[0007] For each candidate vascular branch, a process of implanting an electrode stent into a target candidate vascular branch is simulated to obtain morphological change information of the target candidate vascular branch before and after the electrode stent is implanted, and a corresponding morphological change comprehensive index is determined according to the morphological change information, wherein the morphological change information includes: a diameter change rate and a bending degree change rate of a position to be implanted in the target candidate vascular branch before and after the electrode stent is implanted, and the morphological change comprehensive index is positively correlated with both the diameter change rate and the bending degree change rate;
[0008] The candidate vascular branch with the smallest comprehensive index of morphological change is selected as the final vascular branch.
[0009] In some embodiments, the step of selecting blood vessel branches that meet the implantation requirements of the electrode stent according to the branch morphology information of each blood vessel branch includes:
[0010] For each vascular branch, determining the implantation difficulty coefficient of the target vascular branch according to the shape of the centerline of the target vascular branch and the caliber information;
[0011] The vascular branches whose implantation difficulty coefficient is less than a preset difficulty coefficient threshold are screened out as the candidate vascular branches.
[0012] In some embodiments, the step of determining the implantation difficulty coefficient of the target vascular branch according to the shape of the centerline of the target vascular branch and the caliber information includes:
[0013] Acquire a corner point on the center line of the target blood vessel branch, the corner point being a pixel point on the center line whose corresponding neighborhood pixel angle is less than a first preset angle;
[0014] The neighborhood pixel angle of any target pixel point on the center line is: the angle formed by a first ray defined by the target pixel point pointing to the corresponding first neighborhood pixel point and a second ray defined by the target pixel point pointing to the corresponding second neighborhood pixel point, the first neighborhood pixel point is the nth pixel point on the center line before the target pixel point, the second neighborhood pixel point is the nth pixel point on the center line after the target pixel point, and n is a positive integer;
[0015] Obtaining a specific angle corner point ratio of the center line, where the specific angle corner point ratio is equal to a ratio of the number of corner points on the center line whose corresponding neighborhood pixel angles are smaller than a second preset angle to the number of all corner points on the center line, where the second preset angle is smaller than the first preset angle;
[0016] Determining the degree of vascular stenosis of the target vascular branch according to the diameter of each vascular segment in the target vascular branch;
[0017] Obtaining a non-bending portion ratio of the center line, where the non-bending portion ratio is equal to a ratio of a length of the non-bending portion of the center line to a total length of the center line, and the non-bending portion is: a portion consisting of all pixel points on the center line and along the center line and between each corner point, the number of pixel points being greater than P;
[0018] Obtaining the degree of distortion of the center line, the degree of distortion being equal to the ratio of the sum of the lengths of the ends of the curved parts corresponding to all the corner points along the center line to the sum of the straight line lengths of the ends of the curved parts corresponding to all the corner points, the curved parts corresponding to the corner points being: a part consisting of the corner points and all the pixel points whose number of pixel points between the center line and the corner points is less than or equal to P, the length of the ends along the center line being the length of the two ends of the curved parts along the center line, and the straight line length of the ends being the straight line length of the two ends of the curved parts;
[0019] The implantation difficulty coefficient is determined based on the proportion of the specific angle corner points, the degree of stenosis of the blood vessel, the proportion of the non-bending part and the degree of distortion, wherein the implantation difficulty coefficient is positively correlated with the proportion of the specific angle corner points, the degree of stenosis of the blood vessel and the degree of distortion, and the implantation difficulty coefficient is negatively correlated with the proportion of the non-bending part.
[0020] In some embodiments, the implantation difficulty coefficient is equal to the weighted sum of the proportion of the specific angle corner points, the degree of stenosis of the blood vessel, the inverse of the proportion of the non-bending portion, and the degree of torsion.
[0021] In some embodiments, the step of determining the degree of stenosis of the target vascular branch according to the diameter of each vascular segment in the target vascular branch comprises:
[0022] Determine a stenotic vascular segment according to the diameter of each vascular segment in the target vascular branch, wherein the stenotic vascular segment is a vascular segment whose ratio of the corresponding diameter to the diameter of each adjacent vascular segment is less than τ, wherein 0<τ≤1;
[0023] Calculating the proportion of stenotic blood vessel segments in the target blood vessel branch, where the proportion of stenotic blood vessel segments is equal to the ratio of the sum of the lengths of all stenotic blood vessel segments in the target blood vessel branch to the total length of the target blood vessel branch;
[0024] Calculating a total relative stenosis coefficient of the target vascular branch, wherein the total relative stenosis coefficient is equal to the sum of the relative stenosis coefficients of all the stenotic vascular segments, and the relative stenosis coefficient is equal to the reciprocal of the square root of the sum of the squares of the diameter ratios of the stenotic vascular segment to the corresponding adjacent vascular segments;
[0025] The degree of vascular stenosis is calculated according to the proportion of the stenotic vascular segment and the total relative stenosis coefficient. The degree of vascular stenosis is equal to the product of the proportion of the stenotic vascular segment and the total relative stenosis coefficient.
[0026] In some embodiments, in the step of selecting the vascular branches that meet the implantation requirements of the electrode stent according to the branch morphology information of each vascular branch, and before the step of determining the implantation difficulty coefficient of the target vascular branch according to the shape of the centerline of the target vascular branch and the caliber information for each vascular branch, the method further includes:
[0027] From all vascular branches, select the vascular branches that meet the following conditions for subsequent processing:
[0028] Condition 1: The vascular branch passes through the preset electrode implantation area;
[0029] Condition 2: The part of the vascular branch located in the area where the electrode is to be implanted has a blood vessel with a length greater than or equal to l and a diameter greater than or equal to Φ / ζ;
[0030] Wherein, l is the length of the electrode bracket, Φ is the diameter of the electrode bracket, and ζ is the preset allowable expansion coefficient of the blood vessel diameter.
[0031] In some embodiments, the comprehensive morphological change index is equal to the square root of the sum of the square of the diameter change rate and the curvature change rate.
[0032] In some embodiments, the step of acquiring branch morphology information of each blood vessel branch in the blood vessel image includes:
[0033] Segmenting the blood vessels in the blood vessel image by digital image processing or deep learning technology to obtain a blood vessel segmentation map;
[0034] The halcon software toolkit is used to identify and extract each vascular branch in the vascular segmentation map, and the branch morphology information of each vascular branch is obtained.
[0035] In some embodiments, the finally selected vascular branch and the centerline of the finally selected vascular branch are marked in the vascular image for use as electrode implantation navigation.
[0036] In a second aspect, the present disclosure also provides an intravascular electrode implantation auxiliary system, including:
[0037] A branch acquisition module, configured to acquire branch morphological information of each vascular branch in the vascular image, wherein the branch morphological information includes: center line and caliber information corresponding to the vascular branch, wherein the caliber information includes: diameter of each vascular segment included in the vascular branch;
[0038] A screening module, configured to screen out a vascular branch that meets the implantation requirements of the electrode stent according to the branch morphology information of each vascular branch as a candidate vascular branch;
[0039] a simulation processing module configured to simulate, for each candidate vascular branch, a process of implanting an electrode stent in a target candidate vascular branch, obtain morphological change information of the target candidate vascular branch before and after the electrode stent is implanted, and determine a corresponding morphological change comprehensive index according to the morphological change information, wherein the morphological change information includes: a diameter change rate and a bending degree change rate of a to-be-implanted position in the target candidate vascular branch before and after the electrode stent is implanted, and the morphological change comprehensive index is positively correlated with both the diameter change rate and the bending degree change rate;
[0040] The selection module is configured to select the candidate vascular branch with the smallest comprehensive index of morphological changes as the final selected vascular branch.
[0041] The present disclosure provides an intravascular electrode implantation assistance method, which obtains the branch morphology information of each vascular branch in the vascular image, and selects the vascular branches that meet the implantation requirements of the electrode stent as candidate vascular branches according to the branch morphology information of each vascular branch, and then obtains the morphology change information of each candidate branch before and after the implantation of the electrode stent through simulation, and obtains the corresponding bending degree change rate according to the morphology change information, and finally selects the candidate vascular branch with the smallest morphology change comprehensive index as the final vascular branch. Through the above technical solution, a vascular branch that meets the implantation requirements of the electrode stent and has a lower implantation risk can be selected. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A flow chart of an intravascular electrode implantation auxiliary method provided by an embodiment of the present disclosure;
[0043] Figure 2 A schematic diagram of segmenting blood vessels in a blood vessel image to obtain a blood vessel segmentation map in an embodiment of the present disclosure;
[0044] Figure 3 is a schematic diagram of extracting a blood vessel branch from a blood vessel segmentation map in an embodiment of the present disclosure;
[0045] Figure 4 A schematic diagram of simulating the morphological changes of a target candidate vascular branch before and after an electrode stent is implanted in an embodiment of the present disclosure;
[0046] Figure 5 A schematic diagram of determining the bending angle of a blood vessel at a position to be implanted in an embodiment of the present disclosure;
[0047] Figure 6 This is a flowchart of an optional implementation method of step S2 in the embodiment of the present disclosure;
[0048] Figure 7 This is a flowchart of an optional implementation method of step S201 in the embodiment of the present disclosure;
[0049] Figure 8 A schematic diagram of determining a corner point on the centerline of a target blood vessel branch in an embodiment of the present disclosure;
[0050] Fig. 9 This is a flowchart of an optional implementation method of step S2013 in the embodiment of the present disclosure;
[0051] Fig.10 is a flowchart of another optional implementation method of step S2 in the embodiment of the present disclosure;
[0052] Fig.11A flow chart of another intravascular electrode implantation auxiliary method provided by an embodiment of the present disclosure;
[0053] Fig.12 A schematic diagram of marking in a blood vessel image in an embodiment of the present disclosure;
[0054] Fig.13 A structural block diagram of an intravascular electrode implantation auxiliary system provided by an embodiment of the present disclosure;
[0055] Fig.14 The figure is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0056] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the present disclosure is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0057] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not represent any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one", "one" or "the" do not represent quantitative restrictions, but rather represent the existence of at least one. Similar words such as "include" or "comprise" mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Up", "down", "left", "right" and the like are only used to represent relative positional relationships. When the absolute position of the described target changes, the relative positional relationship may also change accordingly.
[0058] In each of the accompanying drawings, identical elements are represented by similar reference numerals. For the sake of clarity, the various parts in the accompanying drawings are not all drawn to scale. In addition, some well-known parts may not be shown in the drawings.
[0059] Many specific details of the present disclosure are described below, such as component structures, materials, dimensions, processing techniques, and technologies, in order to more clearly understand the present disclosure. However, as those skilled in the art will appreciate, the present disclosure may be implemented without following these specific details.
[0060] Figure 1 A flowchart of an intravascular electrode implantation assisting method provided by an embodiment of the present disclosure. Figure 1 As shown, the intravascular electrode implantation auxiliary method includes:
[0061] Step S1, obtaining branch morphology information of each blood vessel branch in a blood vessel image.
[0062] The branch morphology information is used to describe the morphological characteristics of the corresponding vascular branch. In some embodiments, the branch morphology information includes: the centerline and diameter information of the corresponding vascular branch, and the diameter information includes: the diameter of each vascular segment included in the vascular branch.
[0063] Figure 2 The figure is a schematic diagram of obtaining a blood vessel segmentation map by segmenting blood vessels in a blood vessel image in an embodiment of the present disclosure. Figure 3 FIG. 1 is a schematic diagram of extracting a blood vessel branch from a blood vessel segmentation map in an embodiment of the present disclosure. In some embodiments, step S1 can be implemented by the following method: First, referring to Figure 2 As shown, the blood vessels in the blood vessel image are segmented by digital image processing or deep learning technology to obtain a blood vessel segmentation map. Then, see Figure 3 As shown, the halcon software toolkit is used to identify and extract each vascular branch in the vascular segmentation map, and the branch morphology information of each vascular branch is obtained.
[0064] The halcon software toolkit can not only extract vascular branches from the vascular segmentation map, but also identify the centerline of the vascular branch and the diameter of the vascular branch at each location. Generally, the halcon software tool divides adjacent parts of the vascular branch with similar diameters into a vascular segment, and then assigns a uniform diameter value to the vascular segment to represent the diameter size at each location on the vascular segment.
[0065] Step S2: Filter out the vascular branches that meet the implantation requirements of the electrode stent according to the branch morphology information of each vascular branch as candidate vascular branches.
[0066] Step S3: for each candidate vascular branch, simulate the process of implanting the electrode stent into the target candidate vascular branch, obtain the morphological change information of the target candidate vascular branch before and after the electrode stent is implanted, and determine the corresponding morphological change comprehensive index according to the morphological change information.
[0067] Figure 4 This is a schematic diagram of simulating the morphological changes of the target candidate vascular branch before and after the electrode stent is implanted in the embodiment of the present disclosure. Figure 4 As shown, in practical applications, the changes in vascular morphology before and after the implantation of the vascular stent can be simulated by simulation software (such as ANSYS software), or the changes in vascular morphology before and after the implantation of the vascular stent can be obtained by performing a stent-vascular coupling system analysis using the finite element method through programming software (such as MATLAB software).
[0068] The morphological change information is used to describe the morphological change of the target candidate vascular branch at the position to be implanted (the position to be implanted can be manually pre-specified, or a position to be implanted in the vascular branch is determined based on a pre-designed position confirmation algorithm) before and after the electrode stent is implanted. The morphological change information may include: the diameter change rate and the curvature change rate of the position to be implanted in the target candidate vascular branch before and after the electrode stent is implanted, and the morphological change comprehensive index is positively correlated with the diameter change rate and the curvature change rate.
[0069] The diameter change rate of the target candidate vascular branch before and after the electrode stent is implanted is recorded as β d :
[0070]
[0071] d h represents the diameter of the target candidate vascular branch at the implantation site after the electrode stent is implanted, d q They respectively represent the diameter of the implantation position in the target candidate vascular branch before the electrode stent is implanted. Diameter change rate β d The larger the value, the greater the degree of morphological change of the implantation site before and after the electrode stent is implanted.
[0072] The rate of change of the curvature of the implantation site in the target candidate vascular branch before and after the electrode stent is implanted is recorded as β a :
[0073]
[0074] a h It indicates the degree of curvature of the implantation site in the target candidate vascular branch after the electrode stent is implanted. q They respectively represent the curvature of the position to be implanted in the target candidate vascular branch before the electrode stent is implanted. Among them, the curvature change rate β a The larger the value, the greater the degree of morphological change of the implantation site before and after the electrode stent is implanted.
[0075] In practical applications, the corresponding degree of curvature can be determined according to the center line of the implanted position. In addition, there are many parameters that can be used as the degree of curvature; for example, the curvature of the center line of the implanted position can be used as the degree of curvature, or the bending angle corresponding to the center line of the implanted position can be used as the degree of curvature.
[0076] Take the bending angle corresponding to the center line of the position to be implanted as an example of the corresponding bending degree. Figure 5 FIG. 1 is a schematic diagram of determining the bending angle of a blood vessel at a position to be implanted in an embodiment of the present disclosure. Figure 5As shown, the two ends of the center line at the implantation position are endpoint A and endpoint B, respectively, a point A' is obtained on the center line AB at a distance of k pixels from the endpoint A, and a point B' is obtained on the center line at a distance of k pixels from the endpoint B, and the intersection C of the straight line A-A' defined by the endpoint A and the point A' and the straight line B-B' defined by the endpoint B and the point B' is obtained, and at this time ∠ACB is the bending angle corresponding to the center line AB. Wherein, k is a positive integer, and the value of k can be preset and adjusted according to actual needs.
[0077] Among them, the larger the comprehensive morphological change index is, the greater the degree of morphological change of the implantation site before and after the implantation of the electrode stent, which can reflect the greater impact on the blood vessels after the implantation of the electrode, that is, the greater the risk.
[0078] As an optional implementation, the morphological change comprehensive index β 总 Equal to the diameter change rate β d The rate of change of bending degree β a The square root of the sum of the squares is:
[0079]
[0080] Step S4: selecting the candidate vascular branch with the smallest comprehensive index of morphological change as the final vascular branch.
[0081] The technical solution disclosed in the present invention obtains the branch morphology information of each vascular branch in the vascular image, and selects the vascular branches that meet the implantation requirements of the electrode stent as candidate vascular branches according to the branch morphology information of each vascular branch, and then obtains the morphology change information of each candidate branch before and after the implantation of the electrode stent through simulation, and obtains the corresponding bending degree change rate according to the morphology change information, and finally selects the candidate vascular branch with the smallest morphology change comprehensive index as the final vascular branch. Through the above technical solution, vascular branches that meet the implantation requirements of the electrode stent and have a lower implantation risk can be selected.
[0082] Figure 6 FIG. 4 is a flow chart of an optional implementation method of step S2 in the embodiment of the present disclosure. Figure 6 As shown, in some embodiments, the implantation requirements of the electrode stent include: an implantation difficulty requirement, which specifies that the implantation difficulty coefficient of the electrode stent when implanted into the corresponding vascular branch is less than a preset difficulty coefficient threshold.
[0083] At this time, step S2 includes:
[0084] Step S201: for each vascular branch, determine the implantation difficulty coefficient of the target vascular branch according to the shape of the centerline and the diameter information of the target vascular branch.
[0085] In step S201, the corresponding implantation difficulty coefficient can be determined according to the shape of the centerline of the target vascular branch and the caliber information. The shape of the centerline of the target vascular branch and the caliber information can reflect the implantation difficulty to a certain extent; generally, the more complex the shape of the centerline, the higher the implantation difficulty; the smaller the caliber of the target vascular branch, the higher the implantation difficulty. The implantation difficulty coefficient is used to characterize the implantation difficulty, wherein the larger the implantation difficulty coefficient, the higher the implantation difficulty.
[0086] Figure 7 FIG. 1 is a flow chart of an optional implementation method of step S201 in the embodiment of the present disclosure. Figure 7 As shown, in some embodiments, step S201 includes:
[0087] Step S2011, obtaining the corner point on the center line of the target blood vessel branch.
[0088] Figure 8 FIG. 1 is a schematic diagram of determining a corner point on the centerline of a target vascular branch in an embodiment of the present disclosure. Figure 8 As shown, the corner point is a pixel point on the center line whose corresponding neighborhood pixel angle is less than the first preset angle. The neighborhood pixel angle of any target pixel point on the center line is: the angle formed by the first ray defined by the target pixel point pointing to the corresponding first neighborhood pixel point and the second ray defined by the target pixel point pointing to the corresponding second neighborhood pixel point, the first neighborhood pixel point is the nth pixel point on the center line before the target pixel point, the second neighborhood pixel point is the nth pixel point on the center line after the target pixel point, and n is a positive integer.
[0089] In some embodiments, the first preset angle α1 satisfies: 120°≤α1≤160°; for example, the value of α1 is 160°, 155°, 150°, 145°, etc. The specific value can be pre-set according to actual needs.
[0090] As an example, Figure 8 There are 10 turning points O1 to O2 in the blood vessel branches shown in 10 .
[0091] Step S2012: Obtain the specific angle corner point ratio of the center line.
[0092] The specific angle corner point ratio η1 is equal to the ratio of the number of corner points whose corresponding neighborhood pixel angles on the center line are smaller than the second preset angle to the number of all corner points on the center line. The second preset angle is smaller than the first preset angle.
[0093] In some embodiments, the second preset angle α2 satisfies: 30°≤α2≤60°; for example, the value of α2 is 30°35°, 40°, 45°, 50°, etc. The specific value can be pre-set according to actual needs.
[0094] Among them, the larger the proportion of corner points at specific angles, the larger the proportion of small corners, and the higher the corresponding implantation difficulty.
[0095] Step S2013: Determine the degree of stenosis of the target vascular branch according to the diameter of each vascular segment in the target vascular branch.
[0096] In step S2013, the degree of stenosis of the target vascular branch can be evaluated according to the diameter of each vascular segment in the target vascular branch. The greater the value of the stenosis, the narrower the vascular branch is, and the higher the difficulty of implantation.
[0097] Fig. 9 FIG. 1 is a flow chart of an optional implementation method of step S2013 in the embodiment of the present disclosure. Fig. 9 As shown,
[0098] In some embodiments, step S2013 includes:
[0099] Step S20131: determine the stenotic blood vessel segment according to the diameter of each blood vessel segment in the target blood vessel branch.
[0100] The narrowed blood vessel segment is a blood vessel segment whose corresponding diameter is less than the diameter of each adjacent blood vessel segment than τ, where 0<τ≤1, for example, τ takes values of 0.2, 0.3, 0.4, and 0.5.
[0101] If the marked vascular branch includes I vascular segments, take the i-th vascular segment as an example, where 2≤i≤I-1, and the diameter of the i-th vascular segment is recorded as d i , at this time, the i-th blood vessel segment has two adjacent blood vessel segments: the i-1-th blood vessel segment and the i+1-th blood vessel segment; if d i satisfy Then the i-th blood vessel segment is determined to be a stenotic blood vessel segment; otherwise, the i-th blood vessel segment is determined to be a non-stenotic blood vessel segment.
[0102] When the value of i is 1 or I, the two blood vessel segments to be judged are the two blood vessel segments located at the ends. In this case, the blood vessel segment located at the ends has only one adjacent blood vessel segment. Specifically, the adjacent blood vessel segment corresponding to the first blood vessel segment is the second blood vessel segment. In this case, only The size of τ is sufficient; the adjacent vascular segment corresponding to the I-th vascular segment is the I-1th vascular segment, and at this time, only the comparison The size of τ is sufficient.
[0103] As an example, Figure 8 The middle vascular segment PQ is the stenotic vascular segment.
[0104] Step S20132: Calculate the proportion of stenotic blood vessel segments in the target blood vessel branch.
[0105] The proportion of stenotic vascular segments is equal to the ratio of the sum of the lengths of all stenotic vascular segments in the target vascular branch to the total length of the target vascular branch.
[0106] If the number of stenotic blood vessel segments determined in step S20131 is J, the length of the jth stenotic blood vessel segment is recorded as l 窄_j At this time, the proportion of stenotic blood vessel segments is Q1:
[0107]
[0108] Among them, L 总 Indicates the total length of the target vascular branch.
[0109] Step S20133: Calculate the total relative stenosis coefficient of the target vascular branch.
[0110] The total relative stenosis coefficient is equal to the sum of the relative stenosis coefficients of all stenotic vascular segments, and the relative stenosis coefficient is equal to the reciprocal of the square root of the sum of the squares of the diameter ratios of the stenotic vascular segment to the corresponding adjacent vascular segments.
[0111] The diameter of the jth stenotic vessel segment is denoted as d 窄_j The diameter of the preceding adjacent vessel segment corresponding to the jth stenotic vessel segment is denoted as d 窄_j 前 , the diameter of the preceding adjacent vessel segment corresponding to the jth stenotic vessel segment is recorded as d 窄_j 后 At this time, the relative stenosis total coefficient Q2 is:
[0112]
[0113] Step S20134: Calculate the degree of vascular stenosis according to the proportion of stenotic vessel segments and the total relative stenosis coefficient.
[0114] Among them, the degree of vascular stenosis η2 is equal to the product of the proportion of stenotic vascular segments and the total relative stenosis coefficient.
[0115] η2=Q1*Q2
[0116] Step S2014, obtaining the proportion of the non-bending portion of the center line.
[0117] The proportion of the non-bending part is equal to the ratio of the length of the non-bending part on the center line to the total length of the center line. The non-bending part is: the part composed of all pixels on the center line and along the center line and the number of pixels between each corner point is greater than P.
[0118] The non-bending portion ratio η3 can be expressed as follows:
[0119]
[0120] Among them, L 非 Indicates the length of the non-bending portion on the center line. The larger the non-bending portion ratio, the flatter (straighter) the blood vessel branch is, and the easier the implantation is.
[0121] In the embodiment of the present disclosure, the center line of the blood vessel branch can be divided into a curved portion and a non-curved portion other than the curved portion, wherein the curved portion is determined according to the corner point.
[0122] The curved portion corresponding to the corner point is the portion consisting of the corner point and all pixel points whose number of pixel points between the center line and the corner point is less than or equal to P. It should be noted that when two corner points are close to each other, the curved portions of the two corner points will overlap.
[0123] by Figure 8 Taking the corner point O4 as an example, M and N are pixel points on the center line and separated by P pixels between the center line and the corner point O4. The corresponding part is the curved part corresponding to the corner point O4. The two ends of the curved part corresponding to the corner point O4 are point M and point N.
[0124] Correspondingly, the non-bending portion on the center line is the portion consisting of all pixel points on the center line and along the center line where the number of pixel points spaced between the center line and each corner point is greater than P.
[0125] Step S2015: Obtain the degree of distortion of the center line.
[0126] The degree of distortion η4 is equal to the ratio of the sum of the lengths of the ends of the curved parts corresponding to all the corner points along the center line to the sum of the straight line lengths of the ends of the curved parts corresponding to all the corner points. The length of the ends of the curved parts corresponding to the corner points along the center line is the length of the two ends of the curved parts along the center line, and the straight line length of the ends of the curved parts corresponding to the corner points is the straight line length of the two ends of the curved parts.
[0127] Still Figure 8 Taking the inflection point O4 as an example, the length of the end of the curved part corresponding to the inflection point O4 along the center line is the curve on the center line. The length of the end of the curved part corresponding to the corner point O4 along the center line is the line segment connecting point M and point N. Length.
[0128] The greater the distortion value, the more serious the centerline distortion is, and the higher the difficulty of implantation is.
[0129] Step S2016: Determine the implantation difficulty coefficient according to the proportion of corner points at specific angles, the degree of stenosis of the blood vessels, the proportion of non-bending parts, and the degree of distortion.
[0130] In the disclosed embodiment, the implantation difficulty coefficient of the blood vessel branch can be determined according to the specific angle corner point ratio η1, the blood vessel stenosis degree η2, the non-bending portion ratio η3 and the twisting degree η4. Among them, the implantation difficulty coefficient is positively correlated with the specific angle corner point ratio, the blood vessel stenosis degree and the twisting degree, and the implantation difficulty coefficient is negatively correlated with the non-bending portion ratio.
[0131] As an optional implementation scheme, the implantation difficulty coefficient is equal to the weighted sum of the proportion of corner points at a specific angle, the degree of vascular stenosis, the inverse of the proportion of non-bending parts, and the degree of distortion, that is, the implantation difficulty coefficient K:
[0132]
[0133] Among them, λ1, λ2, λ3, and λ4 are the reciprocals of the specific angle corner ratio η1, the degree of vascular stenosis η2, and the non-bending part ratio, respectively. and the weights of the distortion degree η4. The specific values of each weight can be determined in advance manually or through a machine learning model (such as a decision tree or a random forest).
[0134] Step S202: Screen out vascular branches whose implantation difficulty coefficient is less than a preset difficulty coefficient threshold as candidate vascular branches.
[0135] In the present disclosure, the greater the implantation difficulty coefficient of the vascular branch, the higher the implantation difficulty of the electrode stent into the corresponding vascular branch; therefore, vascular branches with an implantation difficulty coefficient less than a preset difficulty coefficient threshold (pre-set according to actual needs) can be screened out as alternative vascular branches.
[0136] Fig.10 FIG. 4 is a flowchart of another optional implementation method of step S2 in the embodiment of the present disclosure. Fig.10 As shown, as another optional implementation of step S2, the implantation requirements of the electrode holder also include: implantation position requirements (condition 1 described later) and implantation size requirements (condition 2 described later).
[0137] Step S2 includes Figure 6The steps S201 and S202 in the embodiment include, before the step S201, the step S200; only the step S200 is described in detail below.
[0138] Step S200: Filter out the vascular branches that meet the following conditions from all vascular branches for subsequent processing:
[0139] Condition 1: The vascular branch passes through the preset electrode implantation area.
[0140] Condition 2: The part of the vascular branch located in the area where the electrode is to be implanted has a blood vessel with a length greater than or equal to l and a diameter greater than or equal to Φ / ζ.
[0141] Wherein, l is the length of the electrode holder, Φ is the diameter of the electrode holder, and ζ is the preset allowable expansion coefficient of the blood vessel diameter.
[0142] Generally, when performing electrode implantation, there are certain requirements for the final implantation area of the electrode; therefore, before the implantation operation, an electrode implantation area will be determined first. When a vascular branch passes through the electrode implantation area, it indicates that the electrode stent can be delivered to the implantation area through the corresponding vascular branch (i.e., condition 1); when a vascular branch does not pass through the electrode implantation area, it indicates that the electrode stent cannot be delivered to the implantation area through the vascular branch, and the vascular branch is eliminated in the process of selecting the vascular branch.
[0143] In addition, the selected vascular branch must not only pass through the area to be implanted, but also the portion of the vascular branch located in the area to be implanted must be able to accommodate the electrode holder (ie, condition 2).
[0144] Through step S200, a large number of useless vascular branches can be eliminated in advance, so that the number of vascular branches that need to be subsequently processed is effectively reduced, and the processing efficiency can be effectively improved.
[0145] Fig.11 Flow chart of another method for assisting intravascular electrode implantation provided by an embodiment of the present disclosure. Fig.11 As shown, the intravascular electrode implantation auxiliary method not only includes steps S1 to S4 in the previous embodiment, but also includes at least one of step S5 and step S6 after step S4.
[0146] Step S5: Mark the final selected vascular branch and the centerline of the final selected vascular branch in the vascular image for use as electrode implantation navigation.
[0147] Fig.12 FIG. 1 is a schematic diagram of marking in a blood vessel image in an embodiment of the present disclosure. Fig.12As shown, the final selected vascular branch and the center line of the final selected vascular branch can be marked in the vascular image for reference and navigation by medical staff during the subsequent electrode implantation process.
[0148] Among them, the marked final selected vascular branches ( Fig.12 The red blood vessel in the middle) is the best implantation path, and the center line ( Fig.12 The yellow thin line in the figure can be used as a reference line for sheath advancement.
[0149] Of course, other markings can be made on the final selected vascular branches in the vascular image according to actual needs, for example, marking and prompting the number and position of ultra-small angles on the implantation path, marking and prompting the number and position of sudden changes in caliber on the implantation path, marking and prompting risk-free vascular segments on the implantation path, etc.
[0150] Step S6: storing the overall process data of electrode implantation.
[0151] As an example, a vascular image storage module and an implanted vascular deformation data storage module may be set. Among them, the vascular image storage module may include three storage folders: a "vascular image before implantation" folder, a "vascular image for the i-th review" folder, and a "vascular abnormality image" folder; wherein vascular abnormality refers to vascular abnormality caused by stent implantation, such as thrombosis, vascular rupture, etc. The implanted vascular deformation data storage module may include three storage folders: a "vascular diameter and bend angle data before implantation" folder, a "vascular diameter and bend angle data after the first implantation" folder, and a "vascular diameter and bend angle data for the i-th review" folder. The corresponding data is stored in the above folders for medical staff to check at any time.
[0152] Fig.13 This is a structural block diagram of an intravascular electrode implantation auxiliary system provided by an embodiment of the present disclosure. Fig.13 As shown, the intravascular electrode implantation assistance system can be used to implement the intravascular electrode implantation assistance method provided in the previous embodiment. The intravascular electrode implantation assistance system includes: a branch acquisition module, a screening module, a simulation processing module and a selection module.
[0153] The branch acquisition module is configured to acquire branch morphology information of each vascular branch in the vascular image, the branch morphology information includes: the center line and diameter information of the corresponding vascular branch, and the diameter information includes: the diameter of each vascular segment included in the vascular branch.
[0154] The screening module is configured to screen out the vascular branches that meet the implantation requirements of the electrode stent as candidate vascular branches based on the branch morphology information of each vascular branch.
[0155] The simulation processing module is configured to simulate the process of implanting an electrode stent in a target alternative vascular branch for each alternative vascular branch, obtain the morphological change information of the target alternative vascular branch before and after the implantation of the electrode stent, and determine the corresponding comprehensive morphological change index based on the morphological change information. The morphological change information includes: the diameter change rate of each vascular segment in the target alternative vascular branch before and after the implantation of the electrode stent and the curvature change rate of the vascular terminal part of the target alternative vascular branch before and after the implantation of the electrode stent. The comprehensive morphological change index is positively correlated with both the diameter change rate and the curvature change rate.
[0156] The selection module is configured to select the candidate vascular branch with the smallest comprehensive index of morphological changes as the final vascular branch.
[0157] For the detailed description of the above functional modules, please refer to the corresponding contents in the previous embodiments, which will not be repeated here.
[0158] Based on the same inventive concept, an embodiment of the present disclosure also provides an electronic device. Fig.14 FIG. 1 is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Fig.14 As shown, an embodiment of the present disclosure provides an electronic device including: one or more processors 101, a memory 102, and one or more I / O interfaces 103. The memory 102 stores one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement any of the intravascular electrode implantation auxiliary methods in the above embodiments; the one or more I / O interfaces 103 are connected between the processor and the memory, and are configured to implement information interaction between the processor and the memory.
[0159] Among them, the processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) 103 is connected between the processor 101 and the memory 102, and can realize information interaction between the processor 101 and the memory 102, including but not limited to a data bus (Bus), etc.
[0160] In some embodiments, the processor 101 , the memory 102 , and the I / O interface 103 are connected to each other via a bus 104 , and further connected to other components of the computing device.
[0161] In some embodiments, the one or more processors 101 include a field programmable gate array.
[0162] According to an embodiment of the present disclosure, a computer-readable medium is further provided. The computer-readable medium stores a computer program, wherein when the program is executed by a processor, the steps in any of the intravascular electrode implantation assisting methods in the above-mentioned embodiments are implemented.
[0163] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, including a computer program carried on a machine-readable medium, the computer program containing a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit (CPU), the above-mentioned functions defined in the system of the present disclosure are executed.
[0164] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0165] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of the code, and the aforementioned module, program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0166] The circuits or subcircuits involved in the embodiments described in the present disclosure may be implemented by software or by hardware. The described circuits or subcircuits may also be arranged in a processor, for example, may be described as: a processor comprising: a receiving circuit and a processing circuit, the processing module comprising a writing subcircuit and a reading subcircuit. The names of these circuits or subcircuits do not, in some cases, constitute limitations on the circuits or subcircuits themselves, for example, a receiving circuit may also be described as "receiving a video signal".
[0167] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present disclosure, but the present disclosure is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and substance of the present disclosure, and these modifications and improvements are also considered to be within the scope of protection of the present disclosure.
Claims
1. A method for assisting intravascular electrode implantation, characterized in that: include: Acquiring branch morphology information of each vascular branch in the vascular image, wherein the branch morphology information includes: center line and tube diameter information corresponding to the vascular branch, wherein the tube diameter information includes: diameter of each vascular segment included in the vascular branch; According to the branch morphology information of each vascular branch, a vascular branch that meets the implantation requirements of the electrode stent is selected as a candidate vascular branch; For each candidate vascular branch, a process of implanting an electrode stent into a target candidate vascular branch is simulated to obtain morphological change information of the target candidate vascular branch before and after the electrode stent is implanted, and a corresponding morphological change comprehensive index is determined according to the morphological change information, wherein the morphological change information includes: a diameter change rate and a bending degree change rate of a position to be implanted in the target candidate vascular branch before and after the electrode stent is implanted, and the morphological change comprehensive index is positively correlated with both the diameter change rate and the bending degree change rate; The candidate vascular branch with the smallest comprehensive index of morphological change is selected as the final vascular branch.
2. The method according to claim 1, characterized in that The step of selecting the vascular branches that meet the implantation requirements of the electrode stent according to the branch morphology information of each vascular branch includes: For each vascular branch, determining the implantation difficulty coefficient of the target vascular branch according to the shape of the centerline of the target vascular branch and the caliber information; The vascular branches whose implantation difficulty coefficient is less than a preset difficulty coefficient threshold are screened out as the candidate vascular branches.
3. The method according to claim 2, characterized in that The step of determining the implantation difficulty coefficient of the target vascular branch according to the shape of the centerline of the target vascular branch and the caliber information comprises: Acquire a corner point on the center line of the target blood vessel branch, the corner point being a pixel point on the center line whose corresponding neighborhood pixel angle is smaller than a first preset angle; The neighborhood pixel angle of any target pixel point on the center line is: the angle formed by a first ray defined by the target pixel point pointing to the corresponding first neighborhood pixel point and a second ray defined by the target pixel point pointing to the corresponding second neighborhood pixel point, the first neighborhood pixel point is the nth pixel point on the center line before the target pixel point, the second neighborhood pixel point is the nth pixel point on the center line after the target pixel point, and n is a positive integer; Obtaining a specific angle corner point ratio of the center line, where the specific angle corner point ratio is equal to a ratio of the number of corner points on the center line whose corresponding neighborhood pixel angles are smaller than a second preset angle to the number of all corner points on the center line, where the second preset angle is smaller than the first preset angle; Determining the degree of vascular stenosis of the target vascular branch according to the diameter of each vascular segment in the target vascular branch; Obtaining a non-bending portion ratio of the center line, where the non-bending portion ratio is equal to a ratio of a length of the non-bending portion of the center line to a total length of the center line, and the non-bending portion is: a portion consisting of all pixel points on the center line and along the center line and between each corner point, the number of pixel points being greater than P; Obtaining the degree of distortion of the center line, the degree of distortion being equal to the ratio of the sum of the lengths of the ends of the curved parts corresponding to all the corner points along the center line to the sum of the straight line lengths of the ends of the curved parts corresponding to all the corner points, the curved parts corresponding to the corner points being: a part consisting of the corner points and all the pixel points whose number of pixel points between the center line and the corner points is less than or equal to P, the length of the ends along the center line being the length of the two ends of the curved parts along the center line, and the straight line length of the ends being the straight line length of the two ends of the curved parts; The implantation difficulty coefficient is determined based on the proportion of the specific angle corner points, the degree of stenosis of the blood vessel, the proportion of the non-bending part and the degree of distortion, wherein the implantation difficulty coefficient is positively correlated with the proportion of the specific angle corner points, the degree of stenosis of the blood vessel and the degree of distortion, and the implantation difficulty coefficient is negatively correlated with the proportion of the non-bending part.
4. The method according to claim 3, characterized in that The implantation difficulty coefficient is equal to the weighted sum of the proportion of the specific angle corner points, the degree of stenosis of the blood vessel, the inverse of the proportion of the non-bending part, and the degree of distortion.
5. The method according to claim 3, characterized in that: The step of determining the degree of stenosis of the target vascular branch according to the diameter of each vascular segment in the target vascular branch comprises: Determine a stenotic vascular segment according to the diameter of each vascular segment in the target vascular branch, wherein the stenotic vascular segment is a vascular segment whose ratio of the corresponding diameter to the diameter of each adjacent vascular segment is less than τ, wherein 0<τ≤1; Calculating the proportion of stenotic blood vessel segments in the target blood vessel branch, where the proportion of stenotic blood vessel segments is equal to the ratio of the sum of the lengths of all stenotic blood vessel segments in the target blood vessel branch to the total length of the target blood vessel branch; Calculating a total relative stenosis coefficient of the target vascular branch, wherein the total relative stenosis coefficient is equal to the sum of the relative stenosis coefficients of all the stenotic vascular segments, and the relative stenosis coefficient is equal to the reciprocal of the square root of the sum of the squares of the diameter ratios of the stenotic vascular segment to the corresponding adjacent vascular segments; The degree of vascular stenosis is calculated according to the proportion of the stenotic vascular segment and the total relative stenosis coefficient. The degree of vascular stenosis is equal to the product of the proportion of the stenotic vascular segment and the total relative stenosis coefficient.
6. The method according to any one of claims 2 to 5, characterized in that: In the step of selecting the vascular branches that meet the implantation requirements of the electrode stent according to the branch morphology information of each vascular branch, and before the step of determining the implantation difficulty coefficient of the target vascular branch according to the shape of the center line of the target vascular branch and the caliber information for each vascular branch, the method further includes: From all vascular branches, select those that meet the following conditions for subsequent processing: Condition 1: The vascular branch passes through the preset electrode implantation area; Condition 2: The part of the vascular branch located in the area where the electrode is to be implanted has a blood vessel with a length greater than or equal to l and a diameter greater than or equal to Φζ; Wherein, l is the length of the electrode bracket, Φ is the diameter of the electrode bracket, and ζ is the preset allowable expansion coefficient of the blood vessel diameter.
7. The method according to claim 1, characterized in that The comprehensive index of morphological change is equal to the square root of the sum of the squares of the diameter change rate and the curvature change rate.
8. The method according to claim 1, characterized in that The step of obtaining branch morphology information of each blood vessel branch in the blood vessel image includes: Segmenting the blood vessels in the blood vessel image by digital image processing or deep learning technology to obtain a blood vessel segmentation map; The halcon software toolkit is used to identify and extract each vascular branch in the vascular segmentation map, and the branch morphology information of each vascular branch is obtained.
9. The method according to claim 1, characterized in that: The finally selected vascular branch and the center line of the finally selected vascular branch are marked in the vascular image for use as electrode implantation navigation.
10. An intravascular electrode implantation auxiliary system, characterized in that: include: A branch acquisition module, configured to acquire branch morphological information of each vascular branch in the vascular image, wherein the branch morphological information includes: center line and caliber information corresponding to the vascular branch, wherein the caliber information includes: diameter of each vascular segment included in the vascular branch; A screening module, configured to screen out a vascular branch that meets the implantation requirements of the electrode stent according to the branch morphology information of each vascular branch as a candidate vascular branch; a simulation processing module configured to simulate, for each candidate vascular branch, a process of implanting an electrode stent in a target candidate vascular branch, obtain morphological change information of the target candidate vascular branch before and after the electrode stent is implanted, and determine a corresponding morphological change comprehensive index according to the morphological change information, wherein the morphological change information includes: a diameter change rate and a bending degree change rate of a to-be-implanted position in the target candidate vascular branch before and after the electrode stent is implanted, and the morphological change comprehensive index is positively correlated with both the diameter change rate and the bending degree change rate; The selection module is configured to select the candidate vascular branch with the smallest comprehensive index of morphological changes as the final vascular branch.
