A three-dimensional image reconstruction system of fetal head based on two-dimensional ultrasound slice images
Patent Information
- Application Number
- CN202410106534.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-25
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-01-25
Smart Images

Figure CN117934717B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of medical image processing, and in particular relates to a fetal head three-dimensional image reconstruction system based on two-dimensional ultrasonic slice images. Background Art
[0002] In recent years, various ultrasound imaging technologies have become very mature. In clinical medicine, attending physicians can use ultrasound imaging technology to make a general analysis of the physiological tissue conditions in the target patient. Although existing ultrasound technology can assist doctors to a great extent and provide doctors with more intuitive medical reference images, traditional ultrasound imaging technology cannot provide doctors with more intuitive three-dimensional images. It can only display a two-dimensional image of a certain cut surface of the lesion. This requires clinicians to rely on their professional level and industry experience to combine ultrasound images from different angles to conduct a comprehensive analysis of the examined area.
[0003] In order to better serve patients and avoid being affected by doctors' subjective factors, medical image 3D reconstruction technology came into being. This technology can integrate 2D information into 3D, replacing doctors' subjective judgment based on their own clinical experience. Medical image 3D reconstruction technology plays a very important role in many medical clinical applications, especially in the detection of fetal head development indicators in obstetrics. However, since this technology is still in its infancy, the accuracy of 3D reconstruction of fetal heads is still low, and further new methods are urgently needed to promote the development of medical 3D image reconstruction technology. Summary of the invention
[0004] The purpose of the present invention is to solve the problem of low accuracy in the current reconstruction of three-dimensional images of the fetal head, and to propose a three-dimensional image reconstruction system for the fetal head based on two-dimensional ultrasonic slice images.
[0005] The technical solution adopted by the present invention to solve the above technical problems is:
[0006] A fetal head three-dimensional image reconstruction system based on two-dimensional ultrasonic slice images, the system comprises a two-dimensional ultrasonic slice image processing module, a sandwich isosurface set matrix acquisition module and a three-dimensional image reconstruction module, wherein:
[0007] The two-dimensional ultrasonic slice image processing module is used to set the number of image points in each layer of the two-dimensional ultrasonic slice image of the fetal head to M×N;
[0008] The interlayer contour surface set matrix acquisition module is used to obtain the contour surface set of each interlayer according to all image points in the two-dimensional ultrasonic slice image of each layer of the fetal head, and construct the contour surface set matrix P according to the contour surface set of each interlayer;
[0009] The three-dimensional image reconstruction module is used to reconstruct the three-dimensional image according to the isosurface set matrix P.
[0010] Furthermore, the working process of the sandwich contour surface set matrix acquisition module is as follows:
[0011] Step a21, according to the stacking order of each layer of the two-dimensional ultrasound slice image of the fetal head in the three-dimensional space, converting L×M×N image points of the L-layer two-dimensional ultrasound slice image of the fetal head into a basic mathematical space regular cube model of the sandwich;
[0012] Then, according to the basic mathematical space regular cube model corresponding to each interlayer, the set matrix of the basic mathematical space regular cube model of each interlayer is obtained, and the set matrix of the basic mathematical space regular cube model of the i-th interlayer is recorded as A i , i=1,2,...,L-1;
[0013] Step a22: Set the matrix A i With the spatial coefficient matrix B i Combined, we get the basic mathematical space cube model set matrix M of the sandwich with space coefficients i , i=1,2,...,L-1;
[0014] According to the set matrix M i Get the collective transposed matrix A of the basic mathematical space cube model of the sandwich:
[0015]
[0016] Step a23, each center position coordinate in the matrix A is the coordinate of an image point of the interlayer, the coordinates of each image point of the interlayer are standardized and digitized respectively, and the depth of each image point of the interlayer is calculated according to the result of the standardized digitization, and then the average value Cd of the depth of all image points of the interlayer is calculated;
[0017] For any basic mathematical space cube model of the first interlayer, if the depth of the center position of the basic mathematical space cube model is equal to Cd, then the eight image points corresponding to the basic mathematical space cube model are connected to obtain the isosurface of the basic mathematical space cube model; otherwise, if the depth of the center position of the basic mathematical space cube model is not equal to Cd, then there is no need to process the basic mathematical space cube model;
[0018] After judging all the basic mathematical space cube models of the first interlayer, the obtained isosurfaces are connected to form the isosurface set P1 of the first interlayer;
[0019] Similarly, the set of isosurfaces of each interlayer is obtained respectively;
[0020] Gather the isosurface sets of each interlayer to obtain the isosurface set matrix P of all interlayers:
[0021]
[0022] Among them, P1 is the set of isosurfaces of the first interlayer, P L-1 is the set of isosurfaces of the L-1th interlayer.
[0023] Furthermore, the specific process of step a21 is as follows:
[0024] Step a211, establish the following three composition conditions, and randomly select 8 image points from all L×M×N image points;
[0025] Condition 1: The eight selected image points are the vertices of a regular six-sided cube in three-dimensional space.
[0026] Condition 2: The side length of the regular six-sided cube composed of the selected 8 pixels is the smallest;
[0027] Condition 3: The selected 8 pixels are allowed to be shared by adjacent regular hexagonal cubes, and two adjacent regular hexagonal cubes can share at most 4 image points.
[0028] When the selected 8 image points satisfy the three composition conditions at the same time, the space regular six-sided cube composed of the selected 8 pixel points is a basic mathematical space regular cube model;
[0029] Then, according to all L×M×N image points, (L-1)×(M-1)×(N-1) basic mathematical space cube models are obtained, and each interlayer corresponds to (M-1)×(N-1) basic mathematical space cube models;
[0030] Step a212: for the ith interlayer, according to all the basic mathematical space cube models of the ith interlayer, obtain the set matrix A of the basic mathematical space cube models of the ith interlayer i .
[0031] Furthermore, the set matrix A of the basic mathematical space cube model of the i-th interlayer i for:
[0032]
[0033] Among them, A 11 , A 1(M-1) , A (N-1)1 , A(N-1)(M-1) Represents the center position of each basic mathematical space cube model of the i-th mezzanine.
[0034] Furthermore, the spatial coefficient matrix B i for:
[0035]
[0036] Among them, b 11 , b 1(M-1) , b (N-1)1 , b (N-1)(M-1) Both are matrix B i The elements in .
[0037] Furthermore, the set matrix M i for:
[0038]
[0039] The superscript T represents the transpose of the matrix.
[0040] Furthermore, the coordinates of each image point of the interlayer are standardized and digitized respectively, which is specifically:
[0041] For any image point of the interlayer, select the four image points closest to the image point from matrix A, and record the coordinates of the four selected image points in three-dimensional space as (x1, y1, z1), (x2, y2, z2), (x3, y3, z3), and (x4, y4, z4);
[0042] x'=x0+(c-s1)(x1-x2)(x2-x3)(x3-x4) / (s2-s1)
[0043] y'=y0+(c-s1)(y1-y2)(y2-y3)(y3-y4) / (s2-s1)
[0044] z'=z0+(c-s1)(z1-z2)(z2-z3)(z3-z4) / (s2-s1)
[0045] Among them, (x', y', z') are the coordinates of the image point in the three-dimensional space after normalization and digitization, x0 = (x1+x2+x3+x4) / 4, y0 = (y1+y2+y3+y4) / 4, z0 = (z1+z2+z3+z4) / 4, s1 is the lower limit of the normalized threshold, s2 is the upper limit of the normalized threshold, and c is the middle value of the normalized threshold.
[0046] Furthermore, the depth of the image point is calculated according to the result of the standardized numeration, specifically:
[0047]
[0048] Wherein, Cd' is the depth calculated based on (x', y', z').
[0049] Furthermore, the working process of the 3D image reconstruction module is as follows:
[0050] Step b1, for any basic mathematical space cube model in the first interlayer, normalize the original coordinates of each vertex in the basic mathematical space cube model;
[0051] For the lower surface of the basic mathematical space cube model, the coordinate vector from the lower left vertex to the upper left vertex is recorded as U0, the coordinate vector from the upper left vertex to the upper right vertex is recorded as U1, the coordinate vector from the upper right vertex to the lower right vertex is recorded as U2, and the coordinate vector from the lower right vertex to the lower left vertex is recorded as U3;
[0052] For the upper surface of the basic mathematical space cube model, the coordinate vector from the lower left vertex to the upper left vertex is recorded as U4, the coordinate vector from the upper left vertex to the upper right vertex is recorded as U5, the coordinate vector from the upper right vertex to the lower right vertex is recorded as U6, and the coordinate vector from the lower right vertex to the lower left vertex is recorded as U7;
[0053] Substituting the coordinate vectors U0, U1, U2, U3, U4, U5, U6 and U7 into the pointing parameter V vector determination model, the pointing parameter V vector of the basic mathematical space cube model is obtained;
[0054] The pointing parameter V vector determines the model as follows:
[0055]
[0056] Among them, Cd′ is the depth of the center position of the basic mathematical space cube model;
[0057] Step b2, according to the relationship between the pointing parameter V vector and the pointing vector γ, solving the pointing vector γ of the basic mathematical space cube model;
[0058] Step b3, using the method of step b1 and step b2, respectively obtain the pointing vector γ of each basic mathematical space cube model;
[0059] According to the pointing vector γ of each basic mathematical space cube model, all the isosurfaces belonging to the same interlayer in the isosurface set matrix P are spliced to obtain the spliced images of each interlayer;
[0060] The stitched images of L-1 layers are superimposed in the up-down order to obtain a preliminary three-dimensional image of the fetal head;
[0061] The volume of each three-dimensional object in the preliminary three-dimensional image of the fetal head is calculated, and then the three-dimensional object with the largest volume is retained to obtain a three-dimensional image of the fetal head.
[0062] Furthermore, the specific process of step b2 is as follows:
[0063]
[0064] Wherein, t is a preset depth threshold parameter, and Cd′ is the depth of the center position of the basic mathematical space cube model.
[0065] The beneficial effects of the present invention are:
[0066] The present invention confirms the number of image points of each slice layer of the acquired two-dimensional ultrasonic slice image of the fetal head, uniformly sets the number of image points of each slice of the two-dimensional ultrasonic slice image of the fetal head, constructs a basic mathematical space regular cube model according to the image points, synthesizes the basic mathematical space cube space model set matrix of the interlayer image points of every two two-dimensional ultrasonic slice image layers of the fetal head, combines the space coefficient matrix, obtains the basic mathematical space cube space model set matrix of the interlayer full image points with the parameter matrix, synthesizes the basic mathematical space cube space model set matrix of all interlayer full image points with the parameter matrix, obtains the basic mathematical space cube space model set transposed matrix of the full image point, standardizes the interlayer image points, and obtains the equivalent surface set matrix of all interlayers according to the depth after the standardization, thereby completing the rapid digital extraction of key image information in the two-dimensional ultrasonic slice image of the fetal head. And determine the pointing vector of each isosurface, and superimpose all isosurfaces in the isosurface set matrix of all interlayers according to the pointing vectors to form a preliminary three-dimensional image of the fetal head, and remove the interference body in the preliminary three-dimensional image of the fetal head through three-dimensional volume filtering to obtain a three-dimensional completed image of the fetal head. This operation step includes normalizing the original coordinates of the image points in each basic mathematical space cube model, and splicing all isosurfaces belonging to the same interlayer in the isosurface set matrix of all interlayers according to the pointing vectors to form a spliced interlayer image of the same interlayer, and superimposing the spliced interlayer images in the upper and lower order of the interlayers to form a preliminary three-dimensional image of the fetal head. Use three-dimensional volume filtering to reduce interference with the synthesis of the three-dimensional image of the fetal head, and improve the accuracy of the three-dimensional completed image of the fetal head. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 It is an execution flow chart of a system for reconstructing three-dimensional images of a fetal head based on two-dimensional ultrasonic slice images according to the present invention;
[0068] Figure 2 This is the original unprocessed frontal ultrasound image of the fetal head;
[0069] Figure 3 A frontal image of the fetus' head after being processed by the system of the present invention;
[0070] Figure 4 This is the original unprocessed ultrasound image of the back of the fetal head;
[0071] Figure 5 The back image of the fetus' head after being processed by the system of the present invention;
[0072] Figure 6 This is the original unprocessed ultrasound image of the fetal head.
[0073] Figure 7 A side view of the fetus' head after being processed by the system of the present invention;
[0074] Figure 8 Schematic diagram of the coordinate vectors defined in the basic mathematical space cube model. DETAILED DESCRIPTION
[0075] Specific implementation method 1. Combination Figure 1 The present embodiment is described as a fetal head three-dimensional image reconstruction system based on two-dimensional ultrasound slice images, the system comprises a two-dimensional ultrasound slice image processing module, a sandwich isosurface set matrix acquisition module and a three-dimensional image reconstruction module, wherein:
[0076] The two-dimensional ultrasonic slice image processing module is used to set the number of image points in each layer of the two-dimensional ultrasonic slice image of the fetal head to M×N;
[0077] It should be noted that when the number of image points in a certain layer of the two-dimensional ultrasound slice image of the fetal head is greater than M×N, M×N image points of the key area are selected;
[0078] The interlayer contour surface set matrix acquisition module is used to obtain the contour surface set of each interlayer according to all image points in the two-dimensional ultrasonic slice image of each layer of the fetal head, and construct the contour surface set matrix P according to the contour surface set of each interlayer;
[0079] The three-dimensional image reconstruction module is used to reconstruct the three-dimensional image according to the isosurface set matrix P.
[0080] The present invention improves the accuracy of constructing a three-dimensional image of a fetal head by introducing a model for standardizing and digitizing image points and a model for determining the depth and orientation parameter vectors of the standardizing and digitizing image points.
[0081] Specific implementation method 2: This implementation method is different from the specific implementation method 1 in that the working process of the sandwich contour surface set matrix acquisition module is as follows:
[0082] Step a21, according to the stacking order of each layer of the two-dimensional ultrasound slice image of the fetal head in the three-dimensional space, converting L×M×N image points of the L-layer two-dimensional ultrasound slice image of the fetal head into a basic mathematical space regular cube model of the sandwich;
[0083] Then, according to the basic mathematical space regular cube model corresponding to each interlayer, the set matrix of the basic mathematical space regular cube model of each interlayer is obtained, and the set matrix of the basic mathematical space regular cube model of the i-th interlayer is recorded as A i , i=1,2,...,L-1;
[0084] Step a22: Set the matrix A i With the spatial coefficient matrix B i Combined, we get the basic mathematical space cube model set matrix M of the sandwich with space coefficients i , i=1,2,...,L-1;
[0085] According to the set matrix M i Get the collective transposed matrix A of the basic mathematical space cube model of the sandwich:
[0086]
[0087] Step a23, each center position coordinate in the matrix A is the coordinate of an image point of the interlayer, the coordinates of each image point of the interlayer are standardized and digitized respectively, and the depth of each image point of the interlayer is calculated according to the result of the standardized digitization, and then the average value Cd of the depth of all image points of the interlayer is calculated;
[0088] For any basic mathematical space cube model of the first interlayer, if the depth of the center position of the basic mathematical space cube model is equal to Cd, then the eight image points corresponding to the basic mathematical space cube model are connected to obtain the isosurface of the basic mathematical space cube model; otherwise, if the depth of the center position of the basic mathematical space cube model is not equal to Cd, then there is no need to process the basic mathematical space cube model;
[0089] After judging all the basic mathematical space cube models of the first interlayer, the obtained isosurfaces are connected to form the isosurface set P1 of the first interlayer;
[0090] Similarly, the set of isosurfaces of each interlayer is obtained respectively;
[0091] Gather the isosurface sets of each interlayer to obtain the isosurface set matrix P of all interlayers:
[0092]
[0093] Among them, P1 is the set of isosurfaces of the first interlayer, P L-1 is the set of isosurfaces of the L-1th interlayer.
[0094] The other steps and parameters are the same as those in the first embodiment.
[0095] Specific implementation method 3: This implementation method is different from specific implementation methods 1 or 2 in that the specific process of step a21 is as follows:
[0096] Step a211, establish the following three composition conditions, and randomly select 8 image points from all L×M×N image points;
[0097] Condition 1: The eight selected image points are the vertices of a regular six-sided cube in three-dimensional space.
[0098] Condition 2: The side length of the regular six-sided cube composed of the selected 8 pixels is the smallest;
[0099] Condition 3: The selected 8 pixels are allowed to be shared by adjacent regular hexagonal cubes, and two adjacent regular hexagonal cubes can share at most 4 image points.
[0100] When the selected 8 image points satisfy the three composition conditions at the same time, the space regular six-sided cube composed of the selected 8 pixel points is a basic mathematical space regular cube model;
[0101] Then, according to all L×M×N image points, (L-1)×(M-1)×(N-1) basic mathematical space cube models are obtained, and each interlayer corresponds to (M-1)×(N-1) basic mathematical space cube models;
[0102] Step a212: for the ith interlayer, according to all the basic mathematical space cube models of the ith interlayer, obtain the set matrix A of the basic mathematical space cube models of the ith interlayer i .
[0103] The other steps and parameters are the same as those in the first or second embodiment.
[0104] Specific implementation method 4: This implementation method is different from any one of the specific implementation methods 1 to 3 in that the set matrix A of the basic mathematical space cube model of the i-th interlayer i for:
[0105]
[0106] Among them, A 11 , A1(M-1) , A (N-1)1 , A (N-1)(M-1) Represents the center position of each basic mathematical space cube model of the i-th mezzanine.
[0107] The other steps and parameters are the same as those in Specific Embodiments 1 to 3.
[0108] The upper left corner of the two-dimensional ultrasound slice image is taken as the origin of the coordinates, the horizontal right direction is the positive direction of the x-axis, and the vertical downward direction is the positive direction of the y-axis. For the i-th interlayer, the basic mathematical space cube models of the interlayer are grouped according to the y-axis coordinate and the center position of each basic mathematical space cube model of the interlayer, that is, the basic mathematical space cube models with the same y-coordinate at the center position are grouped into one group, and a total of N-1 groups are obtained; the center position of each group of basic mathematical space cube models is respectively used as the set matrix A i The center positions of the next row are arranged in ascending order according to the horizontal coordinates of the center positions of the basic mathematical space cube model.
[0109] Specific implementation method 5: This implementation method is different from specific implementation methods 1 to 4 in that the spatial coefficient matrix B i for:
[0110]
[0111] Among them, b 11 , b 1(M-1) , b (N-1)1 , b (N-1)(M-1) Both are matrix B i The elements in the matrix B i The value of each element in is generated by a random function according to Gaussian distribution.
[0112] The other steps and parameters are the same as those in Specific Embodiments 1 to 4.
[0113] Specific implementation method 6: This implementation method is different from any one of the specific implementation methods 1 to 5 in that the set matrix M i for:
[0114]
[0115] The superscript T represents the transpose of the matrix.
[0116] The other steps and parameters are the same as those in Specific Implementation Methods 1 to 5.
[0117] Specific implementation method 7: This implementation method is different from the specific implementation methods 1 to 6 in that the coordinates of each image point of the interlayer are standardized and digitized respectively, which is specifically:
[0118] For any image point of the interlayer, select the four image points closest to the image point from matrix A, and record the coordinates of the four selected image points in three-dimensional space as (x1, y1, z1), (x2, y2, z2), (x3, y3, z3), and (x4, y4, z4);
[0119] x'=x0+(c-s1)(x1-x2)(x2-x3)(x3-x4) / (s2-s1)
[0120] y'=y0+(c-s1)(y1-y2)(y2-y3)(y3-y4) / (s2-s1)
[0121] z'=z0+(c-s1)(z1-z2)(z2-z3)(z3-z4) / (s2-s1)
[0122] Among them, (x', y', z') are the coordinates of the image point in the three-dimensional space after normalization and digitization, x0 = (x1+x2+x3+x4) / 4, y0 = (y1+y2+y3+y4) / 4, z0 = (z1+z2+z3+z4) / 4, s1 is the lower limit of the standard threshold, s2 is the upper limit of the standard threshold, c is the middle value of the standard threshold, s1, s2 and c are set in advance.
[0123] The other steps and parameters are the same as those in Specific Embodiments 1 to 6.
[0124] In the three-axis coordinates of this embodiment, the x-axis and the y-axis are the same as defined above, and the z-axis is determined according to the right-hand rule.
[0125] Specific implementation eight: This implementation differs from one of specific implementations one to seven in that the depth of the image point is calculated based on the result of the standardized numeration, specifically:
[0126]
[0127] Wherein, Cd' is the depth calculated based on (x', y', z').
[0128] The other steps and parameters are the same as those in Specific Embodiments 1 to 7.
[0129] Specific implementation method 9: This implementation method is different from any one of specific implementation methods 1 to 8 in that the working process of the 3D image reconstruction module is as follows:
[0130] Step b1, for any basic mathematical space cube model in the first interlayer, normalize the original coordinates of each vertex in the basic mathematical space cube model;
[0131] For the lower surface of the basic mathematical space cube model, the coordinate vector from the lower left vertex to the upper left vertex is recorded as U0, the coordinate vector from the upper left vertex to the upper right vertex is recorded as U1, the coordinate vector from the upper right vertex to the lower right vertex is recorded as U2, and the coordinate vector from the lower right vertex to the lower left vertex is recorded as U3;
[0132] For the upper surface of the basic mathematical space cube model, the coordinate vector from the lower left vertex to the upper left vertex is recorded as U4, the coordinate vector from the upper left vertex to the upper right vertex is recorded as U5, the coordinate vector from the upper right vertex to the lower right vertex is recorded as U6, and the coordinate vector from the lower right vertex to the lower left vertex is recorded as U7;
[0133] Coordinate vectors U0, U1, U2, U3, U4, U5, U6 and U7 are obtained based on normalized coordinates;
[0134] Substituting the coordinate vectors U0, U1, U2, U3, U4, U5, U6 and U7 into the pointing parameter V vector determination model, the pointing parameter V vector of the basic mathematical space cube model is obtained;
[0135] The pointing parameter V vector determines the model as follows:
[0136]
[0137] Step b2, according to the relationship between the pointing parameter V vector and the pointing vector γ, solving the pointing vector γ of the basic mathematical space cube model;
[0138] Step b3, using the method of step b1 and step b2, respectively obtain the pointing vector γ of each basic mathematical space cube model;
[0139] According to the pointing vector γ of each basic mathematical space cube model, all the isosurfaces belonging to the same interlayer in the isosurface set matrix P are spliced to obtain the spliced images of each interlayer;
[0140] The stitched images of L-1 layers are superimposed in the up-down order to obtain a preliminary three-dimensional image of the fetal head;
[0141] The volume of each three-dimensional object in the preliminary three-dimensional image of the fetal head is calculated, and then the three-dimensional object with the largest volume is retained to obtain a three-dimensional image of the fetal head.
[0142] The other steps and parameters are the same as those in Specific Embodiments 1 to 8.
[0143] Specific implementation method 10: This implementation method is different from specific implementation methods 1 to 9 in that the specific process of step b2 is as follows:
[0144]
[0145] Wherein, t is a preset depth threshold parameter, 3≤t≤5 and t∈N, where N is an integer.
[0146] The other steps and parameters are the same as those in Specific Embodiments 1 to 9.
[0147] Example
[0148] This embodiment proposes a fetal head three-dimensional image reconstruction system based on two-dimensional ultrasound slice images, the system includes a two-dimensional ultrasound slice image processing module, a sandwich isosurface set matrix acquisition module and a three-dimensional image reconstruction module, wherein:
[0149] A two-dimensional ultrasound slice image processing module is used to set the number of image points in each layer of the two-dimensional ultrasound slice image of the fetal head to M×N;
[0150] The interlayer isosurface set matrix acquisition module is used to obtain the isosurface sets of each interlayer according to all image points in the two-dimensional ultrasound slice image of each layer of the fetal head, and construct the isosurface set matrix P according to the isosurface sets of each interlayer;
[0151] The working process of the sandwich isosurface set matrix acquisition module is as follows:
[0152] Step a21, according to the stacking order of each layer of the two-dimensional ultrasound slice image of the fetal head in the three-dimensional space, converting L×M×N image points of the L-layer two-dimensional ultrasound slice image of the fetal head into a basic mathematical space regular cube model of the sandwich;
[0153] Then, according to the basic mathematical space regular cube model corresponding to each interlayer, the set matrix of the basic mathematical space regular cube model of each interlayer is obtained, and the set matrix of the basic mathematical space regular cube model of the i-th interlayer is recorded as A i , i=1,2,...,L-1;
[0154] The specific process of step a21 is as follows:
[0155] Step a211, establish the following three composition conditions, and randomly select 8 image points from all L×M×N image points;
[0156] Condition 1: The eight selected image points are the vertices of a regular six-sided cube in three-dimensional space.
[0157] Condition 2: The side length of the regular six-sided cube composed of the selected 8 pixels is the smallest;
[0158] Condition 3: The selected 8 pixels are allowed to be shared by adjacent regular hexagonal cubes, and two adjacent regular hexagonal cubes can share at most 4 image points.
[0159] When the selected 8 image points satisfy the three composition conditions at the same time, the space regular six-sided cube composed of the selected 8 pixel points is a basic mathematical space regular cube model;
[0160] Then, according to all L×M×N image points, (L-1)×(M-1)×(N-1) basic mathematical space cube models are obtained, and each interlayer corresponds to (M-1)×(N-1) basic mathematical space cube models;
[0161] Step a212: for the ith interlayer, according to all the basic mathematical space cube models of the ith interlayer, obtain the set matrix A of the basic mathematical space cube models of the ith interlayer i :
[0162]
[0163] Among them, A 11 , A 1(M-1) , A (N-1)1 , A (N-1)(M-1) Represents the center position of each basic mathematical space cube model of the i-th mezzanine.
[0164] Step a22: Set the matrix A i With the spatial coefficient matrix B i Combined, we get the basic mathematical space cube model set matrix M of the sandwich with space coefficients i , i=1,2,...,L-1;
[0165] The spatial coefficient matrix B i for:
[0166]
[0167] Among them, b 11 , b 1(M-1) , b (N-1)1 , b (N-1)(M-1) Both are matrix B i The elements in the matrix B i The value of each element in is generated by a random function according to Gaussian distribution.
[0168] The set matrix M i for:
[0169]
[0170] The superscript T represents the transpose of the matrix.
[0171] According to the set matrix M i Get the collective transposed matrix A of the basic mathematical space cube model of the sandwich:
[0172]
[0173] Step a23: Each center position coordinate in the matrix A is the coordinate of an image point of the interlayer. The coordinate of each image point of the interlayer is standardized and digitized:
[0174] For any image point of the interlayer, select the four image points closest to the image point from matrix A, and record the coordinates of the four selected image points in three-dimensional space as (x1, y1, z1), (x2, y2, z2), (x3, y3, z3), and (x4, y4, z4);
[0175] x'=x0+(c-s1)(x1-x2)(x2-x3)(x3-x4) / (s2-s1)
[0176] y'=y0+(c-s1)(y1-y2)(y2-y3)(y3-y4) / (s2-s1)
[0177] z'=z0+(c-s1)(z1-z2)(z2-z3)(z3-z4) / (s2-s1)
[0178] Among them, (x', y', z') are the coordinates of the image point in the three-dimensional space after normalization and digitization, x0 = (x1+x2+x3+x4) / 4, y0 = (y1+y2+y3+y4) / 4, z0 = (z1+z2+z3+z4) / 4, s1 is the lower limit of the standard threshold, s2 is the upper limit of the standard threshold, c is the middle value of the standard threshold, s1, s2 and c are set in advance.
[0179] And calculate the depth of each image point of the interlayer according to the standardized numerical results:
[0180]
[0181] Among them, Cd' is the depth calculated based on (x', y', z'), and then the average value Cd of the depth of all image points in the interlayer is calculated;
[0182] For any basic mathematical space cube model of the first interlayer, if the depth of the center position of the basic mathematical space cube model is equal to Cd, then the eight image points corresponding to the basic mathematical space cube model are connected to obtain the isosurface of the basic mathematical space cube model; otherwise, if the depth of the center position of the basic mathematical space cube model is not equal to Cd, then there is no need to process the basic mathematical space cube model;
[0183] After judging all the basic mathematical space cube models of the first interlayer, the obtained isosurfaces are connected to form the isosurface set P1 of the first interlayer; similarly, the isosurface sets of each interlayer are obtained respectively;
[0184] Gather the isosurface sets of each interlayer to obtain the isosurface set matrix P of all interlayers:
[0185]
[0186] Among them, P1 is the set of isosurfaces of the first interlayer, P L-1 is the set of isosurfaces of the L-1th interlayer.
[0187] The three-dimensional image reconstruction module is used to reconstruct the three-dimensional image according to the isosurface set matrix P, which is specifically:
[0188] Step b1: For any basic mathematical space cube model in the first interlayer, such as Figure 8 As shown, the original coordinates of each vertex in the basic mathematical space cube model are normalized;
[0189] For the lower surface of the basic mathematical space cube model, the coordinate vector from the lower left vertex to the upper left vertex is recorded as U0, the coordinate vector from the upper left vertex to the upper right vertex is recorded as U1, the coordinate vector from the upper right vertex to the lower right vertex is recorded as U2, and the coordinate vector from the lower right vertex to the lower left vertex is recorded as U3;
[0190] For the upper surface of the basic mathematical space cube model, the coordinate vector from the lower left vertex to the upper left vertex is recorded as U4, the coordinate vector from the upper left vertex to the upper right vertex is recorded as U5, the coordinate vector from the upper right vertex to the lower right vertex is recorded as U6, and the coordinate vector from the lower right vertex to the lower left vertex is recorded as U7;
[0191] Substituting the coordinate vectors U0, U1, U2, U3, U4, U5, U6 and U7 into the pointing parameter V vector determination model, the pointing parameter V vector of the basic mathematical space cube model is obtained;
[0192] The pointing parameter V vector determines the model as follows:
[0193]
[0194] Step b2: According to the relationship between the pointing parameter V vector and the pointing vector γ, the pointing vector γ of the basic mathematical space cube model is solved:
[0195]
[0196] Wherein, t is a preset depth threshold parameter.
[0197] Step b3, using the method of step b1 and step b2, respectively obtain the pointing vector γ of each basic mathematical space cube model;
[0198] According to the pointing vector γ of each basic mathematical space cube model, all the isosurfaces belonging to the same interlayer in the isosurface set matrix P are spliced to obtain the spliced images of each interlayer; the spliced images of L-1 interlayers are superimposed in the up-down order to obtain a preliminary three-dimensional image of the fetal head;
[0199] The volume of each three-dimensional object in the preliminary three-dimensional image of the fetal head is calculated, and then the three-dimensional object with the largest volume is retained to obtain a three-dimensional image of the fetal head.
[0200] like Figure 2 and Figure 3 As shown, Figure 2 This is the original ultrasound image of the unprocessed fetal head. Figure 2 The unprocessed frontal ultrasound image of the fetus shown in the figure is processed by the above process to obtain Figure 3 A frontal view of the fetal head is shown.
[0201] like Figure 4 and Figure 5 As shown, Figure 4 This is the original unprocessed ultrasound image of the back of the fetal head. Figure 4 The unprocessed ultrasound image of the back of the fetus's head shown in the figure is processed by the above process to obtain Figure 5 The dorsal view of the fetal head is shown.
[0202] like Figure 6 and Figure 7 As shown, Figure 6 This is the original ultrasound image of the fetal head without processing. Figure 6 The unprocessed ultrasound image of the fetal head side is processed by the above process to obtain Figure 7 A profile view of the fetal head is shown.
[0203] In summary, the present invention converts L layers of two-dimensional ultrasound slice images of the fetal head into an isosurface set matrix P of all L-1 interlayers, determines the pointing vector of each isosurface, and then superimposes all isosurfaces in the isosurface set matrix P of all interlayers according to the pointing vector to form a preliminary three-dimensional image of the fetal head, removes interference bodies of the preliminary three-dimensional image of the fetal head through three-dimensional volume filtering, and obtains a three-dimensional completed image of the fetal head. Converting the two-dimensional ultrasound slice image of the fetal head into a three-dimensional completed image of the fetal head provides a three-dimensional image construction method of the two-dimensional ultrasound slice image of the fetal head for the application of medical image three-dimensional reconstruction technology in obstetric fetal detection.
[0204] The above calculation examples of the present invention are only used to explain the calculation model and calculation process of the present invention in detail, and are not intended to limit the implementation methods of the present invention. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the implementation methods here. All obvious changes or modifications derived from the technical solution of the present invention are still within the scope of protection of the present invention.
Claims
1. A fetal head three-dimensional image reconstruction system based on two-dimensional ultrasound slice images, It is characterized in that The system includes a two-dimensional ultrasonic slice image processing module, a sandwich isosurface set matrix acquisition module and a three-dimensional image reconstruction module, wherein: The two-dimensional ultrasonic slice image processing module is used to set the number of image points in each layer of the two-dimensional ultrasonic slice image of the fetal head to M×N; The interlayer contour surface set matrix acquisition module is used to obtain the contour surface set of each interlayer according to all image points in the two-dimensional ultrasonic slice image of each layer of the fetal head, and construct the contour surface set matrix P according to the contour surface set of each interlayer; The working process of the sandwich contour surface set matrix acquisition module is as follows: Step a21, according to the stacking order of each layer of the two-dimensional ultrasound slice image of the fetal head in the three-dimensional space, converting L×M×N image points of the L-layer two-dimensional ultrasound slice image of the fetal head into a basic mathematical space regular cube model of the sandwich; Then, according to the basic mathematical space regular cube model corresponding to each interlayer, the set matrix of the basic mathematical space regular cube model of each interlayer is obtained, and the set matrix of the basic mathematical space regular cube model of the i-th interlayer is recorded as A i , i=1,2,...,L-1; The specific process of step a21 is as follows: Step a211, establish the following three composition conditions, and randomly select 8 image points from all L×M×N image points; Condition 1: The eight selected image points are the vertices of a regular six-sided cube in three-dimensional space. Condition 2: The side length of the regular six-sided cube composed of the selected 8 image points is the smallest; Condition 3: The selected 8 image points can be shared by adjacent regular hexagonal cubes, and two adjacent regular hexagonal cubes can share at most 4 image points. When the selected 8 image points satisfy the above three composition conditions at the same time, the space regular six-sided cube formed by the selected 8 image points is a basic mathematical space regular cube model; According to all L×M×N image points, (L-1)×(M-1)×(N-1) basic mathematical space regular cube models are obtained, and each interlayer corresponds to (M-1)×(N-1) basic mathematical space regular cube models; Step a212: for the ith interlayer, according to all the basic mathematical spatial regular cube models of the ith interlayer, obtain the set matrix A of the basic mathematical spatial regular cube models of the ith interlayer i ; Step a22: Set the matrix A i With the spatial coefficient matrix B i Combined, we get the basic mathematical space regular cube model set matrix M of the sandwich with space coefficients i , i=1,2,...,L-1; According to the set matrix M i Get the collective transposed matrix A of the basic mathematical space regular cube model of the sandwich: Step a23, each center position coordinate in the matrix A is the coordinate of an image point of the interlayer, the coordinates of each image point of the interlayer are standardized and digitized respectively, and the depth of each image point of the interlayer is calculated according to the result of the standardized digitization, and then the average value Cd of the depth of all image points of the interlayer is calculated; The coordinates of each image point of the interlayer are standardized and digitized respectively, which is specifically: For any image point of the interlayer, select the four image points closest to the image point from matrix A, and record the coordinates of the four selected image points in three-dimensional space as (x1, y1, z1), (x2, y2, z2), (x3, y3, z3), and (x4, y4, z4); x'=x0+(c-s1)(x1-x2)(x2-x3)(x3-x4) / (s2-s1) y'=y0+(c-s1)(y1-y2)(y2-y3)(y3-y4) / (s2-s1) z'=z0+(c-s1)(z1-z2)(z2-z3)(z3-z4) / (s2-s1) Wherein, (x', y', z') is the coordinate of the image point in the three-dimensional space after normalization, x0 = (x1 + x2 + x3 + x4) / 4, y0 = (y1 + y2 + y3 + y4) / 4, z0 = (z1 + z2 + z3 + z4) / 4, s1 is the lower limit of the normalized threshold, s2 is the upper limit of the normalized threshold, and c is the middle value of the normalized threshold; The depth of each image point of the interlayer is calculated according to the result of the standardized numeration, specifically: Where Cd' is the depth calculated based on (x', y', z'); For any basic mathematical space regular cube model of the first interlayer, if the depth of the center position of the basic mathematical space regular cube model is equal to Cd, then the eight image points corresponding to the basic mathematical space regular cube model are connected to obtain the isosurface of the basic mathematical space regular cube model; otherwise, if the depth of the center position of the basic mathematical space regular cube model is not equal to Cd, then there is no need to process the basic mathematical space regular cube model; After judging all the basic mathematical space regular cube models of the first interlayer, the obtained isosurfaces are connected to form the isosurface set P of the first interlayer. 1 ; Similarly, the set of isosurfaces of each interlayer is obtained respectively; Gather the isosurface sets of each interlayer to obtain the isosurface set matrix P of all interlayers: Among them, P 1 is the set of isosurfaces of the first interlayer, P L-1 is the set of isosurfaces of the L-1th interlayer; The three-dimensional image reconstruction module is used to reconstruct the three-dimensional image according to the isosurface set matrix P; The working process of the 3D image reconstruction module is as follows: Step b1, for any basic mathematical space regular cube model in the first interlayer, normalize the original coordinates of each vertex in the basic mathematical space regular cube model; For the lower surface of the basic mathematical space regular cube model, the coordinate vector from the lower left vertex to the upper left vertex is recorded as U0, the coordinate vector from the upper left vertex to the upper right vertex is recorded as U1, the coordinate vector from the upper right vertex to the lower right vertex is recorded as U2, and the coordinate vector from the lower right vertex to the lower left vertex is recorded as U3; For the upper surface of the basic mathematical space regular cube model, the coordinate vector from the lower left vertex to the upper left vertex is recorded as U4, the coordinate vector from the upper left vertex to the upper right vertex is recorded as U5, the coordinate vector from the upper right vertex to the lower right vertex is recorded as U6, and the coordinate vector from the lower right vertex to the lower left vertex is recorded as U7; Substitute the coordinate vectors U0, U1, U2, U3, U4, U5, U6 and U7 into the pointing parameter V vector determination model to obtain the pointing parameter V vector of the basic mathematical space regular cube model; The pointing parameter V vector determines the model as follows: Among them, Cd′ is the depth of the center position of the basic mathematical space regular cube model; Step b2, according to the relationship between the pointing parameter V vector and the pointing vector γ, solving the pointing vector γ of the basic mathematical space regular cube model; The specific process of step b2 is: Wherein, t is a preset depth threshold parameter; Step b3, using the method of step b1 and step b2, respectively obtain the pointing vector γ of each basic mathematical space regular cube model; According to the pointing vector γ of each basic mathematical space regular cube model, all the isosurfaces belonging to the same interlayer in the isosurface set matrix P are spliced to obtain the spliced images of each interlayer; The stitched images of L-1 layers are superimposed in the up-down order to obtain a preliminary three-dimensional image of the fetal head; The volume of each three-dimensional object in the preliminary three-dimensional image of the fetal head is calculated, and then the three-dimensional object with the largest volume is retained to obtain a three-dimensional image of the fetal head.
2. A fetal head three-dimensional image reconstruction system based on two-dimensional ultrasonic slice images according to claim 1, It is characterized in that The set matrix A of the basic mathematical space regular cube model of the i-th interlayer i for: Among them, A 11 , A 1(M-1) , A (N-1)1 , A (N-1)(M-1) Represents the center position of each basic mathematical space regular cube model of the i-th mezzanine.
3. A fetal head three-dimensional image reconstruction system based on two-dimensional ultrasonic slice images according to claim 2, It is characterized in that The spatial coefficient matrix B i for: Among them, b 11 、b 1(M-1) 、b (N-1)1 、b (N-1)(M-1) Both are matrix B i The elements in .
4. A fetal head three-dimensional image reconstruction system based on two-dimensional ultrasonic slice images according to claim 3, It is characterized in that The set matrix M i for: The superscript T represents the transpose of the matrix.
