Meniscus damage analysis method and related equipment

Multi-position fusion processing of knee joint MRI images is performed through the Uniformer model and Meniscus Transformer network, which solves the problem of low accuracy and efficiency in the detection of knee joint meniscal injuries in the existing technology, and achieves accurate differentiation and clinical treatment of meniscal injury types. The scientific nature of the plan.

CN118553403APending Publication Date: 2024-08-27PEKING UNIVERSITY THIRD HOSPITAL (THE THIRD CLINICAL MEDICAL SCHOOL OF PEKING UNIVERSITY) +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410529419.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-29
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Existing automatic detection methods for knee meniscal injuries have limited diagnostic accuracy and efficiency, and are difficult to distinguish between medial and lateral menisci. They cannot provide specific injury types, which affects the scientific nature of clinical treatment plans.

Method used

The Uniformer-based meniscus detection model and Meniscus Transformer classification network are used to perform multi-body fusion processing on the coronal and sagittal MRI images of the knee joint, extract feature information, and design a meniscal injury classification framework to distinguish the medial and lateral menisci. Determine the type of injury.

Benefits of technology

It improves the diagnostic accuracy and efficiency of meniscal injuries, can guide clinical treatment plans more scientifically, and enhances the robustness of detection results and the ability to locate lesions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118553403A
    Figure CN118553403A
Patent Text Reader

Abstract

The invention provides a meniscus damage analysis method and related equipment, and is applied to the technical field of data processing. The method comprises the following steps: acquiring a knee joint coronal view sequence and a knee joint sagittal view sequence; preprocessing the knee joint coronal view sequence and the knee joint sagittal view sequence to generate a coronal view sequence image and a sagittal view sequence image corresponding to the knee joint coronal view sequence and the knee joint sagittal view sequence; processing the coronal sequence image and the sagittal sequence image based on a Uniform meniscus detection model to generate a detection result of a meniscus corresponding to the knee joint; the detection result comprises focus information corresponding to each meniscus detection frame and inner and outer side information of the meniscus; performing classification processing on the detection result of the meniscus based on a transformer classification model to generate a classification result, the classification result including damage information of the meniscus; and processing the classification result based on a meniscus injury rehabilitation model to generate a meniscus injury rehabilitation guidance strategy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to an analysis method for meniscus injury and related equipment. Background Art

[0002] Osteoarthritis (OA) is a common, chronic, progressive, and highly disabling joint degenerative disease. The diagnosis of knee cartilage damage provides important clinical reference. MRI, as a multi-parameter imaging examination method, can detect changes in the matrix components of the knee cartilage in time before pathological morphological changes occur, thereby making early diagnosis of the degree of cartilage damage in the knee. With the continuous development and research of computer software and the use of various high signal-to-noise ratio and high-resolution magnetic resonance sequences, more and more image algorithms are applied to the automatic detection of knee cartilage, and a non-invasive, radiation-free method for automatic detection of knee cartilage damage based on MRI has gradually been formed. It has important clinical value in the monitoring of the course of OA disease and the evaluation of therapeutic efficacy.

[0003] In recent years, computer-aided diagnosis systems for knee meniscus injuries have been continuously proposed and optimized. Most of the early proposed automatic detection methods for knee meniscus injuries are based on traditional machine learning methods. For example, SaygiliA, Albayrak S, et al. used knee MRI images to detect and classify meniscus injuries in 2017 and 2018, using the fuzzy c-means method and the gradient direction histogram method, respectively. Although these methods can effectively and automatically detect meniscus injuries, the method can only judge whether there is an injury, and the method is too traditional, with limited diagnostic accuracy and efficiency.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of this application is to provide a method for analyzing meniscus injury and related equipment, which at least overcomes the problems of the prior art to a certain extent, by inputting the entire knee joint sequence into the meniscus detection model, and then fully learning the characteristics of the MRI sequence, avoiding the problem of insufficient robustness of the detection results caused by considering a single MRI image alone; at the same time, the model can distinguish between the medial and lateral menisci, which is convenient for locating the lesion. In addition, based on the results of meniscus lesion detection, a Meniscus Transformer classification network for multi-position fusion processing of coronal and sagittal MRI images is designed, and a meniscus injury classification framework is designed for different types of meniscus injuries, so as to further obtain the patient's specific injury type, thereby guiding doctors to give more scientific clinical treatment plans.

[0006] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present invention.

[0007] According to one aspect of the present application, a method for analyzing meniscus injury is provided, comprising: acquiring a coronal sequence and a sagittal sequence of a knee joint; preprocessing the coronal sequence and the sagittal sequence of the knee joint to generate a coronal sequence image and a sagittal sequence image corresponding to the coronal sequence and the sagittal sequence of the knee joint; processing the coronal sequence image and the sagittal sequence image based on a meniscus detection model of Uniformer to generate a detection result of the meniscus corresponding to the knee joint, wherein the coronal sequence image and the sagittal sequence image include a meniscus detection frame in each layer of the sequence image; the detection result includes lesion information corresponding to each meniscus detection frame and medial and lateral information of the meniscus; classifying the detection result of the meniscus based on a transformer classification model to generate a classification result, wherein the classification result includes meniscus injury information; processing the classification result based on a meniscus injury rehabilitation model to generate a meniscus injury rehabilitation guidance strategy.

[0008] In one embodiment of the present application, the meniscus detection model based on Uniformer processes the coronal sequence images and the sagittal sequence images to generate a detection result of the meniscus corresponding to the knee joint, including: performing feature extraction on the coronal sequence images and the sagittal sequence images based on the Uniformer meniscus detection model to generate feature information; and performing classification processing on the feature information by a classification head based on the Uniformer meniscus detection model to generate meniscus lesion classification information and meniscus injury classification information.

[0009] In one embodiment of the present application, the transformer-based classification model classifies the meniscus detection results to generate classification results, including: processing the meniscus detection frame corresponding to the meniscus injury classification information based on the transformer-based classification model to generate first identification information, wherein the first identification information is a label for identifying the meniscus injury classification information; processing the meniscus detection frame corresponding to the meniscus lesion classification information based on the transformer-based classification model to generate second identification information, wherein the second identification information is a label for identifying the meniscus lesion classification information.

[0010] In one embodiment of the present application, the method also includes: obtaining a training sample set for updating the Uniformer-based meniscus detection model; preprocessing the training sample set to generate a training sample set with target feature data; processing the Uniformer-based meniscus detection model based on the training sample set with target feature data to generate an updated Uniformer-based meniscus detection model.

[0011] In one embodiment of the present application, the preprocessing of the training sample set to generate a training sample set with target feature data includes: extracting multiple data groups from the training sample set; performing feature extraction on the data groups to determine an original feature library; dividing each feature data set according to the original feature library to generate a training data set and a test data set; using a classifier to predict each test data set divided from the original feature library to determine a prediction result; using a preset algorithm to divide each training data set in the original feature library for training to obtain a test set class prediction result; generating target feature data based on the prediction result and the test set class prediction result.

[0012] In one embodiment of the present application, extracting multiple groups of data groups from the training sample set includes: dividing the training sample set to generate a number of number of class samples; obtaining any smaller number of class samples in the training sample set; generating adjacent samples based on the distance between any smaller number of class samples and other smaller number of class samples of the same category, wherein the adjacent samples include a preset number of any smaller number of class samples; sampling the adjacent samples to generate a preset number of sampled samples; generating multiple groups of data groups based on any minority class sample and each sampled sample.

[0013] In one embodiment of the present application, the sampling of the adjacent samples to generate a preset number of sampling samples includes: determining a sampling ratio based on the number of samples of each category in the training sample set; determining a sampling ratio based on the sampling ratio; and sampling the adjacent samples based on the sampling ratio to generate a preset number of sampling samples.

[0014] Another aspect of the present application is a device for analyzing meniscus injury, characterized in that the device includes: an acquisition module for acquiring a coronal sequence and a sagittal sequence of a knee joint; a processing module for preprocessing the coronal sequence and the sagittal sequence of the knee joint to generate a coronal sequence image and a sagittal sequence image corresponding to the coronal sequence and the sagittal sequence of the knee joint; processing the coronal sequence image and the sagittal sequence image based on a meniscus detection model of Uniformer to generate a detection result of the meniscus corresponding to the knee joint, wherein the coronal sequence image and the sagittal sequence image include a meniscus detection frame in each layer of the sequence image; the detection result includes lesion information corresponding to each meniscus detection frame and medial and lateral information of the meniscus; classifying the detection result of the meniscus based on a transformer classification model to generate a classification result, wherein the classification result includes meniscus injury information; processing the classification result based on a meniscus injury rehabilitation model to generate a meniscus injury rehabilitation guidance strategy.

[0015] According to another aspect of the present application, an electronic device is provided, characterized in that it comprises: a first processor; and a memory for storing executable instructions of the first processor; wherein the first processor is configured to implement the above-mentioned meniscus injury analysis method by executing the executable instructions.

[0016] According to another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a second processor, the above-mentioned method for analyzing meniscus injury is implemented.

[0017] According to another aspect of the present application, a computer program product is provided, comprising a computer program, wherein the computer program implements the above-mentioned meniscus injury analysis method when executed by a third processor.

[0018] The present application provides a method for analyzing meniscus injury and related equipment, wherein a server obtains a coronal sequence and a sagittal sequence of a knee joint; the coronal sequence and the sagittal sequence of a knee joint are preprocessed to generate coronal sequence images and sagittal sequence images corresponding to the coronal sequence and the sagittal sequence of a knee joint; the coronal sequence images and the sagittal sequence images are processed based on a meniscus detection model of a Uniformer to generate a detection result of the meniscus corresponding to the knee joint, wherein the coronal sequence images and the sagittal sequence images include a meniscus detection frame in each layer of the sequence images; the detection result includes lesion information corresponding to each meniscus detection frame and medial and lateral information of the meniscus; the meniscus detection result is classified and processed based on a transformer classification model to generate a classification result, wherein the classification result includes meniscus injury information; the classification result is processed based on a meniscus injury rehabilitation model to generate a meniscus injury rehabilitation guidance strategy. This scheme inputs the entire knee joint sequence into the meniscus detection model, and then fully learns the characteristics of the MRI sequence, avoiding the problem of insufficient robustness of the detection results caused by considering a single MRI image alone; at the same time, the model can distinguish between the medial and lateral menisci, which is convenient for lesion location. In addition, based on the results of meniscus lesion detection, a Meniscus Transformer classification network for multi-position fusion processing of coronal and sagittal MRI images is designed, and a meniscus injury classification framework is designed for different types of meniscus injuries, which further obtains the patient's specific injury type, thereby guiding doctors to give more scientific clinical treatment plans.

[0019] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A flow chart showing a method for analyzing meniscus injury provided by an embodiment of the present application;

[0021] Figure 2 A schematic structural diagram of a meniscus injury analysis device provided in one embodiment of the present application is shown;

[0022] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present application is shown;

[0023] Figure 4 A schematic diagram of a storage medium provided by an embodiment of the present application is shown;

[0024] Figure 5 A schematic structural diagram of a meniscus detection model based on Uni former provided in one embodiment of the present application is shown;

[0025] Figure 6 A schematic diagram of the structure of a transformer-based classification model provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0026] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0027] Combine the following Figure 1 To describe the analysis method of meniscus injury according to an exemplary embodiment of the present application. It should be noted that the following application scenarios are only shown to facilitate understanding of the spirit and principle of the present application, and the embodiments of the present application are not limited in this regard. On the contrary, the embodiments of the present application can be applied to any applicable scenario.

[0028] In one embodiment, the present application also proposes a method for analyzing meniscus injury and related equipment. Figure 1 The following schematically shows a flow chart of a method for analyzing meniscus injury according to an embodiment of the present application. Figure 1 As shown, the method is applied to a server, comprising:

[0029] S101, obtaining a coronal sequence and a sagittal sequence of the knee joint.

[0030] S102, preprocessing the knee joint coronal sequence and the knee joint sagittal sequence to generate coronal sequence images and sagittal sequence images corresponding to the knee joint coronal sequence and the knee joint sagittal sequence.

[0031] In one embodiment, the coronal sequence of the knee joint and the sagittal sequence of the knee joint are used as input, and the detection frame of the meniscus in each layer of the sequence and whether each detection frame contains a lesion and whether the detection frame is two binary labels of the inner and outer sides are output, so as to find the position of the meniscus in each image and realize the diagnosis of whether there is damage to each individual meniscus frame. In order to achieve this purpose, the inventor needs to consider the characteristics of meniscus damage and the characteristics of knee MRI scanning at the same time. Meniscus damage has locality and ambiguity. Meniscus lesions and some normal structures in the meniscus, such as blood vessels, will show high signal characteristics, and high signal structures such as blood vessels have individual development differences, so multiple layers of images must be combined to effectively identify, wherein the high signal feature refers to the shiny and white part in the MRI image, which may be caused by damage to the meniscus, or it may be caused by some blood vessels and effusion. This phenomenon is especially obvious for root damage, and there are a large number of messy high signals at the root of the meniscus due to changes in structure and organization. To identify root tearing from it, it is more necessary to rely on the signal change assistance of multiple images before and after. So the inventors chose to use the entire sequence as the input of the detection part.

[0032] S103, processing the coronal sequence image and the sagittal sequence image based on Uniformer's meniscus detection model to generate a detection result of the meniscus corresponding to the knee joint.

[0033] In one embodiment, due to the thick layer characteristics of meniscus MRI scans, its essence is to use more than a dozen two-dimensional images to represent the three-dimensional structure of the knee joint. This modality poses certain challenges to modeling. Traditional 3D modeling methods mainly rely on three-dimensional convolution and require images to be isotropic, but this cannot be achieved in thick MRI layers. Therefore, the applicant introduced the Uniformer structure with reference to the idea of ​​video modeling to realize dimensional separation modeling, which not only ensures the interaction of multi-layer information at multi-scale levels, but also effectively solves the problem of anisotropy. After the coronal sequence images and the sagittal sequence images are input into the meniscus detection model based on Uniformer, the backbone (uniformer) of the model will extract features from the coronal sequence images and the sagittal sequence images in the entire knee joint coronal sequence and the knee joint sagittal sequence, and then classify them. In this embodiment, the model uses three classification heads. The foreground head is used to identify all objects that need to be identified in the image, the lesion detection head will determine whether each meniscus is diseased, and the medial and lateral classification heads are used to determine whether the meniscus belongs to the medial or lateral side. Finally, the regression network is used to regress the meniscus detection frame to obtain the detection result. The detection result is the coordinate of the meniscus detection frame. After the meniscus detection stage, all detection frames and lesions of the meniscus in the coronal and sagittal planes can be obtained.

[0034] In another embodiment, the coronal sequence images and the sagittal sequence images include a meniscus detection frame in each layer of the sequence images; the detection results include the lesion information corresponding to each meniscus detection frame and the medial and lateral information of the meniscus.

[0035] In another embodiment, if Figure 5 As shown in Figure 1, the meniscus detection model based on Uniformer consists of the following modules, among which the stage part realizes the feature fusion within the sequence. The stage module mainly includes three parts: dynamic position encoding DPE (Dynamic Position Embedding), multi-head relation aggregator MHRA (Multi-Head Relation Aggregator) and FFN (Feed-Forward Network). in ,The applicant first introduces DPE to dynamically integrate the position information into all tokens, which is applicable to any input resolution,and dynamically integrates 3D position information into all tokens.,By integrating position information by DPE, UniFormer can gradually encode the spatiotemporal positions, effectively utilizing the spatiotemporal order of tokens for video modeling.

[0036] The applicant then adopts MHRA to achieve token relationship learning through multi-head fusion, which aggregates each token with its context tokens to capture local and global dependencies in the video. The MHRA modules are designed differently in the shallow and deep layers, processing local and global contexts respectively. In the shallow layer, the local MHRA aims to capture detailed video representations from the spatiotemporal context of the local 3D region. It uses a learnable parameter matrix to calculate the token affinity within the 3D region around each token. The local token association matrix is ​​designed to capture the local spatiotemporal relations between tokens. In the deep layer, the global MHRA focuses on capturing long-term token dependencies in the global video clip. It uses a self-attention mechanism to compare the similarities between all tokens in the global view. The global token association matrix is ​​designed to capture the global spatiotemporal relations between tokens. The UniFormer architecture combines local and global MHRA modules to jointly learn local and global contexts in a collaborative manner. This allows the model to effectively capture discriminative information by paying attention to local and global features simultaneously. Finally, the FFN module is responsible for the enhancement of each token and consists of two linear layers. The FFN module helps to further refine the token representation and improve the discriminative ability of the model.

[0037] S104, classifying the detection result of the meniscus based on the transformer classification model to generate a classification result.

[0038] In one embodiment, the classification result includes meniscus injury information. The transformer-based classification model processes the meniscus detection frame corresponding to the meniscus injury classification information to generate first identification information, wherein the first identification information is a label for identifying the meniscus injury classification information; the transformer-based classification model processes the meniscus detection frame corresponding to the meniscus lesion classification information to generate second identification information, wherein the second identification information is a label for identifying the meniscus lesion classification information.

[0039] This stage is divided into two parts. The first part is the classification of special meniscus injuries. The meniscus frames of two positions detected in the detection results generated by the meniscus detection model based on Uniformer are used as input, and the labels of the special classification of the meniscus are output; the second part is the classification of meniscus lesions. The lesion meniscus frames of two positions detected in the detection results generated by the meniscus detection model based on Uniformer are used as input, and the classification labels of the current lesions are output. This step needs to consider the characteristics of meniscus injuries, and judge common injuries and special injuries by combining two positions. Among them, common injuries include first-degree, second-degree and third-degree injuries of meniscus, and special injuries include discoid meniscus (abnormal development of meniscus), bucket handle injury, and root fracture. Due to the localization and ambiguity of meniscus injuries, meniscus lesions and some normal structures in the meniscus, such as blood vessels, will show high signal characteristics, and high signal structures such as blood vessels have individual development differences, so it is necessary to combine multiple layers of images for effective identification. This phenomenon is particularly obvious for root injuries. There are a lot of messy high signals at the root of the meniscus due to structural and tissue changes. To identify root tears from them, it is more necessary to rely on the signal changes of multiple images before and after. Therefore, the applicant chose to use the entire sequence and the entire lesion as the input of the classification part. Meniscus injuries may be inconsistent. The meniscus will show high signal characteristics when it is injured, and different degrees of injury will have different signal characteristics, but this feature may not be present in both positions. For example, the lesion may show a second-degree degeneration signal in one position, but a third-degree injury signal in another position; or there may be an injury signal only in one position, and no injury signal at all in the other position. If you want to accurately judge the current lesion attributes, you need to combine the characteristics of the two positions to make a judgment.

[0040] In another implementation, the present invention uses the video swi n transformer as the backbone network and proposes a classification model of the Meniscus Transformer framework that can input sagittal and coronal positions in parallel. Figure 6 As shown, Figure 6The Video Swin Transformer architecture is presented. Its main component is the Video Swin Transformer block. Based on the Swin Transformer, the decomposition and modeling of the time dimension are introduced. Specifically, the video is divided into a series of time segments, each of which contains multiple consecutive frames, similar to the patch in the Swin Transformer. Each time segment is regarded as a position, and the features between different time segments are interacted and fused through the self-attention mechanism. The attention mechanism in the Video Swin Transformer follows the self-attention mechanism of the Transformer. Given a set of input tokens, the attention mechanism calculates the weighted sum (V) of the values ​​according to the similarity between the query (Q) and the key (K). The similarity is calculated by the dot product between the query and the key, and then the attention weight is obtained through the softmax operation. In the Video Swin Transformer, the tokens are divided into several non-overlapping 3D windows, and the attention mechanism is applied independently in them. Compared with the full spatiotemporal self-attention, this effectively reduces the computational complexity and improves the model performance. The features of the two body position sequences are extracted separately, and then the features are fused for classification.

[0041] S105, processing the classification result based on the meniscus injury rehabilitation model to generate a meniscus injury rehabilitation guidance strategy.

[0042] In one embodiment, the classification of meniscus injuries includes but is not limited to bucket handle tears, discoid meniscus, root rupture or no injury, and the classification of meniscus lesions includes but is not limited to first degree degeneration, second degree degeneration or third degree injury, and corresponding rehabilitation guidance strategies are set for the above-mentioned meniscus injury classifications and meniscus lesion classifications. This scheme does not limit the specific rehabilitation guidance strategies, as long as they are set according to the actual situation so that the patient can complete the rehabilitation of the meniscus.

[0043] In another embodiment, the patient's real-time physical condition is obtained, and the rehabilitation guidance strategy is updated according to the patient's real-time physical condition to adjust the patient's rehabilitation training content. In addition, by monitoring and evaluating the patient's guided rehabilitation training content, it can be determined whether the rehabilitation training content is effective for the patient's rehabilitation, thereby adjusting or modifying the rehabilitation training content to facilitate the patient's rehabilitation.

[0044] In the first stage, the present invention proposes a meniscus detection model Meniscus Uniformer. The output of the network in this stage is a 6*n vector (6 includes the two-dimensional coordinates of the upper left corner and the lower right corner of the meniscus and the corresponding classification results of the detection frame whether it is a lesion and the inner and outer meniscus, and n is the number of menisci). The backbone network is Uniformer, which can extract the features of the entire sequence at one time, so that the model can obtain richer information and enhance the model detection capability. After extracting the features, the present invention has three classification heads in the classification part. The foreground head is used to identify all objects that need to be identified in the image, the lesion detection head will determine whether each meniscus is diseased, and the inner and outer classification heads are used to determine whether the meniscus belongs to the inner side or the outer side; then the features are input into the regression module for coordinate regression. The detection performance of the model is shown in Table 1.

[0045] Table 1. Meniscus Uniformer detection performance

[0046] index mAP AP50 AP75 APsmall APmedium Numeric 0.90 0.96 0.85 0.83 0.92

[0047] When doctors make clinical diagnoses, it is not enough to have only information about whether the patient is sick or not. Generally, they need to further determine the specific type of injury in order to provide a more scientific treatment plan. Therefore, in the second stage, the present invention proposes a meniscus injury classification framework Meniscus Transformer that can input coronal and sagittal images in parallel, and the backbone network is Swin Transformer. In this stage, the meniscus detection results in the sagittal and coronal positions obtained in the first stage will be fused and sent to the model at the same time, and then the model will be further divided according to the location and definition of each injury. Since the discoid meniscus (i.e. meniscus dysplasia), bucket handle injury, and root fracture usually describe the entire meniscus, the applicant's special injury model is a four-category classification, which is divided into bucket handle injury / discoid meniscus / root fracture / other; if a lesion is detected in the detection stage, the lesion is input into the lesion classification model to determine its specific classification. In order to test the performance of the model, the applicant compared whether the disease was sick with the current state-of-art method [1] on the test data, and the test results are shown in Table 2.

[0048] Table 2. Comparative test results on whether the disease is serious and Nicholas method

[0049] method Accuracy Sensitivity Specificity Nicholas,etal 0.725 0.710 0.741 Ours 0.941 0.959 0.934

[0050] Through the above two-stage injury classification, the generated meniscus diagnosis report has higher confidence and more specific injury type.

[0051] In the present application, the server obtains the coronal sequence and sagittal sequence of the knee joint; pre-processes the coronal sequence and sagittal sequence of the knee joint to generate the coronal sequence image and sagittal sequence image corresponding to the coronal sequence and sagittal sequence of the knee joint; based on Uni The meniscus detection model of former performs feature extraction on the coronal sequence images and the sagittal sequence images to generate feature information; the transformer-based classification model processes the meniscus detection frame corresponding to the meniscus injury classification information to generate first identification information, wherein the first identification information is a label for identifying the meniscus injury classification information; the transformer-based classification model processes the meniscus detection frame corresponding to the meniscus lesion classification information to generate second identification information, wherein the second identification information is a label for identifying the meniscus lesion classification information, wherein the coronal sequence images and the sagittal sequence images include the meniscus detection frame in each layer of the sequence images; the detection results include the lesion information corresponding to each meniscus detection frame and the inner and outer side information of the meniscus; the transformer-based classification model classifies the meniscus detection results to generate classification results, wherein the classification results include the meniscus injury information; the classification results are processed based on the meniscus injury rehabilitation model to generate a meniscus injury rehabilitation guidance strategy. This scheme inputs the entire knee joint sequence into the meniscus detection model, and then fully learns the characteristics of the MRI sequence, avoiding the problem of insufficient robustness of the detection results caused by considering a single MRI image alone; at the same time, the model can distinguish between the medial and lateral menisci, which is convenient for lesion location. In addition, based on the results of meniscus lesion detection, a Meniscus Transformer classification network for multi-position fusion processing of coronal and sagittal MRI images is designed, and a meniscus injury classification framework is designed for different types of meniscus injuries, which further obtains the patient's specific injury type, thereby guiding doctors to give more scientific clinical treatment plans.

[0052] Optionally, in another embodiment based on the above method of the present application, the method further includes:

[0053] Acquire a training sample set for updating the Uniformer-based meniscus detection model;

[0054] Preprocessing the training sample set to generate a training sample set with target feature data;

[0055] The Uniformer-based meniscus detection model is processed based on the training sample set with target feature data to generate an updated Uniformer-based meniscus detection model.

[0056] In one embodiment, a training sample set with target feature data is divided into a training set for training a meniscus detection model based on a Uniformer and a test set for testing the meniscus detection model based on a Uniformer based on a preset ratio, wherein the ratio can be set as needed, such as 1:8 or 1:5, etc.; multiple data groups are extracted from the training set, wherein each data group contains a preset number of data samples, wherein at least one data sample includes target feature data; the meniscus detection model based on the Uniformer is trained based on the data samples in the multiple data groups to generate an updated meniscus detection model based on the Uniformer; the updated meniscus detection model based on the Uniformer is processed based on the test set to generate a test result; if the test result contains the target feature data, the updated meniscus detection model based on the Uniformer is used as the target meniscus detection model.

[0057] Optionally, in another embodiment of the method of the present application, the preprocessing of the training sample set to generate a training sample set with target feature data includes:

[0058] Extracting multiple data sets from the training sample set;

[0059] Extracting features from the data group to determine an original feature library;

[0060] Divide each feature data set according to the original feature library to generate a training data set and a test data set;

[0061] Use the classifier to divide the original feature library into various test data sets for prediction and determine the prediction results;

[0062] Use the preset algorithm to divide each training data set in the original feature library for training, and obtain the prediction results of the test set class;

[0063] Generate target feature data based on the prediction results and the test set class prediction results.

[0064] In one implementation, feature extraction is performed on the training sample set to determine the original feature library, wherein the feature extraction includes four features: original features, statistical features, frequency domain features, and time domain features. The commonly used features extracted are specifically introduced as follows: Original features: The original features are the collected data, after preprocessing, using all the information in each sample data matrix for model training. In order not to lose sample information, each curve of the sample is directly unfolded and stretched into a row vector. Statistical features: Statistical features consider the change trend of all data points on the curve. By extracting statistical features, the dimension of the data sample can be reduced, which is convenient for analyzing soil data and accelerating the convergence speed during model training. The extracted statistical features include maximum value, minimum value, mean, variance, and standard deviation. Frequency domain features: Wavelet transform is performed on the data set, and the coefficients obtained by the second-order wavelet transform are used as new features to constitute frequency domain features. Time domain features: Time domain features mainly study the change laws of signals and systems from the perspective of time. Time domain features can reflect the information of curve data in time changes. This process mainly extracts the first-order forward difference of the data set to form the first-order difference time domain features, and uses the exponential moving average feature processing method. The feature data is processed based on the preset feature screening rules to generate the target feature data.

[0065] In another embodiment, each feature data set is divided according to the original feature library to generate a training data set and a test data set. The original feature library is divided using existing technology to generate a training data set and a test data set. In this embodiment, as long as the division can be performed, there is no restriction on what method is used. The classifier is used to predict the original feature library to divide each test data set, and the prediction result is determined. The original feature library is divided into each training data set using a preset algorithm for training to obtain a test set class prediction result. According to the prediction result and the test set class prediction result, the target feature data is generated. The original feature library is divided into each training data set using a preset algorithm for training to obtain a test set class prediction result. In the embodiment, as long as the test set class prediction result can be obtained, there is no restriction on what algorithm is used. According to the prediction result and the test set class prediction result, the target feature data is generated. Specifically, the data classification result corresponding to the training data set is obtained, because the classification result of each training data set can be determined in advance, the data can be directly obtained from the outside world. Compare the prediction results with the data classification results to determine the first comparison result; compare the test set prediction results with the data classification results to determine the second comparison result; judge whether the second comparison result and the first comparison result meet the preset requirements, and when the preset requirements are met, determine the corresponding features as target feature data.

[0066] Optionally, in another embodiment of the method of the present application, extracting multiple data sets from the training sample set includes:

[0067] Dividing the training sample set to generate a number of samples of different categories;

[0068] Obtain any smaller number of samples from the training sample set;

[0069] Generate adjacent samples based on the distance between any of the smaller number of samples and other smaller number of samples of the same category, wherein the adjacent samples include a preset number of any of the smaller number of samples;

[0070] Sampling the adjacent samples to generate a preset number of sampling samples;

[0071] Based on any minority class sample and each sampling sample, multiple data sets are generated.

[0072] In one embodiment, the distance between any number of smaller number of class samples and each other number of smaller number of class samples of the same category can be Euclidean distance or other cosine distance, which is not specifically limited here. All other number of smaller number of class samples can be arranged in order of distance from any other number of smaller number of class samples from near to far, and then the data in the first few positions of the arrangement result are selected as adjacent samples. The purpose of oversampling is to increase the number of minority class samples to achieve a balance between the number of minority class samples and the number of majority class samples in the initial sample set. Here, oversampling can be achieved by a sampling algorithm, which is not specifically limited here. After oversampling, multiple groups of data groups can be determined based on the results obtained by oversampling and combined with the training set. At this time, the number of descriptive data samples corresponding to each attribute category label in the data group is equivalent, and there are no number of smaller number of class samples or number of larger number of class samples. In this embodiment, the training set is first preliminarily divided, and then the number of smaller number of class samples is merged with the number of larger number of class samples.

[0073] Optionally, in another embodiment of the method of the present application, the step of sampling the adjacent samples to generate a preset number of sampled samples includes:

[0074] Determining a sampling ratio based on the number of samples of each category in the training sample set;

[0075] Based on the sampling ratio, determining a sampling ratio;

[0076] The adjacent samples are sampled based on the sampling ratio to generate a preset number of sampling samples.

[0077] In one implementation, first obtain which data groups are included in the training set, confirm how many number class samples there are in each data group, and determine the sampling ratio according to the number of number class samples in each data group, and then use the sampling ratio to determine the sampling ratio. The sampling ratio can be set as needed, for example, it can be 50% or other ratios, which are not specifically limited here. Finally, use the sampling ratio to sample a preset number of adjacent samples to obtain a specified number of sampled samples, and all other smaller number of number class samples can be arranged in order from near to far in terms of distance from any smaller number of number class samples, and then select the preset number of samples ranked first in the arrangement result as neighboring samples, and the preset number can be set according to actual conditions, which is not specifically limited here. Based on any smaller number of number class samples and each sampled sample, a new sample is generated and used as a new data group, so that the balance effect between the smaller number of data groups and the other larger number of data groups can be further improved.

[0078] By applying the above technical solution, the server obtains the coronal sequence and sagittal sequence of the knee joint; pre-processes the coronal sequence and sagittal sequence of the knee joint to generate the coronal sequence image and sagittal sequence image corresponding to the coronal sequence and sagittal sequence of the knee joint; based on Uni The meniscus detection model of former performs feature extraction on the coronal sequence images and the sagittal sequence images to generate feature information; the transformer-based classification model processes the meniscus detection frame corresponding to the meniscus injury classification information to generate first identification information, wherein the first identification information is a label for identifying the meniscus injury classification information; the transformer-based classification model processes the meniscus detection frame corresponding to the meniscus lesion classification information to generate second identification information, wherein the second identification information is a label for identifying the meniscus lesion classification information, wherein the coronal sequence images and the sagittal sequence images include the meniscus detection frame in each layer of the sequence images; the detection results include the lesion information corresponding to each meniscus detection frame and the inner and outer side information of the meniscus; the transformer-based classification model classifies the meniscus detection results to generate classification results, wherein the classification results include the meniscus injury information; the classification results are processed based on the meniscus injury rehabilitation model to generate a meniscus injury rehabilitation guidance strategy.

[0079] In addition, the server obtains a training sample set for updating the meniscus detection model based on the Uniformer; divides the training sample set to generate a number of number of class samples; obtains any smaller number of class samples in the training sample set; generates adjacent samples based on the distance between any smaller number of class samples and other smaller number of class samples of the same category, wherein the adjacent samples include a preset number of any smaller number of class samples; determines a sampling ratio based on the number of class samples in the training sample set; determines a sampling ratio based on the sampling ratio; samples adjacent samples based on the sampling ratio to generate a preset number of sampling samples; generates multiple data groups based on any minority class sample and each sampling sample.

[0080] Extract features from the data set to determine the original feature library; divide each feature data set according to the original feature library to generate a training data set and a test data set; use a classifier to predict each test data set divided from the original feature library to determine the prediction results; use a preset algorithm to divide each training data set in the original feature library for training to obtain the test set class prediction results; generate target feature data based on the prediction results and the test set class prediction results; process the Uniformer-based meniscus detection model based on the training sample set with the target feature data to generate an updated Uniformer-based meniscus detection model. This solution inputs the entire knee joint sequence into the meniscus detection model, and then fully learns the features of the MRI sequence, avoiding the problem of insufficient robustness of the detection results caused by considering a single MRI image alone; at the same time, the model can distinguish between the medial and lateral menisci, which is convenient for lesion location. In addition, based on the results of meniscus lesion detection, a Meniscus Transformer classification network was designed for multi-position fusion processing of coronal and sagittal MRI images. A meniscus injury classification framework was designed for different types of meniscus injuries to further obtain the patient's specific injury type, thereby guiding doctors to give more scientific clinical treatment plans.

[0081] In one embodiment, if Figure 2 As shown, the present application also provides an analysis device for meniscus injury, comprising:

[0082] An acquisition module 201 is used to acquire a coronal sequence of a knee joint and a sagittal sequence of a knee joint;

[0083] The processing module 202 is used to pre-process the coronal sequence and sagittal sequence of the knee joint to generate coronal sequence images and sagittal sequence images corresponding to the coronal sequence and sagittal sequence of the knee joint; process the coronal sequence images and the sagittal sequence images based on the meniscus detection model of Uniformer to generate a detection result of the meniscus corresponding to the knee joint, wherein the coronal sequence images and the sagittal sequence images include a meniscus detection frame in each layer of the sequence images; the detection result includes lesion information corresponding to each meniscus detection frame and medial and lateral information of the meniscus; classify the detection result of the meniscus based on the classification model of Transformer to generate a classification result, wherein the classification result includes meniscus injury information; process the classification result based on the meniscus injury rehabilitation model to generate a meniscus injury rehabilitation guidance strategy.

[0084] In another embodiment of the present application, the processing module 202 is configured to process the coronal sequence image and the sagittal sequence image using the Uniformer-based meniscus detection model to generate a detection result of the meniscus corresponding to the knee joint, including:

[0085] Extracting features from the coronal sequence images and the sagittal sequence images based on the meniscus detection model of the Uniformer to generate feature information;

[0086] The classification head of the meniscus detection model based on Uniformer performs classification processing on the feature information to generate meniscus lesion classification information and meniscus injury classification information.

[0087] In another embodiment of the present application, the processing module 202 is configured to classify the meniscus detection result using the transformer-based classification model to generate a classification result, including:

[0088] Processing the meniscus detection frame corresponding to the meniscus injury classification information based on the transformer classification model to generate first identification information, wherein the first identification information is a label for identifying the meniscus injury classification information;

[0089] The meniscus detection frame corresponding to the meniscus lesion classification information is processed based on the transformer classification model to generate second identification information, wherein the second identification information is a label for identifying the meniscus lesion classification information.

[0090] In another embodiment of the present application, the processing module 202 is configured such that the method further includes:

[0091] Acquire a training sample set for updating the Uniformer-based meniscus detection model;

[0092] Preprocessing the training sample set to generate a training sample set with target feature data;

[0093] The Uniformer-based meniscus detection model is processed based on the training sample set with target feature data to generate an updated Uniformer-based meniscus detection model.

[0094] In another embodiment of the present application, the processing module 202 is configured to pre-process the training sample set to generate a training sample set with target feature data, including:

[0095] Extracting multiple data sets from the training sample set;

[0096] Extracting features from the data group to determine an original feature library;

[0097] Divide each feature data set according to the original feature library to generate a training data set and a test data set;

[0098] Use the classifier to divide the original feature library into various test data sets for prediction and determine the prediction results;

[0099] Use the preset algorithm to divide each training data set in the original feature library for training, and obtain the prediction results of the test set class;

[0100] Generate target feature data based on the prediction results and the test set class prediction results.

[0101] In another embodiment of the present application, the processing module 202 is configured to extract multiple data groups from the training sample set, including:

[0102] Dividing the training sample set to generate a number of samples of different categories;

[0103] Obtain any smaller number of samples from the training sample set;

[0104] Generate adjacent samples based on the distance between any of the smaller number of samples and other smaller number of samples of the same category, wherein the adjacent samples include a preset number of any of the smaller number of samples;

[0105] Sampling the adjacent samples to generate a preset number of sampling samples;

[0106] Based on any minority class sample and each sampling sample, multiple data sets are generated.

[0107] In another embodiment of the present application, the processing module 202 is configured to sample the adjacent samples to generate a preset number of sample samples, including:

[0108] Determining a sampling ratio based on the number of samples of each category in the training sample set;

[0109] Based on the sampling ratio, determining a sampling ratio;

[0110] The adjacent samples are sampled based on the sampling ratio to generate a preset number of sampling samples.

[0111] The present application embodiment provides an electronic device, such as Figure 3 As shown, the electronic device 3 includes a first processor 300, a memory 301, a bus 302 and a communication interface 303, and the first processor 300, the communication interface 303 and the memory 301 are connected via the bus 302; the memory 301 stores a computer program that can be run on the first processor 300, and when the first processor 300 runs the computer program, it executes the meniscus injury analysis method provided in any of the aforementioned embodiments of the present application.

[0112] The memory 301 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 303 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0113] The bus 302 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 301 is used to store a program, and the first processor 300 executes the program after receiving an execution instruction. The meniscus injury analysis method disclosed in any implementation of the embodiment of the present application may be applied to the first processor 300, or implemented by the first processor 300.

[0114] The first processor 300 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the first processor 300. The above-mentioned first processor 300 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be embodied as a hardware decoding processor to be executed, or a combination of hardware and software modules in the decoding processor to be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 301, and the first processor 300 reads the information in the memory 301 and completes the steps of the above method in combination with its hardware.

[0115] The electronic device provided in the above-mentioned embodiment of the present application and the method for analyzing meniscus injury provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.

[0116] The present application embodiment provides a computer-readable storage medium, such as Figure 4 As shown, the computer-readable storage medium stores 401 a computer program, and when the computer program is read and executed by the second processor 402, the aforementioned meniscus injury analysis method is implemented.

[0117] The technical solution of the embodiment of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling an electronic device (which may be an air conditioner, a refrigeration device, a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method described in the embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

[0118] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the method for analyzing meniscus injury provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.

[0119] An embodiment of the present application provides a computer program product, including a computer program, wherein the computer program is executed by a third processor to implement the method described above.

[0120] The computer program product provided in the above-mentioned embodiments of the present application and the method for analyzing meniscus injury provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.

[0121] It should be noted that, in this application, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or still includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0122] Each embodiment in the present application is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the analysis method, electronic device, electronic device, and readable storage medium embodiment for evaluating meniscus injury, since they are basically similar to the above-mentioned analysis method embodiment for meniscus injury, the description is relatively simple, and the relevant parts can be referred to the partial description of the above-mentioned analysis method embodiment for meniscus injury.

[0123] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application. Therefore, the protection scope of the present application shall be subject to the scope defined by the claims.

Claims

1. A method for analyzing meniscus injury. It is characterized in that include: Obtain coronal and sagittal sequences of the knee joint; Preprocessing the knee joint coronal sequence and the knee joint sagittal sequence to generate coronal sequence images and sagittal sequence images corresponding to the knee joint coronal sequence and the knee joint sagittal sequence; The coronal sequence image and the sagittal sequence image are processed based on the meniscus detection model of Uniformer to generate a detection result of the meniscus corresponding to the knee joint, wherein the coronal sequence image and the sagittal sequence image include a meniscus detection frame in each layer of the sequence image; the detection result includes the lesion information corresponding to each meniscus detection frame and the medial and lateral information of the meniscus; Classify the meniscus detection result based on the transformer classification model to generate a classification result, wherein the classification result includes the meniscus injury information; The classification results are processed based on a meniscus injury rehabilitation model to generate a meniscus injury rehabilitation guidance strategy.

2. The method according to claim 1, It is characterized in that The Uniformer-based meniscus detection model processes the coronal sequence images and the sagittal sequence images to generate a detection result of the meniscus corresponding to the knee joint, including: Extracting features from the coronal sequence images and the sagittal sequence images based on the meniscus detection model of the Uniformer to generate feature information; The classification head of the meniscus detection model based on Uniformer performs classification processing on the feature information to generate meniscus lesion classification information and meniscus injury classification information.

3. The method according to claim 2, It is characterized in that The transformer-based classification model performs classification processing on the meniscus detection result to generate a classification result, including: Processing the meniscus detection frame corresponding to the meniscus injury classification information based on the transformer classification model to generate first identification information, wherein the first identification information is a label for identifying the meniscus injury classification information; The meniscus detection frame corresponding to the meniscus lesion classification information is processed based on the transformer classification model to generate second identification information, wherein the second identification information is a label for identifying the meniscus lesion classification information.

4. The method according to claim 1, It is characterized in that The method further comprises: Acquire a training sample set for updating the Uniformer-based meniscus detection model; Preprocessing the training sample set to generate a training sample set with target feature data; The Uniformer-based meniscus detection model is processed based on the training sample set with target feature data to generate an updated Uniformer-based meniscus detection model.

5. The method according to claim 4, It is characterized in that The preprocessing of the training sample set to generate a training sample set with target feature data includes: Extracting multiple data sets from the training sample set; Extracting features from the data group to determine an original feature library; Divide each feature data set according to the original feature library to generate a training data set and a test data set; Use the classifier to divide the original feature library into various test data sets for prediction and determine the prediction results; Use the preset algorithm to divide each training data set in the original feature library for training, and obtain the prediction results of the test set class; Generate target feature data based on the prediction results and the test set class prediction results.

6. The method according to claim 5, It is characterized in that The step of extracting a plurality of data groups from the training sample set comprises: Dividing the training sample set to generate a number of samples of different categories; Obtain any smaller number of samples from the training sample set; Generate adjacent samples based on the distance between any of the smaller number of samples and other smaller number of samples of the same category, wherein the adjacent samples include a preset number of any of the smaller number of samples; Sampling the adjacent samples to generate a preset number of sampling samples; Based on any minority class sample and each sampling sample, multiple data sets are generated.

7. The method according to claim 6, It is characterized in that The step of sampling the adjacent samples to generate a preset number of sampled samples includes: Determining a sampling ratio based on the number of samples of each category in the training sample set; Based on the sampling ratio, determining a sampling ratio; The adjacent samples are sampled based on the sampling ratio to generate a preset number of sampling samples.

8. An analysis device for meniscus injury, It is characterized in that The device comprises: An acquisition module, used for acquiring a coronal sequence of a knee joint and a sagittal sequence of a knee joint; A processing module is used to pre-process the coronal sequence and sagittal sequence of the knee joint to generate coronal sequence images and sagittal sequence images corresponding to the coronal sequence and sagittal sequence of the knee joint; process the coronal sequence images and sagittal sequence images based on the meniscus detection model of Uniformer to generate a detection result of the meniscus corresponding to the knee joint, wherein the coronal sequence images and the sagittal sequence images include a meniscus detection frame in each layer of the sequence images; the detection result includes lesion information corresponding to each meniscus detection frame and medial and lateral information of the meniscus; classify the detection result of the meniscus based on the classification model of Transformer to generate a classification result, wherein the classification result includes meniscus injury information; process the classification result based on the meniscus injury rehabilitation model to generate a meniscus injury rehabilitation guidance strategy.

9. An electronic device, It is characterized in that include: a first processor; and a memory for storing executable instructions of the first processor; Wherein, the first processor is configured to execute the meniscus injury analysis method according to any one of claims 1 to 7 by executing the executable instructions.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by the second processor, the method for analyzing meniscus injury according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Knee joint MRI image classification method and device

    CN113256616A

  • Meniscus injury grading method based on mixed attention weakness supervised transfer learning

    CN113706491A

  • System and apparatus for securing knee joint with a load for magnetic resonance imaging

    US20170360327A1

  • Image processing method and apparatus, electronic device, computer-readable storage medium, and computer program product

    US20230097391A1

  • Establishing method of meniscus tear assisted determination program, meniscus tear assisted determination system, and method for meniscus tear assisted determination

    US20240127429A1