WO2024051015A1 - Image feature extraction and classification method based on muscle ultrasound - Google Patents

Image feature extraction and classification method based on muscle ultrasound Download PDF

Info

Publication number
WO2024051015A1
WO2024051015A1 PCT/CN2022/137851 CN2022137851W WO2024051015A1 WO 2024051015 A1 WO2024051015 A1 WO 2024051015A1 CN 2022137851 W CN2022137851 W CN 2022137851W WO 2024051015 A1 WO2024051015 A1 WO 2024051015A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
muscle
feature
data set
classification
Prior art date
Application number
PCT/CN2022/137851
Other languages
French (fr)
Chinese (zh)
Inventor
周永进
邓妙琴
Original Assignee
深圳大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳大学 filed Critical 深圳大学
Publication of WO2024051015A1 publication Critical patent/WO2024051015A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/16Devices for psychotechnics; Testing reaction times ; Devices for evaluating the psychological state
    • A61B5/165Evaluating the state of mind, e.g. depression, anxiety
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/45For evaluating or diagnosing the musculoskeletal system or teeth
    • A61B5/4519Muscles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/54Extraction of image or video features relating to texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/77Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
    • G06V10/774Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/20ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for computer-aided diagnosis, e.g. based on medical expert systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10132Ultrasound image

Definitions

  • the invention relates to the field of medical image recognition, and specifically relates to an image feature extraction and classification method based on muscle ultrasound.
  • AD Alzheimer’s Disease
  • insidious onset and progressive impairment of behavioral and cognitive functions, which mainly occurs in people aged 65 and above.
  • AD patients With the intensification of aging, the number of AD patients is increasing year by year.
  • timely intervention in its early stages can help delay and control the development of the disease.
  • Neuroimaging testing is mainly based on structural and functional neuroimaging technologies such as CT, MRI, fMRI, and PET to non-invasively detect structural and functional changes in the brain in vitro.
  • Voxel-based morphological measurements of CT and MRI can quantitatively calculate morphological changes such as thickness and volume of the cerebral cortex;
  • fMRI and PET can provide anatomical and physiological information of the brain and detect areas of metabolic activity changes in the patient's brain and areas related to AD in the brain. of protein aggregates.
  • Neuroimaging testing technology plays an important role in detecting early-stage AD patients to a certain extent, but the testing is expensive and costly and is not suitable for early large-scale screening.
  • the technical problem to be solved by the present invention is to provide an image feature extraction and classification method based on muscle ultrasound in view of the above-mentioned defects of the existing technology, aiming to solve the problem of expensive detection and high cost in the existing technology, which is not suitable for early stage Problems with mass screening.
  • the present invention provides an image feature extraction and classification method based on muscle ultrasound, wherein the method includes:
  • Obtain a muscle ultrasound image to be classified use the muscle ultrasound image to be classified as a test data set, extract a third image feature from the test data set, and input the third image feature into the classification of the muscle ultrasound image
  • the model performs classification and obtains classification results.
  • obtaining muscle ultrasound images and using the muscle ultrasound images as a training data set includes:
  • the muscle ultrasound image of the first detection position is used as the training data set.
  • extracting the first image feature from the training data set includes:
  • n, I, and f are the length, power, and frequency of the power density spectrum respectively;
  • the first image feature is obtained based on the muscle morphological feature and the average frequency analysis feature.
  • extracting the first image feature from the training data set includes:
  • first-order statistical features Based on pixel grayscale distribution calculation, extract first-order statistical features from the training data set; wherein the first-order statistical features include integrated optical density, mean, standard deviation, variance, skewness, kurtosis and energy;
  • Haralick features are extracted from the training data set; wherein the Haralick features include contrast, correlation, energy, entropy, homogeneity and symmetry;
  • Galloway features are extracted from the training data set; wherein, the Galloway features include short run advantage, long run advantage, grayscale non-uniformity, long run non-uniformity, and run percentage;
  • the image texture analysis feature is obtained according to the first-order statistical feature, the Haralick feature, the Galloway feature and the local binary pattern feature;
  • the first image feature is obtained based on the image texture analysis feature.
  • performing feature selection and feature dimensionality reduction on the first image features to obtain second image features includes:
  • Principal component analysis linear discriminant analysis, t-SNE, multidimensional scaling method, isometric mapping method, local linear embedding, Laplacian feature mapping, and nearest neighbor component analysis methods are used to conduct the filtered first image features.
  • Feature dimensionality reduction is performed to obtain the second image feature.
  • training a machine learning model and a deep learning model based on the second image features to obtain a classifier includes:
  • the training results are evaluated through a first performance index to obtain the classifier; wherein the first performance index includes accuracy, precision, recall, F1 score, and area under the receiver operating curve.
  • performing model verification on the classifier to obtain a classification model for muscle ultrasound images also includes:
  • the classifier is adjusted according to the verification accuracy to obtain a classification model of the muscle ultrasound image.
  • embodiments of the present invention also provide an image feature extraction and classification device based on muscle ultrasound.
  • the device includes:
  • a first image feature acquisition module configured to acquire muscle ultrasound images, use the muscle ultrasound images as a training data set, and extract first image features from the training data set;
  • a second image feature acquisition module is used to perform feature selection and feature dimensionality reduction on the first image features to obtain second image features
  • a classification model acquisition module configured to train a machine learning model and a deep learning model based on the second image features to obtain a classifier, and perform model verification on the classifier to obtain a classification model for muscle ultrasound images;
  • a classification module used to obtain muscle ultrasound images to be classified, use the muscle ultrasound images to be classified as a test data set, extract third image features from the test data set, and input the third image features into the Classify the muscle ultrasound images using a classification model to obtain the classification results.
  • embodiments of the present invention further provide an intelligent terminal, wherein the intelligent terminal includes a memory, a processor, and muscle ultrasound-based image feature extraction stored in the memory and operable on the processor. and a classification program.
  • the processor executes the muscle ultrasound-based image feature extraction and classification program, it implements the steps of the muscle ultrasound-based image feature extraction and classification method as described in any one of the above.
  • embodiments of the present invention further provide a computer-readable storage medium, wherein a muscle ultrasound-based image feature extraction and classification program is stored on the computer-readable storage medium, and the muscle ultrasound-based image feature extraction And when the classification program is executed by the processor, the steps of the muscle ultrasound-based image feature extraction and classification method as described in any of the above are implemented.
  • the present invention provides an image feature extraction and classification method based on muscle ultrasound.
  • the present invention first obtains muscle ultrasound images, uses the muscle ultrasound images as a training data set, and utilizes widely used And the muscle ultrasound images obtained by low-cost B-mode ultrasound imaging equipment can significantly reduce the image acquisition cost. Then extract the first image features from the training data set, and obtain the second image features by performing feature selection and feature dimensionality reduction on the first image features to avoid possible redundancy, high linear correlation, and model overfitting between features. Then, a machine learning model and a deep learning model are trained based on the second image features to obtain several classifiers.
  • the classifier with the best performance is evaluated as a classification model for muscle ultrasound images.
  • the third image features are extracted from the muscle ultrasound images to be classified, and the third image features are input into the classification model of the muscle ultrasound images for classification, thereby achieving early risk assessment at the individual level.
  • Figure 1 is a schematic flowchart of an image feature extraction and classification method based on muscle ultrasound provided by an embodiment of the present invention.
  • Figure 2 is an original ultrasound image of the gastrocnemius muscle provided by an embodiment of the present invention.
  • Figure 3 is an example diagram of gastrocnemius ultrasonic image feature detection provided by an embodiment of the present invention.
  • Figure 4 is a flow chart of morphological parameter extraction provided by an embodiment of the present invention.
  • Figure 5 is a schematic block diagram of an image feature extraction and classification device based on muscle ultrasound provided by an embodiment of the present invention.
  • Figure 6 is a functional block diagram of the internal structure of an intelligent terminal provided by an embodiment of the present invention.
  • sarcopenia As a common aging phenotype, sarcopenia is defined as the loss of muscle structure and function and is closely related to Alzheimer’s disease (AD), mild cognitive impairment, and cognitive decline. Furthermore, in many older adults, impaired motor function precedes and predicts cognitive decline, mild cognitive impairment, and AD.
  • AD Alzheimer’s disease
  • AD Alzheimer's disease
  • the first is neuropsychological testing based on multiple psychiatric and behavioral symptom rating scales
  • the second is based on samples such as cerebrospinal fluid, blood and urine.
  • Biochemical testing and the third type is neuroimaging testing based on CT, MRI, PET and other technologies.
  • the method of neuropsychological testing refers to the use of multiple psychiatric and behavioral symptom rating scales to detect cognitive function decline and assess the degree of decline and dementia.
  • the detection of cognitive function decline through testing can provide a more objective basis for screening and diagnosis. It is also helpful in the differential diagnosis of dementia.
  • Commonly used test scales can be divided into the following categories according to clinical use and purpose of use: cognitive impairment screening scale, cognitive function assessment scale, daily living ability assessment scale, psychiatric behavioral symptom assessment scale, and overall function assessment.
  • MMSE Mini-mental State Examination
  • MocA anal cognitive assessment scale
  • CDT clock drawing test
  • Biochemical detection of relevant biological markers mainly uses cerebrospinal fluid, peripheral blood and urine as sample sources, and is based on abnormal deposition of amyloid ⁇ -protein (A ⁇ ), hyperphosphorylation of Tau protein, and immune-inflammatory response. , mitochondrial dysfunction, oxidative stress, etc. [5] are recognized molecular pathogenic mechanisms of AD at home and abroad, and potential biomarkers are detected. At present, the detection of AD-related biological markers is mainly based on cerebrospinal fluid examination.
  • Neuroimaging testing is mainly based on structural and functional neuroimaging technologies such as CT, MRI, fMRI, and PET to non-invasively detect structural and functional changes in the brain in vitro.
  • Voxel-based morphological measurements of CT and MRI can quantitatively calculate morphological changes such as thickness and volume of the cerebral cortex;
  • fMRI and PET can provide anatomical and physiological information of the brain and detect areas of metabolic activity changes in the patient's brain and areas related to AD in the brain. of protein aggregates.
  • Neuroimaging testing technology plays an important role in the early diagnosis and differential diagnosis of AD patients to a certain extent. However, the testing is expensive and costly and is not suitable for early large-scale screening.
  • this embodiment provides an image feature extraction and classification method based on muscle ultrasound.
  • a muscle ultrasound image is obtained, and the muscle ultrasound image is used as a training data set, using the widely used and low-cost B-type Muscle ultrasound images acquired by ultrasound imaging equipment are used to assess individual risks, enabling non-invasive, convenient, and low-cost early large-scale screening and risk assessment of diseases.
  • extract the first image features from the training data set and obtain the second image features by performing feature selection and feature dimensionality reduction on the first image features to avoid possible redundancy, high linear correlation, and model overfitting between features.
  • a machine learning model and a deep learning model are trained based on the second image features to obtain several classifiers.
  • the classifier with the best performance is evaluated as a classification model for muscle ultrasound images.
  • the third image feature is extracted from the muscle ultrasound image to be classified, and the third image feature is input into the classification model of the muscle ultrasound image for classification, so as to obtain the classification result through a non-invasive and convenient muscle ultrasound image classification method to achieve Early risk assessment at the individual level.
  • This embodiment provides an image feature extraction and classification method based on muscle ultrasound.
  • the method includes the following steps:
  • Step S100 Obtain a muscle ultrasound image, use the muscle ultrasound image as a training data set, and extract the first image feature from the training data set;
  • step S100 specifically includes the following steps:
  • Step S101 Set the detection mode of the ultrasound imaging system to the musculoskeletal detection mode
  • Step S102 Place the long axis of the ultrasonic probe parallel to the long axis of the muscle, and keep the ultrasonic probe at the first detection position by setting a mark;
  • Step S103 Based on the detection mode, use real-time B-mode ultrasound imaging equipment to obtain the muscle ultrasound image of the first detection position while the subject is static;
  • Step S104 Use the muscle ultrasound image of the first detection position as the training data set.
  • B-mode ultrasound imaging equipment as the most widely used and simplest ultrasound equipment in clinical practice, has the potential to detect the fine structure of muscles and allows the visualization and quantification of muscle structure.
  • Using muscle ultrasound images acquired by widely used and low-cost B-mode ultrasound imaging equipment to assess individual risks can achieve non-invasive, convenient, and low-cost early large-scale screening and risk assessment of diseases.
  • the ultrasound imaging system selects the muscle-bone detection mode.
  • the long axis of the ultrasound probe should be parallel to the long axis of the muscle and placed in the muscle belly. or other specific positions, that is, the first detection position in this embodiment; apply an appropriate amount of ultrasound gel coupling agent to ensure the acoustic coupling between the probe and the skin; the ultrasound probe can be adjusted to optimize the contrast of the muscle bundles in the ultrasound image , and locations can be marked to ensure the probe is placed in the same location every time.
  • An example of an ultrasound image of the gastrocnemius muscle is shown in Figure 2.
  • muscle ultrasound image acquisition in addition to collecting static muscle ultrasound images of the subject, it can also collect muscle ultrasound images during the dynamic structural changes caused by the subject's muscle stretching; in addition to the B-type acquisition equipment
  • shear wave elastography equipment or other ultrasound imaging methods can also be used for acquisition.
  • Step S105 Perform normalized Redon transformation on the training data set to obtain a Redon transformation matrix
  • Step S106 Calculate the gradient of the Redon transformation matrix and perform edge enhancement to obtain the Redon transformation gradient matrix
  • Step S107 Perform binarization and clustering processing on the Leyden transform gradient matrix to obtain deep fascia feature points, muscle bundle feature points and superficial fascia feature points;
  • Step S108 Perform precise division and inverse Leiden transformation on the deep fascia feature points, muscle bundle feature points and superficial fascia feature points to obtain muscle thickness, muscle fiber length and pennation angle features;
  • Step S109 Obtain the muscle morphological characteristics according to the muscle thickness, muscle fiber length and pennation angle characteristics
  • the morphological characteristics of muscles include muscle thickness, muscle fiber length, pennation angle, etc.
  • This embodiment uses a feature detection method based on the Redden transform gradient matrix to estimate the morphological parameters of the muscle.
  • the muscle layer of the gastrocnemius contains superficial fascia, muscle fascia area, and deep fascia.
  • muscle fascia line L1 and deep fascia line L2 can be drawn.
  • Perform the normalized Leiden transformation on the image find the gradient of the transformation matrix, highlight the edge feature points of the muscle structure elements, and then accurately divide the deep and superficial fascial edge feature points and muscle bundle edge feature points, and finally classify the feature points.
  • the inverse Leiden transform realizes the precise positioning of muscle structural elements, thereby calculating the above-mentioned morphological parameters.
  • the specific flow chart of muscle morphological feature extraction is shown in Figure 4.
  • Step S110 Obtain the average frequency analysis feature of the training data set; wherein the calculation formula of the average frequency analysis feature is n, I, and f are the length, power, and frequency of the power density spectrum respectively;
  • Step S111 Obtain the first image feature based on the muscle morphological feature and the average frequency analysis feature.
  • MFAF mean frequency analysis feature
  • n, I, and f are the length, power and frequency of the power density spectrum respectively.
  • Step S112 Extract first-order statistical features from the training data set based on pixel grayscale distribution calculation; wherein the first-order statistical features include integrated optical density, mean, standard deviation, variance, skewness, and kurtosis. and energy;
  • Step S113 Extract Haralick features from the training data set based on gray level co-occurrence matrix calculation; wherein the Haralick features include contrast, correlation, energy, entropy, homogeneity and symmetry;
  • Step S114 Extract Galloway features from the training data set based on grayscale run length matrix calculation; wherein, the Galloway features include short run advantage, long run advantage, grayscale non-uniformity, long run non-uniformity, and run percentage. ;
  • Step S116 Obtain the image texture analysis feature according to the first-order statistical feature, the Haralick feature, the Galloway feature and the local binary pattern feature;
  • Step S117 Obtain the first image feature based on the image texture analysis feature.
  • Image texture analysis features mainly include first-order statistical features and high-order texture features.
  • first-order statistical features can effectively and quantitatively describe the ultrasound echo intensity of skeletal muscles; in addition, there are differences in the ultrasound echo intensity information of skeletal muscles of different ages or groups, and these features can also provide some muscle status-related information. Structural information, thereby providing effective information for muscle damage assessment.
  • high-order texture features such as Haralick features, Galloway features and Local Binary Pattern (LBP) features, can perform better in fine tasks such as muscle gender recognition than first-order statistical features. better.
  • LBP Local Binary Pattern
  • first-order statistical features are features calculated directly based on the pixel grayscale distribution of the original image, including features such as integrated optical density, mean, standard deviation, variance, skewness, kurtosis, and energy.
  • the Haralick feature is calculated from the gray level co-occurrence matrix.
  • the gray level co-occurrence matrix is a matrix function of the pixel distance and direction. Calculating the correlation between the gray level values of two points at a given spatial distance d and direction ⁇ is a method through A common method to describe image texture by studying the spatial correlation characteristics of grayscale.
  • Typical Haralick features include contrast, correlation, energy, entropy, homogeneity and symmetry, etc.
  • each Haralick feature contains four directions: 0°, 45°, 90° and 135°.
  • the Galloway feature is calculated based on the grayscale run length matrix.
  • the grayscale run length matrix represents the regularity of texture changes of an image. Its size is determined by the gray level and image size of the image, including short run length advantages and long run length advantages. , grayscale non-uniformity, long run non-uniformity, run percentage and other texture statistical features, and each Galloway feature also contains four directions of 0°, 45°, 90° and 135°.
  • LBP features are obtained by comparing the central pixel of a local area of the image with its neighborhood. It mainly describes the local texture features of the image. It has significant advantages such as rotation invariance and grayscale invariance, including energy and entropy. , the specific calculation formula is shown below:
  • muscle morphological features such as pennation angle, muscle thickness, muscle fiber angle, muscle bundle length, muscle physiological cross-sectional area, etc.
  • features based on the Redden transform gradient matrix In addition to detection methods, methods based on Hough transform, deep learning, etc. can also be used to locate various structural elements of muscle tissue, thereby achieving automatic measurement of morphological parameters.
  • Step S200 Perform feature selection and feature dimensionality reduction on the first image features to obtain second image features.
  • step S200 specifically includes the following steps:
  • Step S201 Use the t-test method to perform feature selection on the first image features to obtain the filtered first image features
  • Step S202 Use principal component analysis, linear discriminant analysis, t-SNE, multidimensional scaling method, isometric mapping method, local linear embedding, Laplacian eigenmap, and nearest neighbor component analysis methods to analyze the filtered first
  • the image features undergo feature dimensionality reduction to obtain the second image features.
  • this embodiment uses the t-test method in the Filter method to measure their discriminability by analyzing each feature, and then selects the most discriminative feature subset through sorting.
  • the final features are dimensionally reduced to obtain the second image features.
  • Step S300 Train a machine learning model and a deep learning model based on the second image features to obtain a classifier, and perform model verification on the classifier to obtain a classification model for muscle ultrasound images;
  • machine learning algorithms can be divided into supervised learning, semi-supervised learning, unsupervised learning and reinforcement learning based on learning methods.
  • machine learning algorithms include support vector machines, decision trees, random forests, logistic regression, Gaussian Bayesian classifiers, Bernoulli Bayesian classifiers, artificial neural networks, etc.
  • algorithms based on deep learning can overcome the limitations of traditional shallow machine learning in solving complex tasks and improve discrimination capabilities.
  • step S300 specifically includes the following steps:
  • Step S301 Train the machine learning model and deep learning model to be trained based on the second image features to obtain training results
  • Step S302 Evaluate the training results through a first performance index to obtain the classifier; wherein the first performance index includes accuracy, precision, recall, F1 score, and area under the receiver operating curve.
  • Step S303 Obtain a verification data set, input the verification data set into the classifier, and use 10-fold cross-validation to perform model verification to obtain verification accuracy;
  • Step S304 Adjust the classifier according to the verification accuracy to obtain a classification model of the muscle ultrasound image.
  • the current mainstream and commonly used machine learning and deep learning models are used for training, and the performance is evaluated through performance indicators such as accuracy, precision, recall, F1 score, and area under the subject operating curve. optimal classifier.
  • cross-validation is a statistical validation technique for evaluating and comparing model performance. It uses a subset of the data set, trains it, and then evaluates the performance of the model using a complementary subset of the data set that was not used for training. It can guarantee that the model correctly captures patterns from the data, regardless of interference from the data. .
  • the muscle ultrasound image to be classified is used as a test data set, and the third image feature is input into the classification model of the muscle ultrasound image for classification, and a classification result is obtained.
  • the most classic method in cross-validation is k-fold cross-validation, which divides the data set into k subsets, makes a test set for each subset, and uses the rest as a training set.
  • This embodiment adopts 10-fold cross-validation, which is currently most commonly used in the field of machine learning when establishing models and verifying model parameters, to obtain verification accuracy; and then adjusts the classifier according to the verification accuracy to obtain a classification model for muscle ultrasound images.
  • Step S400 Obtain the muscle ultrasound image to be classified, use the muscle ultrasound image to be classified as a test data set, extract third image features from the test data set, and input the third image feature into the muscle ultrasound image.
  • the image classification model performs classification and obtains the classification result.
  • the third image feature of the muscle ultrasound image to be classified is extracted, and the third image feature is input into the trained muscle ultrasound image classification model to perform classification, thereby obtaining the prediction result or category, thereby achieving early individual-level risk assessment.
  • This embodiment also provides an image feature extraction and classification device based on muscle ultrasound.
  • the device includes:
  • the first image feature acquisition module 10 is used to acquire muscle ultrasound images, use the muscle ultrasound images as a training data set, and extract the first image features from the training data set;
  • the second image feature acquisition module 20 is used to perform feature selection and feature dimensionality reduction on the first image features to obtain second image features;
  • the classification model acquisition module 30 is used to train a machine learning model and a deep learning model based on the second image features to obtain a classifier, and perform model verification on the classifier to obtain a classification model for muscle ultrasound images;
  • the classification module 40 is used to obtain muscle ultrasound images to be classified, use the muscle ultrasound images to be classified as a test data set, extract third image features from the test data set, and input the third image features into the test data set. Classify the muscle ultrasound images using the classification model described above to obtain the classification results.
  • the first image feature acquisition module 10 includes:
  • a detection mode setting unit used to set the detection mode of the ultrasonic imaging system to the musculoskeletal detection mode
  • An ultrasonic probe placement unit is used to place the long axis of the ultrasonic probe parallel to the long axis direction of the muscle, and maintain the ultrasonic probe at the first detection position by setting a mark;
  • a muscle ultrasound image acquisition unit configured to acquire the muscle ultrasound image of the first detection position using a real-time B-mode ultrasound imaging device when the subject is static based on the detection mode;
  • a training data set acquisition unit is configured to use the muscle ultrasound image of the first detection position as the training data set.
  • a Raiden transformation matrix acquisition unit used to perform a normalized Raiden transformation on the training data set to obtain a Raiden transformation matrix
  • a Redden transform gradient matrix acquisition unit used to obtain the gradient of the Redden transform matrix and perform edge enhancement to obtain the Redden transform gradient matrix
  • a clustering unit is used to perform binarization and clustering processing on the Leyden transform gradient matrix to obtain deep fascia feature points, muscle bundle feature points and superficial fascia feature points;
  • An inverse Raiden transform unit is used to accurately divide and inverse Raiden transform the deep fascia feature points, muscle bundle feature points and superficial fascia feature points to obtain muscle thickness, muscle fiber length and pennation angle features;
  • a muscle morphological feature acquisition unit is used to obtain the muscle morphological features based on the muscle thickness, muscle fiber length and pennation angle features;
  • An average frequency analysis feature acquisition unit is used to obtain the average frequency analysis feature of the training data set; wherein the calculation formula of the average frequency analysis feature is: n, I, and f are the length, power, and frequency of the power density spectrum respectively;
  • a first-order statistical feature extraction unit is used to extract first-order statistical features from the training data set based on pixel grayscale distribution calculation; wherein the first-order statistical features include integrated optical density, average value, standard deviation, Variance, skewness, kurtosis, and energy;
  • a Haralick feature extraction unit is used to extract Haralick features from the training data set based on gray level co-occurrence matrix calculation; wherein the Haralick features include contrast, correlation, energy, entropy, homogeneity and symmetry;
  • the Galloway feature extraction unit is used to extract Galloway features from the training data set based on grayscale run length matrix calculation; wherein the Galloway features include short run advantages, long run advantages, grayscale non-uniformity, and long run non-uniformity. sex, run percentage;
  • An image texture analysis feature acquisition unit configured to obtain the image texture analysis feature based on the first-order statistical features, the Haralick features, the Galloway features and the local binary pattern features;
  • a first image feature acquisition unit is configured to obtain the first image feature based on the muscle morphology feature, the average frequency analysis feature and the image texture analysis feature.
  • the second image feature acquisition module 20 includes:
  • a feature screening unit used to perform feature selection on the first image feature using the t-test method to obtain the screened first image feature
  • Feature dimensionality reduction unit used to use principal component analysis, linear discriminant analysis, t-SNE, multidimensional scaling method, isometric mapping method, local linear embedding, Laplacian eigenmap, nearest neighbor component analysis method to filter the Perform feature dimensionality reduction on the passed first image features to obtain the second image features.
  • the classification model acquisition module 30 includes:
  • a model training unit configured to train the machine learning model and the deep learning model to be trained based on the second image features, and obtain training results
  • a classifier acquisition unit used to evaluate the training results through a first performance indicator to obtain the classifier; wherein the first performance indicator includes accuracy, precision, recall, F1 score, and receiver operating curve lower area.
  • a verification accuracy acquisition unit is used to obtain a verification data set, input the verification data set into the classifier, and use 10-fold cross-validation to perform model verification to obtain verification accuracy;
  • a classification model acquisition unit is used to adjust the classifier according to the verification accuracy to obtain a classification model of the muscle ultrasound image.
  • the present invention also provides an intelligent terminal, the functional block diagram of which can be shown in Figure 5 .
  • the intelligent terminal includes a processor, memory, network interface, display screen, and temperature sensor connected through a system bus.
  • the processor of the smart terminal is used to provide computing and control capabilities.
  • the memory of the smart terminal includes non-volatile storage media and internal memory.
  • the non-volatile storage medium stores operating systems and computer programs. This internal memory provides an environment for the execution of operating systems and computer programs in non-volatile storage media.
  • the network interface of the smart terminal is used to communicate with external terminals through network connections. When the computer program is executed by the processor, it implements an image feature extraction and classification method based on muscle ultrasound.
  • the display screen of the smart terminal can be a liquid crystal display or an electronic ink display.
  • the temperature sensor of the smart terminal is pre-set inside the smart terminal for detecting the operating temperature of the internal device.
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Synchlink DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM
  • the present invention discloses an image feature extraction and classification method based on muscle ultrasound.
  • the method includes acquiring muscle ultrasound images and using the muscle ultrasound images as a training data set; extracting the first image feature from the training data set; Perform feature selection and feature dimensionality reduction on the first image feature to obtain the second image feature; train a classifier based on the second image feature and perform model verification to obtain a classification model for muscle ultrasound images; obtain the muscle ultrasound image to be classified as a test data set, The third image feature is extracted from the test data set, and the third image feature is input into the classification model of the muscle ultrasound image for classification, and the classification result is obtained.
  • the present invention can collect low-cost muscle ultrasound images, collect a wider range of muscle structure and functional indicators, and use radiomics combined with artificial intelligence methods such as machine learning and deep learning to build a classification model, thereby realizing the classification and classification of individual muscle ultrasound images. Evaluate.

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Public Health (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Biomedical Technology (AREA)
  • Evolutionary Computation (AREA)
  • Pathology (AREA)
  • Databases & Information Systems (AREA)
  • Veterinary Medicine (AREA)
  • Psychiatry (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Animal Behavior & Ethology (AREA)
  • Surgery (AREA)
  • Molecular Biology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Biophysics (AREA)
  • Quality & Reliability (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Data Mining & Analysis (AREA)
  • Child & Adolescent Psychology (AREA)
  • Dentistry (AREA)
  • Primary Health Care (AREA)
  • Epidemiology (AREA)
  • Radiology & Medical Imaging (AREA)
  • Ultra Sonic Daignosis Equipment (AREA)
  • Rheumatology (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Developmental Disabilities (AREA)
  • Educational Technology (AREA)
  • Hospice & Palliative Care (AREA)
  • Psychology (AREA)

Abstract

An image feature extraction and classification method based on muscle ultrasound. The method comprises: taking a muscle ultrasound image as a training data set, and extracting a first image feature from the training data set (S100); performing feature selection and feature dimension reduction on the first image feature to obtain a second image feature (S200); training a classifier on the basis of the second image feature and performing model verification to obtain a classification model of the muscle ultrasound image (S300); and acquiring a muscle ultrasound image to be classified as a test data set, extracting a third image feature from the test data set, and inputting the third image feature into the classification model of the muscle ultrasound image for classification to obtain a classification result (S400). The method can achieve classification and evaluation of individual muscle ultrasound images, so that large-scale disease early analysis and risk assessment at an individual level are achieved.

Description

一种基于肌肉超声的影像特征提取及分类方法An image feature extraction and classification method based on muscle ultrasound 技术领域Technical field
本发明涉及医学影像识别领域,具体涉及一种基于肌肉超声的影像特征提取及分类方法。The invention relates to the field of medical image recognition, and specifically relates to an image feature extraction and classification method based on muscle ultrasound.
背景技术Background technique
阿尔茨海默病(Alzheimer’s Disease,AD),是一种神经退行性疾病,其特征是行为和认知功能的隐匿性发作和进行性损害,主要发生在65岁及以上的人群中。随着老龄化的加剧,AD患者人数逐年增加。但由于其起病隐匿、发病率高、病理生理变化复杂,在其早期阶段进行及时干预有助于延缓和控制疾病的发展。Alzheimer’s Disease (AD) is a neurodegenerative disease characterized by insidious onset and progressive impairment of behavioral and cognitive functions, which mainly occurs in people aged 65 and above. With the intensification of aging, the number of AD patients is increasing year by year. However, due to its insidious onset, high incidence, and complex pathophysiological changes, timely intervention in its early stages can help delay and control the development of the disease.
神经影像学检测主要是基于CT、MRI、fMRI、PET等结构和功能神经成像技术,非侵入性地体外探测脑部结构和功能变化。CT、MRI基于体素的形态学测量能定量计算大脑皮层的厚度、体积等形态学变化;fMRI、PET可以提供大脑的解剖生理信息,检测患者大脑内代谢活性变化的区域和脑内与AD相关的蛋白聚体。神经影像学检测技术一定程度上在发现早期AD患者中发挥着重要作用,但是检测费用昂贵,成本高,不适用于早期大规模筛查。Neuroimaging testing is mainly based on structural and functional neuroimaging technologies such as CT, MRI, fMRI, and PET to non-invasively detect structural and functional changes in the brain in vitro. Voxel-based morphological measurements of CT and MRI can quantitatively calculate morphological changes such as thickness and volume of the cerebral cortex; fMRI and PET can provide anatomical and physiological information of the brain and detect areas of metabolic activity changes in the patient's brain and areas related to AD in the brain. of protein aggregates. Neuroimaging testing technology plays an important role in detecting early-stage AD patients to a certain extent, but the testing is expensive and costly and is not suitable for early large-scale screening.
因此,现有技术还有待于改进和发展。Therefore, the existing technology still needs to be improved and developed.
发明内容Contents of the invention
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种基于肌肉超声的影像特征提取及分类方法,旨在解决现有技术中的检测费用昂贵、成本高,不适用于早期大规模筛查的问题。The technical problem to be solved by the present invention is to provide an image feature extraction and classification method based on muscle ultrasound in view of the above-mentioned defects of the existing technology, aiming to solve the problem of expensive detection and high cost in the existing technology, which is not suitable for early stage Problems with mass screening.
本发明解决技术问题所采用的技术方案如下:The technical solutions adopted by the present invention to solve the technical problems are as follows:
第一方面,本发明提供一种基于肌肉超声的影像特征提取及分类方法,其中,所述方法包括:In a first aspect, the present invention provides an image feature extraction and classification method based on muscle ultrasound, wherein the method includes:
获取肌肉超声图像,将所述肌肉超声图像作为训练数据集,从所述训练数据集中提取第一图像特征;Obtaining muscle ultrasound images, using the muscle ultrasound images as a training data set, and extracting first image features from the training data set;
对所述第一图像特征进行特征选择和特征降维,得到第二图像特征;Perform feature selection and feature dimensionality reduction on the first image features to obtain second image features;
基于所述第二图像特征训练机器学习模型和深度学习模型,得到分类器,并对所述分类器进行模型验证,得到肌肉超声图像的分类模型;Train a machine learning model and a deep learning model based on the second image features to obtain a classifier, and perform model verification on the classifier to obtain a classification model for muscle ultrasound images;
获取待分类的肌肉超声图像,将所述待分类的肌肉超声图像作为测试数据集,从所述测试数据集中提取第三图像特征,将所述第三图像特征输入到所述肌肉超声图像的分类模型进行分类,得到分类结果。Obtain a muscle ultrasound image to be classified, use the muscle ultrasound image to be classified as a test data set, extract a third image feature from the test data set, and input the third image feature into the classification of the muscle ultrasound image The model performs classification and obtains classification results.
在一种实现方式中,所述获取肌肉超声图像,将所述肌肉超声图像作为训练数据集,包括:In one implementation, obtaining muscle ultrasound images and using the muscle ultrasound images as a training data set includes:
设置超声成像系统的检测模式为肌骨检测模式;Set the detection mode of the ultrasound imaging system to the musculoskeletal detection mode;
将超声探头的长轴平行于肌肉长轴方向放置,通过设置标记保持所述超声探头放置在所述第一检测位置;Place the long axis of the ultrasonic probe parallel to the long axis of the muscle, and keep the ultrasonic probe at the first detection position by setting a mark;
基于所述检测模式,在受试者静态下,使用实时B型超声成像设备获取所述第一检测位置的肌肉超声图像;Based on the detection mode, using real-time B-mode ultrasound imaging equipment to obtain the muscle ultrasound image of the first detection position while the subject is static;
将所述第一检测位置的肌肉超声图像作为所述训练数据集。The muscle ultrasound image of the first detection position is used as the training data set.
在一种实现方式中,所述从所述训练数据集中提取第一图像特征,包括:In one implementation, extracting the first image feature from the training data set includes:
对所述训练数据集进行归一化雷登变换,得到雷登变换矩阵;Perform a normalized Raiden transformation on the training data set to obtain a Raiden transformation matrix;
对所述雷登变换矩阵求梯度并进行边缘增强,得到雷登变换梯度矩阵;Calculate the gradient of the Raiden transformation matrix and perform edge enhancement to obtain the Raiden transformation gradient matrix;
对所述雷登变换梯度矩阵进行二值化处理和聚类处理,得到深筋膜特征点、肌束特征点和浅筋膜特征点;Perform binarization and clustering processing on the Leyden transform gradient matrix to obtain deep fascia feature points, muscle bundle feature points and superficial fascia feature points;
对所述深筋膜特征点、肌束特征点和浅筋膜特征点进行精确划分和雷登逆变换,得到肌肉厚度、肌纤维长度和羽状角特征;Perform precise division and inverse Leyden transformation on the deep fascia feature points, muscle bundle feature points and superficial fascia feature points to obtain muscle thickness, muscle fiber length and pennation angle features;
根据所述肌肉厚度、肌纤维长度和羽状角特征,得到所述肌肉形态学特征;According to the muscle thickness, muscle fiber length and pennation angle characteristics, the muscle morphological characteristics are obtained;
获取所述训练数据集的所述平均频率分析特征;其中,所述平均频率分析特征的计算公式为
Figure PCTCN2022137851-appb-000001
n,I,和f分别为功率密度谱的长度、功率和频率;
Obtain the average frequency analysis feature of the training data set; wherein, the calculation formula of the average frequency analysis feature is
Figure PCTCN2022137851-appb-000001
n, I, and f are the length, power, and frequency of the power density spectrum respectively;
基于所述肌肉形态学特征和所述平均频率分析特征得到所述第一图像特征。The first image feature is obtained based on the muscle morphological feature and the average frequency analysis feature.
在一种实现方式中,所述从所述训练数据集中提取第一图像特征,包括:In one implementation, extracting the first image feature from the training data set includes:
基于像素灰度分布计算,从所述训练数据集中提取一阶统计学特征;其中,所述一阶统计学特征包括积分光密度、平均值、标准差、方差、偏度、峰度和能量;Based on pixel grayscale distribution calculation, extract first-order statistical features from the training data set; wherein the first-order statistical features include integrated optical density, mean, standard deviation, variance, skewness, kurtosis and energy;
基于灰度共生矩阵计算,从所述训练数据集中提取Haralick特征;其中,所述Haralick特征包括对比度、相关性、能量、熵、同质性和对称性;Based on gray level co-occurrence matrix calculation, Haralick features are extracted from the training data set; wherein the Haralick features include contrast, correlation, energy, entropy, homogeneity and symmetry;
基于灰度游程长度矩阵计算,从所述训练数据集中提取Galloway特征;其中,所述Galloway特征包括短游程优势、长游程优势、灰度不均匀性、长游程不均匀性、游程百分比;Based on grayscale run length matrix calculation, Galloway features are extracted from the training data set; wherein, the Galloway features include short run advantage, long run advantage, grayscale non-uniformity, long run non-uniformity, and run percentage;
基于图像局部区域的中心像素与其邻域的比较结果,从所述训练数据集中提取局部二值模式特征;其中,所述局部二值模式特征包括能量和熵,所述能量为LBP energy=∑ if i 2,所述熵为LBP entropy=-∑ if i 2log 2(f i),f i表示第i块在图像局部区域的相应频率; Based on the comparison results between the central pixel of the local area of the image and its neighborhood, local binary pattern features are extracted from the training data set; wherein the local binary pattern features include energy and entropy, and the energy is LBP energy =∑ i f i 2 , the entropy is LBP entropy =-∑ i fi 2 log 2 (f i ), f i represents the corresponding frequency of the i-th block in the local area of the image;
根据所述一阶统计学特征、所述Haralick特征、所述Galloway特征和所述局部二值模式特征得到所述图像纹理分析特征;The image texture analysis feature is obtained according to the first-order statistical feature, the Haralick feature, the Galloway feature and the local binary pattern feature;
基于所述图像纹理分析特征得到所述第一图像特征。The first image feature is obtained based on the image texture analysis feature.
在一种实现方式中,所述对所述第一图像特征进行特征选择和特征降维,得到第二图像特征,包括:In one implementation, performing feature selection and feature dimensionality reduction on the first image features to obtain second image features includes:
采用t-检验法对所述第一图像特征进行特征选择得到筛选过的第一图像特征;Using the t-test method to perform feature selection on the first image feature to obtain the screened first image feature;
采用主成分分析、线性判别式分析、t-SNE、多维尺度变换法、等距映射法、局部线性嵌入、拉普拉斯特征映射、近邻成分分析方法对所述筛选过的第一图像特征进行特征降维,得到所述第二图像特征。Principal component analysis, linear discriminant analysis, t-SNE, multidimensional scaling method, isometric mapping method, local linear embedding, Laplacian feature mapping, and nearest neighbor component analysis methods are used to conduct the filtered first image features. Feature dimensionality reduction is performed to obtain the second image feature.
在一种实现方式中,所述基于所述第二图像特征训练机器学习模型和深度学习模型,得到分类器,包括:In one implementation, training a machine learning model and a deep learning model based on the second image features to obtain a classifier includes:
基于所述第二图像特征对待训练的机器学习模型和深度学习模型进行训练,得到训练结果;Train the machine learning model and the deep learning model to be trained based on the second image features to obtain training results;
通过第一性能指标评估所述训练结果,得到所述分类器;其中,所述第一性能指标包括准确率、精确度、召回率、F1分数、受试者工作曲线下面积。The training results are evaluated through a first performance index to obtain the classifier; wherein the first performance index includes accuracy, precision, recall, F1 score, and area under the receiver operating curve.
在一种实现方式中,所述对所述分类器进行模型验证,得到肌肉超声图像的分类模型,还包括:In one implementation, performing model verification on the classifier to obtain a classification model for muscle ultrasound images also includes:
获取验证数据集,并将所述验证数据集输入到所述分类器中,采用10折交叉验证进行模型验证,得到验证精度;Obtain a verification data set, input the verification data set into the classifier, use 10-fold cross-validation for model verification, and obtain verification accuracy;
根据所述验证精度调整所述分类器,得到所述肌肉超声图像的分类模型。The classifier is adjusted according to the verification accuracy to obtain a classification model of the muscle ultrasound image.
第二方面,本发明实施例还提供一种基于肌肉超声的影像特征提取及分类装置,所述装置包括:In a second aspect, embodiments of the present invention also provide an image feature extraction and classification device based on muscle ultrasound. The device includes:
第一图像特征获取模块,用于获取肌肉超声图像,将所述肌肉超声图像作为训练数据集,从所述训练数据集中提取第一图像特征;A first image feature acquisition module, configured to acquire muscle ultrasound images, use the muscle ultrasound images as a training data set, and extract first image features from the training data set;
第二图像特征获取模块,用于对所述第一图像特征进行特征选择和特征降维,得到第二图像特征;A second image feature acquisition module is used to perform feature selection and feature dimensionality reduction on the first image features to obtain second image features;
分类模型获取模块,用于基于所述第二图像特征训练机器学习模型和深度学习模型,得到分类器,并对所述分类器进行模型验证,得到肌肉超声图像的分类模型;A classification model acquisition module, configured to train a machine learning model and a deep learning model based on the second image features to obtain a classifier, and perform model verification on the classifier to obtain a classification model for muscle ultrasound images;
分类模块,用于获取待分类的肌肉超声图像,将所述待分类的肌肉超声图像作为测试数据集,从所述测试数据集中提取第三图像特征,将所述第三图像特征输入到所述肌肉超声图像的分类模型进行分类,得到分类结果。A classification module, used to obtain muscle ultrasound images to be classified, use the muscle ultrasound images to be classified as a test data set, extract third image features from the test data set, and input the third image features into the Classify the muscle ultrasound images using a classification model to obtain the classification results.
第三方面,本发明实施例还提供一种智能终端,其中,所述智能终端包括存储器、处理器及存储在所述存储器中并可在所述处理器上运行的基于肌肉超声的影像特征提取及分类程序,所述处理器执行所述基于肌肉超声的影像特征提取及分类程序时,实现如上述任一项所述的基于肌肉超声的影像特征提取及分类方法的步骤。In a third aspect, embodiments of the present invention further provide an intelligent terminal, wherein the intelligent terminal includes a memory, a processor, and muscle ultrasound-based image feature extraction stored in the memory and operable on the processor. and a classification program. When the processor executes the muscle ultrasound-based image feature extraction and classification program, it implements the steps of the muscle ultrasound-based image feature extraction and classification method as described in any one of the above.
第四方面,本发明实施例还提供一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有基于肌肉超声的影像特征提取及分类程序,所述基于肌肉超声的影像特征提取及分类程序被处理器执行时,实现如上述任一项所述的基于肌肉超声的影像特征提取及分类方法的步骤。In a fourth aspect, embodiments of the present invention further provide a computer-readable storage medium, wherein a muscle ultrasound-based image feature extraction and classification program is stored on the computer-readable storage medium, and the muscle ultrasound-based image feature extraction And when the classification program is executed by the processor, the steps of the muscle ultrasound-based image feature extraction and classification method as described in any of the above are implemented.
有益效果:与现有技术相比,本发明提供了一种基于肌肉超声的影像特征提取及分类方法,本发明首先从获取肌肉超声图像,将所述肌肉超声图像作为训练数据集,利用广泛使用且低成本的B型超声成像设备获取的肌肉超声图像可以显著的降低图像采集成本。再从训练数据集中提取第一图像特征,通过对第一图像特征进行特征选择和特征降维,得到第二图像特征,以避免特征之间可能存在冗余、高度线性相关以及模型过拟合。然后,基于第二图像特征训练机器学习模型和深度学习模型,得到若干分类器,再通过对分类器进行模型验证,评估出表现最优的分类器作为肌肉超声图像的分类模型。最后,从待分类的肌肉超声图像中提取第三图像特征,将第三图像特征输入到肌肉超声图像的分类模型进行分类,从而实现个体水平的早期风险评估。Beneficial effects: Compared with the existing technology, the present invention provides an image feature extraction and classification method based on muscle ultrasound. The present invention first obtains muscle ultrasound images, uses the muscle ultrasound images as a training data set, and utilizes widely used And the muscle ultrasound images obtained by low-cost B-mode ultrasound imaging equipment can significantly reduce the image acquisition cost. Then extract the first image features from the training data set, and obtain the second image features by performing feature selection and feature dimensionality reduction on the first image features to avoid possible redundancy, high linear correlation, and model overfitting between features. Then, a machine learning model and a deep learning model are trained based on the second image features to obtain several classifiers. Then, through model verification of the classifiers, the classifier with the best performance is evaluated as a classification model for muscle ultrasound images. Finally, the third image features are extracted from the muscle ultrasound images to be classified, and the third image features are input into the classification model of the muscle ultrasound images for classification, thereby achieving early risk assessment at the individual level.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are some embodiments recorded in the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.
图1是本发明实施例提供的基于肌肉超声的影像特征提取及分类方法的流程示意图。Figure 1 is a schematic flowchart of an image feature extraction and classification method based on muscle ultrasound provided by an embodiment of the present invention.
图2是本发明实施例提供的腓肠肌原始超声图像。Figure 2 is an original ultrasound image of the gastrocnemius muscle provided by an embodiment of the present invention.
图3是本发明实施例提供的腓肠肌超声图像特征检测示例图。Figure 3 is an example diagram of gastrocnemius ultrasonic image feature detection provided by an embodiment of the present invention.
图4是本发明实施例提供的形态学参数提取流程图。Figure 4 is a flow chart of morphological parameter extraction provided by an embodiment of the present invention.
图5是本发明实施例提供的基于肌肉超声的影像特征提取及分类装置的原理框图。Figure 5 is a schematic block diagram of an image feature extraction and classification device based on muscle ultrasound provided by an embodiment of the present invention.
图6是本发明实施例提供的智能终端的内部结构原理框图。Figure 6 is a functional block diagram of the internal structure of an intelligent terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention and are not intended to limit the present invention.
肌肉减少症作为一种常见的衰老表型,定义为肌肉结构和功能的丧失,与阿尔茨海默病(Alzheimer’s disease,AD)、轻度认知障碍和认知能力下降密切相关。此外,在许多老年人中,肌肉运动功能受损先于并预示着认知能力下降、轻度认知障碍和AD。As a common aging phenotype, sarcopenia is defined as the loss of muscle structure and function and is closely related to Alzheimer’s disease (AD), mild cognitive impairment, and cognitive decline. Furthermore, in many older adults, impaired motor function precedes and predicts cognitive decline, mild cognitive impairment, and AD.
以AD为例,目前,现有的临床诊断的方法主要有三种:第一种是基于多个精神行为症状评定量表的神经心理学测试,第二种是基于脑脊液、血液和尿液等样本的生化检测,第三种是基于CT、MRI、PET等技术的神经影像学检测。Taking AD as an example, there are currently three main methods for clinical diagnosis: the first is neuropsychological testing based on multiple psychiatric and behavioral symptom rating scales, and the second is based on samples such as cerebrospinal fluid, blood and urine. Biochemical testing, and the third type is neuroimaging testing based on CT, MRI, PET and other technologies.
神经心理学测试的方法是指利用多个精神行为症状评定量表来检测认知功能衰退及评定衰退程度和痴呆,通过测试发现认知功能减退,可以为筛查和诊断提供较为客观的依据,同时对痴呆的鉴别诊断也有一定的帮助。常用的测试量表按照临床用途和使用目的可以分为以下几类:认知损害筛查量表、认知功能评估量表、日常生活能力评估量表、精神行为症状评估量表、总体功能评估量表、痴呆分级量表以及鉴别与排除诊断量表,如目前运用最广泛的认知筛查量表—简易智能状态量表(mini-mental state examination,MMSE)、蒙特利尔认知评估量表(montreal cognitive assessment scale,MocA)、画钟测验(clock drawing test,CDT)等,虽然目前有多种专门用于认知功能和痴呆检测的量表,有助于识别早期AD患者,但多数对于AD的早期诊断敏感性和特异性不理想,且量表测试耗时长且部分易受教育程度、文化等因素的干扰。The method of neuropsychological testing refers to the use of multiple psychiatric and behavioral symptom rating scales to detect cognitive function decline and assess the degree of decline and dementia. The detection of cognitive function decline through testing can provide a more objective basis for screening and diagnosis. It is also helpful in the differential diagnosis of dementia. Commonly used test scales can be divided into the following categories according to clinical use and purpose of use: cognitive impairment screening scale, cognitive function assessment scale, daily living ability assessment scale, psychiatric behavioral symptom assessment scale, and overall function assessment. scales, dementia grading scales, and identification and exclusion diagnostic scales, such as the Mini-mental State Examination (MMSE), the most widely used cognitive screening scale at present, and the Montreal Cognitive Assessment Scale ( montreal cognitive assessment scale (MocA), clock drawing test (CDT), etc. Although there are currently a variety of scales specifically used for cognitive function and dementia detection, which are helpful in identifying early AD patients, most of them are for AD. The sensitivity and specificity of early diagnosis are not ideal, and the scale test is time-consuming and partially susceptible to interference from education, culture and other factors.
相关生物学标志物的生化检测主要是以脑脊液、外周血液和尿液等为样本来源,基于β-淀粉样蛋白(amyloid β-protein,Aβ)异常沉积、Tau蛋白过度磷酸化、免疫炎性反应、线粒体功能紊乱、氧化应激等[5]国内外公认的AD分子致病机制,检测其中潜在的生物标志物。目前,AD相关生物学标志物检测主要以脑脊液检查为主,虽其核心生物标志物T-tau、P-tau以及Aβ 42已经在AD患者鉴定中显示了高敏感性和特异性,但是脑脊液采集是一种有创的采样方式,可能引起部分受试者的不适或副作用;且脑脊液生物标志物的可变性较高,容易受到运输、实验方法、参考值的影响,临床界限值较难确定;此外普及难度大,不适用于大规模早期筛查。除脑脊液检测外,还有外周血液、尿液等生物标志物检测,虽然这两种样本采集具有极大的简便性,但是血液成分复杂,干扰测量的血液蛋白质和化合物含量较高,而潜在的AD生物标志物以较低浓度存在于血液中, 并且受到外周循环的影响;尿液作为脑部疾病生物标志物的潜在来源,可以积累多种与疾病相关的代谢变化,具有获取无创便捷且可重复等优势,但尿液组分代谢快,稳定性不高,且相关检测技术对技术人员和设备的要求较高,限制了其在临床的推广应用。 Biochemical detection of relevant biological markers mainly uses cerebrospinal fluid, peripheral blood and urine as sample sources, and is based on abnormal deposition of amyloid β-protein (Aβ), hyperphosphorylation of Tau protein, and immune-inflammatory response. , mitochondrial dysfunction, oxidative stress, etc. [5] are recognized molecular pathogenic mechanisms of AD at home and abroad, and potential biomarkers are detected. At present, the detection of AD-related biological markers is mainly based on cerebrospinal fluid examination. Although its core biomarkers T-tau, P-tau and Aβ42 have shown high sensitivity and specificity in the identification of AD patients, cerebrospinal fluid collection It is an invasive sampling method that may cause discomfort or side effects to some subjects; and cerebrospinal fluid biomarkers have high variability and are easily affected by transportation, experimental methods, and reference values, and clinical limit values are difficult to determine; In addition, it is difficult to popularize it and is not suitable for large-scale early screening. In addition to cerebrospinal fluid testing, there are also biomarker tests such as peripheral blood and urine. Although the collection of these two samples is extremely simple, the blood components are complex and the content of blood proteins and compounds that interfere with the measurement is high, and the potential AD biomarkers exist in the blood at low concentrations and are affected by peripheral circulation; urine, as a potential source of brain disease biomarkers, can accumulate a variety of disease-related metabolic changes and is non-invasive, convenient and accessible. It has advantages such as repetition, but the urine components metabolize quickly and have low stability, and the related detection technology requires high technical personnel and equipment, which limits its clinical promotion and application.
神经影像学检测主要是基于CT、MRI、fMRI、PET等结构和功能神经成像技术,非侵入性地体外探测脑部结构和功能变化。CT、MRI基于体素的形态学测量能定量计算大脑皮层的厚度、体积等形态学变化;fMRI、PET可以提供大脑的解剖生理信息,检测患者大脑内代谢活性变化的区域和脑内与AD相关的蛋白聚体。神经影像学检测技术一定程度上在AD患者的早期诊断及鉴别诊断中发挥着重要作用,但是检测费用昂贵,成本高,不适用于早期大规模筛查。Neuroimaging testing is mainly based on structural and functional neuroimaging technologies such as CT, MRI, fMRI, and PET to non-invasively detect structural and functional changes in the brain in vitro. Voxel-based morphological measurements of CT and MRI can quantitatively calculate morphological changes such as thickness and volume of the cerebral cortex; fMRI and PET can provide anatomical and physiological information of the brain and detect areas of metabolic activity changes in the patient's brain and areas related to AD in the brain. of protein aggregates. Neuroimaging testing technology plays an important role in the early diagnosis and differential diagnosis of AD patients to a certain extent. However, the testing is expensive and costly and is not suitable for early large-scale screening.
因此,为了解决上述问题,本实施例提供一种基于肌肉超声的影像特征提取及分类方法,首先获取肌肉超声图像,将所述肌肉超声图像作为训练数据集,利用广泛使用且低成本的B型超声成像设备获取的肌肉超声图像来评估个体风险,可实现无创、便捷、低成本的疾病早期大规模筛查和风险评估。再从训练数据集中提取第一图像特征,通过对第一图像特征进行特征选择和特征降维,得到第二图像特征,以避免特征之间可能存在冗余、高度线性相关以及模型过拟合。然后,基于第二图像特征训练机器学习模型和深度学习模型,得到若干分类器,再通过对分类器进行模型验证,评估出表现最优的分类器作为肌肉超声图像的分类模型。最后,从待分类的肌肉超声图像中提取第三图像特征,将第三图像特征输入到肌肉超声图像的分类模型进行分类,从而通过无创、便捷的肌肉超声的影像分类方法得到分类结果,以实现个体水平的早期风险评估。Therefore, in order to solve the above problems, this embodiment provides an image feature extraction and classification method based on muscle ultrasound. First, a muscle ultrasound image is obtained, and the muscle ultrasound image is used as a training data set, using the widely used and low-cost B-type Muscle ultrasound images acquired by ultrasound imaging equipment are used to assess individual risks, enabling non-invasive, convenient, and low-cost early large-scale screening and risk assessment of diseases. Then extract the first image features from the training data set, and obtain the second image features by performing feature selection and feature dimensionality reduction on the first image features to avoid possible redundancy, high linear correlation, and model overfitting between features. Then, a machine learning model and a deep learning model are trained based on the second image features to obtain several classifiers. Then, through model verification of the classifiers, the classifier with the best performance is evaluated as a classification model for muscle ultrasound images. Finally, the third image feature is extracted from the muscle ultrasound image to be classified, and the third image feature is input into the classification model of the muscle ultrasound image for classification, so as to obtain the classification result through a non-invasive and convenient muscle ultrasound image classification method to achieve Early risk assessment at the individual level.
示例性方法Example methods
本实施例提供一种基于肌肉超声的影像特征提取及分类方法。具体实施时,如图1所示,所述方法包括如下步骤:This embodiment provides an image feature extraction and classification method based on muscle ultrasound. During specific implementation, as shown in Figure 1, the method includes the following steps:
步骤S100、获取肌肉超声图像,将所述肌肉超声图像作为训练数据集,从所述训练数据集中提取第一图像特征;Step S100: Obtain a muscle ultrasound image, use the muscle ultrasound image as a training data set, and extract the first image feature from the training data set;
在一种实现方式中,所述步骤S100具体包括如下步骤:In one implementation, step S100 specifically includes the following steps:
步骤S101、设置超声成像系统的检测模式为肌骨检测模式;Step S101: Set the detection mode of the ultrasound imaging system to the musculoskeletal detection mode;
步骤S102、将超声探头的长轴平行于肌肉长轴方向放置,通过设置标记保持所述超声探头放置在所述第一检测位置;Step S102: Place the long axis of the ultrasonic probe parallel to the long axis of the muscle, and keep the ultrasonic probe at the first detection position by setting a mark;
步骤S103、基于所述检测模式,在受试者静态下,使用实时B型超声成像设备获取所述第一检测位置的肌肉超声图像;Step S103. Based on the detection mode, use real-time B-mode ultrasound imaging equipment to obtain the muscle ultrasound image of the first detection position while the subject is static;
步骤S104、将所述第一检测位置的肌肉超声图像作为所述训练数据集。Step S104: Use the muscle ultrasound image of the first detection position as the training data set.
B型超声成像设备作为临床实践中使用最广泛、最简单的超声设备,具有检测肌肉精细结构的潜力,并允许对肌肉结构进行可视化和量化。利用广泛使用且低成本的B型超声成像设备获取的肌肉超声图像来评估个体风险,可实现无创、便捷、低成本的疾病早期大规模筛查和风险评估。B-mode ultrasound imaging equipment, as the most widely used and simplest ultrasound equipment in clinical practice, has the potential to detect the fine structure of muscles and allows the visualization and quantification of muscle structure. Using muscle ultrasound images acquired by widely used and low-cost B-mode ultrasound imaging equipment to assess individual risks can achieve non-invasive, convenient, and low-cost early large-scale screening and risk assessment of diseases.
具体地,在受试者静态下,使用实时B型超声成像设备获取其肌肉超声图像,其中超声成像系统选择肌骨检测模式,超声探头的长轴应平行于肌肉长轴方向,置于肌腹或其它特定位置,即本实施例中的第一检测位置;涂以合适量的超声凝胶耦合剂以确保探头与皮肤之间的声学耦合;可调整超声探头来优化超声图像中肌束的对比度,并可对位置进行标记以确保探头每次都放置在相同的位置。腓肠肌超声图像示例如图2所示。Specifically, while the subject is static, real-time B-mode ultrasound imaging equipment is used to obtain muscle ultrasound images. The ultrasound imaging system selects the muscle-bone detection mode. The long axis of the ultrasound probe should be parallel to the long axis of the muscle and placed in the muscle belly. or other specific positions, that is, the first detection position in this embodiment; apply an appropriate amount of ultrasound gel coupling agent to ensure the acoustic coupling between the probe and the skin; the ultrasound probe can be adjusted to optimize the contrast of the muscle bundles in the ultrasound image , and locations can be marked to ensure the probe is placed in the same location every time. An example of an ultrasound image of the gastrocnemius muscle is shown in Figure 2.
需要注意的是,在肌肉超声图像采集方面,除了采集受试者静态下的肌肉超声图像,还可以采集受试者肌肉拉伸产生的结构动态变化过程中的肌肉超声图像;采集设备除了B型超声设备外,还可以使用剪切波弹性成像设备或者其他超声成像方式等进行采集。It should be noted that in terms of muscle ultrasound image acquisition, in addition to collecting static muscle ultrasound images of the subject, it can also collect muscle ultrasound images during the dynamic structural changes caused by the subject's muscle stretching; in addition to the B-type acquisition equipment In addition to ultrasound equipment, shear wave elastography equipment or other ultrasound imaging methods can also be used for acquisition.
步骤S105、对所述训练数据集进行归一化雷登变换,得到雷登变换矩阵;Step S105: Perform normalized Redon transformation on the training data set to obtain a Redon transformation matrix;
步骤S106、对所述雷登变换矩阵求梯度并进行边缘增强,得到雷登变换梯度矩阵;Step S106: Calculate the gradient of the Redon transformation matrix and perform edge enhancement to obtain the Redon transformation gradient matrix;
步骤S107、对所述雷登变换梯度矩阵进行二值化处理和聚类处理,得到深筋膜特征点、肌束特征点和浅筋膜特征点;Step S107: Perform binarization and clustering processing on the Leyden transform gradient matrix to obtain deep fascia feature points, muscle bundle feature points and superficial fascia feature points;
步骤S108、对所述深筋膜特征点、肌束特征点和浅筋膜特征点进行精确划分和雷登逆变换,得到肌肉厚度、肌纤维长度和羽状角特征;Step S108: Perform precise division and inverse Leiden transformation on the deep fascia feature points, muscle bundle feature points and superficial fascia feature points to obtain muscle thickness, muscle fiber length and pennation angle features;
步骤S109、根据所述肌肉厚度、肌纤维长度和羽状角特征,得到所述肌肉形态学特征;Step S109: Obtain the muscle morphological characteristics according to the muscle thickness, muscle fiber length and pennation angle characteristics;
具体地,肌肉的形态学特征包括肌肉厚度、肌纤维长度和羽状角等。本实施例使用基于雷登变换梯度矩阵的特征检测方式估计肌肉的形态学参数。如图3所示,腓肠肌的肌肉层中包含浅筋膜、肌束区域、和深筋膜,根据肌纤维的排列方向和深筋膜的方向可以画出肌束线L1和深筋膜线L2。对图像进行归一化雷登变换,对变换矩阵求梯度,突出肌肉结构要素的边缘特征点,然后对深、浅筋膜边缘特征点和肌束边缘特征点进行精确划分,最后对特征点进行雷登逆变换实现对肌肉结构要素的精确定位,从而计算出上述形态学参数,具体肌肉形态学特征提取的流程图如图4所示。Specifically, the morphological characteristics of muscles include muscle thickness, muscle fiber length, pennation angle, etc. This embodiment uses a feature detection method based on the Redden transform gradient matrix to estimate the morphological parameters of the muscle. As shown in Figure 3, the muscle layer of the gastrocnemius contains superficial fascia, muscle fascia area, and deep fascia. According to the arrangement direction of muscle fibers and the direction of deep fascia, muscle fascia line L1 and deep fascia line L2 can be drawn. Perform the normalized Leiden transformation on the image, find the gradient of the transformation matrix, highlight the edge feature points of the muscle structure elements, and then accurately divide the deep and superficial fascial edge feature points and muscle bundle edge feature points, and finally classify the feature points. The inverse Leiden transform realizes the precise positioning of muscle structural elements, thereby calculating the above-mentioned morphological parameters. The specific flow chart of muscle morphological feature extraction is shown in Figure 4.
步骤S110、获取所述训练数据集的所述平均频率分析特征;其中,所述平均频率分析特征的计算公式为
Figure PCTCN2022137851-appb-000002
n,I,和f分别为功率密度谱的长度、功率和频率;
Step S110: Obtain the average frequency analysis feature of the training data set; wherein the calculation formula of the average frequency analysis feature is
Figure PCTCN2022137851-appb-000002
n, I, and f are the length, power, and frequency of the power density spectrum respectively;
步骤S111、基于所述肌肉形态学特征和所述平均频率分析特征得到所述第一图像特征。Step S111: Obtain the first image feature based on the muscle morphological feature and the average frequency analysis feature.
具体地,平均频率分析特征(mean frequency analysis feature,MFAF)作为一种与肌肉质量相关,并且有望描述骨骼肌结构差异的有效参数,不会显著受不同超声设备的配置所影响。计算公式见下方:Specifically, the mean frequency analysis feature (MFAF), as an effective parameter related to muscle mass and expected to describe differences in skeletal muscle structure, will not be significantly affected by the configuration of different ultrasound equipment. The calculation formula is shown below:
Figure PCTCN2022137851-appb-000003
Figure PCTCN2022137851-appb-000003
其中,n,I,和f分别为功率密度谱的长度、功率和频率。Among them, n, I, and f are the length, power and frequency of the power density spectrum respectively.
步骤S112、基于像素灰度分布计算,从所述训练数据集中提取一阶统计学特征;其中,所述一阶统计学特征包括积分光密度、平均值、标准差、方差、偏度、峰度和能量;Step S112: Extract first-order statistical features from the training data set based on pixel grayscale distribution calculation; wherein the first-order statistical features include integrated optical density, mean, standard deviation, variance, skewness, and kurtosis. and energy;
步骤S113、基于灰度共生矩阵计算,从所述训练数据集中提取Haralick特征;其中,所述Haralick特征包括对比度、相关性、能量、熵、同质性和对称性;Step S113: Extract Haralick features from the training data set based on gray level co-occurrence matrix calculation; wherein the Haralick features include contrast, correlation, energy, entropy, homogeneity and symmetry;
步骤S114、基于灰度游程长度矩阵计算,从所述训练数据集中提取Galloway特征;其中,所述Galloway特征包括短游程优势、长游程优势、灰度不均匀性、长游程不均匀性、游程百分比;Step S114: Extract Galloway features from the training data set based on grayscale run length matrix calculation; wherein, the Galloway features include short run advantage, long run advantage, grayscale non-uniformity, long run non-uniformity, and run percentage. ;
步骤S115、基于图像局部区域的中心像素与其邻域的比较结果,从所述训练数据集中提取局部二值模式特征;其中,所述局部二值模式特征包括能量和熵,所述能量为 LBP energy=∑ if i 2,所述熵为LBP entropy=-∑ if i 2log 2(f i),f i表示第i块在图像局部区域的相应频率; Step S115: Extract local binary pattern features from the training data set based on the comparison results between the central pixel of the local area of the image and its neighborhood; wherein the local binary pattern features include energy and entropy, and the energy is LBP energy =∑ i fi 2 , the entropy is LBP entropy =-∑ i fi 2 log 2 ( fi ), fi represents the corresponding frequency of the i-th block in the local area of the image;
步骤S116、根据所述一阶统计学特征、所述Haralick特征、所述Galloway特征和所述局部二值模式特征得到所述图像纹理分析特征;Step S116: Obtain the image texture analysis feature according to the first-order statistical feature, the Haralick feature, the Galloway feature and the local binary pattern feature;
步骤S117、基于所述图像纹理分析特征得到所述第一图像特征。Step S117: Obtain the first image feature based on the image texture analysis feature.
图像纹理分析特征主要包括一阶统计学特征、高阶纹理特征。一方面,一阶统计学特征可以有效定量地描述骨骼肌的超声回波强度;此外不同年龄或者组别的骨骼肌的超声回波强度信息存在差异,并且,这些特征还可以提供一些肌肉状态相关的结构信息,从而为肌肉损伤评估提供有效信息。另一方面,高阶纹理特征,如Haralick特征,Galloway特征和局部二值模式(Local Binary Pattern,LBP)特征等,相比于一阶统计学特征,在精细任务如肌肉性别识别中能够表现地更好。Image texture analysis features mainly include first-order statistical features and high-order texture features. On the one hand, first-order statistical features can effectively and quantitatively describe the ultrasound echo intensity of skeletal muscles; in addition, there are differences in the ultrasound echo intensity information of skeletal muscles of different ages or groups, and these features can also provide some muscle status-related information. Structural information, thereby providing effective information for muscle damage assessment. On the other hand, high-order texture features, such as Haralick features, Galloway features and Local Binary Pattern (LBP) features, can perform better in fine tasks such as muscle gender recognition than first-order statistical features. better.
具体地,一阶统计学特征是直接基于原始图像的像素灰度分布而计算出来的特征,包括积分光密度、平均值、标准差、方差、偏度、峰度和能量等特征。Haralick特征是由灰度共生矩阵计算而来,灰度共生矩阵是像素距离与方向的矩阵函数,在给定空间距离d和方向θ计算两点灰度值之间的相关性,是一种通过研究灰度的空间相关特性来描述图像纹理的常用方法。典型的Haralick特征包括对比度、相关性、能量、熵、同质性和对称性等。通常,每个Haralick特征包含0°、45°、90°和135°四个方向。Galloway特征是基于灰度游程长度矩阵计算而来,灰度游程长度矩阵表示一张图像的纹理变化的规律性,其大小由图像的灰度水平和图像大小决定,包括短游程优势、长游程优势、灰度不均匀性、长游程不均匀性、游程百分比等纹理统计特征,且每个Galloway特征也包含0°、45°、90°和135°四个方向。LBP特征是通过将图像局部区域的中心像素与其邻域进行比较得到的,主要描述图像的局部纹理特征,具有旋转不变性和灰度不变性等显著优点,包括能量(energy)和熵(entropy),具体计算公式见下方:Specifically, first-order statistical features are features calculated directly based on the pixel grayscale distribution of the original image, including features such as integrated optical density, mean, standard deviation, variance, skewness, kurtosis, and energy. The Haralick feature is calculated from the gray level co-occurrence matrix. The gray level co-occurrence matrix is a matrix function of the pixel distance and direction. Calculating the correlation between the gray level values of two points at a given spatial distance d and direction θ is a method through A common method to describe image texture by studying the spatial correlation characteristics of grayscale. Typical Haralick features include contrast, correlation, energy, entropy, homogeneity and symmetry, etc. Typically, each Haralick feature contains four directions: 0°, 45°, 90° and 135°. The Galloway feature is calculated based on the grayscale run length matrix. The grayscale run length matrix represents the regularity of texture changes of an image. Its size is determined by the gray level and image size of the image, including short run length advantages and long run length advantages. , grayscale non-uniformity, long run non-uniformity, run percentage and other texture statistical features, and each Galloway feature also contains four directions of 0°, 45°, 90° and 135°. LBP features are obtained by comparing the central pixel of a local area of the image with its neighborhood. It mainly describes the local texture features of the image. It has significant advantages such as rotation invariance and grayscale invariance, including energy and entropy. , the specific calculation formula is shown below:
LBP energy=∑ if i 2LBP energy =∑ i f i 2 ,
LBP entropy=-∑ if i 2log 2(f i), LBP entropy =-∑ i f i 2 log 2 (f i ),
其中f i表示第i块在图像局部区域的相应频率。 where fi represents the corresponding frequency of the i-th block in the local area of the image.
需要注意的是,在提取肌肉超声图像的肌肉形态学特征,如羽状角、肌肉厚度、肌纤维角度、肌束长度、肌肉生理横截面积等特征时,除了使用基于雷登变换梯度矩阵的特征检测方式外,还可使用基于霍夫变换、深度学习等方法来定位肌肉组织的各结构要素,从而实现形态学参数的自动测量。It should be noted that when extracting muscle morphological features from muscle ultrasound images, such as pennation angle, muscle thickness, muscle fiber angle, muscle bundle length, muscle physiological cross-sectional area, etc., in addition to using features based on the Redden transform gradient matrix In addition to detection methods, methods based on Hough transform, deep learning, etc. can also be used to locate various structural elements of muscle tissue, thereby achieving automatic measurement of morphological parameters.
步骤S200、对所述第一图像特征进行特征选择和特征降维,得到第二图像特征。Step S200: Perform feature selection and feature dimensionality reduction on the first image features to obtain second image features.
具体地,随着机器学习和模式识别领域的发展,特征数量急剧增加,尤其在医学图像分析中,传统算法常常会遭遇维数灾难,而且特征之间可能存在冗余,高度线性相关,容易导致模型过拟合因此,因此需要对所有特征进行选择和降维,筛选出一组对疾病最为敏感的相关特征子集,降低数据的维数,能够加快学习过程,有效提高数据分析的效率,提高分类器模型的性能。Specifically, with the development of the fields of machine learning and pattern recognition, the number of features has increased dramatically. Especially in medical image analysis, traditional algorithms often encounter the curse of dimensionality, and there may be redundancy and high linear correlation between features, which can easily lead to The model is overfitting. Therefore, it is necessary to select and reduce the dimensionality of all features, screen out a set of related feature subsets that are most sensitive to the disease, and reduce the dimensionality of the data, which can speed up the learning process, effectively improve the efficiency of data analysis, and improve Classifier model performance.
在一种实现方式中,所述步骤S200具体包括如下步骤:In one implementation, step S200 specifically includes the following steps:
步骤S201、采用t-检验法对所述第一图像特征进行特征选择得到筛选过的第一图像特征;Step S201: Use the t-test method to perform feature selection on the first image features to obtain the filtered first image features;
步骤S202、采用主成分分析、线性判别式分析、t-SNE、多维尺度变换法、等距映射法、局部线性嵌入、拉普拉斯特征映射、近邻成分分析方法对所述筛选过的第一图像特征进行特征降维,得到所述第二图像特征。Step S202: Use principal component analysis, linear discriminant analysis, t-SNE, multidimensional scaling method, isometric mapping method, local linear embedding, Laplacian eigenmap, and nearest neighbor component analysis methods to analyze the filtered first The image features undergo feature dimensionality reduction to obtain the second image features.
具体地,特征选择部分,本实施例选用Filter方法中的t-检验法,通过对每个特征的分析来衡量他们的判别性,然后通过排序挑选出最具判别性的特征子集。采用主成分分析、线性判别式分析、t-SNE、多维尺度变换法、等距映射法、局部线性嵌入、拉普拉斯特征映射、近邻成分分析等多种方法对第一图像特征进行特征选择后的特征进行降维,得到第二图像特征。Specifically, for the feature selection part, this embodiment uses the t-test method in the Filter method to measure their discriminability by analyzing each feature, and then selects the most discriminative feature subset through sorting. Use principal component analysis, linear discriminant analysis, t-SNE, multidimensional scaling method, isometric mapping method, local linear embedding, Laplacian feature mapping, nearest neighbor component analysis and other methods to select features of the first image The final features are dimensionally reduced to obtain the second image features.
步骤S300、基于所述第二图像特征训练机器学习模型和深度学习模型,得到分类器,并对所述分类器进行模型验证,得到肌肉超声图像的分类模型;Step S300: Train a machine learning model and a deep learning model based on the second image features to obtain a classifier, and perform model verification on the classifier to obtain a classification model for muscle ultrasound images;
具体地,机器学习算法根据学习方式可以分为监督学习、半监督学习、无监督学习和强化学习等。目前常用的机器学习算法包括支持向量机、决策树、随机森林、逻辑回归、高斯贝叶斯分类器、伯努利贝叶斯分类器、人工神经网络等。随着大数据和深度 学习的发展,基于深度学习的算法可以克服传统浅层机器学习在解决复杂任务时的局限性,提高判别能力。基于所述第二图像特征训练机器学习模型和深度学习模型,就可以得到分类器,再对分类器进行模型验证,最终得到肌肉超声图像的分类模型。Specifically, machine learning algorithms can be divided into supervised learning, semi-supervised learning, unsupervised learning and reinforcement learning based on learning methods. Currently commonly used machine learning algorithms include support vector machines, decision trees, random forests, logistic regression, Gaussian Bayesian classifiers, Bernoulli Bayesian classifiers, artificial neural networks, etc. With the development of big data and deep learning, algorithms based on deep learning can overcome the limitations of traditional shallow machine learning in solving complex tasks and improve discrimination capabilities. By training a machine learning model and a deep learning model based on the second image features, a classifier can be obtained, and then the classifier can be model verified, and finally a classification model of muscle ultrasound images can be obtained.
在一种实现方式中,所述步骤S300具体包括如下步骤:In one implementation, step S300 specifically includes the following steps:
步骤S301、基于所述第二图像特征对待训练的机器学习模型和深度学习模型进行训练,得到训练结果;Step S301: Train the machine learning model and deep learning model to be trained based on the second image features to obtain training results;
步骤S302、通过第一性能指标评估所述训练结果,得到所述分类器;其中,所述第一性能指标包括准确率、精确度、召回率、F1分数、受试者工作曲线下面积。Step S302: Evaluate the training results through a first performance index to obtain the classifier; wherein the first performance index includes accuracy, precision, recall, F1 score, and area under the receiver operating curve.
步骤S303、获取验证数据集,并将所述验证数据集输入到所述分类器中,采用10折交叉验证进行模型验证,得到验证精度;Step S303: Obtain a verification data set, input the verification data set into the classifier, and use 10-fold cross-validation to perform model verification to obtain verification accuracy;
步骤S304、根据所述验证精度调整所述分类器,得到所述肌肉超声图像的分类模型。Step S304: Adjust the classifier according to the verification accuracy to obtain a classification model of the muscle ultrasound image.
具体地,在本实施例中,采用目前主流、常用的机器学习、深度学习模型进行训练,通过准确率、精确度、召回率、F1分数、受试者工作曲线下面积等性能指标评估出表现最优的分类器。Specifically, in this embodiment, the current mainstream and commonly used machine learning and deep learning models are used for training, and the performance is evaluated through performance indicators such as accuracy, precision, recall, F1 score, and area under the subject operating curve. optimal classifier.
具体地,交叉验证是评价和比较模型性能的统计验证技术。它使用数据集的子集,对其进行训练,然后使用未用于训练的数据集的互补子集来评估模型的性能,可以保证模型正确地从数据中捕获模式,而不考虑来自数据的干扰。本实施例将待分类的肌肉超声图像作为测试数据集,并取第三图像特征输入到所述肌肉超声图像的分类模型进行分类,得到分类结果。交叉验证中最经典的方法是k折交叉验证,即将数据集分成k个子集,每个子集做一次测试集,其余的作为训练集,然后交叉验证重复k次,计算平均值作为评分。本实施例采用目前机器学习领域建立模型和验证模型参数时最为常用的10折交叉验证,以得到验证精度;再根据验证精度调整所述分类器,得到肌肉超声图像的分类模型。Specifically, cross-validation is a statistical validation technique for evaluating and comparing model performance. It uses a subset of the data set, trains it, and then evaluates the performance of the model using a complementary subset of the data set that was not used for training. It can guarantee that the model correctly captures patterns from the data, regardless of interference from the data. . In this embodiment, the muscle ultrasound image to be classified is used as a test data set, and the third image feature is input into the classification model of the muscle ultrasound image for classification, and a classification result is obtained. The most classic method in cross-validation is k-fold cross-validation, which divides the data set into k subsets, makes a test set for each subset, and uses the rest as a training set. Then the cross-validation is repeated k times, and the average value is calculated as the score. This embodiment adopts 10-fold cross-validation, which is currently most commonly used in the field of machine learning when establishing models and verifying model parameters, to obtain verification accuracy; and then adjusts the classifier according to the verification accuracy to obtain a classification model for muscle ultrasound images.
步骤S400、获取待分类的肌肉超声图像,将所述待分类的肌肉超声图像作为测试数据集,从所述测试数据集中提取第三图像特征,将所述第三图像特征输入到所述肌肉超声图像的分类模型进行分类,得到分类结果。Step S400: Obtain the muscle ultrasound image to be classified, use the muscle ultrasound image to be classified as a test data set, extract third image features from the test data set, and input the third image feature into the muscle ultrasound image. The image classification model performs classification and obtains the classification result.
具体地,提取待分类的肌肉超声图像的第三图像特征,将第三图像特征输入到训练好的肌肉超声图像的分类模型就可以进行分类,从而得到预测结果或类别,从而实现个体水平的早期风险评估。Specifically, the third image feature of the muscle ultrasound image to be classified is extracted, and the third image feature is input into the trained muscle ultrasound image classification model to perform classification, thereby obtaining the prediction result or category, thereby achieving early individual-level risk assessment.
示例性装置Exemplary device
本实施例还提供一种基于肌肉超声的影像特征提取及分类装置,所述装置包括:This embodiment also provides an image feature extraction and classification device based on muscle ultrasound. The device includes:
第一图像特征获取模块10,用于获取肌肉超声图像,将所述肌肉超声图像作为训练数据集,从所述训练数据集中提取第一图像特征;The first image feature acquisition module 10 is used to acquire muscle ultrasound images, use the muscle ultrasound images as a training data set, and extract the first image features from the training data set;
第二图像特征获取模块20,用于对所述第一图像特征进行特征选择和特征降维,得到第二图像特征;The second image feature acquisition module 20 is used to perform feature selection and feature dimensionality reduction on the first image features to obtain second image features;
分类模型获取模块30,用于基于所述第二图像特征训练机器学习模型和深度学习模型,得到分类器,并对所述分类器进行模型验证,得到肌肉超声图像的分类模型;The classification model acquisition module 30 is used to train a machine learning model and a deep learning model based on the second image features to obtain a classifier, and perform model verification on the classifier to obtain a classification model for muscle ultrasound images;
分类模块40,用于获取待分类的肌肉超声图像,将所述待分类的肌肉超声图像作为测试数据集,从所述测试数据集中提取第三图像特征,将所述第三图像特征输入到所述肌肉超声图像的分类模型进行分类,得到分类结果。The classification module 40 is used to obtain muscle ultrasound images to be classified, use the muscle ultrasound images to be classified as a test data set, extract third image features from the test data set, and input the third image features into the test data set. Classify the muscle ultrasound images using the classification model described above to obtain the classification results.
在一种实现方式中,所述第一图像特征获取模块10包括:In one implementation, the first image feature acquisition module 10 includes:
检测模式设置单元,用于设置超声成像系统的检测模式为肌骨检测模式;a detection mode setting unit, used to set the detection mode of the ultrasonic imaging system to the musculoskeletal detection mode;
超声探头放置单元,用于将超声探头的长轴平行于肌肉长轴方向放置,通过设置标记保持所述超声探头放置在所述第一检测位置;An ultrasonic probe placement unit is used to place the long axis of the ultrasonic probe parallel to the long axis direction of the muscle, and maintain the ultrasonic probe at the first detection position by setting a mark;
肌肉超声图像获取单元,用于基于所述检测模式,在受试者静态下,使用实时B型超声成像设备获取所述第一检测位置的肌肉超声图像;A muscle ultrasound image acquisition unit, configured to acquire the muscle ultrasound image of the first detection position using a real-time B-mode ultrasound imaging device when the subject is static based on the detection mode;
训练数据集获取单元,用于将所述第一检测位置的肌肉超声图像作为所述训练数据集。A training data set acquisition unit is configured to use the muscle ultrasound image of the first detection position as the training data set.
雷登变换矩阵获取单元,用于对所述训练数据集进行归一化雷登变换,得到雷登变换矩阵;A Raiden transformation matrix acquisition unit, used to perform a normalized Raiden transformation on the training data set to obtain a Raiden transformation matrix;
雷登变换梯度矩阵获取单元,用于对所述雷登变换矩阵求梯度并进行边缘增强,得到雷登变换梯度矩阵;A Redden transform gradient matrix acquisition unit, used to obtain the gradient of the Redden transform matrix and perform edge enhancement to obtain the Redden transform gradient matrix;
聚类单元,用于对所述雷登变换梯度矩阵进行二值化处理和聚类处理,得到深筋膜特征点、肌束特征点和浅筋膜特征点;A clustering unit is used to perform binarization and clustering processing on the Leyden transform gradient matrix to obtain deep fascia feature points, muscle bundle feature points and superficial fascia feature points;
雷登逆变换单元,用于对所述深筋膜特征点、肌束特征点和浅筋膜特征点进行精确划分和雷登逆变换,得到肌肉厚度、肌纤维长度和羽状角特征;An inverse Raiden transform unit is used to accurately divide and inverse Raiden transform the deep fascia feature points, muscle bundle feature points and superficial fascia feature points to obtain muscle thickness, muscle fiber length and pennation angle features;
肌肉形态学特征获取单元,用于根据所述肌肉厚度、肌纤维长度和羽状角特征,得到所述肌肉形态学特征;A muscle morphological feature acquisition unit is used to obtain the muscle morphological features based on the muscle thickness, muscle fiber length and pennation angle features;
平均频率分析特征获取单元,用于获取所述训练数据集的所述平均频率分析特征;其中,所述平均频率分析特征的计算公式为
Figure PCTCN2022137851-appb-000004
n,I,和f分别为功率密度谱的长度、功率和频率;
An average frequency analysis feature acquisition unit is used to obtain the average frequency analysis feature of the training data set; wherein the calculation formula of the average frequency analysis feature is:
Figure PCTCN2022137851-appb-000004
n, I, and f are the length, power, and frequency of the power density spectrum respectively;
一阶统计学特征提取单元,用于基于像素灰度分布计算,从所述训练数据集中提取一阶统计学特征;其中,所述一阶统计学特征包括积分光密度、平均值、标准差、方差、偏度、峰度和能量;A first-order statistical feature extraction unit is used to extract first-order statistical features from the training data set based on pixel grayscale distribution calculation; wherein the first-order statistical features include integrated optical density, average value, standard deviation, Variance, skewness, kurtosis, and energy;
Haralick特征提取单元,用于基于灰度共生矩阵计算,从所述训练数据集中提取Haralick特征;其中,所述Haralick特征包括对比度、相关性、能量、熵、同质性和对称性;A Haralick feature extraction unit is used to extract Haralick features from the training data set based on gray level co-occurrence matrix calculation; wherein the Haralick features include contrast, correlation, energy, entropy, homogeneity and symmetry;
Galloway特征提取单元,用于基于灰度游程长度矩阵计算,从所述训练数据集中提取Galloway特征;其中,所述Galloway特征包括短游程优势、长游程优势、灰度不均匀性、长游程不均匀性、游程百分比;The Galloway feature extraction unit is used to extract Galloway features from the training data set based on grayscale run length matrix calculation; wherein the Galloway features include short run advantages, long run advantages, grayscale non-uniformity, and long run non-uniformity. sex, run percentage;
局部二值模式特征提取单元,用于基于图像局部区域的中心像素与其邻域的比较结果,从所述训练数据集中提取局部二值模式特征;其中,所述局部二值模式特征包括能量和熵,所述能量为LBP energy=∑ if i 2,所述熵为LBP entropy=-∑ if i 2log 2(f i),f i表示第i块在图像局部区域的相应频率; A local binary pattern feature extraction unit, configured to extract local binary pattern features from the training data set based on a comparison result between the central pixel of the local area of the image and its neighborhood; wherein the local binary pattern features include energy and entropy , the energy is LBP energy =∑ i fi 2 , the entropy is LBP entropy =-∑ i fi 2 log 2 ( fi ), fi represents the corresponding frequency of the i-th block in the local area of the image;
图像纹理分析特征获取单元,用于根据所述一阶统计学特征、所述Haralick特征、所述Galloway特征和所述局部二值模式特征得到所述图像纹理分析特征;An image texture analysis feature acquisition unit, configured to obtain the image texture analysis feature based on the first-order statistical features, the Haralick features, the Galloway features and the local binary pattern features;
第一图像特征获取单元,用于基于所述肌肉形态学特征、所述平均频率分析特征和所述图像纹理分析特征得到所述第一图像特征。A first image feature acquisition unit is configured to obtain the first image feature based on the muscle morphology feature, the average frequency analysis feature and the image texture analysis feature.
在一种实现方式中,所述第二图像特征获取模块20包括:In one implementation, the second image feature acquisition module 20 includes:
特征筛选单元,用于采用t-检验法对所述第一图像特征进行特征选择得到筛选过的第一图像特征;A feature screening unit, used to perform feature selection on the first image feature using the t-test method to obtain the screened first image feature;
特征降维单元,用于采用主成分分析、线性判别式分析、t-SNE、多维尺度变换法、等距映射法、局部线性嵌入、拉普拉斯特征映射、近邻成分分析方法对所述筛选过的第一图像特征进行特征降维,得到所述第二图像特征。Feature dimensionality reduction unit, used to use principal component analysis, linear discriminant analysis, t-SNE, multidimensional scaling method, isometric mapping method, local linear embedding, Laplacian eigenmap, nearest neighbor component analysis method to filter the Perform feature dimensionality reduction on the passed first image features to obtain the second image features.
在一种实现方式中,所述分类模型获取模块30包括:In one implementation, the classification model acquisition module 30 includes:
模型训练单元,用于基于所述第二图像特征对待训练的机器学习模型和深度学习模型进行训练,得到训练结果;A model training unit, configured to train the machine learning model and the deep learning model to be trained based on the second image features, and obtain training results;
分类器获取单元,用于通过第一性能指标评估所述训练结果,得到所述分类器;其中,所述第一性能指标包括准确率、精确度、召回率、F1分数、受试者工作曲线下面积。A classifier acquisition unit, used to evaluate the training results through a first performance indicator to obtain the classifier; wherein the first performance indicator includes accuracy, precision, recall, F1 score, and receiver operating curve lower area.
验证精度获取单元,用于获取验证数据集,并将所述验证数据集输入到所述分类器中,采用10折交叉验证进行模型验证,得到验证精度;A verification accuracy acquisition unit is used to obtain a verification data set, input the verification data set into the classifier, and use 10-fold cross-validation to perform model verification to obtain verification accuracy;
分类模型获取单元,用于根据所述验证精度调整所述分类器,得到所述肌肉超声图像的分类模型。A classification model acquisition unit is used to adjust the classifier according to the verification accuracy to obtain a classification model of the muscle ultrasound image.
基于上述实施例,本发明还提供了一种智能终端,其原理框图可以如图5所示。该智能终端包括通过系统总线连接的处理器、存储器、网络接口、显示屏、温度传感器。其中,该智能终端的处理器用于提供计算和控制能力。该智能终端的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该智能终端的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种基 于肌肉超声的影像特征提取及分类方法。该智能终端的显示屏可以是液晶显示屏或者电子墨水显示屏,该智能终端的温度传感器是预先在智能终端内部设置,用于检测内部设备的运行温度。Based on the above embodiments, the present invention also provides an intelligent terminal, the functional block diagram of which can be shown in Figure 5 . The intelligent terminal includes a processor, memory, network interface, display screen, and temperature sensor connected through a system bus. Among them, the processor of the smart terminal is used to provide computing and control capabilities. The memory of the smart terminal includes non-volatile storage media and internal memory. The non-volatile storage medium stores operating systems and computer programs. This internal memory provides an environment for the execution of operating systems and computer programs in non-volatile storage media. The network interface of the smart terminal is used to communicate with external terminals through network connections. When the computer program is executed by the processor, it implements an image feature extraction and classification method based on muscle ultrasound. The display screen of the smart terminal can be a liquid crystal display or an electronic ink display. The temperature sensor of the smart terminal is pre-set inside the smart terminal for detecting the operating temperature of the internal device.
本领域技术人员可以理解,图5中示出的原理框图,仅仅是与本发明方案相关的部分结构的框图,并不构成对本发明方案所应用于其上的智能终端的限定,具体的智能终端以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the principle block diagram shown in Figure 5 is only a block diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the smart terminal to which the solution of the present invention is applied. Specific smart terminals may include more or fewer components than shown, or combine certain components, or have a different arrangement of components.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本发明所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage. In the media, when executed, the computer program may include the processes of the above method embodiments. Any reference to memory, storage, database or other media used in the various embodiments provided by the present invention may include non-volatile and/or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
综上,本发明公开了一种基于肌肉超声的影像特征提取及分类方法,方法包括获取肌肉超声图像,将所述肌肉超声图像作为训练数据集;从训练数据集中提取第一图像特征;对第一图像特征进行特征选择和特征降维,得到第二图像特征;基于第二图像特征训练分类器并进行模型验证,得到肌肉超声图像的分类模型;获取待分类的肌肉超声图像作为测试数据集,从测试数据集中提取第三图像特征,将第三图像特征输入到肌肉超声图像的分类模型进行分类,得到分类结果。本发明能够采集成本低廉的肌肉超声图像,收集更广泛的肌肉结构和功能指标,并利用影像组学结合机器学习和深度学习等人工智能手段构建分类模型,从而实现对个体肌肉超声图像的分类和评估。In summary, the present invention discloses an image feature extraction and classification method based on muscle ultrasound. The method includes acquiring muscle ultrasound images and using the muscle ultrasound images as a training data set; extracting the first image feature from the training data set; Perform feature selection and feature dimensionality reduction on the first image feature to obtain the second image feature; train a classifier based on the second image feature and perform model verification to obtain a classification model for muscle ultrasound images; obtain the muscle ultrasound image to be classified as a test data set, The third image feature is extracted from the test data set, and the third image feature is input into the classification model of the muscle ultrasound image for classification, and the classification result is obtained. The present invention can collect low-cost muscle ultrasound images, collect a wider range of muscle structure and functional indicators, and use radiomics combined with artificial intelligence methods such as machine learning and deep learning to build a classification model, thereby realizing the classification and classification of individual muscle ultrasound images. Evaluate.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be used Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent substitutions are made to some of the technical features; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

  1. 一种基于肌肉超声的影像特征提取及分类方法,其特征在于,所述方法包括:An image feature extraction and classification method based on muscle ultrasound, characterized in that the method includes:
    获取肌肉超声图像,将所述肌肉超声图像作为训练数据集,从所述训练数据集中提取第一图像特征;Obtaining muscle ultrasound images, using the muscle ultrasound images as a training data set, and extracting first image features from the training data set;
    对所述第一图像特征进行特征选择和特征降维,得到第二图像特征;Perform feature selection and feature dimensionality reduction on the first image features to obtain second image features;
    基于所述第二图像特征训练机器学习模型和深度学习模型,得到分类器,并对所述分类器进行模型验证,得到肌肉超声图像的分类模型;Train a machine learning model and a deep learning model based on the second image features to obtain a classifier, and perform model verification on the classifier to obtain a classification model for muscle ultrasound images;
    获取待分类的肌肉超声图像,将所述待分类的肌肉超声图像作为测试数据集,从所述测试数据集中提取第三图像特征,将所述第三图像特征输入到所述肌肉超声图像的分类模型进行分类,得到分类结果。Obtain a muscle ultrasound image to be classified, use the muscle ultrasound image to be classified as a test data set, extract a third image feature from the test data set, and input the third image feature into the classification of the muscle ultrasound image The model performs classification and obtains classification results.
  2. 根据权利要求1所述的基于肌肉超声的影像特征提取及分类方法,其特征在于,所述获取肌肉超声图像,将所述肌肉超声图像作为训练数据集,包括:The image feature extraction and classification method based on muscle ultrasound according to claim 1, characterized in that the acquisition of muscle ultrasound images and using the muscle ultrasound images as a training data set include:
    设置超声成像系统的检测模式为肌骨检测模式;Set the detection mode of the ultrasound imaging system to the musculoskeletal detection mode;
    将超声探头的长轴平行于肌肉长轴方向放置,通过设置标记保持所述超声探头放置在所述第一检测位置;Place the long axis of the ultrasonic probe parallel to the long axis of the muscle, and keep the ultrasonic probe at the first detection position by setting a mark;
    基于所述检测模式,在受试者静态下,使用实时B型超声成像设备获取所述第一检测位置的肌肉超声图像;Based on the detection mode, using real-time B-mode ultrasound imaging equipment to obtain the muscle ultrasound image of the first detection position while the subject is static;
    将所述第一检测位置的肌肉超声图像作为所述训练数据集。The muscle ultrasound image of the first detection position is used as the training data set.
  3. 根据权利要求1所述的基于肌肉超声的影像特征提取及分类方法,其特征在于,所述从所述训练数据集中提取第一图像特征,包括:The image feature extraction and classification method based on muscle ultrasound according to claim 1, wherein the extracting the first image feature from the training data set includes:
    对所述训练数据集进行归一化雷登变换,得到雷登变换矩阵;Perform a normalized Raiden transformation on the training data set to obtain a Raiden transformation matrix;
    对所述雷登变换矩阵求梯度并进行边缘增强,得到雷登变换梯度矩阵;Calculate the gradient of the Raiden transformation matrix and perform edge enhancement to obtain the Raiden transformation gradient matrix;
    对所述雷登变换梯度矩阵进行二值化处理和聚类处理,得到深筋膜特征点、肌束特征点和浅筋膜特征点;Perform binarization and clustering processing on the Leyden transform gradient matrix to obtain deep fascia feature points, muscle bundle feature points and superficial fascia feature points;
    对所述深筋膜特征点、肌束特征点和浅筋膜特征点进行精确划分和雷登逆变换,得到肌肉厚度、肌纤维长度和羽状角特征;Perform precise division and inverse Leyden transformation on the deep fascia feature points, muscle bundle feature points and superficial fascia feature points to obtain muscle thickness, muscle fiber length and pennation angle features;
    根据所述肌肉厚度、肌纤维长度和羽状角特征,得到所述肌肉形态学特征;According to the muscle thickness, muscle fiber length and pennation angle characteristics, the muscle morphological characteristics are obtained;
    获取所述训练数据集的所述平均频率分析特征;其中,所述平均频率分析特征的计算公式为
    Figure PCTCN2022137851-appb-100001
    n,I,和f分别为功率密度谱的长度、功率和频率;
    Obtain the average frequency analysis feature of the training data set; wherein, the calculation formula of the average frequency analysis feature is
    Figure PCTCN2022137851-appb-100001
    n, I, and f are the length, power, and frequency of the power density spectrum respectively;
    基于所述肌肉形态学特征和所述平均频率分析特征得到所述第一图像特征。The first image feature is obtained based on the muscle morphological feature and the average frequency analysis feature.
  4. 根据权利要求1所述的基于肌肉超声的影像特征提取及分类方法,其特征在于,所述从所述训练数据集中提取第一图像特征,包括:The image feature extraction and classification method based on muscle ultrasound according to claim 1, wherein the extracting the first image feature from the training data set includes:
    基于像素灰度分布计算,从所述训练数据集中提取一阶统计学特征;其中,所述一阶统计学特征包括积分光密度、平均值、标准差、方差、偏度、峰度和能量;Based on pixel grayscale distribution calculation, extract first-order statistical features from the training data set; wherein the first-order statistical features include integrated optical density, mean, standard deviation, variance, skewness, kurtosis and energy;
    基于灰度共生矩阵计算,从所述训练数据集中提取Haralick特征;其中,所述Haralick特征包括对比度、相关性、能量、熵、同质性和对称性;Based on gray level co-occurrence matrix calculation, Haralick features are extracted from the training data set; wherein the Haralick features include contrast, correlation, energy, entropy, homogeneity and symmetry;
    基于灰度游程长度矩阵计算,从所述训练数据集中提取Galloway特征;其中,所述Galloway特征包括短游程优势、长游程优势、灰度不均匀性、长游程不均匀性、游程百分比;Based on grayscale run length matrix calculation, Galloway features are extracted from the training data set; wherein, the Galloway features include short run advantage, long run advantage, grayscale non-uniformity, long run non-uniformity, and run percentage;
    基于图像局部区域的中心像素与其邻域的比较结果,从所述训练数据集中提取局部二值模式特征;其中,所述局部二值模式特征包括能量和熵,所述能量为LBP energy=∑ if i 2,所述熵为LBP entropy=-∑ if i 2log 2(f i),f i表示第i块在图像局部区域的相应频率; Based on the comparison results between the central pixel of the local area of the image and its neighborhood, local binary pattern features are extracted from the training data set; wherein the local binary pattern features include energy and entropy, and the energy is LBP energy =∑ i f i 2 , the entropy is LBP entropy =-∑ i fi 2 log 2 (f i ), f i represents the corresponding frequency of the i-th block in the local area of the image;
    根据所述一阶统计学特征、所述Haralick特征、所述Galloway特征和所述局部二值模式特征得到所述图像纹理分析特征;The image texture analysis feature is obtained according to the first-order statistical feature, the Haralick feature, the Galloway feature and the local binary pattern feature;
    基于所述图像纹理分析特征得到所述第一图像特征。The first image feature is obtained based on the image texture analysis feature.
  5. 根据权利要求1所述的基于肌肉超声的影像特征提取及分类方法,其特征在于,所述对所述第一图像特征进行特征选择和特征降维,得到第二图像特征,包括:The image feature extraction and classification method based on muscle ultrasound according to claim 1, wherein the second image feature is obtained by performing feature selection and feature dimensionality reduction on the first image feature, including:
    采用t-检验法对所述第一图像特征进行特征选择得到筛选过的第一图像特征;Using the t-test method to perform feature selection on the first image feature to obtain the screened first image feature;
    采用主成分分析、线性判别式分析、t-SNE、多维尺度变换法、等距映射法、局部线性嵌入、拉普拉斯特征映射、近邻成分分析方法对所述筛选过的第一图像特征进行特征降维,得到所述第二图像特征。Principal component analysis, linear discriminant analysis, t-SNE, multidimensional scaling method, isometric mapping method, local linear embedding, Laplacian feature mapping, and nearest neighbor component analysis methods are used to conduct the filtered first image features. Feature dimensionality reduction is performed to obtain the second image feature.
  6. 根据权利要求1所述的基于肌肉超声的影像特征提取及分类方法,其特征在于,所述基于所述第二图像特征训练机器学习模型和深度学习模型,得到分类器,包括:The image feature extraction and classification method based on muscle ultrasound according to claim 1, characterized in that the training of a machine learning model and a deep learning model based on the second image features to obtain a classifier includes:
    基于所述第二图像特征对待训练的机器学习模型和深度学习模型进行训练,得到训练结果;Train the machine learning model and the deep learning model to be trained based on the second image features to obtain training results;
    通过第一性能指标评估所述训练结果,得到所述分类器;其中,所述第一性能指标包括准确率、精确度、召回率、F1分数、受试者工作曲线下面积。The training results are evaluated through a first performance index to obtain the classifier; wherein the first performance index includes accuracy, precision, recall, F1 score, and area under the receiver operating curve.
  7. 根据权利要求1所述的基于肌肉超声的影像特征提取及分类方法,其特征在于,所述对所述分类器进行模型验证,得到肌肉超声图像的分类模型,还包括:The image feature extraction and classification method based on muscle ultrasound according to claim 1, characterized in that, performing model verification on the classifier to obtain a classification model of muscle ultrasound images also includes:
    获取验证数据集,并将所述验证数据集输入到所述分类器中,采用10折交叉验证进行模型验证,得到验证精度;Obtain a verification data set, input the verification data set into the classifier, use 10-fold cross-validation for model verification, and obtain verification accuracy;
    根据所述验证精度调整所述分类器,得到所述肌肉超声图像的分类模型。The classifier is adjusted according to the verification accuracy to obtain a classification model of the muscle ultrasound image.
  8. 一种基于肌肉超声的影像特征提取及分类装置,其特征在于,所述装置包括:An image feature extraction and classification device based on muscle ultrasound, characterized in that the device includes:
    第一图像特征获取模块,用于获取肌肉超声图像,将所述肌肉超声图像作为训练数据集,从所述训练数据集中提取第一图像特征;A first image feature acquisition module, configured to acquire muscle ultrasound images, use the muscle ultrasound images as a training data set, and extract first image features from the training data set;
    第二图像特征获取模块,用于对所述第一图像特征进行特征选择和特征降维,得到第二图像特征;A second image feature acquisition module is used to perform feature selection and feature dimensionality reduction on the first image features to obtain second image features;
    分类模型获取模块,用于基于所述第二图像特征训练机器学习模型和深度学习模型,得到分类器,并对所述分类器进行模型验证,得到肌肉超声图像的分类模型;A classification model acquisition module, configured to train a machine learning model and a deep learning model based on the second image features to obtain a classifier, and perform model verification on the classifier to obtain a classification model for muscle ultrasound images;
    分类模块,用于获取待分类的肌肉超声图像,将所述待分类的肌肉超声图像作为测试数据集,从所述测试数据集中提取第三图像特征,将所述第三图像特征输入到所述肌肉超声图像的分类模型进行分类,得到分类结果。A classification module, used to obtain muscle ultrasound images to be classified, use the muscle ultrasound images to be classified as a test data set, extract third image features from the test data set, and input the third image features into the Classify the muscle ultrasound images using a classification model to obtain the classification results.
  9. 一种智能终端,其特征在于,所述智能终端包括存储器、处理器及存储在所述存储器中并可在所述处理器上运行的基于肌肉超声的影像特征提取及分类程序,所述处理器执行所述基于肌肉超声的影像特征提取及分类程序时,实现如权利要求1-7任一项所述的基于肌肉超声的影像特征提取及分类方法的步骤。An intelligent terminal, characterized in that the intelligent terminal includes a memory, a processor, and an image feature extraction and classification program based on muscle ultrasound that is stored in the memory and can be run on the processor, and the processor When the muscle ultrasound-based image feature extraction and classification program is executed, the steps of the muscle ultrasound-based image feature extraction and classification method as described in any one of claims 1 to 7 are implemented.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有基于肌肉超声的影像特征提取及分类程序,所述基于肌肉超声的影像特征提取及分类程序被处理器执行时,实现如权利要求1-7任一项所述的基于肌肉超声的影像特征提取及分类方法的步骤。A computer-readable storage medium, characterized in that a muscle ultrasound-based image feature extraction and classification program is stored on the computer-readable storage medium, and when the muscle ultrasound-based image feature extraction and classification program is executed by a processor , the steps of implementing the image feature extraction and classification method based on muscle ultrasound as described in any one of claims 1-7.
PCT/CN2022/137851 2022-09-08 2022-12-09 Image feature extraction and classification method based on muscle ultrasound WO2024051015A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211093348.0A CN116309250A (en) 2022-09-08 2022-09-08 Image feature extraction and classification method based on muscle ultrasound
CN202211093348.0 2022-09-08

Publications (1)

Publication Number Publication Date
WO2024051015A1 true WO2024051015A1 (en) 2024-03-14

Family

ID=86796492

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/137851 WO2024051015A1 (en) 2022-09-08 2022-12-09 Image feature extraction and classification method based on muscle ultrasound

Country Status (2)

Country Link
CN (1) CN116309250A (en)
WO (1) WO2024051015A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345633A (en) * 2013-06-27 2013-10-09 山东大学 Structural nuclear magnetic resonance image processing method used for Alzheimer disease early detection
CN109087298A (en) * 2018-08-17 2018-12-25 电子科技大学 A kind of Alzheimer's disease MRI image classification method
CN110276772A (en) * 2019-05-10 2019-09-24 深圳大学 The automatic positioning method and system of structural element in a kind of musculature
US20200074238A1 (en) * 2018-08-28 2020-03-05 Morpho, Inc. Image identification apparatus, image identification method, and recording medium
CN111242174A (en) * 2019-12-31 2020-06-05 浙江大学 Liver cancer image feature extraction and pathological classification method and device based on imaging omics

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345633A (en) * 2013-06-27 2013-10-09 山东大学 Structural nuclear magnetic resonance image processing method used for Alzheimer disease early detection
CN109087298A (en) * 2018-08-17 2018-12-25 电子科技大学 A kind of Alzheimer's disease MRI image classification method
US20200074238A1 (en) * 2018-08-28 2020-03-05 Morpho, Inc. Image identification apparatus, image identification method, and recording medium
CN110276772A (en) * 2019-05-10 2019-09-24 深圳大学 The automatic positioning method and system of structural element in a kind of musculature
CN111242174A (en) * 2019-12-31 2020-06-05 浙江大学 Liver cancer image feature extraction and pathological classification method and device based on imaging omics

Also Published As

Publication number Publication date
CN116309250A (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN110840468B (en) Autism risk assessment method and device, terminal device and storage medium
Mwangi et al. Visualization and unsupervised predictive clustering of high-dimensional multimodal neuroimaging data
Sharma et al. Brain tumor segmentation using DE embedded OTSU method and neural network
Liu et al. Machine learning assisted MRI characterization for diagnosis of neonatal acute bilirubin encephalopathy
CN112348785A (en) Epileptic focus positioning method and system
Han et al. A novel convolutional variation of broad learning system for Alzheimer’s disease diagnosis by using MRI images
Yang et al. Diagnosis of Parkinson’s disease based on 3D ResNet: The frontal lobe is crucial
CN114842969A (en) Mild cognitive impairment assessment method based on key fiber bundles
Jeong et al. Neonatal encephalopathy prediction of poor outcome with diffusion-weighted imaging connectome and fixel-based analysis
WO2024051015A1 (en) Image feature extraction and classification method based on muscle ultrasound
Huang et al. Early prediction of refractory epilepsy in children under artificial intelligence neural network
Wang et al. Adaptive Weights Integrated Convolutional Neural Network for Alzheimer's Disease Diagnosis
Sharma et al. Machine Learning of Diffusion Weighted Imaging for Prediction of Seizure Susceptibility Following Traumatic Brain Injury
CN114847922A (en) Brain age prediction method based on automatic fiber bundle identification
CN114305387A (en) Magnetic resonance imaging-based method, equipment and medium for classifying small cerebral vascular lesion images
CN113948180A (en) Method, device, processor and computer readable storage medium for realizing mental disease image report generation processing
Abd Hamid et al. Incorporating attention mechanism in enhancing classification of alzheimer’s disease
Palraj et al. Predicting the abnormality of brain and compute the cognitive power of human using deep learning techniques using functional magnetic resonance images
CN113080929A (en) anti-NMDAR encephalitis image feature classification method based on machine learning
Li et al. Data-driven learning to identify biomarkers in bipolar disorder
CN117530659B (en) Early cervical cancer transformation auxiliary diagnostic tool based on optical coherence tomography
CN113947577B (en) Method, system, device, processor and storage medium for realizing brain image feature normalization processing based on healthy population distribution
CN116738352B (en) Method and device for classifying abnormal rod cells of retinal vascular occlusion disease
CN118098555A (en) Auxiliary diagnosis model for gestational diabetes
Parimala et al. A Review: Binary Classification and Hybrid Segmentation of Brain Stroke using Transfer Learning-Based Approach

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22957974

Country of ref document: EP

Kind code of ref document: A1