Method and system for identification and tracking of recurrent laryngeal nerve in endoscopic thyroid surgery

By training a neural network model using endoscopic thyroid surgery images with a deep learning object detection framework combined with white light and image enhancement modes, the recurrent laryngeal nerve can be automatically identified and tracked in real time. This solves the problem of identifying and tracking the recurrent laryngeal nerve in endoscopic thyroid surgery, and improves the efficiency and safety of the operation.

CN117710324BActive Publication Date: 2026-11-20SUN YAT SEN MEMORIAL HOSPITAL SUN YAT SEN UNIV +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311729413.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-15
Publication Date
2026-11-20
Estimated Expiration
2043-12-15

AI Technical Summary

Technical Problem

In current technology, there is a lack of effective automated solutions for the identification and tracking of the recurrent laryngeal nerve during endoscopic thyroid surgery, resulting in a high probability of nerve damage and long operation time. Furthermore, existing nerve monitoring technologies require additional materials and instrument switching, which increases the complexity and risk of the operation.

Method used

A deep learning-based object detection framework was adopted, combining endoscopic thyroid surgery images in white light and image enhancement modes to train a neural network model, enabling automatic identification and real-time tracking of the recurrent laryngeal nerve. Through data preprocessing and model optimization, the accuracy and stability of the identification were improved.

Benefits of technology

It improves the accuracy and stability of recurrent laryngeal nerve identification, simplifies the surgical procedure, shortens the operation time, reduces the nerve damage rate, improves patients' quality of life, and enhances the safety and precision of the surgery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117710324B_ABST
    Figure CN117710324B_ABST
Patent Text Reader

Abstract

The present application relates to a method for identifying and tracking the recurrent laryngeal nerve in endoscopic thyroid surgery, comprising the following steps: obtaining a recurrent laryngeal nerve position image under a white light mode and a recurrent laryngeal nerve position image under an image enhancement mode; performing data preprocessing on the recurrent laryngeal nerve position image under the white light mode to obtain first training data after labeling, and performing the data preprocessing on the recurrent laryngeal nerve position image under the image enhancement mode to obtain second training data after labeling; training a pre-constructed neural network model using the first training data and the second training data to obtain a trained identification model; embedding a video stream processing module in the trained identification model to obtain a final identification model; obtaining a real-time endoscopic video during the surgery; and identifying and tracking the recurrent laryngeal nerve in the real-time endoscopic video by using the final identification model. The present application can provide precise operation guidance for the operator, thereby reducing the risk of recurrent laryngeal nerve injury during the surgery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of artificial intelligence and medical-related technologies, and in particular to a method and system for identifying and tracking the recurrent laryngeal nerve during endoscopic thyroid surgery. Background Technology

[0002] Thyroid tumors are the most common malignant tumors of the head and neck, and surgery is currently the primary treatment method. The main complications of thyroid cancer surgery include parathyroid gland injury and recurrent laryngeal nerve injury. According to relevant domestic and international literature, the recurrent laryngeal nerve injury rate during thyroid surgery is approximately 0.0-2.0%. Unilateral recurrent laryngeal nerve injury can lead to hoarseness postoperatively, affecting daily speech and communication; bilateral recurrent laryngeal nerve injury may cause acute respiratory distress postoperatively, requiring emergency endotracheal intubation / tracheotomy, and if not treated promptly, it can even be life-threatening.

[0003] Intraoperative neuromonitoring can effectively help surgeons locate the recurrent laryngeal nerve, reduce the probability of nerve injury, and shorten surgical time. However, intraoperative neuromonitoring requires additional disposable consumables, such as endotracheal tubes with electromyography probes and nerve probes, which hinders its widespread application. Furthermore, intraoperative neuromonitoring requires multiple switching between surgical instruments and nerve probes, making continuous localization impossible and consuming additional surgical time. For some patients, repeated electrical stimulation may lead to postoperative neurological dysfunction and temporary vocal cord paralysis.

[0004] The widespread adoption of endoscopic thyroid surgery, compared to traditional open surgery, results in more aesthetically pleasing incisions and improves patients' postoperative quality of life. However, the altered endoscopic surgical perspective may increase the incidence of nerve injury, posing a challenge for beginners. Simultaneously, the extensive use of endoscopic surgery provides a clinical foundation for the development and application of AI-powered programs that automatically identify and continuously track important anatomical structures.

[0005] Currently, there is no better AI-powered automatic recognition solution that can accurately track and identify the recurrent laryngeal nerve during endoscopic thyroid surgery. Summary of the Invention

[0006] The purpose of this invention is to at least address one of the shortcomings of the prior art and to provide a method and system for identifying and tracking the recurrent laryngeal nerve during endoscopic thyroid surgery.

[0007] To achieve the above objectives, the present invention adopts the following technical solution:

[0008] Specifically, a method for identifying and tracking the recurrent laryngeal nerve during endoscopic thyroid surgery is proposed, including the following:

[0009] Acquire images of the recurrent laryngeal nerve location in white light mode and in image enhancement mode;

[0010] The recurrent laryngeal nerve location image in white light mode is preprocessed to obtain labeled first training data, and the recurrent laryngeal nerve location image in image enhancement mode is preprocessed to obtain labeled second training data.

[0011] The pre-constructed neural network model is trained using the first training data and the second training data to obtain the trained recognition model;

[0012] A video stream processing module is embedded into the trained recognition model to obtain the final recognition model. The video stream processing module is used to capture video sequences and input each frame of the video sequence into the trained recognition model to obtain target detection results. Based on the target detection results, the recurrent laryngeal nerve is tracked in the video sequence. The state of the recurrent laryngeal nerve is updated according to the position information of the recurrent laryngeal nerve in the current frame. The image of each frame is processed in real time in the video sequence, and the position information of the recurrent laryngeal nerve is continuously updated to achieve dynamic tracking of the recurrent laryngeal nerve.

[0013] Acquire real-time endoscopic video during surgery;

[0014] The recurrent laryngeal nerve is identified and tracked using the final recognition model in the real-time endoscopic video.

[0015] Furthermore, specifically,

[0016] The image showing the location of the recurrent laryngeal nerve in white light mode refers to the image showing the location of the recurrent laryngeal nerve under normal conditions, while the image showing the location of the recurrent laryngeal nerve in image enhancement mode refers to the image showing the location of the recurrent laryngeal nerve with the recurrent laryngeal nerve region highlighted as the ROI region.

[0017] Furthermore, specifically, the data preprocessing operations include,

[0018] The images to be processed are filtered by an image quality assessment algorithm to remove images that are below the preset quality assessment value, thus obtaining the filtered images.

[0019] The filtered images were divided into two categories, positive images and negative images, based on whether they contained the recurrent laryngeal nerve. The recurrent laryngeal nerve in the positive images was then labeled to obtain the labeled images.

[0020] Data augmentation is performed on the labeled images to obtain labeled training data. The data augmentation includes operations such as image rotation, translation, and scaling.

[0021] Furthermore, the method also includes using stratified sampling and cross-validation when dividing the first training data and the second training data to ensure that multiple images of the same case do not appear simultaneously in the training set and the test set.

[0022] Furthermore, the method also includes storing the first training data and the second training data in a file format adapted to the model before inputting the first training data and the second training data into the model for training, converting the corresponding annotation information file into the format required by the model, and standardizing and normalizing the images in the first training data and the second training data.

[0023] Furthermore, specifically, the pre-constructed neural network model includes selecting a neural network model suitable for recurrent laryngeal nerve recognition as the initial neural network model, constructing a first target detection model for the recurrent laryngeal nerve location image under white light mode and a second target detection model for the enhanced image in the initial neural network model, fusing the feature layers of the first target detection model and the second target detection model, removing the last fully connected layer in the initial neural network model and replacing it with a fully connected layer with two types of outputs, and randomly initializing the weights of the fully connected layer with two types of outputs, finally obtaining the pre-constructed neural network model.

[0024] Furthermore, specifically, the process of training a pre-built neural network model includes,

[0025] During training, stochastic gradient descent is used to optimize the model. In multiple training rounds, the model obtains the prediction result by forward propagation through the input image, then calculates the error between the prediction result and the true label, and updates the model parameters through backpropagation to optimize the model performance.

[0026] Furthermore, specifically, the performance of the trained neural network model in multi-fold cross-validation is evaluated by the accuracy, and the neural network model with the highest accuracy is the optimal neural network model.

[0027] The optimal neural network model is then tested. The ROC curve of the optimal neural network model is plotted based on the model's recognition of the recurrent laryngeal nerve. The true positive rate and false positive rate of the participating doctors are plotted at the corresponding positions on the ROC curve. If the ROC curve of the optimal neural network model does not completely surround the doctor's result point, the model is adjusted until the ROC curve of the optimal neural network model completely surrounds the doctor's result point, thus obtaining the trained recognition model.

[0028] This invention also proposes a recurrent laryngeal nerve identification and tracking system for endoscopic thyroid surgery, comprising the following:

[0029] The training data acquisition module is used to acquire images of the recurrent laryngeal nerve location in white light mode and in image enhancement mode.

[0030] The preprocessing module is used to perform data preprocessing on the recurrent laryngeal nerve location image in white light mode to obtain labeled first training data, and to perform the same data preprocessing on the recurrent laryngeal nerve location image in image enhancement mode to obtain labeled second training data.

[0031] The model training module is used to train the pre-constructed neural network model using the first training data and the second training data to obtain the trained recognition model.

[0032] The recognition model determination module is used to embed the video stream processing module into the trained recognition model to obtain the final recognition model. The video stream processing module is used to capture video sequences, input each frame of the video sequence into the trained recognition model to obtain target detection results, track the recurrent laryngeal nerve in the video sequence based on the target detection results, update the state of the recurrent laryngeal nerve based on the position information of the recurrent laryngeal nerve in the current frame, process the image of each frame in the video sequence in real time, continuously update the position information of the recurrent laryngeal nerve, and realize dynamic tracking of the recurrent laryngeal nerve.

[0033] The real-time data acquisition module is used to acquire real-time endoscopic videos during the surgery.

[0034] The recurrent laryngeal nerve identification and tracking module is used to identify and track the recurrent laryngeal nerve in the real-time endoscopic video using the final identification model.

[0035] The present invention also proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the recurrent laryngeal nerve identification and tracking method in endoscopic thyroid surgery.

[0036] The beneficial effects of this invention are as follows:

[0037] The recurrent laryngeal nerve identification and tracking method in endoscopic thyroid surgery provided by this invention is based on an advanced deep learning target detection framework, and combines endoscopic thyroid surgery images in white light mode and image enhancement mode for model training. Through this technical solution, the system can automatically identify and track the location of the recurrent laryngeal nerve in real time, and has the following advantages:

[0038] 1. High accuracy and good stability: This system adopts a deep learning target detection framework. By training the model on images of white light mode and image enhancement mode in endoscopic thyroid surgery, it can automatically identify and track the recurrent laryngeal nerve in real time, which improves the accuracy and stability of recurrent laryngeal nerve identification.

[0039] 2. Wide range of applications: This system is adaptable to different types of endoscopic systems and surgical procedures, and has high versatility. It can be widely used in multiple clinical fields such as head and neck surgery and general surgery in hospitals.

[0040] 3. Simplify surgical procedures and improve surgical efficiency: This system can automatically identify and track the recurrent laryngeal nerve in real time, avoiding the need to repeatedly switch between surgical instruments such as ultrasonic scalpels / bipolar electrocoagulation and nerve probes during surgery, thus simplifying the surgical procedure, shortening the operation time, and improving the efficiency of the operation.

[0041] 4. Improve patients' postoperative quality of life: By reducing the incidence of recurrent laryngeal nerve injury, this system can improve the safety and accuracy of surgery and improve patients' postoperative quality of life.

[0042] 5. Improved surgical precision: This system can track the movement of the recurrent laryngeal nerve in real time, providing surgeons with precise operational guidance and improving the precision and controllability of surgical procedures. Attached Figure Description

[0043] The above and other features of this disclosure will become more apparent from the detailed description of the embodiments shown in conjunction with the accompanying drawings. In the accompanying drawings, the same reference numerals denote the same or similar output voltages. Obviously, the drawings described below are merely some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained from these drawings without any creative effort. In the drawings:

[0044] Figure 1 The flowchart shown is a method for identifying and tracking the recurrent laryngeal nerve during endoscopic thyroid surgery according to the present invention.

[0045] Figure 2 The diagram shown is a schematic diagram of the neural network model without a video stream processing module involved in the recurrent laryngeal nerve identification and tracking method in endoscopic thyroid surgery of the present invention. Detailed Implementation

[0046] The following will provide a clear and complete description of the concept, specific structure, and technical effects of the present invention in conjunction with embodiments and accompanying drawings, so as to fully understand the purpose, solution, and effects of the present invention. It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The same reference numerals used throughout the accompanying drawings indicate the same or similar parts.

[0047] Reference Figure 1 Example 1: This invention proposes a method for identifying and tracking the recurrent laryngeal nerve during endoscopic thyroid surgery, comprising the following:

[0048] Step 110: Obtain the location image of the recurrent laryngeal nerve in white light mode and the location image of the recurrent laryngeal nerve in image enhancement mode;

[0049] Step 120: Perform data preprocessing on the recurrent laryngeal nerve location image in white light mode to obtain labeled first training data, and perform the same data preprocessing on the recurrent laryngeal nerve location image in image enhancement mode to obtain labeled second training data.

[0050] Step 130: Use the first training data and the second training data to train the pre-constructed neural network model to obtain the trained recognition model;

[0051] Step 140: Embed a video stream processing module into the trained recognition model to obtain the final recognition model. The video stream processing module is used to capture video sequences, input each frame of the video sequence into the trained recognition model to obtain target detection results, track the recurrent laryngeal nerve in the video sequence according to the target detection results, update the state of the recurrent laryngeal nerve according to the position information of the recurrent laryngeal nerve in the current frame, process the image of each frame in the video sequence in real time, continuously update the position information of the recurrent laryngeal nerve, and realize dynamic tracking of the recurrent laryngeal nerve.

[0052] Step 150: Obtain real-time endoscopic video during the surgery;

[0053] Step 160: Use the final recognition model to identify and track the recurrent laryngeal nerve in the real-time endoscopic video.

[0054] Specifically, in its implementation, this invention includes the following three main processes:

[0055] 1. Data Acquisition and Preprocessing

[0056] To establish a surgical assistance system for automatic identification and real-time tracking of the recurrent laryngeal nerve during endoscopic thyroid surgery, it is necessary to collect and preprocess images of white light and image enhancement modes during endoscopic thyroid surgery, as well as the corresponding recurrent laryngeal nerve location information, for model training and testing.

[0057] (1) Collect images of thyroid endoscopic surgery: Based on the task objectives, collect thyroid surgery images in white light mode and image enhancement mode in a targeted manner. White light mode can provide natural and realistic image information, which helps the model learn visual features in the real world; while image enhancement mode highlights specific features of the target through image enhancement processing, which helps the model capture key features of the target more effectively;

[0058] (2) Data annotation and augmentation: The collected thyroid endoscopic surgical images were divided into positive and negative images based on whether they contained the recurrent laryngeal nerve, and the nerves in the positive images were annotated. In addition, data augmentation techniques were applied to increase the diversity of the dataset and improve the model's generalization ability through image rotation, translation, scaling, and other operations;

[0059] (3) Image quality screening: All images are screened to remove images with poor quality such as blurriness and severe noise, in order to ensure the accuracy and reliability of the dataset. An image quality evaluation algorithm is introduced to automatically screen images and improve screening efficiency;

[0060] (4) Data partitioning and cross-validation: First, the labeled white light mode and image enhancement mode images were separated to create two sets of training data. During the partitioning process, stratified sampling and cross-validation were used to ensure that multiple images from the same case did not appear simultaneously in both the training and test sets. That is, all images from the case were either entirely allocated to the training set or entirely allocated to the test set to avoid data leakage and bias in the evaluation results.

[0061] (5) Data format conversion and standardization: Store the labeled dataset in an appropriate file format and convert the corresponding annotation information file into the format required by the model. Perform image preprocessing, including image standardization and normalization, to reduce the difficulty of model training and improve convergence speed.

[0062] 2. Model Training and Optimization

[0063] A deep learning-based object detection framework was employed, and images in both white light and image enhancement modes were used for training to enable the model to efficiently identify the recurrent laryngeal nerve. The specific process includes:

[0064] (1) Load the pre-trained model: Load the pre-trained neural network model suitable for this task, such as YOLO V7 (YOLO V7 is used as an example only; other suitable object detection frameworks can be selected in actual applications);

[0065] (2) Model building and fusion: combining Figure 2 Object detection models for white light mode images and image enhancement mode images were constructed separately, and their feature layers were then fused. The last fully connected layer in the neural network model was removed and replaced with a fully connected layer with two output types, and the weights of this fully connected layer with the number of output types were randomly initialized. Finally, a deep learning neural network model for object detection in thyroid endoscopy images was obtained.

[0066] (3) Model Training and Optimization: The model was trained on the divided training sets separately, and the stochastic gradient descent method was used to optimize the model during the training process. In multiple rounds of training, the model obtained the prediction result through forward propagation using the input image, then calculated the error between the prediction result and the true label, and updated the model parameters through backpropagation to optimize the model performance. Image enhancement mode images in the training data were used to increase the diversity of the training set samples and improve the model's generalization ability;

[0067] (4) Model validation and selection: The performance of the trained neural network model in multi-fold cross-validation is evaluated using the accuracy. The neural network model with the highest accuracy is the optimal neural network model.

[0068] (5) Model Evaluation and Comparison: Based on the model's identification of the recurrent laryngeal nerve, the ROC curve of the optimal neural network model is plotted, and the true positive rate and false positive rate of the participating doctors are plotted at the corresponding positions on the ROC curve. If the ROC curve of the optimal neural network model encircles the doctor's result point, it indicates that the optimal neural network model can reach or exceed the performance of human experts and has the ability to identify the recurrent laryngeal nerve in actual endoscopic surgery;

[0069] (6) Dynamic Tracking Algorithm: A video stream processing module is embedded in the model. Each frame of the video sequence is input into the deep learning network to extract high-level abstract feature representations. Forward propagation calculations are performed on the images to obtain target detection results, including positive or negative judgments for the recurrent laryngeal nerve. Based on the target detection results, the target object is tracked in the current frame. The state of the target object is updated based on its position information in the current frame, thereby improving the detection accuracy of the next frame. The image of each frame in the video sequence is processed in real time, and the position information of the target object is continuously updated to achieve dynamic tracking of the target object.

[0070] (7) Model integration and application: The optimized model and dynamic tracking algorithm are embedded together into the endoscopic surgery assistance system to provide doctors with real-time recurrent laryngeal nerve recognition and tracking functions, thereby improving the safety and accuracy of the surgery.

[0071] 3. System Implementation and Application

[0072] (1) Model deployment: The trained deep learning model is embedded into the endoscopic surgery assistance system to realize the automatic identification and real-time tracking of the recurrent laryngeal nerve;

[0073] (2) Data acquisition and processing: When the recurrent laryngeal nerve enters the endoscopic field of view, the system’s video stream processing module processes the real-time video and inputs each frame in the video sequence into the deep learning network for detection.

[0074] (3) Target detection and optimization: Input the image or video stream to be detected into the model, and the model outputs the location and category information of the detected target; at the same time, post-process the target detection results output by the model according to actual needs, such as removing duplicate detections and filtering targets with low confidence.

[0075] (4) Target tracking and display: The system automatically identifies the location of the recurrent laryngeal nerve and marks the location of the recurrent laryngeal nerve on the screen, and tracks the movement of the recurrent laryngeal nerve in real time so that the surgeon can adjust the surgical instruments in time, protect the recurrent laryngeal nerve, and reduce the incidence of recurrent laryngeal nerve injury.

[0076] This invention also proposes a recurrent laryngeal nerve identification and tracking system for endoscopic thyroid surgery, comprising the following:

[0077] The training data acquisition module is used to acquire images of the recurrent laryngeal nerve location in white light mode and in image enhancement mode.

[0078] The preprocessing module is used to perform data preprocessing on the recurrent laryngeal nerve location image in white light mode to obtain labeled first training data, and to perform the same data preprocessing on the recurrent laryngeal nerve location image in image enhancement mode to obtain labeled second training data.

[0079] The model training module is used to train the pre-constructed neural network model using the first training data and the second training data to obtain the trained recognition model.

[0080] The recognition model determination module is used to embed the video stream processing module into the trained recognition model to obtain the final recognition model. The video stream processing module is used to capture video sequences, input each frame of the video sequence into the trained recognition model to obtain target detection results, track the recurrent laryngeal nerve in the video sequence based on the target detection results, update the state of the recurrent laryngeal nerve based on the position information of the recurrent laryngeal nerve in the current frame, process the image of each frame in the video sequence in real time, continuously update the position information of the recurrent laryngeal nerve, and realize dynamic tracking of the recurrent laryngeal nerve.

[0081] The real-time data acquisition module is used to acquire real-time endoscopic videos during the surgery.

[0082] The recurrent laryngeal nerve identification and tracking module is used to identify and track the recurrent laryngeal nerve in the real-time endoscopic video using the final identification model.

[0083] This system employs a deep learning-based object detection framework. By training a model on images from endoscopic thyroid surgery in both white light and image enhancement modes, it achieves automatic recognition and real-time tracking of the recurrent laryngeal nerve. Compared to traditional surgeries that require additional disposable consumables such as endotracheal tubes and nerve probes using electromyography probes, this system eliminates the need for such materials, reducing surgical costs and minimizing waste of medical resources.

[0084] Furthermore, this system is versatile and adaptable. It can adapt to different types of endoscopic systems and surgical procedures, exhibiting high versatility and wide applicability in various clinical fields such as thyroid surgery and head and neck surgery. Simultaneously, this system supports multiple image enhancement modes, improving the accuracy and stability of recurrent laryngeal nerve identification and adapting to diverse clinical practices.

[0085] The present invention also proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the recurrent laryngeal nerve identification and tracking method in endoscopic thyroid surgery.

[0086] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of the solution in this embodiment, depending on actual needs.

[0087] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0088] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.

[0089] Although the description of the invention has been quite detailed and particularly of several described embodiments, it is not intended to limit it to any of these details or embodiments or any particular embodiment, but should be considered as providing a broad possible interpretation of the claims by referring to the appended claims and taking into account the prior art, thereby effectively covering the intended scope of the invention. Furthermore, the invention has been described above with respect to embodiments foreseeable by the inventors in order to provide a useful description, and non-substantial modifications to the invention that have not yet been foreseen may still represent equivalent modifications.

[0090] The above description is merely a preferred embodiment of the present invention. The present invention is not limited to the above-described embodiments. Any embodiment that achieves the technical effects of the present invention using the same means should fall within the protection scope of the present invention. Within the protection scope of the present invention, various modifications and variations can be made to the technical solutions and / or implementation methods.

Claims

1. A method for identifying and tracking the recurrent laryngeal nerve during endoscopic thyroid surgery, characterized in that, Including the following: Acquire images of the recurrent laryngeal nerve location in white light mode and in image enhancement mode; The recurrent laryngeal nerve location image in white light mode is preprocessed to obtain labeled first training data, and the recurrent laryngeal nerve location image in image enhancement mode is preprocessed to obtain labeled second training data. The pre-constructed neural network model is trained using the first training data and the second training data to obtain the trained recognition model; A video stream processing module is embedded into the trained recognition model to obtain the final recognition model. The video stream processing module is used to capture video sequences and input each frame of the video sequence into the trained recognition model to obtain target detection results. Based on the target detection results, the recurrent laryngeal nerve is tracked in the video sequence. The state of the recurrent laryngeal nerve is updated according to the position information of the recurrent laryngeal nerve in the current frame. The image of each frame is processed in real time in the video sequence, and the position information of the recurrent laryngeal nerve is continuously updated to achieve dynamic tracking of the recurrent laryngeal nerve. Acquire real-time endoscopic video during surgery; The recurrent laryngeal nerve is identified and tracked using the final recognition model in the real-time endoscopic video. Specifically, The image of the recurrent laryngeal nerve location in white light mode refers to the image of the recurrent laryngeal nerve location under normal conditions, while the image of the recurrent laryngeal nerve location in image enhancement mode refers to the image of the recurrent laryngeal nerve location with the recurrent laryngeal nerve region highlighted as the ROI region. Specifically, the pre-constructed neural network model includes selecting a neural network model suitable for recurrent laryngeal nerve recognition as the initial neural network model, constructing a first target detection model for the recurrent laryngeal nerve location image under white light mode and a second target detection model for the enhanced image in the initial neural network model, fusing the feature layers of the first target detection model and the second target detection model, removing the last fully connected layer in the initial neural network model and replacing it with a fully connected layer with 2 types of outputs, and randomly initializing the weights of the fully connected layer with the number of types of outputs, finally obtaining the pre-constructed neural network model.

2. The method for identifying and tracking the recurrent laryngeal nerve during endoscopic thyroid surgery according to claim 1, characterized in that, Specifically, the data preprocessing operations include, The images to be processed are filtered by an image quality assessment algorithm to remove images that are below the preset quality assessment value, resulting in the filtered images. The filtered images were divided into two categories, positive images and negative images, based on whether they contained the recurrent laryngeal nerve. The recurrent laryngeal nerve in the positive images was then labeled to obtain the labeled images. Data augmentation is performed on the labeled images to obtain labeled training data. The data augmentation includes operations such as image rotation, translation, and scaling.

3. The method for identifying and tracking the recurrent laryngeal nerve during endoscopic thyroid surgery according to claim 1, characterized in that, The method further includes using stratified sampling and cross-validation when dividing the first training data and the second training data to ensure that multiple images of the same case do not appear simultaneously in the training set and the test set.

4. The method for identifying and tracking the recurrent laryngeal nerve during endoscopic thyroid surgery according to claim 1, characterized in that, The method further includes storing the first training data and the second training data in a file format adapted to the model before inputting the first training data and the second training data into the model for training, converting the corresponding annotation information file into the format required by the model, and performing standardization and normalization processing on the images in the first training data and the second training data.

5. The method for identifying and tracking the recurrent laryngeal nerve during endoscopic thyroid surgery according to claim 1, characterized in that, Specifically, the process of training a pre-built neural network model includes, During training, stochastic gradient descent is used to optimize the model. In multiple training rounds, the model obtains the prediction result by forward propagation through the input image, then calculates the error between the prediction result and the true label, and updates the model parameters through backpropagation to optimize the model performance.

6. The method for identifying and tracking the recurrent laryngeal nerve during endoscopic thyroid surgery according to claim 5, characterized in that, Specifically, the performance of the trained neural network model is evaluated by its accuracy, and the neural network model with the highest accuracy is the optimal neural network model. The optimal neural network model is then tested. The ROC curve of the optimal neural network model is plotted based on the model's recognition of the recurrent laryngeal nerve. The true positive rate and false positive rate of the participating doctors are plotted at the corresponding positions on the ROC curve. If the ROC curve of the optimal neural network model does not completely surround the doctor's result point, the model is adjusted until the ROC curve of the optimal neural network model completely surrounds the doctor's result point, thus obtaining the trained recognition model.

7. A recurrent laryngeal nerve identification and tracking system for endoscopic thyroid surgery, characterized in that, The system, which applies the steps of the method according to any one of claims 1-6, comprises the following: The training data acquisition module is used to acquire images of the recurrent laryngeal nerve location in white light mode and in image enhancement mode. The preprocessing module is used to perform data preprocessing on the recurrent laryngeal nerve location image in white light mode to obtain labeled first training data, and to perform the same data preprocessing on the recurrent laryngeal nerve location image in image enhancement mode to obtain labeled second training data. The model training module is used to train a pre-built neural network model using first training data and second training data to obtain a trained recognition model. The recognition model determination module is used to embed the video stream processing module into the trained recognition model to obtain the final recognition model. The video stream processing module is used to capture video sequences, input each frame of the video sequence into the trained recognition model to obtain target detection results, track the recurrent laryngeal nerve in the video sequence based on the target detection results, update the state of the recurrent laryngeal nerve based on the position information of the recurrent laryngeal nerve in the current frame, process the image of each frame in the video sequence in real time, continuously update the position information of the recurrent laryngeal nerve, and realize dynamic tracking of the recurrent laryngeal nerve. The real-time data acquisition module is used to acquire real-time endoscopic videos during the surgery. The recurrent laryngeal nerve identification and tracking module is used to identify and track the recurrent laryngeal nerve in the real-time endoscopic video using the final identification model.

8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Model training device and method

    CN111461209A

  • Medical image intelligent classification application method and device, equipment and storage medium

    CN114332844A