Pelvic correction method, surgical system, storage medium and electronic device
The pelvis is automatically segmented and key points are marked through deep learning neural networks, and numerical algorithms are used for rotation, which solves the problem of pelvic misalignment in CT scans and achieves accurate alignment of pelvic images and accuracy of surgical planning.
Patent Information
- Application Number
- CN202111422007.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-11-26
AI Technical Summary
During the CT scan, the patient's different lying postures lead to misalignment of the pelvic image direction, which affects the accuracy of surgical planning. The pelvic image needs to be corrected before surgery to ensure the correctness of the surgery.
Using a method based on deep learning neural networks, the pelvis is automatically segmented and the center points of the left and right anterior superior iliac spines and pubic symphysis are marked. A numerical algorithm is used to perform three rotations to correct the pelvis and ensure that it is parallel to the X-axis and Z-axis. .
It achieves accurate normalization of pelvic images, improves the accuracy of surgical planning and the reliability of surgical robot-assisted surgery, and ensures the success of the surgery.
Smart Images

Figure CN114119934B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image data processing technology, and more specifically, to a method and system for pelvic image normalization based on deep learning, numerical algorithms, and the like, and in particular to a method and system for pelvic normalization based on the center points of left and right anterior superior iliac spines and pubic symphysis. Background Art
[0002] With the rapid development of modern society, all walks of life have begun to have an inseparable connection with the IT industry, and the same is true for the medical industry. In total hip replacement surgery assisted by surgical robots, preoperative planning is a very important step. It can be said that the quality of preoperative planning can directly affect the final result of the operation, and the correctness of the pelvic position is an important step in preoperative planning.
[0003] During the CT (computed tomography) scanning process, the patient's lying position is different in most cases depending on their own condition. If it is not parallel to the plane formed by the X-axis and Z-axis, the direction of the entire CT will be misaligned, making it impossible to perform the operation correctly.
[0004] To avoid this, the pelvic image needs to be rectified during preoperative planning. Summary of the invention
[0005] In order to solve the above technical problems, the present invention proposes a method and system for straightening the pelvis based on the left and right anterior superior iliac spines and the center point of the pubic symphysis, which can use a deep learning neural network to process image data, segment the pelvis, mark the segmented pelvis, and then use a numerical algorithm to straighten the pelvic image.
[0006] According to one aspect of the present invention, a method for pelvic correction based on the center point of the left and right anterior superior iliac spines and the pubic symphysis is provided, comprising the following steps:
[0007] S101: training a neural network using a training sample based on the original image, and obtaining and saving a trained neural network model;
[0008] S102: Automatically segment the pelvic original image using the neural network and obtain a segmentation result of the pelvic region;
[0009] S103: Mark the left and right anterior superior iliac spines and the center points of the pubic symphysis on the segmented pelvis;
[0010] S104: Rotate the pelvis based on the marked left and right anterior superior iliac spines and the center point of the pubic symphysis; and
[0011] S105: Output the straightened pelvis.
[0012] According to another aspect of the present invention, a surgical system is provided for performing pelvic correction based on the center point of the left and right anterior superior iliac spines and the pubic symphysis, comprising:
[0013] An automatic segmentation unit, which uses a neural network to automatically segment the pelvic original image and obtain a segmentation result of the pelvic area; and
[0014] The rotation unit rotates the pelvis based on the left and right anterior superior iliac spines and the center points of the pubic symphysis marked on the segmented pelvis.
[0015] According to another aspect of the present invention, there is provided a computer-readable storage medium storing a computer program for causing a computer to implement the above-mentioned pelvic rotation method or function as the above-mentioned surgical system by executing the computer program.
[0016] According to another aspect of the present invention, there is provided an electronic device comprising a processor and a memory for storing instructions executable by the processor, wherein the processor is configured to read and execute the instructions from the memory to implement the above-mentioned pelvic rotation method or function as the above-mentioned surgical system.
[0017] According to another aspect of the present invention, there is provided a computer program product, comprising a computer program, wherein when the program is executed by a computer, the program implements the above-mentioned pelvic rotation method or exerts the function of the above-mentioned surgical system. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A flow chart of a method for calculating a pelvic correction based on the center points of the left and right anterior superior iliac spines and the pubic symphysis according to an embodiment of the present invention is shown.
[0019] Figure 2 A flow chart showing a method for automatically segmenting a pelvic image according to an embodiment of the present invention is shown.
[0020] Figure 3 The unet++ network architecture according to an embodiment of the present invention is schematically illustrated.
[0021] Figure 4 The figure shows the spatial state of the 3D pelvic model after segmentation but before normalization.
[0022] Figure 5-7 The calculation diagram of the rotation angle is schematically shown.
[0023] Figure 8 The figure schematically shows a three-dimensional virtual model of the pelvis that has been corrected according to an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The exemplary embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. The exemplary embodiments described below and shown in the accompanying drawings are intended to teach the principles of the present invention, so that those skilled in the art can implement and use the present invention in several different environments and for several different applications. Therefore, the scope of protection of the present invention is defined by the appended claims, and the exemplary embodiments are not intended to be, and should not be considered as, a limiting description of the scope of protection of the present invention.
[0025] <Calculation method for correcting the pelvis>
[0026] Figure 1 A flow chart of a calculation method S100 for pelvic alignment based on the center points of the left and right anterior superior iliac spines and the pubic symphysis is shown according to an embodiment of the present invention.
[0027] Method S100 starts from step S101. First, in S101, the neural network is trained using training samples based on the original image to obtain and save the trained neural network model. Then, in S102, the neural network is used to automatically segment the pelvic original image and obtain the segmentation result of the pelvic area. In S103, the left and right anterior superior iliac spines and the center points of the pubic symphysis are marked on the segmented pelvis, and then in S104, the pelvis is rotated by a rotation algorithm, and finally, in S105, the rotated pelvis is output.
[0028] In short, the data is first labeled by marking the pelvis on the original CT image, then the pelvis is segmented using a neural network, and then the left and right anterior superior iliac spines and the center points of the pubic symphysis are marked on the segmented pelvis. Finally, the pelvis is calculated and straightened using a numerical algorithm.
[0029] According to one embodiment, in order to train a neural network to segment CT images, training data is first prepared, that is, the pelvis appearing in the CT image sequence is annotated in a purely manual manner using software.
[0030] After a training set consisting of original images for training is prepared through the above annotation, according to one embodiment, Figure 2 As shown, when training the neural network, the original image is first normalized to obtain data of the same size, and then binarized to obtain the normalized binarized original image, and data enhancement is performed on it, and input into the neural network for optimization training to obtain and save the optimized neural network model.
[0031] In this way, a label map is produced by marking the target area of the original image, and the training set is normalized, binarized and data enhanced, and then input into the preferred unet++ neural network described later to fully train and adjust parameters, and save the optimized network model. Then, the original image to be segmented can be input into the saved network model to obtain the segmentation result of the pelvis. That is, the neural network trained as described above can be used to segment the pelvis.
[0032] According to one embodiment, when using a neural network for automatic segmentation, the neural network trained as described above is first restored. Then, similar to the above training process, after the original image is input, the original image is normalized and binarized, and the original image file that has been normalized and binarized is input into the previously saved neural network model, that is, the restored neural network model, so as to output the segmentation result through the neural network model. That is, an opening operation is performed on the contour of the target area, that is, the opening operation means first corroding and then dilating to obtain a masking image, and the masking image and the original image are masked, and the segmentation result of the pelvic area is obtained and output through a custom masking operation.
[0033] According to one embodiment, Figure 3 As shown, the above automatic segmentation neural network can use the following unet++ network.
[0034] First, the input image is convolved twice, batch normalized BN (Batch Normalization), and activated to output c1 with 32 channels. Then, a maximum pooling with a step size of 2 is performed and the output result is p1. Then, four downsamplings are performed continuously, and the last time no maximum pooling is performed. In this way, the output results are c2, p2, c3, p3, c4, p4, c5, and the number of channels are 64, 64, 128, 128, 256, 256, 512 respectively.
[0035] Then upsampling is performed.
[0036] At this time, c2 is first upsampled to 32 channels, and the output result is up1_2, then added to c1, and then two sets of convolution, activation and dropout are performed to output conv1_2.
[0037] Then c3 is upsampled to 64 channels, the output is up2_2, and then concat with c2, and then two sets of convolution, activation and dropout are performed to output conv2_2.
[0038] Then conv2_2 is upsampled to 32 channels, and the output is up1_3. It is then added to c1 and conv1_2, and then two sets of convolution, activation and dropout are performed to output conv1_3.
[0039] Then c4 is upsampled to 128 channels, the output is up3_2, and then concat with c3, and then two sets of convolution, activation and dropout are performed to output conv3_2.
[0040] Then conv3_2 is upsampled to 64 channels, and the output is up2_3, which is then concat with c2 and conv2_2. After that, two sets of convolution, activation and dropout are performed to output conv2_3.
[0041] Then conv2_3 is upsampled to 32 channels, and the output is up1_4. It is then added with c1, conv1_2, and conv1_3, and then two sets of convolution, activation, and dropout are performed to output conv1_4.
[0042] Then c5 is upsampled to 256 channels, and the output is up4_2. It is then concat with c4, and then two sets of convolutions, activations, and dropouts are performed to output conv4_2.
[0043] Then conv4_2 is upsampled to 128 channels, and the output is up3_3, which is then concat with c3 and conv3_2. After that, two sets of convolution, activation and dropout are performed to output conv3_3.
[0044] Then conv3_3 is upsampled to 64 channels, and the output is up2_4, which is then concat with c2, conv2_2, and conv2_3. After that, two sets of convolution, activation, and dropout are performed to output conv2_4.
[0045] Then conv2_4 is upsampled to 32 channels, and the output is up1_5. It is then added with c1, conv1_2, conv1_3, and conv1_4. After that, two sets of convolution, activation, and dropout are performed to output conv1_5.
[0046] Finally, perform 1*1 convolution on conv1_5 and output after sigmoid activation.
[0047] According to the neural network model of the above embodiment, for the part with 32 channels, while keeping the number of channels unchanged, add is used to fuse features instead of concat to obtain conv1-2, conv1-3, conv1-4, and conv1-5 respectively. At this time, the amount of information under the features of the image is increased, but the dimension describing the image itself does not increase, only the amount of information under each dimension is increasing, which not only saves parameters and computing overhead, but is also beneficial to the final classification of the image.
[0048] That is, when the convolution layers c2, c3, c4, and c5 that downsample the input image are upsampled and then concat with the corresponding layers until the channel size becomes the same as c1, the features are fused by using add.
[0049] According to one embodiment, all the results are stacked to obtain an STL 3D model.
[0050] like Figure 4 The 3D pelvic model shown is in a skewed spatial state in the three-dimensional coordinate system due to the supine position and other reasons. In order to straighten it, the left and right anterior superior iliac spines and the center points of the pubic symphysis need to be marked on the model. These anatomical points are selected here because they are easy to accurately locate, which can advantageously ensure accuracy and operability.
[0051] These three points are in the same plane in the three-dimensional space. By rotating the plane so that it is parallel to the plane formed by the X-axis and the Z-axis, we finally obtain Figure 8 In this notation, the right anterior superior iliac spine is set as vertex A, the left anterior superior iliac spine is set as vertex B, and the center point of the pubic symphysis is set as vertex C.
[0052] According to one embodiment, during the rotation process, firstly, the plane ABC defined by the three points A, B, and C is rotated with A as the vertex.
[0053] To this end, in the software system of the surgical system, firstly, plane ABC is translated in the three-dimensional space so that A is translated from the original position to the coordinate origin O. Then, B is rotated around the Z' axis so that B is rotated by an angle θ to become B', as shown in Figure 5 .
[0054] Because the purpose is to make plane ABC rotate to be in the same plane as plane XOZ, the value of B' on the Y' axis should be the same as the value of A. Therefore, by calculating the distance between AB and then making AB' equal to AB, the coordinates of B' can be obtained. Then the rotation angle θ can be obtained by using the vector formula through the three points A, B, and B':
[0055] Vector a · Vector b = | vector a | * | vector b | * cos (vector a, vector b), (Formula 1),
[0056] From this we can conclude that
[0057] cos(vector a, vector b) = vector a · vector b / (|vector a| * |vector b|), (Equation 2),
[0058] By finding the cosine value in this way, we can use the inverse cosine arcos to calculate the rotation angle θ.
[0059] Similarly, rotating B` around the Y axis yields B`` as Figure 6 , calculate the required rotation angle θ`,
[0060] Similarly, rotating C around the X axis gives C`. Figure 7 , calculate the required rotation angle θ``.
[0061] Based on the AB``C` obtained after the above three rotations, point A is translated from the origin O back to the original position, so that the final rotated pelvis is obtained, as shown in Figure 8 shown.
[0062] The above describes the rotation of the pelvis based on three rotations around the X, Y, and Z axes. However, it is not limited to this. As long as it is based on three rotations around the X, Y, and Z axes in any order, the final rotated pelvis can be obtained.
[0063] According to one embodiment, a rotation algorithm for pelvic rotation is as follows.
[0064] <Rotation around the X axis>
[0065] Assume that in a three-dimensional scene, when a point P (x, y, z) is rotated around the X-axis by an angle θ, a point P' (x', y', z') is obtained.
[0066] Since the rotation is around the X-axis, the x-coordinate remains unchanged, and the yoz (o is the origin coordinate) plane composed of y and z is a two-dimensional rotation, so we have:
[0067] x′=x, (Equation 3),
[0068] y′=ycosθ-zsinθ, (Formula 4),
[0069] z′=ysinθ+zcosθ, (Formula 5),
[0070] Therefore, the rotation equation about the X-axis can be written in the form of a (4x4) matrix:
[0071] , (Formula 6).
[0072] <Rotation around the Y axis>
[0073] The rotation around the Y axis is similar to the rotation around the X axis. The Y coordinate remains unchanged. In addition to the Y axis, the plane composed of zox undergoes a two-dimensional rotation, which also has:
[0074] x′=zsinθ+xcosθ, (Formula 7),
[0075] y′=y, (Equation 8),
[0076] z′=zcosθxsinθ, (Formula 9),
[0077] Therefore, the rotation equation about the Y axis can be written in the form of a (4x4) matrix:
[0078] , (Formula 10).
[0079] <Rotation around Z axis>
[0080] Similar to the rotation around the X axis, the rotation around the Z axis, the z coordinate remains unchanged, and exactly one two-dimensional rotation is performed in the plane composed of xoy, just like the above case,
[0081] x′=xcosθ-ysinθ, (Formula 11),
[0082] y′=xsinθ+ycosθ, (Equation 12),
[0083] z′=z, (Equation 13),
[0084] Therefore, the rotation equation about the Z axis can be written in the form of a (4x4) matrix
[0085] , (Formula 14).
[0086] In this way, as in the above-mentioned embodiment, rotation is performed around the X-axis, Y-axis and Z-axis to obtain the angles θ, θ`, θ`` of rotation around the X-axis, Y-axis and Z-axis. By rotating the pelvis in this way, a three-dimensional virtual model of the pelvis can be obtained.
[0087] Based on the corrected 3D virtual model of the pelvis, surgical planning is completed and can be used for intraoperative pelvic registration.
[0088] In this way, by using a neural network to segment the pelvis and then using a numerical algorithm to rotate the pelvis three times, the pelvic rotation is more conducive to the assistance of the surgical robot and a good preoperative planning can be achieved.
[0089] As described above, according to the present invention, the following methods and systems are provided.
[0090] (1) A method for pelvic rotation based on the center point of the left and right anterior superior iliac spines and the pubic symphysis, comprising the following steps:
[0091] S101: training a neural network using a training sample based on the original image, and obtaining and saving a trained neural network model;
[0092] S102: Automatically segment the pelvic original image using the neural network and obtain a segmentation result of the pelvic region;
[0093] S103: Mark the left and right anterior superior iliac spines and the center points of the pubic symphysis on the segmented pelvis;
[0094] S104: Rotate the pelvis based on the marked left and right anterior superior iliac spines and the center point of the pubic symphysis; and
[0095] S105: Output the straightened pelvis.
[0096] (2) Before the above step S101, the method further includes a step of labeling the data, in which the pelvis appearing in the CT image sequence is labeled on the original CT image.
[0097] (3) When training the neural network, the image data is first normalized and binarized to obtain the original image after normalization and binarization. Then, data enhancement is performed and the image is input into the neural network for optimization training to obtain and save the optimized network model.
[0098] (4) Wherein, the neural network is configured to perform the following processing steps:
[0099] Downsampling step: perform two convolutions, BN, and activations on the input image to output c1 with 32 channels; then perform a maximum pooling with a step size of 2 and output p1, and then perform 4 consecutive downsamplings, without the maximum pooling for the last time. In this way, the output results are c2, p2, c3, p3, c4, p4, c5, and the number of channels are 64, 128, 128, 256, 256, 512 respectively; and
[0100] Upsampling step:
[0101] First, c2 is upsampled to 32 channels, and the output is up1_2. Then it is added to c1, and then two sets of convolution, activation and dropout are performed to output conv1_2.
[0102] Then c3 is upsampled to 64 channels, the output is up2_2, and then concat with c2, and then two sets of convolution, activation and dropout are performed to output conv2_2;
[0103] Then conv2_2 is upsampled to 32 channels, and the output is up1_3. Then it is added with c1 and conv1_2, and then two sets of convolution, activation and dropout are performed to output conv1_3.
[0104] Then c4 is upsampled to 128 channels, the output is up3_2, and then concat with c3, and then two sets of convolution, activation and dropout are performed to output conv3_2;
[0105] Then conv3_2 is upsampled to 64 channels, and the output is up2_3, which is then concat with c2 and conv2_2. After that, two sets of convolution, activation and dropout are performed to output conv2_3.
[0106] Then conv2_3 is upsampled to 32 channels, and the output is up1_4. Then it is added with c1, conv1_2, and conv1_3, and then two sets of convolution, activation, and dropout are performed to output conv1_4.
[0107] Then c5 is upsampled to 256 channels, and the output is up4_2. It is then concat with c4, and then two sets of convolution, activation and dropout are performed to output conv4_2.
[0108] Then conv4_2 is upsampled to 128 channels, and the output is up3_3, which is then concat with c3 and conv3_2. After that, two sets of convolution, activation and dropout are performed to output conv3_3.
[0109] Then conv3_3 is upsampled to 64 channels, and the output is up2_4, which is then concat with c2, conv2_2, and conv2_3. After that, two sets of convolution, activation, and dropout are performed to output conv2_4.
[0110] Then upsample conv2_4 to 32 channels, output up1_5, add it with c1, conv1_2, conv1_3, conv1_4, then perform two sets of convolution, activation and dropout to output conv1_5; and
[0111] Finally, perform 1*1 convolution on conv1_5 and output after sigmoid activation.
[0112] (5) In the above step S103, the following steps are included: stacking the results obtained by automatic segmentation using a neural network to obtain a 3D model in STL format for marking the center points of the left and right anterior superior iliac spines and the pubic symphysis.
[0113] (6) In the above step S104, the following steps are included: the plane ABC, which is composed of three points A, B and C and has the right anterior superior iliac spine as vertex A, the left anterior superior iliac spine as vertex B and the center point of the pubic symphysis as vertex C, is rotated three times around the X, Y and Z axes in any order to obtain a finally rotated pelvis.
[0114] (7) A surgical system for performing pelvic rotation based on the center point of the left and right anterior superior iliac spines and the pubic symphysis, comprising:
[0115] An automatic segmentation unit, which uses a neural network to automatically segment the pelvic original image and obtain a segmentation result of the pelvic area; and
[0116] A rotation unit rotates the pelvis based on the left and right anterior superior iliac spines and the center points of the pubic symphysis marked on the segmented pelvis.
[0117] (8) It also includes: a training unit, which uses training samples based on the original image to train the neural network, obtains and saves the trained neural network model.
[0118] (9) When training the neural network, the training unit first normalizes and binarizes the image data to obtain the original image after normalization and binarization, and then performs data enhancement and inputs it into the neural network for optimization training to obtain and save the optimized network model.
[0119] (10) In which, the neural network is configured to perform the processing steps of (4) above.
[0120] (11) It also includes: a 3D model generation unit, which stacks the results obtained by automatic segmentation using a neural network to obtain a 3D model in STL format for marking the left and right anterior superior iliac spines and the center points of the pubic symphysis.
[0121] (12) The rotation unit rotates the plane ABC, which is composed of three points A, B and C and has the right anterior superior iliac spine as vertex A, the left anterior superior iliac spine as vertex B and the center point of the pubic symphysis as vertex C, three times around the X, Y and Z axes in any order to obtain the final rotated pelvis.
[0122] (13) A computer-readable storage medium storing a computer program for causing a computer to implement the above-mentioned pelvic correction method or function as the above-mentioned surgical system by executing the computer program.
[0123] (14) An electronic device comprising a processor and a memory for storing instructions executable by the processor, wherein the processor is configured to read and execute the instructions from the memory to implement the above-mentioned pelvic correction method or function as the above-mentioned surgical system.
[0124] (15) A computer program product, comprising a computer program, characterized in that when the program is executed by a computer, it implements the above-mentioned pelvic rotation method or exerts the function of the above-mentioned surgical system.
[0125] Although the invention has been described with reference to various specific embodiments, it should be understood that modifications can be made within the spirit and scope of the inventive concepts described. It is therefore intended that the invention not be limited to the embodiments described, but will have the full scope defined by the language of the appended claims.
Claims
1. A pelvic correction method based on the center point of the left and right anterior superior iliac spines and the pubic symphysis, characterized in that: The steps include: S101: training a neural network using a training sample based on the original image, and obtaining and saving a trained neural network model; S102: Automatically segmenting the pelvic original image using the neural network and obtaining a segmentation result of the pelvic region, wherein the trained neural network is first restored, and then the original image is normalized and binarized, and the original image file that has been normalized and binarized is input into the restored neural network model, so as to output the segmentation result through the neural network model, wherein an opening operation is performed on the contour of the target area to obtain a mask image, and a mask operation is performed on the mask image and the original image, and the segmentation result of the pelvic region is obtained and output through a custom mask operation; S103: Mark the left and right anterior superior iliac spines and the center points of the pubic symphysis on the segmented pelvis; S104: Rotate the pelvis based on the marked left and right anterior superior iliac spines and the center point of the pubic symphysis; and S105: Output the corrected pelvis, In the above step S103, the following steps are included: stacking the results obtained by automatic segmentation using a neural network to obtain a 3D model in STL format for marking the center points of the left and right anterior superior iliac spines and pubic symphysis, When training the neural network, the image data is first normalized and binarized to obtain the original image after normalization and binarization. Then the data is enhanced and input into the neural network for optimization training to obtain and save the optimized network model. The neural network is constructed as follows: when the downsampled 2nd to 5th convolution layers c2, c3, c4, and c5 are upsampled respectively and then concat with the corresponding layers until the channel size becomes the same as the first convolution layer c1, the features are fused by using add. The neural network is configured to perform the following processing steps: Downsampling step: perform two convolutions, BN, and activations on the input image to output c1 with 32 channels; then perform a maximum pooling with a step size of 2 and output p1, and then perform 4 consecutive downsamplings, without the maximum pooling for the last time. In this way, the output results are c2, p2, c3, p3, c4, p4, c5, and the number of channels are 64, 64, 128, 128, 256, 256, 512 respectively; and Upsampling step: First, c2 is upsampled to 32 channels, and the output is up1_2. Then it is added to c1, and then two sets of convolution, activation and dropout are performed to output conv1_2. Then c3 is upsampled to 64 channels, the output is up2_2, and then concat with c2, and then two sets of convolution, activation and dropout are performed to output conv2_2; Then conv2_2 is upsampled to 32 channels, and the output is up1_3. Then it is added with c1 and conv1_2, and then two sets of convolution, activation and dropout are performed to output conv1_3. Then c4 is upsampled to 128 channels, the output is up3_2, and then concat with c3, and then two sets of convolution, activation and dropout are performed to output conv3_2; Then conv3_2 is upsampled to 64 channels, and the output is up2_3, which is then concat with c2 and conv2_2. After that, two sets of convolution, activation and dropout are performed to output conv2_3. Then conv2_3 is upsampled to 32 channels, and the output is up1_4. Then it is added with c1, conv1_2, and conv1_3, and then two sets of convolution, activation, and dropout are performed to output conv1_4. Then c5 is upsampled to 256 channels, and the output is up4_2. It is then concat with c4, and then two sets of convolution, activation and dropout are performed to output conv4_2. Then conv4_2 is upsampled to 128 channels, and the output is up3_3, which is then concat with c3 and conv3_2. After that, two sets of convolution, activation and dropout are performed to output conv3_3. Then conv3_3 is upsampled to 64 channels, and the output is up2_4, which is then concat with c2, conv2_2, and conv2_3. After that, two sets of convolution, activation, and dropout are performed to output conv2_4. Then upsample conv2_4 to 32 channels, output up1_5, add it with c1, conv1_2, conv1_3, conv1_4, then perform two sets of convolution, activation and dropout to output conv1_5; and Finally, perform 1*1 convolution on conv1_5 and output after sigmoid activation. In the above step S104, the following steps are included: a plane ABC composed of three points A, B, and C, with the right anterior superior iliac spine as vertex A, the left anterior superior iliac spine as vertex B, and the center point of the pubic symphysis as vertex C, is rotated three times around the X, Y, and Z axes in any order to obtain a finally rotated pelvis, In which, suppose in a three-dimensional scene, when a point P (x, y, z) is rotated around the X-axis by an angle θ, the point P' (x', y', z') is obtained, so: x′=x, (Equation 3), y′=ycosθ-zsinθ, (Formula 4), z′=ysinθ+zcosθ, (Formula 5), Therefore, the rotation equation about the X-axis is written in the form of a (4x4) matrix: , (Formula 6), The rotation equation about the Y axis is written in the form of a (4x4) matrix: , (Formula 10), The rotation equation about the Z axis is written in the form of a (4x4) matrix: , (Formula 14), In this way, the rotation angles around the X-axis, Y-axis and Z-axis are obtained, and the pelvis is rotated to obtain a three-dimensional virtual model of the pelvis.
2. The pelvic correction method according to claim 1, characterized in that: Before the above step S101, a step of marking the data is also included, which is to mark the pelvis appearing in the CT image sequence on the CT original image.
3. A surgical system for implementing the pelvic correction method according to claim 1 or 2, for correcting the pelvic correction based on the center point of the left and right anterior superior iliac spines and the pubic symphysis, characterized in that: include: An automatic segmentation unit, which uses a neural network to automatically segment the pelvic original image and obtain a segmentation result of the pelvic area; and A rotation unit rotates the pelvis based on the left and right anterior superior iliac spines and the center points of the pubic symphysis marked on the segmented pelvis.
4. The surgical system according to claim 3, characterized in that: Also includes: The training unit trains the neural network using the training samples based on the original image, and obtains and saves the trained neural network model.
5. The surgical system according to claim 3, characterized in that: Also includes: The 3D model generation unit stacks the results obtained by automatic segmentation using a neural network to obtain a 3D model in STL format for marking the left and right anterior superior iliac spines and the center points of the pubic symphysis.
6. The surgical system according to claim 3, characterized in that: The rotation unit rotates the plane ABC composed of three points A, B, and C, with the right anterior superior iliac spine as vertex A, the left anterior superior iliac spine as vertex B, and the center point of the pubic symphysis as vertex C, three times around the X, Y, and Z axes in any order to obtain the final rotated pelvis.
7. A computer-readable storage medium storing a computer program, wherein the computer program is used to enable a computer to implement the pelvic correction method according to any one of claims 1 to 2 or function as the surgical system according to any one of claims 3 to 6 by executing the computer program.
8. An electronic device comprising a processor and a memory for storing instructions executable by the processor, wherein the processor is configured to read and execute the instructions from the memory to implement the pelvic correction method described in any one of claims 1 to 2 or to function as a surgical system described in any one of claims 3 to 6.
Citation Information
Patent Citations
Hip joint image processing method based on deep learning and computing equipment
CN111179350A
Blood vessel segmentation method, electronic device and storage medium
CN112862833A
Medical image registration method and device
CN113096166A
Hip joint proximal femur segmentation method based on improved U-Net neural network
CN113658142A
Systems, methods, and apparatuses for implementing a multi-resolution neural network for use with imaging intensive applications including medical imaging
US20200074271A1
