Spinal canal nerve anesthesia puncture guiding method based on feature enhancement

By using neural network feature enhancement and target detection modules, the problem of inaccurate positioning in spinal anesthesia puncture guidance was solved, achieving precise positioning of the dura mater and ligamentum flavum, and improving the accuracy and efficiency of anesthesia puncture.

CN118892349AInactive Publication Date: 2024-11-05南昌大学第一附属医院
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411380013.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2024-11-05
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing spinal nerve anesthesia puncture guidance methods cannot accurately locate the spinal nerve, resulting in low accuracy and efficiency of anesthesia puncture.

Method used

A feature-enhanced spinal anesthesia puncture guidance method was adopted, which uses neural networks to automatically identify the dura mater and ligamentum flavum in spinal ultrasound images. The feature representation is enhanced by multi-scale convolution and feature pyramid layers, and combined with residual attention layers and target detection modules, the dura mater and ligamentum flavum are accurately located.

Benefits of technology

It improves the recognition accuracy and position feedback accuracy of the dura mater and ligamentum flavum in spinal canal ultrasound images, assisting anesthesiologists in performing spinal canal anesthesia puncture quickly and accurately.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118892349A_ABST
    Figure CN118892349A_ABST
Patent Text Reader

Abstract

The invention discloses a spinal canal nerve anesthesia puncture guiding method based on feature enhancement, and the method comprises the following steps: S1, constructing an original data set, carrying out the preprocessing of the original data set, and obtaining a preprocessed data set; s2, constructing a puncture guide model; introducing the spinal canal nerve ultrasonic image into a feature enhancement module to obtain feature representations of the dura mater and the ligamentum flavum; s3, inputting the extracted feature representations of the dura mater and the ligamentum flavum into a target detection module, identifying the dura mater and the ligamentum flavum in the spinal canal nerve ultrasound image, and obtaining position coordinates of the dura mater and the ligamentum flavum in the image; and S4, deploying the trained feature enhancement module and the target detection module in a background server, and detecting the positions of the dura mater and the ligamentum flavum in the acquired spinal canal nerve ultrasound image. According to the invention, the position information of the dura mater and the ligamentum flavum in the image can be fed back to an anesthetist to assist the anesthetist to perform spinal canal nerve anesthesia puncture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an image processing method, and in particular to a spinal canal nerve anesthesia puncture guidance method based on feature enhancement. Background Art

[0002] Anesthesia is a medical treatment that aims to reduce the pain of patients and ensure the smooth progress of the operation. The anesthesia method of injecting local anesthetics around the spinal nerve trunks in the gap between the dura mater and the yellow ligament to produce nerve conduction block in the area it controls is called epidural anesthesia, which is one of the commonly used anesthesia methods in clinical practice. It is suitable for lower limb surgeries such as femoral head replacement, knee and hip replacement, open reduction and internal fixation of lower limb fractures. Epidural anesthesia can effectively reduce the patient's pain and improve the quality of surgery. After the introduction of ultrasound imaging equipment into clinical use, especially in the field of anesthesia puncture, anesthesiologists need to master ultrasound-guided anesthesia puncture and accurately locate the position of the spinal nerves, which requires long-term professional ultrasound machine operation training.

[0003] Therefore, there is an urgent need for an auxiliary technical means to assist anesthesiologists in using ultrasound-guided spinal nerve anesthesia puncture to quickly get started and accurately find the position of the spinal nerve. With the rapid development of artificial intelligence, neural networks have been applied to many target detection tasks and achieved remarkable results. The target detection task based on neural networks is to use neural networks to identify a target in an image and select it with a recognition box, and return the coordinate information of the target in the image. Summary of the invention

[0004] Aiming at the technical problem that the spinal nerve anesthesia puncture guidance method in the prior art cannot accurately locate the position of the spinal nerve, a spinal nerve anesthesia puncture guidance method based on feature enhancement is provided. The present invention introduces neural network technology into the spinal nerve anesthesia puncture task, and proposes a spinal nerve anesthesia puncture guidance method based on feature enhancement, which uses a neural network to automatically identify the dura mater and the yellow ligament in the spinal nerve ultrasound image and return the position information.

[0005] A feature-enhanced spinal nerve anesthesia puncture guidance method comprises the following steps: Step S1: constructing an original data set, the original data set includes a number of spinal canal nerve ultrasound images, preprocessing the original data set, obtaining a preprocessed data set, and dividing the data set into a training set and a test set; Step S2: constructing a puncture guidance model, which includes a feature enhancement module and a target detection module; importing the spinal nerve ultrasound image of the data set in step S1 into the feature enhancement module, weighting the dura mater and yellow ligament area of ​​the spinal nerve ultrasound image, capturing the features of the dura mater and yellow ligament and suppressing the information of fat and spinal cord, thereby obtaining the feature representation of the dura mater and yellow ligament; Step S3: inputting the extracted feature representations of the dura mater and the yellow ligament into the target detection module, identifying the dura mater and the yellow ligament in the spinal canal nerve ultrasound image, and obtaining the position coordinates of the dura mater and the yellow ligament in the image; Step S4: Use the training set of step S1 to train the puncture guidance model, deploy the trained feature enhancement module and target detection module on the background server, and detect the positions of the dura mater and the yellow ligament in the collected spinal canal nerve ultrasound image.

[0006] Further, step S1 includes: Step S11: collecting spinal canal nerve ultrasound image data of different patients to obtain N spinal canal nerve ultrasound images; Step S12: marking the dura mater and ligamentum flavum in the spinal canal nerve ultrasound image with rectangular frames; Step S13: merging the spinal canal nerve ultrasound image sample and the corresponding annotation information to obtain a set of data; Step S14: Repeat steps S12 and S13 to obtain a complete data set and divide it into a training set and a test set.

[0007] Furthermore, the feature enhancement module in step S2 includes a multi-scale convolution layer, a feature pyramid layer, and a feature weighted fusion layer; The specific operation process of the feature enhancement module is as follows: Step S21: Input the spinal nerve ultrasound image into the multi-scale convolution layer, and obtain the features of the dura mater and ligamentum flavum at different scales through convolution kernels of different scales, which are expressed as: ; in, , and They are the features of the dura mater and ligamentum flavum at different scales output by the multi-scale convolutional layer, which are the first image feature, the second image feature, and the third image feature, respectively; represents the multi-scale convolution kernel, represents the Sigmoid activation function, is the input spinal nerve ultrasound image; Step S22: The feature pyramid layer enhances the learning ability of the features of the dura mater and the ligamentum flavum at different scales, further extracts features at different levels, and obtains multi-scale feature representations of the dura mater and the ligamentum flavum; Among them, the feature pyramid layer includes the P3 layer, the P2 layer and the P1 layer connected in sequence; Step S22 is specifically as follows: Step S221: Obtain a third image feature map by upsampling the third image feature, which is expressed as: ; in, represents a third image feature map; Then the convolution kernel size is applied to the third image feature map The convolution of is used to adjust the number of channels, expressed as: ; in, Represents the output of the P3 layer of the feature pyramid layer; Step S222: Obtain a second image feature map by upsampling the second image feature, which is expressed as: ; in, represents a second image feature map; The output of the P3 layer is upsampled and pooled and concatenated with the second image feature map to obtain an enhanced second image feature map, which is expressed as: ; in, represents the upsampling pooling operation, represents an enhanced second image feature map; Apply convolution kernel size to enhance the second image feature map The convolution of is used to adjust the number of channels, expressed as: ; in, Represents the output of the P2 layer of the feature pyramid layer; Step S223: Perform an upsampling pooling operation on the output of the P2 layer and concatenate it with the second image feature map to obtain an enhanced first image feature map, which is expressed as: ; in, represents an enhanced first image feature map; Apply convolution kernel size to enhance the first image feature map The convolution of is used to adjust the number of channels, expressed as: ; in, Represents the output of the P1 layer of the feature pyramid layer; The final output of the feature pyramid is ; Step S23: importing P into the feature weighted fusion layer, learning the correlation between different features in the spinal canal nerve ultrasound image, highlighting the features of the dura mater and the yellow ligament, and suppressing the features of fat and spinal cord; Step S23 is specifically as follows: Will In , and The residual attention layer of the feature weighted fusion layer is input in sequence for channel compression. The first convolution layer and the second convolution layer constituting the residual attention layer respectively generate the compressed first multi-scale feature map and the second multi-scale feature map through feature compression, which are expressed as: ; ; ; in, represents the first multi-scale feature map, represents the second multi-scale feature map, represents the feature compression operation of the first convolutional layer, Represents the feature compression operation of the second convolutional layer; use and Calculate the similarity between positions and generate an attention map, expressed as: ; in, represents the attention map, represents the similarity calculation function, represents the transpose of the first multi-scale feature map; Then Multiply the attention map element-wise to get the attention-weighted feature map : ; Finally and Add together to get the output of the residual attention layer, expressed as: ; in, represents a learnable scaling factor used to scale the effect of attention enhancement. is the output of the residual attention layer; , and After inputting the residual attention layer respectively, we get , and The residual characteristics of , and ; Step S24: , and Input feature fusion layer to obtain fusion features, as follows: First, , and Input the self-attention layer to obtain the attention weights , and ; then and , and as well as and The corresponding points are multiplied and added to obtain the self-attention feature. The specific formula is as follows: ; in, Represents the self-attention feature, which is input into the maximum pooling layer to obtain the pooling feature , expressed as: ; in, represents the maximum pooling operation; Finally Input the normalization layer to perform normalization operation to obtain the final fusion feature , which is the characteristic representation of the dura mater and the yellow ligament, is expressed as: ; in, Represents the L1 norm normalization operation.

[0008] Furthermore, the target detection module includes a region generation network, a priori box pre-screening layer and a prediction output layer; step S3 is specifically as follows: Step S31: Generate candidate target regions through a region generation network; The fusion features obtained in step S2 Input sliding window layer, in the fusion feature Generate multiple prior frames of different scales and proportions at each position to obtain several prior frame sets ; The target label and target position are predicted by the first score prediction fully connected layer and the first regression prediction fully connected layer respectively, which are expressed as: ; ; in, , are the weights and biases of the score prediction fully connected layer, , are the weights and biases of the regression prediction fully connected layer, Indicates that the prior frame is in the fusion feature The features of the corresponding position on The four parameters representing the predicted target position represent the displacement required to fine-tune the current prior box to the desired bounding box position. represents the probability distribution score of the foreground category, that is, the predicted target label, represents the probability distribution score of the background category; Step S32: Input all prior frames into the prior frame pre-screening layer in sequence to obtain high-quality prior frames; first obtain the foreground probability distribution scores and predicted bounding box regression values ​​of all prior frames, then sort all prior frames in descending order according to the foreground probability distribution scores, and traverse the prior frame set starting from the prior frame with the highest score ; The traversal operations are as follows: The prior box set The prior box with the highest score is added to the output result T; Calculate the intersection and union ratio of the prior frame and other prior frames; remove other prior frames whose intersection and union ratio is greater than the preset threshold from Removed; Repeat the operation until all prior boxes are traversed and the final output result T is returned; Step S33: input the final output result T into the prediction output layer to obtain the positions of the dura mater and the ligamentum flavum in the spinal canal nerve ultrasound image. The specific process is as follows: Step S331: The coordinates of each prior frame in the high-quality prior frame set obtained in S32 are The corresponding regional feature blocks are cut out from the top to obtain the feature regional block set ; Step S332: The feature blocks in are input into the average pooling layer respectively, and then the feature concatenation is performed to obtain the average pooling feature map ; Step S333: Average pooling feature map Input the hole convolution layer to obtain high-dimensional features ; Step S34: target classification and bounding box regression; Step S34 is specifically: converting high-dimensional features Input two parallel fully connected layer networks, namely the second score prediction fully connected layer and the second regression prediction fully connected layer. The second score prediction fully connected layer is expressed as: ; in, and are the weight matrix and bias vector of the second score prediction fully connected layer, is the activation function, Cls represents the high-dimensional feature The probability of being dura mater and ligamentum flavum; The second regression prediction fully connected layer is expressed as: ; and are the weight matrix and bias vector of the second regression prediction fully connected layer, Represents an 8-dimensional vector, which decodes the coordinates of the predicted rectangular boxes of the dura mater and the yellow ligament. The coordinates are the positions of the dura mater and the yellow ligament in the spinal canal nerve ultrasound image.

[0009] Furthermore, in step S4, the trained feature enhancement module and target detection module are deployed on the background server to detect the positions of the dura mater and the ligamentum flavum in the collected spinal canal nerve ultrasound image, specifically: Step S41: collecting the patient's spinal canal nerve ultrasound image and transmitting it to the backend server; Step S42: using the trained feature enhancement module to obtain feature representations of the dura mater and ligamentum flavum of the spinal canal nerve ultrasound image; Step S43: inputting the feature representation of the dura mater and the ligamentum flavum into the target detection module to obtain the positions of the dura mater and the ligamentum flavum in the spinal canal nerve ultrasound image; Step S44: making a decision on nerve anesthesia puncture according to the positions of the patient's dura mater and ligamentum flavum in the spinal canal nerve ultrasound image.

[0010] Beneficial effects of the present invention: 1) The multi-module integrated feature enhancement module designed by the present invention using multi-scale convolution and feature pyramid has stronger adaptability and can process complex image structures. The enhanced feature map represents richer detail features of the dura mater and ligamentum flavum, making it suitable for spinal canal nerve ultrasound images.

[0011] 2) Furthermore, the present invention utilizes the constructed puncture guidance model to learn the characteristics of the spinal nerve ultrasound image, realizes the identification of the dura mater and the yellow ligament in the spinal nerve ultrasound image, and can feed back the position information of the dura mater and the yellow ligament in the image to the anesthesiologist, so as to assist the doctor in performing spinal nerve anesthesia puncture, thereby improving the efficiency of the anesthesiologist in finding the spinal nerve in the spinal nerve ultrasound image and the accuracy of anesthesia puncture. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 A flowchart of the steps of the puncture guidance method constructed in the present invention; Figure 2 is a system structure diagram of the feature enhancement module of the present invention; Figure 3 is a system structure diagram of the residual attention layer of the present invention;

[0012] Figure 4 It is a system structure diagram of the target detection module of the present invention. DETAILED DESCRIPTION

[0013] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention.

[0014] Reference Figure 1~Figure 4 A feature-enhanced spinal nerve anesthesia puncture guidance method, in one example, includes the following steps: Step S1: constructing an original data set, the original data set includes a number of spinal canal nerve ultrasound images, preprocessing the original data set, obtaining a preprocessed data set, and dividing the data set into a training set and a test set; Step S2: constructing a puncture guidance model, which includes a feature enhancement module and a target detection module; importing the spinal nerve ultrasound image of the data set in step S1 into the feature enhancement module, weighting the dura mater and yellow ligament area of ​​the spinal nerve ultrasound image, capturing the features of the dura mater and yellow ligament and suppressing the information of fat and spinal cord, thereby obtaining the feature representation of the dura mater and yellow ligament; Step S3: inputting the extracted feature representations of the dura mater and the yellow ligament into the target detection module, identifying the dura mater and the yellow ligament in the spinal canal nerve ultrasound image, and obtaining the position coordinates of the dura mater and the yellow ligament in the image; Step S4: Use the training set of step S1 to train the puncture guidance model, deploy the trained feature enhancement module and target detection module on the background server, and detect the positions of the dura mater and the yellow ligament in the collected spinal canal nerve ultrasound image.

[0015] Further, step S1 includes: Step S11: collecting spinal canal nerve ultrasound image data of different patients to obtain N spinal canal nerve ultrasound images; Step S12: marking the dura mater and ligamentum flavum in the spinal canal nerve ultrasound image with rectangular frames; Step S13: merging the spinal canal nerve ultrasound image sample and the corresponding annotation information to obtain a set of data; Step S14: Repeat steps S12 and S13 to obtain a complete data set and divide it into a training set and a test set.

[0016] Further, in one example, the feature enhancement module in step S2 includes a multi-scale convolution layer, a feature pyramid layer, and a feature weighted fusion layer; The specific operation process of the feature enhancement module is as follows: Step S21: Input the spinal nerve ultrasound image into the multi-scale convolution layer, and obtain the features of the dura mater and ligamentum flavum at different scales through convolution kernels of different scales, which are expressed as: ; in, , and They are the features of the dura mater and ligamentum flavum at different scales output by the multi-scale convolutional layer, which are the first image feature, the second image feature, and the third image feature, respectively; represents the multi-scale convolution kernel, represents the Sigmoid activation function, is the input spinal nerve ultrasound image; Step S22: The feature pyramid layer enhances the learning ability of the features of the dura mater and the ligamentum flavum at different scales, further extracts features at different levels, and obtains multi-scale feature representations of the dura mater and the ligamentum flavum; Among them, the feature pyramid layer includes the P3 layer, the P2 layer and the P1 layer connected in sequence; Step S22 is specifically as follows: Step S221: Obtain a third image feature map by upsampling the third image feature, which is expressed as: ; in, represents a third image feature map; Then the convolution kernel size is applied to the third image feature map The convolution of is used to adjust the number of channels, expressed as: ; in, Represents the output of the P3 layer of the feature pyramid layer; Step S222: Obtain a second image feature map by upsampling the second image feature, which is expressed as: ; in, represents a second image feature map; The output of the P3 layer is upsampled and pooled and concatenated with the second image feature map to obtain an enhanced second image feature map, which is expressed as: ; in, represents the upsampling pooling operation, represents an enhanced second image feature map; Apply convolution kernel size to enhance the second image feature map The convolution of is used to adjust the number of channels, expressed as: ; in, Represents the output of the P2 layer of the feature pyramid layer; Step S223: Perform an upsampling pooling operation on the output of the P2 layer and concatenate it with the second image feature map to obtain an enhanced first image feature map, which is expressed as: ; in, represents an enhanced first image feature map; Apply convolution kernel size to enhance the first image feature map The convolution of is used to adjust the number of channels, expressed as: ; in, Represents the output of the P1 layer of the feature pyramid layer; The final output of the feature pyramid is ; Step S23: importing P into the feature weighted fusion layer, learning the correlation between different features in the spinal canal nerve ultrasound image, highlighting the features of the dura mater and the yellow ligament, and suppressing the features of fat and spinal cord; Step S23 is specifically as follows: Will In , and The residual attention layer of the feature weighted fusion layer is input in sequence for channel compression. The first convolution layer and the second convolution layer constituting the residual attention layer respectively generate the compressed first multi-scale feature map and the second multi-scale feature map through feature compression, which are expressed as: ; ; ; in, represents the first multi-scale feature map, represents the second multi-scale feature map, represents the feature compression operation of the first convolutional layer, Represents the feature compression operation of the second convolutional layer; use and Calculate the similarity between positions and generate an attention map, expressed as: ; in, represents the attention map, represents the similarity calculation function, represents the transpose of the first multi-scale feature map; Then Multiply the attention map element-wise to get the attention-weighted feature map : ; Finally and Add together to get the output of the residual attention layer, expressed as: ; in, represents a learnable scaling factor used to scale the effect of attention enhancement. is the output of the residual attention layer; , and After inputting the residual attention layer respectively, we get , and The residual characteristics of , and ; Step S24: , and Input feature fusion layer to obtain fusion features, as follows: First, , and Input the self-attention layer to obtain the attention weights , and ; then and , and as well as and The corresponding points are multiplied and added to obtain the self-attention feature. The specific formula is as follows: ; in, Represents the self-attention feature, which is input into the maximum pooling layer to obtain the pooling feature , expressed as: ; in, represents the maximum pooling operation; Finally Input the normalization layer to perform normalization operation to obtain the final fusion feature , which is the characteristic representation of the dura mater and the yellow ligament, is expressed as: ; in, Represents the L1 norm normalization operation.

[0017] Furthermore, in one example, the target detection module includes a region generation network, a priori box pre-screening layer, and a prediction output layer; step S3 is specifically: Step S31: Generate candidate target regions through a region generation network; The fusion features obtained in step S2 Input sliding window layer, in the fusion feature Generate multiple prior frames of different scales and proportions at each position to obtain several prior frame sets ; The target label and target position are predicted by the first score prediction fully connected layer and the first regression prediction fully connected layer respectively, which are expressed as: ; ; in, , are the weights and biases of the score prediction fully connected layer, , are the weights and biases of the regression prediction fully connected layer, Indicates that the prior frame is in the fusion feature The features of the corresponding position on The four parameters representing the predicted target position represent the displacement required to fine-tune the current prior box to the desired bounding box position. represents the probability distribution score of the foreground category, that is, the predicted target label, represents the probability distribution score of the background category; Step S32: Input all prior frames into the prior frame pre-screening layer in sequence to obtain high-quality prior frames; first obtain the foreground probability distribution scores and predicted bounding box regression values ​​of all prior frames, then sort all prior frames in descending order according to the foreground probability distribution scores, and traverse the prior frame set starting from the prior frame with the highest score ; The traversal operations are as follows: The prior box set The prior box with the highest score is added to the output result T; Calculate the intersection and union ratio of the prior frame and other prior frames; remove other prior frames whose intersection and union ratio is greater than the preset threshold from Removed; Repeat the operation until all prior boxes are traversed and the final output result T is returned; Step S33: input the final output result T into the prediction output layer to obtain the positions of the dura mater and the ligamentum flavum in the spinal canal nerve ultrasound image. The specific process is as follows: Step S331: The coordinates of each prior frame in the high-quality prior frame set obtained in S32 are The corresponding regional feature blocks are cut out from the top to obtain the feature regional block set ; Step S332: The feature blocks in are input into the average pooling layer respectively, and then the feature concatenation is performed to obtain the average pooling feature map ; Step S333: Average pooling feature map Input the hole convolution layer to obtain high-dimensional features ; Step S34: target classification and bounding box regression; Step S34 is specifically: converting high-dimensional features Input two parallel fully connected layer networks, namely the second score prediction fully connected layer and the second regression prediction fully connected layer. The second score prediction fully connected layer is expressed as: ; in, and are the weight matrix and bias vector of the second score prediction fully connected layer, is the activation function, Cls represents the high-dimensional feature The probability of being dura mater and ligamentum flavum; The second regression prediction fully connected layer is expressed as: ; and are the weight matrix and bias vector of the second regression prediction fully connected layer, Represents an 8-dimensional vector, which decodes the coordinates of the predicted rectangular boxes of the dura mater and the yellow ligament. The coordinates are the positions of the dura mater and the yellow ligament in the spinal canal nerve ultrasound image.

[0018] Further, in one example, in step S4, the trained feature enhancement module and target detection module are deployed on the background server to detect the positions of the dura mater and the ligamentum flavum in the collected spinal canal nerve ultrasound image, specifically: Step S41: collecting the patient's spinal canal nerve ultrasound image and transmitting it to the backend server; Step S42: using the trained feature enhancement module to obtain feature representations of the dura mater and ligamentum flavum of the spinal canal nerve ultrasound image; Step S43: inputting the feature representation of the dura mater and the ligamentum flavum into the target detection module to obtain the positions of the dura mater and the ligamentum flavum in the spinal canal nerve ultrasound image; Step S44: making a decision on nerve anesthesia puncture according to the positions of the patient's dura mater and ligamentum flavum in the spinal canal nerve ultrasound image.

[0019] In one example, a comparison of results with deep convolutional neural networks, VGG19, and YOLOV8 in the prior art is provided, and the evaluation indicators are mAP50 and mAP50:95.

[0020] The results are shown in Table 1. The model proposed in the present invention achieved the maximum values ​​in both mAP50 and mAP50:95, indicating that the model has high accuracy. The method of the present invention is superior to the deep convolutional neural network, indicating that the feature enhancement module and target detection module proposed in the present invention are effective in identifying the dura mater and ligamentum flavum in spinal nerve ultrasound images, and can assist doctors in determining the location of spinal nerves.

[0021] Table 1 Quantitative analysis of test data sets in different models

[0022] The present invention is described in detail above in conjunction with the embodiments of the accompanying drawings. A person skilled in the art can make various variations of the present invention according to the above description. Therefore, some details in the embodiments should not be construed as limiting the present invention, and the present invention shall be protected by the scope defined by the attached claims.

Claims

1. A feature-enhanced spinal nerve anesthesia puncture guidance method. Features: The following steps are involved: Step S1: constructing an original data set, the original data set includes a number of spinal canal nerve ultrasound images, preprocessing the original data set, obtaining a preprocessed data set, and dividing the data set into a training set and a test set; Step S2: constructing a puncture guidance model, which includes a feature enhancement module and a target detection module; importing the spinal nerve ultrasound image of the data set in step S1 into the feature enhancement module, weighting the dura mater and yellow ligament area of ​​the spinal nerve ultrasound image, capturing the features of the dura mater and yellow ligament and suppressing the information of fat and spinal cord, thereby obtaining the feature representation of the dura mater and yellow ligament; Step S3: inputting the extracted feature representations of the dura mater and the yellow ligament into the target detection module, identifying the dura mater and the yellow ligament in the spinal canal nerve ultrasound image, and obtaining the position coordinates of the dura mater and the yellow ligament in the image; Step S4: Use the training set of step S1 to train the puncture guidance model, deploy the trained feature enhancement module and target detection module on the background server, and detect the positions of the dura mater and the yellow ligament in the collected spinal canal nerve ultrasound image.

2. The feature-enhanced spinal nerve anesthesia puncture guidance method according to claim 1, It is characterized in that Step S1 includes: Step S11: collecting spinal canal nerve ultrasound image data of different patients to obtain N spinal canal nerve ultrasound images; Step S12: marking the dura mater and ligamentum flavum in the spinal canal nerve ultrasound image with rectangular frames; Step S13: merging the spinal canal nerve ultrasound image sample and the corresponding annotation information to obtain a set of data; Step S14: Repeat steps S12 and S13 to obtain a complete data set and divide it into a training set and a test set.

3. The feature-enhanced spinal nerve anesthesia puncture guidance method according to claim 2, It is characterized in that The feature enhancement module in step S2 includes a multi-scale convolution layer, a feature pyramid layer, and a feature weighted fusion layer; The specific operation process of the feature enhancement module is as follows: Step S21: Input the spinal nerve ultrasound image into the multi-scale convolution layer, and obtain the features of the dura mater and ligamentum flavum at different scales through convolution kernels of different scales, which are expressed as: ; in, , and They are the features of the dura mater and ligamentum flavum at different scales output by the multi-scale convolutional layer, which are the first image feature, the second image feature, and the third image feature, respectively; represents the multi-scale convolution kernel, represents the Sigmoid activation function, is the input spinal nerve ultrasound image; Step S22: The feature pyramid layer enhances the learning ability of the features of the dura mater and the ligamentum flavum at different scales, further extracts features at different levels, and obtains multi-scale feature representations of the dura mater and the ligamentum flavum; Among them, the feature pyramid layer includes the P3 layer, the P2 layer and the P1 layer connected in sequence; Step S22 is specifically as follows: Step S221: Obtain a third image feature map by upsampling the third image feature, which is expressed as: ; in, represents a third image feature map; Then the convolution kernel size is applied to the third image feature map The convolution of is used to adjust the number of channels, expressed as: ; in, Represents the output of the P3 layer of the feature pyramid layer; Step S222: Obtain a second image feature map by upsampling the second image feature, which is expressed as: ; in, represents a second image feature map; The output of the P3 layer is upsampled and pooled and concatenated with the second image feature map to obtain an enhanced second image feature map, which is expressed as: ; in, represents the upsampling pooling operation, represents an enhanced second image feature map; Apply convolution kernel size to enhance the second image feature map The convolution of is used to adjust the number of channels, expressed as: ; in, Represents the output of the P2 layer of the feature pyramid layer; Step S223: Perform an upsampling pooling operation on the output of the P2 layer and concatenate it with the second image feature map to obtain an enhanced first image feature map, which is expressed as: ; in, represents an enhanced first image feature map; Apply convolution kernel size to enhance the first image feature map The convolution of is used to adjust the number of channels, expressed as: ; in, Represents the output of the P1 layer of the feature pyramid layer; The final output of the feature pyramid is ; Step S23: importing P into the feature weighted fusion layer, learning the correlation between different features in the spinal canal nerve ultrasound image, highlighting the features of the dura mater and the yellow ligament, and suppressing the features of fat and spinal cord; Step S23 is specifically as follows: Will In , and The residual attention layer of the feature weighted fusion layer is input in sequence for channel compression. The first convolution layer and the second convolution layer constituting the residual attention layer respectively generate the compressed first multi-scale feature map and the second multi-scale feature map through feature compression, which are expressed as: ; ; ; in, represents the first multi-scale feature map, represents the second multi-scale feature map, represents the feature compression operation of the first convolutional layer, Represents the feature compression operation of the second convolutional layer; use and Calculate the similarity between positions and generate an attention map, expressed as: ; in, represents the attention map, represents the similarity calculation function, represents the transpose of the first multi-scale feature map; Then Multiply the attention map element-wise to get the attention-weighted feature map : ; Finally and Add together to get the output of the residual attention layer, expressed as: ; in, represents a learnable scaling factor used to scale the effect of attention enhancement. is the output of the residual attention layer; , and After inputting the residual attention layer respectively, we get , and The residual characteristics of , and ; Step S24: , and Input feature fusion layer to obtain fusion features, as follows: First, , and Input the self-attention layer to obtain the attention weights , and ; then and , and as well as and The corresponding points are multiplied and added to obtain the self-attention feature. The specific formula is as follows: ; in, Represents the self-attention feature, which is input into the maximum pooling layer to obtain the pooling feature , expressed as: ; in, represents the maximum pooling operation; Finally Input the normalization layer to perform normalization operation to obtain the final fusion feature , which is the characteristic representation of the dura mater and the yellow ligament, is expressed as: ; in, Represents the L1 norm normalization operation.

4. The feature-enhanced spinal nerve anesthesia puncture guidance method according to claim 3, It is characterized in that The target detection module includes a region generation network, a priori box pre-screening layer and a prediction output layer; step S3 is specifically as follows: Step S31: Generate candidate target regions through a region generation network; The fusion features obtained in step S2 Input sliding window layer, in the fusion feature Generate multiple prior frames of different scales and proportions at each position to obtain several prior frame sets ; The target label and target position are predicted by the first score prediction fully connected layer and the first regression prediction fully connected layer respectively, which are expressed as: ; ; in, , are the weights and biases of the score prediction fully connected layer, , are the weights and biases of the regression prediction fully connected layer, Indicates that the prior frame is in the fusion feature The features of the corresponding position on The four parameters representing the predicted target position represent the displacement required to fine-tune the current prior box to the desired bounding box position. represents the probability distribution score of the foreground category, that is, the predicted target label, represents the probability distribution score of the background category; Step S32: Input all prior frames into the prior frame pre-screening layer in sequence to obtain high-quality prior frames; first obtain the foreground probability distribution scores and predicted bounding box regression values ​​of all prior frames, then sort all prior frames in descending order according to the foreground probability distribution scores, and traverse the prior frame set starting from the prior frame with the highest score ; The traversal operations are as follows: The prior box set The prior box with the highest score is added to the output result T; Calculate the intersection and union ratio of the prior frame and other prior frames; remove other prior frames whose intersection and union ratio is greater than the preset threshold from Removed; Repeat the operation until all prior boxes are traversed and the final output result T is returned; Step S33: input the final output result T into the prediction output layer to obtain the positions of the dura mater and the ligamentum flavum in the spinal canal nerve ultrasound image. The specific process is as follows: Step S331: The coordinates of each prior frame in the high-quality prior frame set obtained in S32 are The corresponding regional feature blocks are cut out from the top to obtain the feature regional block set ; Step S332: The feature blocks in are input into the average pooling layer respectively, and then the feature concatenation is performed to obtain the average pooling feature map ; Step S333: Average pooling feature map Input the hole convolution layer to obtain high-dimensional features ; Step S34: target classification and bounding box regression; Step S34 is specifically: converting high-dimensional features Input two parallel fully connected layer networks, namely the second score prediction fully connected layer and the second regression prediction fully connected layer. The second score prediction fully connected layer is expressed as: ; in, and are the weight matrix and bias vector of the second score prediction fully connected layer, is the activation function, Cls represents the high-dimensional feature The probability of dura mater and ligamentum flavum; The second regression prediction fully connected layer is expressed as: ; and are the weight matrix and bias vector of the second regression prediction fully connected layer, Represents an 8-dimensional vector, which decodes the coordinates of the predicted rectangular boxes of the dura mater and the yellow ligament. The coordinates are the positions of the dura mater and the yellow ligament in the spinal canal nerve ultrasound image.

5. The feature-enhanced spinal nerve anesthesia puncture guidance method according to claim 4, It is characterized in that In step S4, the trained feature enhancement module and target detection module are deployed on the background server to detect the positions of the dura mater and the ligamentum flavum in the collected spinal canal nerve ultrasound image, specifically: Step S41: collecting the patient's spinal canal nerve ultrasound image and transmitting it to the backend server; Step S42: using the trained feature enhancement module to obtain feature representations of the dura mater and ligamentum flavum of the spinal canal nerve ultrasound image; Step S43: inputting the feature representation of the dura mater and the ligamentum flavum into the target detection module to obtain the positions of the dura mater and the ligamentum flavum in the spinal canal nerve ultrasound image; Step S44: making a decision on nerve anesthesia puncture according to the positions of the patient's dura mater and ligamentum flavum in the spinal canal nerve ultrasound image.

Citation Information

Cited By

  • Ultrasonic guided pelvis puncture method based on deep learning

    CN120053035A

  • Deep learning-based dorsal root ganglion positioning method under foramen intervertebrale radiography

    CN120765648A