Method and system for calculating leg length using deep learning assistance, and readable storage medium
Through the deep learning system, the pelvis and femur are classified and segmented multiple times, and key physiological points are obtained to calculate the leg length, which solves the problem of inaccurate leg length calibration during total hip replacement surgery, achieves accurate calculation of the full length of the lower limbs, and improves The success rate of surgery and the quality of postoperative recovery.
Patent Information
- Application Number
- CN202111453296.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-01
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-12-01
AI Technical Summary
In total hip replacement surgery, accurately determining the patient's leg length is critical to the success of the surgery and postoperative recovery, but existing technology is difficult to effectively calibrate, resulting in possible lower limb length discrepancies, lameness, and uneven stress on the legs. question.
Design a system that uses deep learning to assist, classify and segment the pelvis and femur through a variety of neural networks, and obtain key physiological points to calculate leg length, including an image classification unit, a pelvic segmentation unit, an anterior superior iliac spine determination unit, The femoral stem segmentation unit and lesser trochanter determination unit use CT image files to calculate leg length.
It achieves accurate calculation of the patient's full length of lower limbs with minimal CT radiation, improves the accuracy of pre-operative planning, and reduces the risk of postoperative complications.
Smart Images

Figure CN114092466B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical image analysis and processing technology, and more specifically, to a solution for using a neural network to assist in identifying leg length, and more specifically, to a method for calibrating leg length based on deep learning, image reconstruction, numerical algorithms, and the like, and more particularly to a redesigned technical solution for finding the lesser trochanter and anterior superior iliac spine. Background Art
[0002] With the rapid development of modern society, all walks of life have begun to be closely linked with the IT industry, and the medical industry is no exception. For example, when a total hip replacement is performed with the assistance of a surgical robot, it is very important to determine the leg length, which can determine the success of the operation and the patient's recovery after the operation. If the leg length is not accurately calibrated, it may cause the patient's lower limbs to be of different lengths after the operation, resulting in lameness, uneven force on the legs, and various injuries. Summary of the invention
[0003] The purpose of the present invention is to provide a technology for calculating leg length by designing multiple neural networks, performing multiple classification and segmentation operations on the pelvis and femur, and obtaining key physiological points.
[0004] According to one aspect of the present invention, a system for calculating leg length using deep learning is provided, comprising:
[0005] An image classification unit, which is configured to use a first classification neural network to narrow down the image range where the anterior superior iliac spine is located;
[0006] A pelvis segmentation unit configured to detect a pelvis within the image using a second segmentation neural network;
[0007] An anterior superior iliac spine determination unit, which is configured to determine the position of the anterior superior iliac spine according to a medical definition;
[0008] a femoral stem segmentation unit configured to segment using a third segmentation neural network to identify a femoral portion without a femoral head;
[0009] a lesser trochanter determining unit configured to determine the lesser trochanter based on a medical concept; and
[0010] The leg length calculation unit is configured to calculate the leg length based on the vertical distance between the cross section where the lesser trochanter is located and the cross section where the anterior superior iliac spine is located.
[0011] According to the technical solution of the above-mentioned system and corresponding method of the present invention, it is possible to calculate leg length by designing multiple neural networks, performing multiple classification and segmentation operations on the pelvis and femur, and obtaining key physiological points. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1Schematically showing a partial view including the anterior superior iliac spine extracted on a cross section by a classification network according to an embodiment of the present invention;
[0013] Figure 2 Schematically illustrates the architecture of the neural network vgg16-lsp according to an embodiment of the present invention;
[0014] Figure 3 The architecture of the neural network segnet according to an embodiment of the present invention is schematically shown;
[0015] Figure 4 Schematically showing a partial view of the pelvis obtained by segmentation using the neural network segnet;
[0016] Figure 5 A conceptual diagram schematically showing segmentation of a femoral stem according to an embodiment of the present invention;
[0017] Figure 6 Schematically showing the architecture of the neural network deeplabV3+ used for segmenting the femoral stem;
[0018] Figure 7 A conceptual diagram for calculating the length of the left leg is schematically shown;
[0019] Figure 8 The figure schematically shows a flow chart of a leg length calculation method according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0020] 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.
[0021] Special attention: There are many definitions of leg length, such as the vertical distance from the upper end of the femoral head to the lower end of the femoral knee joint is called the thigh length, or the vertical distance from the upper end of the femoral head to the sole of the foot is called the total length of the lower limb, or the vertical distance from the greater trochanter to the sole of the foot is called the greater trochanter point height, all of which are within the range of leg length, and the leg length referred to in the present invention is the vertical distance between the cross-section where the lesser trochanter is located and the cross-section where the anterior superior iliac spine is located. The significance of this length is that the total length of the patient's lower limb can be calculated with the least amount of CT scans, because in total hip replacement surgery, the femur is cut from the lesser trochanter or a few millimeters above the lesser trochanter, so the total length of the patient's lower limb can be calculated only by this distance, and the preoperative planning of total hip replacement surgery can be completed with the patient's exposure to CT radiation as little as possible.
[0022] <Exemplary Methods>
[0023] Figure 8 FIG. 1 is a flow chart of a leg length calculation method provided by an exemplary embodiment of the present invention. The method of this embodiment can be applied to electronic devices, such as Figure 8 As shown, the following steps are included:
[0024] Step S01: Use the first classification neural network to narrow down the image range where the anterior superior iliac spine is located.
[0025] Step S02: Use the second segmentation neural network to detect the pelvis within the image.
[0026] Step S03: Determine the position of the anterior superior iliac spine according to the medical definition.
[0027] Step S04: Use the third segmentation neural network to segment and identify the femoral part without the femoral head.
[0028] Step S05: Determine the lesser trochanter according to the medical concept,
[0029] Step S06: Calculate the leg length based on the vertical distance between the cross section where the lesser trochanter is located and the cross section where the anterior superior iliac spine is located.
[0030] Preferably, the leg length is calculated by performing image analysis using CT image files.
[0031] Exemplary embodiments of the method of the present invention are described in detail below with reference to the accompanying drawings.
[0032] According to the present invention, two sets of physiological points are required: the left and right anterior superior iliac spines and the left and right lesser trochanters. Figure 7 , the gray dot on the upper side represents the anterior superior iliac spine on the left side of the human body, and the gray dot on the lower side represents the lesser trochanter on the left side.
[0033] <Step S01: The first classification neural network narrows the image range where the anterior superior iliac spine is located>
[0034] First, the anterior superior iliac spine is identified. In an embodiment of the present invention, a classification neural network is used to extract the portion containing the anterior superior iliac spine on the cross section ( Figure 1 The two black dots on the left and right represent the anterior superior iliac spine on the left and right sides respectively).
[0035] Because the pelvic tilt angles of various patients are different, in order to prevent other data from affecting the final results, the range of correct results is narrowed to improve the accuracy. For example, if the patient's pelvic tilt angle is too small and presents a negative number, the pubic symphysis surface is more anterior than the anterior superior iliac spine on the coronal plane, resulting in misjudgment, this classification operation is performed.
[0036] Classification is performed using deep learning. The data is labeled using the basic classification labeling method, that is, positive samples are labeled as 1, negative samples are labeled as 0, and the labeled data is each CT original image on the cross section. The neural network used is the vgg16-lspp obtained by improving the vgg16 basic network (see Figure 2 ), as the name suggests, this adds the LSPP structure on the basis of the VGG16 network.
[0037] like Figure 2 As shown, regarding the vgg16 network as the basic network, first, based on the input, two 3*3 convolution operations conv3-64 with 64 channels are performed continuously, followed by a maximum pooling maxpool with a step size of 2, followed by two consecutive 3*3 convolution operations conv3-128 with 128 channels, and then the maximum pooling maxpool is performed. After that, two 3*3 convolution operations conv3-256 are performed, followed by a 1*1 convolution operation conv1-256, with 256 channels, and then the maximum pooling maxpool is performed. Two 3*3 convolution operations conv3-512 are performed, followed by a 1*1 convolution conv1-512, but the number of channels becomes 512, and then the maximum pooling maxpool is performed. The operation of 512 channels is repeated once, and then the full connection operation is started, and finally the softmax activation function is used for output.
[0038] The softmax formula is as follows:
[0039] , (Formula 1),
[0040] , (Formula 2),
[0041] Among them, x is the input, which represents the vector after the neural network has processed the features, and e is the natural constant e. Represents the output of each element in the vector after softmax.
[0042] Here, the inventors made some local modifications to the vgg16 network, in which the relu (relu(x)=max(0, x)) activation function in the convolution structure was changed to mish ( ) activation function increases the survival rate of network neurons, and adds a BN (batch normal) layer. At this time, a basic convolution structure is reorganized into convolution + mish activation function + BN layer.
[0043] On the other hand, LSPP is a structure improved by the inventors based on the SPP structure. Different from SPP, the feature fusion method of LSPP is to first save the feature map before each maximum pooling, and then pass it to the back of the neural network. For the problem of uneven size ratio of feature maps, the traditional SPP downsampling method is not used, but dilated hole sampling is used. Compared with the original, the advantage of this is that it not only increases the receptive field, but also obtains strong representation information, thereby strengthening feature fusion. lspp starts at the second maximum pooling and ends at the last maximum pooling, and undergoes the fusion of three feature maps of different sizes. The reason why the data before the first maximum pooling is not processed is that the aspect ratio of that feature map data is too large, but the number of channels is too small. The large aspect ratio requires more hole sampling to unify the x-axis (the horizontal axis of a single CT image) and the y-axis (the vertical axis of a single CT image). This loses too much representation information and has no effect, but increases a lot of parameters out of thin air. The number of channels is too small, resulting in a large amount of repeated and redundant data added to the data that was almost useless after multiple hole samplings, further affecting the accuracy of the network. The other layers use dilated hole sampling and then concat splicing. The principle of dilated is to divide all the elements in a feature map into several 2*2 small matrices. After the matrices are marked as 1 (upper left), 2 (upper right), 3 (lower left), and 4 (lower right) in sequence, all the elements with equal numbers are extracted and reconstructed into 4 matrices with a length and width of half the original, and then these 4 matrices are concat spliced. This can greatly obtain global information, thereby avoiding local extreme information from affecting the final prediction results. At the same time, the dilated algorithm is used several times according to the size of each feature map to ensure that the size of the final result is the same.
[0044] More specifically, in Figure 2 In the example, three dilated hole samplings are performed on the feature map before the second maximum pooling, two dilated hole samplings are performed on the feature map before the third maximum pooling, and one dilated hole sampling is performed on the feature map before the fourth maximum pooling. No dilated hole sampling is performed on the feature map before the last maximum pooling. This is because the dilated hole samplings performed on the feature maps before the second to fourth maximum pooling are based on the length and width of the feature map before the last maximum pooling. Therefore, there is no need to perform dilated hole sampling on the feature map before the last maximum pooling. In addition, Figure 2 The “FC-4096” and “FC-2” in the figure are the calculation methods of the original neural network, so their description is omitted here.
[0045] For the trained first classification neural network, the inventors tested it on a test set of 50 CT data and obtained an accuracy of 85%, while the probability of false positive prediction results in interlayer detection was 0%.
[0046] So far, the description and test of the first classification neural network have been completed. The purpose of this study is to extract targets that may be positive samples, so the accuracy does not need to be too high, but the lower the false positive data, the better, so the purpose has been achieved. The so-called false positive refers to the test result that the actual situation is a negative sample, but the predicted situation is a positive sample. Corresponding to it are false negatives (the actual situation is a positive sample, but the predicted result is a negative sample), true positives (the actual situation is a positive sample, and the predicted result is a positive sample), and true negatives (the actual situation is a negative sample, and the predicted result is a negative sample). Then segment the results extracted by the first classification neural network.
[0047] <Step S02: Second segmentation neural network detects pelvis within the image range>
[0048] The segmentation scheme here uses deep learning, and the neural network is selected as segnet (see Figure 3 ), SegNet is a classic segmentation neural network. Its network structure is basically the same as that of Unet, but it is relatively lighter and more efficient. Its image input size is arbitrary, but downsampling is performed 4 times, that is, the length and width must be The multiple of 512×512 will not cause program errors, which is also the reason for the data processing mentioned above. Considering that the standard size of CT images is 512×512, the size is fixed and then input into the network for the first convolution structure. After the convolution operation, 64 3*3 convolution kernels are used. In order to make the data uniformly distributed, the BN operation is performed. Then the relu (relu(x)=max(0,x)) activation function is used for activation. The purpose is to increase the nonlinear structure of the neural network. This is a 64-channel convolution structure. After two convolution structures, downsampling is performed. The downsampling method makes Using max pooling, we get a 256×256×64 feature map, which is the "first layer" in segnet. Then we do the second layer, and so on until the fifth layer. The operation of each layer is the same. The difference is that the number of channels in each layer will be doubled to the previous layer, which is the same as unet. The only difference between the two neural networks is the parameters saved during downsampling. Before downsampling, unet will save all the data before downsampling, while segnet will only save the location information of the features retained during downsampling. Specifically, a 2*2 matrix is used for downsampling, and the downsampling method uses max pooling. unet will save the entire 2*2 matrix, while segnet will save the location of the maximum value in the matrix. For example, the matrix content is , the maximum value is 139, and the position of 139 is [1,1] (the starting subscript is 0), then only this position is saved, and the above steps are repeated until the fifth layer after four layers, and it becomes a 32×32×1024 feature map.
[0049] After that, upsampling is performed. The upsampling method uses bilinear interpolation, but the data of this layer will be overwritten on the previously saved position. For example, the data of this layer is a 2*2 matrix , the saved positions are [[0, 0], [1,0], [1, 1], [0, 0]]. After upsampling, the size should be twice the original size, becoming a 4*4 matrix. The rest of the part uses bilinear interpolation, but the [0,0] position in the first part of this matrix (the upper left after the length and width are divided into 4 equal parts, that is, the first two columns of the first two rows) is covered by 98, and the [1, 0] position in the second part (the last two columns of the first two rows) is covered by 45, and so on. The difference between upsampling and downsampling at each layer is that the number of channels is reduced by half from doubling, and the rest is exactly the same. Finally, a 64-channel feature map with the same length and width as the original input image is obtained. After another 2-channel convolution structure, the activation function is used for activation to obtain the final output result output.
[0050] Use the trained second segmentation neural network to segment the results extracted by the first classification neural network, and combine the results to get Figure 4 The model in .
[0051] <Step S03: Determine the location of the anterior superior iliac spine>
[0052] Will Figure 4 The model shown in the figure is divided into two parts, left and right, which are bisected on the axis of the sagittal plane. The most forward points on the axis of the coronal plane are the left and right anterior superior iliac spines. Here, the left and right anterior superior iliac spines are found by computer automatic processing.
[0053] <Step S04: Third segmentation neural network identifies femur part>
[0054] To find the coordinates of the trochanter minor (see Figure 5 The third segmentation neural network is used to segment the femoral stem.
[0055] Because the femoral stem is relatively delicate compared to the pelvis, the lightweight segnet cannot be used for training segmentation here. Instead, the inventor uses the latest segmentation network deeplab V3+ ( Figure 6 ).
[0056] The DeepLab series is another popular segmentation neural network branch after the UNET series. It is mainly good at segmenting large overall targets. It is generally not very suitable in the medical field. However, the inventors have found that this network is surprisingly suitable for relatively large tissues such as bones.
[0057] like Figure 6As shown in the figure, the specific process of the latest V3+ version is to first input a picture into the network, extract features through a feature extraction network DCNN, and the feature extraction network DCNN can use any method. Then, the extracted features are branched in two ways, one of which simultaneously performs 1*1 convolution, 3*3 dilated convolution with a step size (rate) of 6, 3*3 dilated convolution with a step size of 12, 3*3 dilated convolution with a step size of 18, and maximum pooling. Then, the above results are concat spliced to obtain the feature map feature map, and then the feature map is reduced by 1*1 convolution (1*1conv) to reduce the number of channels, and then concat spliced with the second branch, while the second branch simply uses 1*1 convolution to increase the number of channels, and then performs a 3*3 convolution on the spliced feature map and then upsamples it. The upsampling uses deconvolution, and the upsampling is output after reaching the same size as the original image to obtain the segmentation result.
[0058] <Step S05: Determine the small rotor>
[0059] The femoral stem is then divided into left and right parts. According to the medical definition, the rightmost point of the entire left femoral stem and the leftmost point of the right femoral stem are found. The method of finding is to divide the point cloud data that constitutes the entire femoral stem into two sets on the axis of the sagittal plane.
[0060] According to the coordinate distinction, from the cross-sectional direction, the upper rightmost point of the femoral stem point cloud data on the left side of the image (right leg) is the lesser trochanter of the right leg, and vice versa for the left leg. The upper leftmost point of the femoral stem point cloud data on the right side of the image (left leg) is the lesser trochanter of the left leg. Through this operation, the coordinates of the lesser trochanters of the left and right legs can be obtained. Here, the coordinates of the lesser trochanters of the left and right legs are calculated and found through computer automatic processing.
[0061] <Step S06: Calculate leg length>
[0062] At this point, we have the coordinate points of the lesser trochanter and the anterior superior iliac spine. By calculating the vertical distance between the two points on the axis of the cross section, we can get the lengths of the left and right legs respectively.
[0063] The above is an example of a method or system for implementing the present invention. In summary, according to the present invention, the following method and system are provided.
[0064] (1) A system for calculating leg length using deep learning, comprising:
[0065] An image classification unit, which is configured to use a first classification neural network to narrow down the image range where the anterior superior iliac spine is located;
[0066] A pelvis segmentation unit configured to detect a pelvis within the image using a second segmentation neural network;
[0067] An anterior superior iliac spine determination unit, which is configured to determine the position of the anterior superior iliac spine according to a medical definition;
[0068] a femoral stem segmentation unit configured to segment using a third segmentation neural network to identify a femoral portion without a femoral head;
[0069] a lesser trochanter determining unit configured to determine the lesser trochanter based on a medical concept; and
[0070] The leg length calculation unit is configured to calculate the leg length based on the vertical distance between the cross section where the lesser trochanter is located and the cross section where the anterior superior iliac spine is located.
[0071] (2) Preferably, the labeled data of the first classification neural network is each original CT image on the cross section.
[0072] (3) Preferably, the first classification neural network is a VGG16-LSPP improved on the basis of the VGG16 network and the SPP structure, wherein the activation function ReLU in the convolution structure of the VGG16 network is changed to the MISH activation function, i.e. , and added a BN layer,
[0073] The feature fusion method of LSPP is to save the feature maps before each maximum pooling and pass them backward for feature fusion from the beginning of the second maximum pooling to the end of the last maximum pooling, and use dilated hole sampling.
[0074] (4) Preferably, the number of dilated hole sampling is determined according to the size of the feature map so that the size of the final result is the same.
[0075] (5) Preferably, the second segmentation neural network uses a segnet network.
[0076] (6) Preferably, the model obtained by combining the results output from the second segmentation neural network is bisected on the axis of the sagittal plane, and the most anterior points on the axis of the coronal plane are respectively obtained as the left and right anterior superior iliac spines.
[0077] (7) Preferably, the third segmentation neural network uses a deeplab network.
[0078] (8) Preferably, based on the segmentation result output from the third segmentation neural network, the femoral stem is divided into left and right parts, and the point cloud data constituting the two parts of the femoral stem are equally divided into two sets on the axis of the sagittal plane, and the rightmost point of the entire left femoral stem and the leftmost point of the entire right femoral stem are found as the positions of the lesser trochanters of the left and right legs, respectively.
[0079] (9) A method for calculating leg length using deep learning, comprising:
[0080] Step S01: using a first classification neural network to narrow down the image range where the anterior superior iliac spine is located;
[0081] Step S02: using a second segmentation neural network to detect the pelvis within the image;
[0082] Step S03: determining the position of the anterior superior iliac spine according to the medical definition;
[0083] Step S04: using a third segmentation neural network to perform segmentation and identify the femoral part without the femoral head;
[0084] Step S05: determining the lesser trochanter according to medical concepts;
[0085] Step S06: Calculate the leg length based on the vertical distance between the cross section where the lesser trochanter is located and the cross section where the anterior superior iliac spine is located.
[0086] (10) According to an embodiment of the present invention, there may be provided an electronic device, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the above-mentioned method is implemented.
[0087] The electronic device may be any one or both of the first device and the second device, or a stand-alone device independent of them, and the stand-alone device may communicate with the first device and the second device to receive the collected input signals from them. The processor may be a central processing unit (CPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions. The memory may include one or more computer program products, and may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory.
[0088] (11) In addition, a readable storage medium, such as a mobile disk, a hard disk, etc., may be provided, on which a computer program is stored. When the computer program is executed by a processor, it functions as the above-mentioned system or implements the above-mentioned method.
[0089] (12) In addition to the above-mentioned methods and apparatus, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, and when the computer program instructions are executed by a processor, the processor executes the steps of the method according to various embodiments of the present disclosure described in the above-mentioned "Exemplary" section of this specification.
[0090] (13) A preoperative planning system for assisting hip replacement, for assisting preoperative planning by calculating leg length with the aid of deep learning,
[0091] Wherein, leg length is calculated using any one of the above methods or systems.
[0092] In addition, each functional component, module or unit in the embodiments provided in the present application may be integrated into one functional part, or each part may exist physically separately, or two or more functional parts may be integrated together.
[0093] The method steps and modules of each example described in the embodiments disclosed in the present invention can be implemented by electronic hardware, computer software or a combination of the two, and some or all of them can be selected according to actual needs to achieve the purpose of the embodiment.
[0094] In the present invention, the terms "first", "second", "third" and "fourth", "S01-Sn", etc. are only used for distinguishing description purposes and are only used to distinguish two different object features. They are not used to indicate the order of arrangement, relative importance, or implicitly indicate the number of the indicated technical features.
[0095] 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 system for calculating leg length using deep learning, comprising: An image classification unit, which is configured to use a first classification neural network to narrow down the image range where the anterior superior iliac spine is located; A pelvis segmentation unit configured to detect a pelvis within the image using a second segmentation neural network; An anterior superior iliac spine determination unit, which is configured to determine the position of the anterior superior iliac spine according to a medical definition; a femoral stem segmentation unit configured to segment using a third segmentation neural network to identify a femoral portion without a femoral head; a lesser trochanter determining unit configured to determine the lesser trochanter based on a medical concept; and The leg length calculation unit is configured to calculate the leg length based on the vertical distance between the cross section where the lesser trochanter is located and the cross section where the anterior superior iliac spine is located. The first classification neural network is an improved VGG16-LSPP based on the VGG16 network and the SPP structure. Among them, the activation function relu in the convolution structure of the vgg16 network is changed to the mish activation function, that is, , and added a BN layer, The feature fusion method of LSPP is to save the feature maps before each maximum pooling and pass them backward for feature fusion from the beginning of the second maximum pooling to the end of the last maximum pooling, and use dilated hole sampling. The second segmentation neural network uses a segnet network. The third segmentation neural network uses the deeplab network.
2. The system according to claim 1, characterized in that The labeled data of the first classification neural network is each original CT image in the cross section.
3. The system according to claim 1, characterized in that The number of dilated hole sampling is determined according to the size of the feature map so as to ensure that the size of the final result is the same.
4. The system according to claim 1, characterized in that The model obtained by combining the results output from the second segmentation neural network is bisected on the axis of the sagittal plane, and the most anterior points on the axis of the coronal plane are respectively obtained as the left and right anterior superior iliac spines.
5. The system according to claim 1, characterized in that Based on the segmentation results output from the third segmentation neural network, the femoral stem is divided into left and right parts, and the point cloud data constituting the two parts of the femoral stem are equally divided into two sets on the axis of the sagittal plane. The rightmost point of the entire left femoral stem and the leftmost point of the entire right femoral stem are found as the positions of the lesser trochanters of the left and right legs, respectively.
6. A method for calculating leg length using deep learning, characterized in that: include: Step S01: using a first classification neural network to narrow down the image range where the anterior superior iliac spine is located; Step S02: using a second segmentation neural network to detect the pelvis within the image; Step S03: determining the position of the anterior superior iliac spine according to the medical definition; Step S04: using a third segmentation neural network to perform segmentation and identify the femoral part without the femoral head; Step S05: determining the lesser trochanter according to medical concepts; Step S06: Calculate the leg length based on the vertical distance between the cross section where the lesser trochanter is located and the cross section where the anterior superior iliac spine is located. The first classification neural network is an improved VGG16-LSPP based on the VGG16 network and the SPP structure. Among them, the activation function relu in the convolution structure of the vgg16 network is changed to the mish activation function, that is, , and added a BN layer, The feature fusion method of LSPP is to save the feature maps before each maximum pooling and pass them backward for feature fusion from the beginning of the second maximum pooling to the end of the last maximum pooling, and use dilated hole sampling. The second segmentation neural network uses a segnet network. The third segmentation neural network uses the deeplab network.
7. A readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the system functions as any one of claims 1 to 5 or implements the method of claim 6.
8. A system for assisting preoperative planning of hip replacement, for assisting preoperative planning by calculating leg length with the aid of deep learning, in, Leg length is calculated using the system of any one of claims 1 to 5 or the method of claim 6.
Citation Information
Patent Citations
Hip joint image processing method based on deep learning and computing equipment
CN111179350A
Manufacturing method and evaluation method of short-stem femur prosthesis formed by 3D printing of metals
CN111588519A
Femoral lesser trochanter recognition method and device based on deep learning and electronic equipment
CN111652301A
Total hip replacement revision preoperative planning method and equipment based on deep learning
CN112971981A
