Three-dimensional blood vessel reconstruction method and device based on DSA image
Through the projection space registration of DSA images and the cubic B-spline surface interpolation method, the problem of insufficient accuracy of three-dimensional blood vessel reconstruction in the existing technology is solved, and a high-precision three-dimensional blood vessel surface model is generated, which is suitable for multi-view DSA sequences. clinical needs.
Patent Information
- Application Number
- CN202411036961.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing three-dimensional blood vessel reconstruction methods based on DSA images are not accurate enough and cannot meet the needs of quantitative evaluation of stenosis areas that rely on the three-dimensional structure of blood vessels.
By obtaining at least 2 DSA images, performing projection space registration, reconstructing the 3D target blood vessel centerline and quadrilateral surface grid, using cubic B-spline surface interpolation method to generate a 3D blood vessel surface model, combined with iterative correction transformation and piecewise cubic Hermite interpolation. polynomial to improve reconstruction accuracy.
It significantly improves the accuracy and precision of the three-dimensional blood vessel surface model, is suitable for multiple DSA images, and is suitable for clinical high-precision three-dimensional lumen reconstruction from multiple perspectives, avoiding grid interlacing problems and ensuring the smoothness of the reconstruction results.
Smart Images

Figure CN118570399A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing, and in particular to a three-dimensional blood vessel reconstruction method, device and storage medium based on DSA images. Background Art
[0002] Digital subtraction angiography, or DSA imaging, is a technique that digitally subtracts the angiographic X-ray image data of the examined area before and after contrast agent injection to remove tissues such as bones, muscles, and air-containing cavities, and to contrast-enhance the luminal structure to achieve clear vascular imaging.
[0003] DSA imaging technology has a wide range of applications, including the heart's large blood vessels, coronary arteries, cervical and intracranial arteries, abdominal aorta and its branches, and limb large blood vessels. It is very effective in detecting stenosis or occlusion of various blood vessels, and has even become the clinical gold standard for detecting these parts. Of course, the DSA imaging method can only obtain two-dimensional angiography information. For situations where it is necessary to rely on the three-dimensional structure of the blood vessel to quantitatively evaluate the stenosis area, DSA images from two or even more projection angles can be used to implement three-dimensional reconstruction of the vascular lumen structure.
[0004] However, the accuracy of existing methods for reconstructing three-dimensional blood vessels based on DSA images is not high enough. Summary of the invention
[0005] Based on this, it is necessary to provide a three-dimensional vascular reconstruction method based on DSA images to address the problem that traditional methods are not accurate enough.
[0006] A three-dimensional blood vessel reconstruction method based on DSA images comprises the following steps: S100, obtaining at least 2 DSA images, S200, registering the projection space of each DSA image, S300, based on the registration result of step S200, reconstructing the centerline of the three-dimensional target blood vessel; S400, based on the result of the 3D target blood vessel centerline reconstruction in step S300, reconstructing the 3D target blood vessel quadrilateral surface mesh; S500: Generate and display a three-dimensional target blood vessel surface model.
[0007] The present application can generate a three-dimensional target blood vessel surface model more accurately through the above method. The above method of the present application can be applied to the case of 3 or more DSA images, and has good versatility. Since it can be applied to multiple DSA images, the accuracy is significantly improved.
[0008] In one of the embodiments, in step S200, when there are two DSA images, a standard DSA vascular geometric projection relationship is established, and corresponding M pairs of two-dimensional vascular bifurcation marker point coordinates are found on the two DSA images. The three-dimensional registration corresponding points are found through the DSA vascular geometric projection relationship established above, and then the correction transformation of the second projection viewing angle relative to the first projection viewing angle is calculated, and the method is gradually approximated in an iterative manner.
[0009] In one of the embodiments, in step S200, when the number of DSA images is greater than or equal to 3, each projection viewing angle is calibrated in ascending order, and then each projection viewing angle is calibrated in descending order to achieve projection space alignment between multiple DSA images.
[0010] In one embodiment, in step S300, the three-dimensional target blood vessel centerline reconstruction specifically includes: The corresponding target blood vessel centerlines in the two DSA images are composed of two-dimensional coordinate point sets, which are recorded as and ; and the point set of the 3D target blood vessel centerline is recorded as , S310, yes and The point set is obtained by sampling at equal intervals along the center line path and ; S320, S1 is a vertex of the triangle, S1 is the emission source of the first DSA image, The two adjacent points are the other two vertices of the triangle, forming a set of spatial triangles in order. ; S330, with S2 as a vertex of the triangle, S2 is the emission source of the second DSA image, The two adjacent points are the other two vertices of the triangle, forming a set of spatial triangles in order. ; S340, in order For each triangle in The intersection of each triangle in the space triangle intersection strategy is used here to determine. If there is an intersection, the overlap of the two triangles is a line segment. The center position of the line segment is calculated and stored in the interpolation point set. ; S350, from the interpolation point set Construct a piecewise cubic Hermite interpolation polynomial, and then interpolate at a certain interval to obtain the 3D target blood vessel centerline point set .
[0011] In one embodiment, in step S300, When there are more than or equal to 3 DSA images, firstly calculate the 3D target blood vessel centerline point set of the first two projection angles according to the method of steps S310 to S350. , and then determine the final 3D target blood vessel centerline point set in the following way: S361, will Project it onto the DSA plane of the second DSA image, and use the two-dimensional centerline coordinate point set of the second projection angle and the two-dimensional centerline coordinate point set of the third projection angle to calculate a new three-dimensional target blood vessel centerline point set. ; S362, calculate in sequence according to the method of step S361 , until the three-dimensional target center line point set between the last two projection perspectives is obtained ; S363, will Project it onto the DSA image of the second-to-last projection angle, and combine it with the two-dimensional centerline coordinate point set of the third-to-last projection angle to calculate the new three-dimensional target blood vessel centerline point set ; S364: Calculate in reverse order according to step S363 , until the 3D target centerline point set between the last two projection perspectives is obtained, that is, the 3D target blood vessel centerline point set is obtained. .
[0012] In one embodiment, in step S400, reconstructing the three-dimensional target blood vessel quadrilateral surface mesh includes: calculating the three-dimensional surface mesh point cloud of the target blood vessel using a cubic B-spline surface interpolation method.
[0013] In one embodiment, in step S400, the three-dimensional surface grid point cloud of the target blood vessel is calculated using a cubic B-spline surface interpolation method, specifically including: S410, calculating the three-dimensional target blood vessel centerline point set The tangent vectors at each point , then the plane equation of the lumen cross section is expressed as , point and the tangent vector Projected onto two DSA projection planes, denoted as and ; Extract the contours of the two-dimensional target blood vessel segmentation mask images corresponding to the s DSA images respectively to obtain a two-dimensional contour point set ; S420, s projection planes respectively pass through and perpendicular to the tangent vector The s straight lines and the two-dimensional contour point set They intersect at two points, denoted as ; S430, for s groups of intersection points Back-project, ray and cross-section plane separately The three-dimensional intersection point of ; S440, calculate the radius of the cross section of the lumen With Center : , , S450: Determine a three-dimensional interpolation point set for surface mesh interpolation.
[0014] In one embodiment, in step S450, determining a set of three-dimensional interpolation points for surface mesh interpolation specifically includes: S451, the first lumen cross section at the centerline of the three-dimensional target vessel On, with The center of the circle is on the unit circle at intervals Equal arc sampling obtains K sampling points, denoted as ; S452, calculate from arrive The rigid space transformation is used to transform the point set Transform to ; S453, calculate in the same way arrive The spatial transformation of the point set Transform to ; S454, on the plane General Each point Scale each to the center times, That is, the cross-sectional radius of the lumen is obtained, and ,in ; S455: As in step S454, the sampling point set of each lumen cross section is scaled, and the scaling ratio is the radius of the current lumen cross section. .
[0015] In one embodiment, in step S452, from arrive The rigid space transformation specifically includes rotation and translation, and the translation amount is and The difference between them, the rotation is by a unit length vector and Calculated, Specifically, , , , define the skew-symmetric cross product matrix : , so, and The rotation matrix between is calculated by , Therefore, there is ,from arrive The spatial transformation of and Calculated, The set of sampling points of each cross-section lumen calculated by the above method As interpolation points for cubic B-spline surface reconstruction.
[0016] A computer device comprises: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus, and the memory is used to store at least one executable instruction, wherein the executable instruction enables the processor to execute an operation corresponding to the method described. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 Flow chart of a three-dimensional blood vessel reconstruction method based on DSA images according to an embodiment of the present application.
[0018] Figure 2 Schematic diagram of the primary and secondary positioning angles and local coordinate system of the DSA image. Figure 2 (a) is a schematic diagram of the primary and secondary positioning angles of the projection geometry of the DSA image; (b) is a schematic diagram of the DSA imaging local coordinate system of two projection viewing angles.
[0019] Figure 3 Figure 1 is a schematic diagram of the projection geometry of the DSA image. Figure 3 , the projection relationship of the DSA image can be derived as the basis for spatial projection calibration.
[0020] Figure 4 Schematic diagram of epipolar geometry before and after spatial projection calibration, where: Figure 4 The first and second rows are schematic diagrams of epipolar geometry before calibration, and the third and fourth rows are schematic diagrams of epipolar geometry after calibration.
[0021] Figure 5 This is a schematic diagram showing the superposition of the intermediate results of 3D reconstruction according to the DSA projection viewing angle. Figure 5 Figure (a) is a schematic diagram of a three-dimensional centerline point set. The upper and lower figures of Figure (a) are taken from two projection perspectives. Figure 5 Figure (b) is a schematic diagram of the curve connecting points on the three-dimensional blood vessel wall. The upper and lower figures of Figure (b) are taken from two projection perspectives. Figure 5 Figure (c) is a schematic diagram of the three-dimensional lumen cross-section contour point curve. The upper and lower figures of Figure (c) are taken from two projection perspectives.
[0022] Figure 6 A schematic diagram showing the reconstructed three-dimensional lumen surface model of the target blood vessel, which is superimposed and displayed in the DSA projection direction. Figure 6 The two sets of pictures in the figure are taken from two projection perspectives. DETAILED DESCRIPTION
[0023] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0024] like Figure 1 As shown, an embodiment of the present application provides a three-dimensional blood vessel reconstruction method based on DSA images, comprising the following steps: S100, obtaining at least 2 DSA images, S200, registering the projection space of each DSA image, S300, based on the registration result of step S200, reconstruct the centerline of the three-dimensional target blood vessel, S400, based on the result of the 3D target blood vessel centerline reconstruction in step S300, reconstructing the 3D target blood vessel quadrilateral surface mesh, S500: Generate and display a three-dimensional target blood vessel surface model.
[0025] In one of the embodiments, in step S200, when there are two DSA images, a standard DSA vascular geometric projection relationship is established, and corresponding M pairs of two-dimensional vascular bifurcation marker coordinates are found on the two DSA images. The three-dimensional registration corresponding points are found through the DSA vascular geometric projection relationship established above, and then the correction transformation of the second projection angle relative to the first projection angle is calculated, and the iteration method is used to gradually approximate. Among them, the first DSA image corresponds to the first projection angle, and the second DSA image corresponds to the second projection angle. Each DSA image is a projection image taken at a specific projection orientation after adjusting the C-arm. This orientation is determined by the two angle parameters of Primary Projection Angle and Secondary Projection Angle, which are respectively rotated along the X-axis and Z-axis in the anatomical space. The imaging device will record this information in the tag of the DICOM file when collecting.
[0026] Specifically, the above-mentioned establishment of the standard DSA blood vessel geometric projection relationship is achieved through the following method.
[0027] DSA image data exported from imaging devices are generally stored in DICOM (Digital Imaging and Communications in Medicine) format, which contains the geometric projection tag information (with errors) of each projection view, including the following information: Positioner Primary Angle, Positioner Secondary Angle, Distance Source to Detector, Distance Source to Patient, Imager Pixel Spacing.
[0028] For ease of description, the primary and secondary positioning angles are respectively and The distances from the source to the detector and the patient center are expressed by and Indicates that the imaging pixel spacing along the horizontal and vertical directions is and Indicates, and k=1,2 indicates the kth projection viewing direction. According to the DICOM protocol description, Figure 2 As shown in Figure (a), and The angle can determine the projection angle; and the patient isocenter positions in the two directions will theoretically intersect at the origin O of the reference coordinate system OXYZ. Figure 2 As shown in Figure (b), any point in the reference coordinate system The coordinate system of the Kth projection view The position in is defined as: (1), here, The OXYZ coordinate axis is transformed and aligned to the coordinate system The rotation matrix of (2), here, and are the rotation matrices for rotating around the X-axis and Z-axis of the reference coordinate system. Figure 3 As shown, for point p, its projection coordinates at the kth projection viewing angle are The following relations are satisfied: (3), Right now (4), make , , ,have: (5), Combining formula 1 and 5, we have: (6), make , then projected onto The ray unit direction vector is defined as: (7), In the reference coordinate system OXYZ, the source position S of the Kth projection angle is K It can be calculated by formula 8: (8).
[0029] The standard DSA vascular geometric projection relationship is defined by the above method.
[0030] Furthermore, when there are two DSA images, a standard DSA vascular geometric projection relationship is established, and corresponding M pairs of two-dimensional vascular bifurcation marker coordinates are found on the two DSA images. The three-dimensional registration corresponding points are found through the DSA vascular geometric projection relationship established above, and then the correction transformation of the second projection angle relative to the first projection angle is calculated, and the iteration method is gradually approximated, which specifically includes the following steps: 1. Select the corresponding DSA images The coordinates of the two-dimensional vascular bifurcation marking points are recorded as ; 2. According to formula (7) and formula (8), calculate the two projection rays of the mth pair of two-dimensional marker point coordinates and calculate the corresponding points for registration and ; 3. M pairs of corresponding points for 3D registration Compute the rigid correction transformation for the jth iteration: and ; 4. Correct the emission source position of the second projection perspective and the projected unit direction vector ; 5. Repeat steps 2 to 4 for the j+1th iteration until convergence.
[0031] In the above process, step 2 needs to be and Starting from the projection line, find the corresponding points for registration and Here, the shortest distance between two projection lines is calculated, and the intersection point of the straight line where the shortest distance lies and the two projection lines is considered to be the corresponding point for registration.
[0032] Specifically, define the projection to and The two rays are and ,have: (9), Here, order , , then Formula 9 can be written as (10), The line that satisfies the shortest distance is the only line that is perpendicular to both rays at the same time, so: (11), Combining formulas 10 and 11, we have: (12), For the convenience of description, , , , , , it can be deduced from formula 12: (13), here, , it can be calculated from formula 13 and .
[0033] In step 3 of the above process, the three-dimensional rigid correction transformation is obtained by solving the closed-form solution of the following problem: (14), The calculation process includes: 1. Calculate two point sets separately and The mean of the point set is obtained by and ; 2. Order and ,definition matrix ; 3. Perform SVD decomposition on H , we get the closed-form solution of the rotation and translation correction transformation: (15), (16), By implementing the above calibration process, the projection space of the two DSA images can be registered. The epipolar geometric projection images before and after calibration are shown in Figure 4 As shown, three-dimensional vascular lumen reconstruction is performed based on the calibrated projection geometry.
[0034] Furthermore, in step S200, when the number of DSA images is greater than or equal to 3, each projection viewing angle is calibrated in ascending order, and then each projection viewing angle is calibrated in descending order to achieve projection space registration between multiple DSA images. That is, a serial number is defined for each DSA image, and then the images are processed in the positive order of the serial number, and then the subsequent descending order is processed in the reverse order. That is, for the spatial projection calibration of multiple (greater than 2) DSA images, it can be expanded on the basis of the calibration method of the above two DSA images, and the next projection viewing angle is calibrated in ascending order with the previous projection viewing angle as a reference, and then the projection space registration between multiple DSA images is achieved after calibrating each projection viewing angle in descending order.
[0035] In one embodiment, in step S300, the three-dimensional target blood vessel centerline reconstruction specifically includes: the corresponding target blood vessel centerlines in the two DSA images are composed of two-dimensional coordinate point sets, which are respectively recorded as and , and the point set of the 3D target blood vessel centerline is recorded as , S310, yes and The point set is obtained by sampling at equal intervals along the center line path and Here, the distance between adjacent points is not too close, which can be achieved by setting a threshold, such as the distance between two adjacent sampling points is greater than 3 pixels; S320, with S1 as a vertex of the triangle, S1 is the focal point (emitter, similar to a point light source) of the first DSA image, which is the position information that can be directly obtained from the DICOM image data file collected by the device. The two adjacent points are the other two vertices of the triangle, forming a set of spatial triangles in order. ; S330, with S2 as a vertex of the triangle, S2 is the emission source of the second DSA image, The two adjacent points are the other two vertices of the triangle, forming a set of spatial triangles in order. ; S340, in order For each triangle in The intersection of each triangle in the space triangle intersection strategy is used here to determine. If there is an intersection, the overlap of the two triangles is a line segment. The center position of the line segment is calculated and stored in the interpolation point set. ; S350, from the interpolation point set Construct a piecewise cubic Hermite interpolation polynomial, and then interpolate at a certain interval to obtain the 3D target blood vessel centerline point set The certain spacing here may be in the range of 2 to 9 mm, for example, the spacing may be 3 mm apart for interpolation.
[0036] Specifically, the spatial triangle intersection strategy of step S340 is as follows: 1. Determine the vertex of T1 relative to the plane where T2 is located. The relative position of T1, if the vertices of T1 are located If they are on the same side of , there is no intersection, otherwise the vertices are marked with positive and negative signs on different sides; 2. In the same way, determine the vertex of T2 relative to the plane where T1 is located. The relative position of 3. Compare the vertex signs of T1 and T2 and rearrange the vertices, recorded as and , determine whether the intersection condition of formula 17 is met based on the rearranged vertices, such as whether the calculated intersection line segments are met.
[0037] (17), here, and The determinant representing the four points is: (18), In the above process, step S350 The calculation is performed by constructing a piecewise cubic Hermite interpolation polynomial. Compared with other spline polynomials, the interpolation result of this interpolation polynomial is flatter and more accurate at places with smaller curvatures; and the curvature of the center line obtained by interpolation with a piecewise linear interpolation polynomial at each point is smoother and more accurate.
[0038] Specifically, calculate The distance between adjacent points ,in , calculate the difference between adjacent points according to the XYZ axis, that is: (19), right , calculate the weight , , the polynomial coefficients can be calculated: (20), Note that for the left boundary q=1, , ; For the right boundary q=Q-1, we have , In addition, for edge cases, in addition to weight differences, the following judgments need to be made: (twenty one), (twenty two), Based on the above interpolation polynomial coefficients, three-dimensional centerline interpolation is performed with a fixed step size Sampling position to be interpolated , until the cumulative amount meets , while defining the segment set ,like ,make , and use formulas 23 and 24 to calculate the interpolation point position The coordinates of the three-dimensional space point at : (twenty three), (twenty four), Therefore, if Figure 5 (a) The example reconstructs the 3D centerline of the target blood vessel, which is a prerequisite for the vascular quadrilateral surface mesh reconstruction step of the complete reconstruction process.
[0039] In one embodiment, in step S300, When there are more than or equal to 3 DSA images, firstly calculate the 3D target blood vessel centerline point set of the first two projection angles according to the method of steps S310 to S350. , and then determine the final 3D target blood vessel centerline point set in the following way: S361, will Project it onto the DSA plane of the second DSA image, and use the two-dimensional centerline coordinate point set of the second projection angle and the two-dimensional centerline coordinate point set of the third projection angle to calculate a new three-dimensional target blood vessel centerline point set. ; S362, calculate in sequence according to the method of step S361 , until the three-dimensional target center line point set between the last two projection perspectives is obtained ; S363, will Project it onto the DSA image of the second-to-last projection angle, and combine it with the two-dimensional centerline coordinate point set of the third-to-last projection angle to calculate the new three-dimensional target blood vessel centerline point set ; S364: Calculate in reverse order according to step S363 , until the 3D target centerline point set between the last two projection perspectives is obtained, that is, the 3D target blood vessel centerline point set is obtained. .
[0040] Similar to the imaging space projection calibration method of multiple DSA images, the strategy of sequential traversal and reverse traversal is also used here to calculate the final three-dimensional target centerline.
[0041] In one embodiment, in step S400, reconstructing the three-dimensional target blood vessel quadrilateral surface mesh includes: calculating the three-dimensional surface mesh point cloud of the target blood vessel using a cubic B-spline surface interpolation method.
[0042] In one embodiment, in step S400, the three-dimensional surface grid point cloud of the target blood vessel is calculated using a cubic B-spline surface interpolation method, specifically including: S410, calculating the three-dimensional target blood vessel centerline point set The tangent vectors at each point , then the plane equation of the lumen cross section is expressed as , point and the tangent vector Projected onto two DSA projection planes, denoted as and , where the DSA projection plane can be regarded as the ray receiving panel of the DSA imaging device in actual physics, but here a square plane in three-dimensional space is used to describe this geometric object. This plane is part of the construction of the three-dimensional geometric model, so it must be defined; the contours of the two-dimensional target blood vessel segmentation mask images corresponding to the s DSA images are extracted respectively to obtain a two-dimensional contour point set ; S420, s projection planes respectively pass through and perpendicular to the tangent vector The s straight lines and the two-dimensional contour point set They intersect at two points, denoted as ; S430, for s groups of intersection points Back-project, ray and cross-section plane separately The three-dimensional intersection point of ; S440, calculate the radius of the cross section of the lumen With Center : (25), (26) , S450: Determine a three-dimensional interpolation point set for surface mesh interpolation.
[0043] In the above process, step S430 involves a ray intersecting a plane, which must have only one point. The three-dimensional ray equation is defined as , where p0 is the source position of the DSA projection geometry, substituting the ray equation into In, you can get , the intersection point can be determined by t.
[0044] In one embodiment, in step S450, determining a set of three-dimensional interpolation points for surface mesh interpolation specifically includes: S451, the first lumen cross section at the centerline of the three-dimensional target vessel On, with The center of the circle is on the unit circle at intervals Equal arc sampling obtains K sampling points, denoted as ; S452, calculate from arrive The rigid space transformation is used to transform the point set Transform to ; S453, calculate in the same way arrive The spatial transformation of the point set Transform to ; S454, on the plane General Each point Scale each to the center times, That is, the cross-sectional radius of the lumen is obtained, and ,in ; S455: As in step S454, the sampling point set of each lumen cross section is scaled, and the scaling ratio is the radius of the current lumen cross section. .
[0045] In one embodiment, in step S452, from arrive The rigid space transformation specifically includes rotation and translation, and the translation amount is and The difference between them, the rotation is by a unit length vector and Calculated, Specifically, , , , define the skew-symmetric cross product matrix : (27), so, and The rotation matrix between is calculated by the following formula: (28), Therefore, there is ,from arrive The spatial transformation of and Calculated, The set of sampling points of each cross-section lumen calculated by the above method As interpolation points for cubic B-spline surface reconstruction.
[0046] like Figure 5 As shown in Figure (c), each set of sampling points constitutes a closed curve, which can be used as the interpolation point for cubic B-spline surface reconstruction to ensure the smoothness of the interpolation result and avoid potential grid point distortion problems. Furthermore, according to The NURBSBook, the surface interpolation formula is as follows: (29), here, and The interpolation position is defined; p is the spline degree, such as the cubic spline used in this application, then p=3; m and n are the number of spline curve nodes along the target blood vessel direction and along the cross section. Here, the curve along the target blood vessel direction is a clamped non-closed curve, while the curve along the cross section is closed, and its node vectors satisfy: (30), (31), In formula 30, , ; In formula 31, the nodes on the boundary satisfy: (32), In formula 29, and is a B-spline basis function that satisfies the following relationship (33), In formula 29, is the control point of the B-spline surface, which is composed of the interpolation point set For each set of interpolation points , solve the following linear system: (34), in, (35), (36), (37), It should be noted that i in formulas 36 and 37 and In is equivalent, and The linear system of formula 34 can be solved by least squares fitting to obtain the control point position , and in Formula 35 The following strategy is used to solve the problem: (38), Here, e is The adjustment factor of the range. is a set of interpolation points sampled with equal arc on the circle, so for different i, The calculation results are the same. For different distances between interpolation points, find The mean , and then substitute into formula 35 to solve formula 34, and formula 31 is rewritten as: (39), The calculation of formula 32 is based on For formula 30 part, the equally spaced values of (0,1) can be directly calculated In this way, the blood vessel surface grid point interpolation can be performed based on formula 29, taking a fixed interval and exist and The range sampling interpolation position is substituted into Formula 29 to calculate the three-dimensional coordinates of the surface grid points.
[0047] The above-mentioned process steps for reconstructing the 3D target blood vessel quadrilateral surface mesh for multiple DSA images are consistent with the case of two DSA images, that is, the above-mentioned method is applicable to the case of 2, 3 or more DSA images.
[0048] For step S500, the polygon mesh data type vtkPolyData of The Visualization Toolkit (VTK) is specifically generated. The Cell unit of the mesh consists of neighborhood 2 2 The grid points are constructed in a clockwise manner. The generated vtkPolyData format data can be saved as regular .stl format surface model data for display. The reconstruction results are as follows Figure 6 shown.
[0049] Through the above analysis, it can be seen that this application has the following beneficial effects: 1. A multi-view DSA spatial projection calibration method is proposed. This calibration method is based on the projection geometry information recorded during DSA imaging as the initial state, and uses the found registration corresponding points to iteratively eliminate the spatial errors between them, which is simple and ingenious. 2. Compared with the existing related patents, which basically assume that spatial calibration has been completed, the present invention starts from the initial problem of imaging acquisition, which is closer to actual clinical needs; 3. A method for determining the 3D target vessel centerline from the 2D target vessel centerline point set is proposed, which combines computer graphics geometry intersection test with piecewise cubic Hermite interpolation polynomials to ensure the accuracy of reconstruction and accuracy in flat and curvature areas; 4. The present invention extends the proposed method of reconstructing three-dimensional vascular structure from two DSA images to the case of multiple DSA images, allowing the actual clinical collection of DSA sequences with more projection orientations for high-precision three-dimensional lumen reconstruction; 5. In the calculation process of reconstructing the 3D grid point cloud, a new strategy is adopted to associate the correspondence between the circular lumen contour points on each 3D cross section, ensuring the smoothness of the surface interpolation process and avoiding the potential problem of grid interleaving.
[0050] An embodiment of the present application also provides a computer device, which includes: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus, and the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the described method.
[0051] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A three-dimensional blood vessel reconstruction method based on DSA images, characterized in that: include: S100, obtaining at least 2 DSA images, S200, registering the projection space of each DSA image, S300, based on the registration result of step S200, reconstruct the centerline of the three-dimensional target blood vessel, S400, based on the result of the 3D target blood vessel centerline reconstruction in step S300, reconstructing the 3D target blood vessel quadrilateral surface mesh, S500, generating and displaying a three-dimensional target blood vessel surface model; In step S200, when there are two DSA images, a standard DSA vascular geometric projection relationship is established, and corresponding M pairs of two-dimensional vascular bifurcation marker point coordinates are found on the two DSA images. The three-dimensional registration corresponding points are found through the DSA vascular geometric projection relationship established above, and then the correction transformation of the second projection viewing angle relative to the first projection viewing angle is calculated, and the iteration method is used to gradually approximate.
2. The three-dimensional blood vessel reconstruction method based on DSA images according to claim 1, characterized in that: In step S200, when the number of DSA images is greater than or equal to 3, each projection viewing angle is calibrated in ascending order, and then each projection viewing angle is calibrated in descending order to achieve projection space registration among multiple DSA images.
3. The three-dimensional blood vessel reconstruction method based on DSA images according to claim 1, characterized in that: In step S300, the three-dimensional target blood vessel centerline reconstruction specifically includes: The corresponding target blood vessel centerlines in the two DSA images are composed of two-dimensional coordinate point sets, which are recorded as and ; and the point set of the 3D target blood vessel centerline is recorded as , S310, yes and The point set is obtained by sampling at equal intervals along the center line path and ; S320, with S1 being a vertex of the triangle, S1 being the emission source of the first DSA image, The two adjacent points are the other two vertices of the triangle, forming a set of spatial triangles in order. ; S330, with S2 as a vertex of the triangle, S2 is the emission source of the second DSA image, The two adjacent points are the other two vertices of the triangle, forming a set of spatial triangles in order. ; S340, in order For each triangle in The intersection of each triangle in the space triangle intersection strategy is used here to determine. If there is an intersection, the overlap of the two triangles is a line segment. The center position of the line segment is calculated and stored in the interpolation point set. ; S350, from the interpolation point set Construct a piecewise cubic Hermite interpolation polynomial, and then interpolate at a certain interval to obtain the 3D target blood vessel centerline point set .
4. The three-dimensional blood vessel reconstruction method based on DSA images according to claim 3, characterized in that: In the step S300, When there are more than or equal to 3 DSA images, firstly calculate the 3D target blood vessel centerline point set of the first two projection angles according to the method of steps S310 to S350. , and then determine the final 3D target blood vessel centerline point set using the following method: S361, will Project it onto the DSA plane of the second DSA image, and use the two-dimensional centerline coordinate point set of the second projection angle and the two-dimensional centerline coordinate point set of the third projection angle to calculate a new three-dimensional target blood vessel centerline point set. ; S362, calculate in sequence according to the method of step S361 , until the three-dimensional target center line point set between the last two projection perspectives is obtained ; S363, will Project it onto the DSA image of the second-to-last projection angle, and combine it with the two-dimensional centerline coordinate point set of the third-to-last projection angle to calculate the new three-dimensional target blood vessel centerline point set ; S364: Calculate in reverse order according to step S363 , until the 3D target centerline point set between the last two projection perspectives is obtained, that is, the 3D target blood vessel centerline point set is obtained. .
5. The three-dimensional blood vessel reconstruction method based on DSA images according to claim 1, characterized in that: In step S400, the reconstruction of the three-dimensional target blood vessel quadrilateral surface mesh includes: calculating the three-dimensional surface mesh point cloud of the target blood vessel using a cubic B-spline surface interpolation method.
6. The three-dimensional blood vessel reconstruction method based on DSA images according to claim 5, characterized in that: In step S400, the three-dimensional surface grid point cloud of the target blood vessel is calculated using a cubic B-spline surface interpolation method, which specifically includes: S410, calculating the three-dimensional target blood vessel centerline point set The tangent vectors at each point , then the plane equation of the lumen cross section is expressed as , point and the tangent vector Projected onto two DSA projection planes, denoted as and ; Extract the contours of the two-dimensional target blood vessel segmentation mask images corresponding to the s DSA images respectively to obtain a two-dimensional contour point set ; S420, s projection planes respectively pass through and perpendicular to the tangent vector The s straight lines and the two-dimensional contour point set They intersect at two points, denoted as ; S430, for s groups of intersection points Back-project, ray and cross-section plane separately The three-dimensional intersection point of ; S440, calculate the radius of the cross section of the lumen With Center : , , S450: Determine a three-dimensional interpolation point set for surface mesh interpolation.
7. The three-dimensional blood vessel reconstruction method based on DSA images according to claim 6, characterized in that: In the step S450, determining a set of three-dimensional interpolation points for surface mesh interpolation specifically includes: S451, the first lumen cross section at the centerline of the three-dimensional target vessel On, with The center of the circle is on the unit circle at intervals Equal arc sampling obtains K sampling points, denoted as ; S452, calculate from arrive The rigid space transformation is used to transform the point set Transform to ; S453, calculate in the same way arrive The spatial transformation of the point set Transform to ; S454, on the plane General Each point Scale each to the center times, That is, the cross-sectional radius of the lumen is obtained, and ,in ; S455: As in step S454, the sampling point set of each lumen cross section is scaled, and the scaling ratio is the radius of the current lumen cross section. .
8. The three-dimensional blood vessel reconstruction method based on DSA images according to claim 7, characterized in that: In step S452, from arrive The rigid space transformation specifically includes rotation and translation, and the translation amount is and The difference between them, the rotation is by a unit length vector and Calculated, Specifically, , , , define the skew-symmetric cross product matrix : , so, and The rotation matrix between is calculated by , Therefore, there is from arrive The spatial transformation of and Calculated, The set of sampling points of each cross-section lumen calculated by the above method As interpolation points for cubic B-spline surface reconstruction.
9. A computer device, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus, and the memory is used to store at least one executable instruction, wherein the executable instruction enables the processor to perform an operation corresponding to the method as described in any one of claims 1 to 8.
Citation Information
Cited By
Blood vessel three-dimensional reconstruction method and device based on multi-view angiography image, computer equipment and storage medium
CN121414994A
