A cardiomyopathy classification method, system and medium based on deep neural network

Multi-view feature fusion classification of echocardiograms through deep neural networks solves the problems of high misdiagnosis rate and low identification efficiency of echocardiography in the diagnosis of cardiomyopathy, and achieves high accuracy of hypertrophic cardiomyopathy and cardiac amyloidosis. Accurate identification simplifies the operation process and improves diagnostic efficiency.

CN118334430BInactive Publication Date: 2024-10-22SOUTHWEST PETROLEUM UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410465031.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-18
Publication Date
2024-10-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing echocardiography has the problems of high misdiagnosis rate, low identification efficiency and large differences in skill between doctors in the diagnosis of cardiomyopathy. Especially in the identification of hypertrophic cardiomyopathy and cardiac amyloidosis, it can easily lead to misdiagnosis.

Method used

A cardiomyopathy classification method based on deep neural networks is adopted, and through multi-view feature fusion, including echocardiogram preprocessing, view classification, feature extraction and disease classification, deep neural network and linear neural network models are used to classify echocardiograms and judge Cardiac amyloidosis or hypertrophic cardiomyopathy.

Benefits of technology

It improves the identification efficiency and accuracy of cardiomyopathy, reduces the misdiagnosis rate, simplifies the operation process, is suitable for doctors of different levels, especially junior doctors, and improves the quality of image interpretation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118334430B_ABST
    Figure CN118334430B_ABST
Patent Text Reader

Abstract

The present invention discloses a cardiomyopathy classification method, system and medium based on a deep neural network, and belongs to the technical field of computer image processing. The method includes: S1: echocardiography preprocessing stage; S2: view classification training stage; S3: view classification stage; S4: feature extraction and fusion stage, using a second deep neural network to extract features of five echocardiography views respectively, and fusing the five features to obtain fused feature data; S5: disease classification training stage, using fused feature data and a linear neural network classifier to train a disease classification model; S6: disease classification stage, using a disease classification model to classify the fused feature data. By using two-dimensional echocardiography image data to achieve the identification and classification of hypertrophic cardiomyopathy and myocardial amyloidosis, it has high popularity and simple operation, and improves the identification efficiency and accuracy of the corresponding diseases.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer image processing technology, and in particular to a cardiomyopathy classification method, system and medium based on a deep neural network. Background Art

[0002] Cardiomyopathy is a disease defined by structural and functional abnormalities of the ventricular myocardium and is a type of cardiovascular disease. Patients with cardiomyopathy may experience heart failure, arrhythmias, syncope, chest pain, and sudden cardiac death (SCD). Among them, hypertrophic cardiomyopathy is one of the most common types of hereditary primary cardiomyopathy. Data show that the crude prevalence of hypertrophic cardiomyopathy in the Chinese population is 0.16%, and the age- and sex-corrected prevalence is 80 / 100,000. It is estimated that there are more than 1 million adult hypertrophic cardiomyopathy patients in my country. The ultrasound manifestations of hypertrophic cardiomyopathy usually show asymmetric hypertrophy of the myocardium, usually involving the left ventricle, especially the hypertrophy of the ventricular septum (the wall between the left and right ventricles). Cardiac amyloidosis is the most common type of secondary restrictive cardiomyopathy. Amyloidosis is a group of diseases in which insoluble amyloid substances are deposited in organs and tissues, leading to organ and tissue dysfunction. The heart is an organ often affected by amyloidosis, usually manifested as myocardial hypertrophy and restrictive congestive heart failure. Although cardiac amyloidosis and hypertrophic cardiomyopathy are completely different diseases, the former is relatively rare and their echocardiographic manifestations are very similar, making them easy to misdiagnose.

[0003] Echocardiography is the most widely used cardiac imaging method and is also an indispensable and effective tool for the diagnosis and treatment of various heart diseases. However, the examination has many measurement values ​​and the normal value range is not uniform. It is highly dependent on the operator and requires considerable professional knowledge reserves, which leads to a long training period for cardiac ultrasound physicians and large differences in the level of physicians. Research data show that the misdiagnosis rate of cardiovascular disease in medical imaging reaches 10%~30%, and the sensitivity of identification by different medical institutions ranges from 27.5% to 96%. At the same time, the "2018-2024 China Artificial Intelligence + Medical Imaging Industry Market Research and Investment Prospect Forecast Report" shows that with the popularization of digital medical equipment, the rapid update of imaging equipment and the rapid expansion of the storage capacity of multi-model imaging methods, the annual growth rate of medical imaging data in my country is about 30%, while the annual growth rate of the number of imaging physicians is only 4.1%. The excessive workload affects the image interpretation quality and identification accuracy of Chinese imaging physicians.

[0004] At the same time, there are large differences in the level of ultrasound physicians between medical institutions at all levels in my country and between medical institutions of the same level in different regions. In this case, artificial intelligence technology, with its theoretical characteristics of semi-supervision, self-learning, and self-evolution, can greatly shorten the image reading time while improving the accuracy of identification, greatly solving the above problems. The establishment of numerous AI models has improved the efficiency and accuracy of identification of corresponding diseases, especially for junior doctors. Summary of the invention

[0005] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a cardiomyopathy classification method, system and medium based on deep neural network.

[0006] The objective of the present invention is achieved through the following technical solutions: The first aspect of the present invention provides: a cardiomyopathy classification method based on a deep neural network, which classifies cardiomyopathy by fusion of multi-view features, comprising the following steps:

[0007] S1: echocardiogram preprocessing stage, preprocessing the first echocardiogram to obtain the second echocardiogram;

[0008] S2: view classification training stage, using the second echocardiogram and the first deep neural network to train the view classification model to obtain a deep neural network model;

[0009] S3: View classification stage, using the deep neural network model to classify the second echocardiogram and obtain five echocardiographic views;

[0010] S4: feature extraction and fusion stage, using the second deep neural network to extract features from the five echocardiographic views respectively, and fusing the five features to obtain fused feature data;

[0011] S5: Disease classification training phase, using fused feature data and linear neural network classifier to train the disease classification model;

[0012] S6: In the disease classification stage, the fused feature data is classified using the disease classification model.

[0013] Preferably, the deep neural network model is a view classification model, and the five echocardiographic views are the apical four-chamber view echocardiographic view, the parasternal left ventricular long-axis view echocardiographic view, the parasternal mitral valve horizontal short-axis view echocardiographic view, the parasternal papillary muscle horizontal short-axis view echocardiographic view and the parasternal apex horizontal short-axis view echocardiographic view; the disease classification model is used to classify the fused feature data of the five echocardiographic views to determine whether they belong to myocardial amyloidosis, hypertrophic cardiomyopathy or normal data.

[0014] Preferably, the pretreatment comprises the following steps:

[0015] The first echocardiogram is converted into a grayscale image to annotate the category of the view and is adjusted to a first preset pixel size to obtain a second echocardiogram.

[0016] Preferably, the deep neural network model includes a position encoding module and a Transformer encoder, wherein the position encoding module is used to retain the spatial position information between the image blocks of the second echocardiogram, and the Transformer encoder uses a multi-head attention mechanism to enable each image block to interact with other image blocks to capture the relationship between different positions.

[0017] Preferably, the deep neural network model classifies the second echocardiogram including the following steps:

[0018] The input channel of the first convolution operation of the deep neural network model was changed from 3 to 1; then the second echocardiogram was divided into multiple image blocks and each image block was flattened into a vector; each vector was then added with the position encoding vector corresponding to each vector to obtain the final vector of each image block; the final vector was then passed to the MLP classification head through the Transformer encoder to obtain the confidence of the five echocardiogram views.

[0019] Preferably, the second deep neural network includes 1 7×7 convolution layer, 16 3×3 convolution layers, 1 maximum pooling layer and 4 residual blocks; the five ultrasound cardiac views first pass through the 7×7 convolution layer, then through the maximum pooling layer, then through the 3×3 convolution layer and 4 residual blocks, and finally feature fusion is performed to obtain fused feature data; the residual block includes an identity mapping branch and a residual mapping branch, the identity mapping branch is used to perform nonlinear transformation on the five ultrasound cardiac views, the residual mapping branch is used to change the dimensions of the five ultrasound cardiac views, and the identity mapping branch and the residual mapping branch are added to obtain the final output of the residual block.

[0020] Preferably, the training disease classification model comprises the following steps:

[0021] The input fused feature data is adaptively averaged pooled and dimensionally reduced before being input into a linear neural network classifier to map the fused feature data into category scores.

[0022] Preferably, the first deep neural network is a Vision Transformer deep neural network; the second deep neural network is a deep residual network based on Resnet; and the deep neural network model is a trained Vision Transformer deep neural network model.

[0023] The second aspect of the present invention provides: a cardiomyopathy classification system based on a deep neural network, used to implement any of the above-mentioned cardiomyopathy classification methods based on a deep neural network, comprising:

[0024] An echocardiogram preprocessing module, used for preprocessing the first echocardiogram to obtain a second echocardiogram;

[0025] A view classification training module, used for training a view classification model using the second echocardiogram and the first deep neural network to obtain a deep neural network model;

[0026] a view classification module, for classifying the second echocardiogram using a deep neural network model to obtain five types of echocardiogram views;

[0027] A feature extraction and fusion module is used to use a second deep neural network to extract features from the five echocardiogram views respectively, and fuse the five features to obtain fused feature data;

[0028] Disease classification training module, used to train disease classification models using fused feature data and linear neural network classifiers;

[0029] The disease classification module is used to classify the fused feature data using the disease classification model.

[0030] The third aspect of the present invention provides: a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by a processor, any of the above-mentioned cardiomyopathy classification methods based on deep neural networks is implemented.

[0031] The beneficial effects of the present invention are:

[0032] 1) First, the two-dimensional echocardiogram is classified. This process accurately obtains the five required views and realizes the accurate classification of the echocardiogram. Next, the five views are extracted and fused separately through a deep neural network. This process obtains the features after the fusion of the five views, that is, the fused feature data. Finally, the fused feature data is input into the linear classifier for classification. The two-dimensional echocardiogram image has low dimension, is easy to obtain, and is easy to process. This method uses two-dimensional echocardiogram image data to realize the identification and classification of hypertrophic cardiomyopathy and myocardial amyloidosis. It is widely used and simple to operate, which improves the identification efficiency and accuracy of the corresponding diseases. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 This is a flow chart of the cardiomyopathy classification method based on deep neural network;

[0034] Figure 2 This is a block diagram of a cardiomyopathy classification system based on a deep neural network;

[0035] Figure 3 Classify the flow chart for the view;

[0036] Figure 4 It is the feature extraction flow chart;

[0037] Figure 5 Schematic diagram of residual block structure;

[0038] Figure 6 Flow chart for disease classification. DETAILED DESCRIPTION

[0039] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0040] See also Figure 1-Figure 6 The first aspect of the present invention provides: a cardiomyopathy classification method based on a deep neural network, which classifies cardiomyopathy by fusion of multi-view features, comprising the following steps:

[0041] S1: echocardiogram preprocessing stage, preprocessing the first echocardiogram to obtain the second echocardiogram;

[0042] S2: view classification training stage, using the second echocardiogram and the first deep neural network to train the view classification model to obtain a deep neural network model;

[0043] S3: View classification stage, using the deep neural network model to classify the second echocardiogram and obtain five echocardiographic views;

[0044] S4: feature extraction and fusion stage, using the second deep neural network to extract features from the five echocardiographic views respectively, and fusing the five features to obtain fused feature data;

[0045] S5: Disease classification training phase, using fused feature data and linear neural network classifier to train the disease classification model;

[0046] S6: In the disease classification stage, the fused feature data is classified using the disease classification model.

[0047] In some embodiments, the deep neural network model is a view classification model, and the five echocardiographic views are apical four-chamber view echocardiographic view, parasternal left ventricular long-axis view echocardiographic view, parasternal mitral valve horizontal short-axis view echocardiographic view, parasternal papillary muscle horizontal short-axis view echocardiographic view and parasternal apex horizontal short-axis view echocardiographic view; the disease classification model is used to classify the fused feature data of the five echocardiographic views to determine whether they belong to myocardial amyloidosis or hypertrophic cardiomyopathy or normal data.

[0048] In some embodiments, the pre-processing comprises the following steps:

[0049] The first echocardiogram is converted into a grayscale image to annotate the category of the view and is adjusted to a first preset pixel size to obtain a second echocardiogram.

[0050] In this embodiment, python and OpenCV are used to convert the first echocardiogram into a grayscale image, and the first preset pixel size is 224*224 pixels.

[0051] In some embodiments, the deep neural network model includes a position encoding module and a Transformer encoder, wherein the position encoding module is used to retain the spatial position information between the image blocks of the second echocardiogram, and the Transformer encoder uses a multi-head attention mechanism to enable each image block to interact with other image blocks to capture the relationship between different positions.

[0052] In this embodiment, the view classification training stage uses the labeled echocardiogram processed by the echocardiogram preprocessing stage as input, and the corresponding labels are the categories of different views; the view classification training stage obtains the required five views from several echocardiograms through the Vision Transformer deep neural network, wherein the Vision Transformer deep neural network includes a position encoding module and a Transformer encoder, the position embedding retains the spatial position information between image blocks, and the multi-head attention mechanism of the Transformer encoder enables each block to interact with other blocks to capture the relationship between different positions, while considering global and local information.

[0053] In some embodiments, classifying the second echocardiogram using the deep neural network model comprises the following steps:

[0054] The input channel of the first convolution operation of the deep neural network model was changed from 3 to 1; then the second echocardiogram was divided into multiple image blocks and each image block was flattened into a vector; each vector was then added with the position encoding vector corresponding to each vector to obtain the final vector of each image block; the final vector was then passed to the MLP classification head through the Transformer encoder to obtain the confidence of the five echocardiogram views.

[0055] In this embodiment, the trained Vision Transformer deep neural network is used to classify the preprocessed two-dimensional echocardiogram to obtain five views. Figure 3 As shown in the figure, the preprocessed two-dimensional echocardiogram is subjected to view classification through the trained Vision Transformer network model. Since the preprocessed echocardiogram is a grayscale image, the input channel of the first convolution operation of the Vision Transformer network model is changed from 3 to 1; first, the image data is divided into multiple image blocks, and each image block is flattened into a vector; then each vector is added with the corresponding position encoding vector to obtain the final vector representation of each image block, which is passed to the Transformer encoder as input for processing, and finally the confidence of each category is obtained through the MLP classification head.

[0056] In addition, the training data of the Vision Transformer deep neural network includes a total of 13,575 echocardiograms, which were classified, annotated and reviewed by senior cardiac ultrasound physicians; there are 3,980 apical four-chamber views, 4,500 left ventricular long axis views, 1,417 mitral valve horizontal short axis views, 1,815 papillary muscle horizontal short axis views, 1,863 apical horizontal short axis views, and 2,686 other views. The data set is divided into training set, validation set and test set in a ratio of 8:1:1 for each view; from the results of the verification of 10% of the validation set data, the overall accuracy of the Vision Transformer network model classification has reached 95%.

[0057] The 10% test set was tested. The test set test showed that the view classification stage can classify echocardiogram views with a high accuracy, which laid a certain foundation for the subsequent accurate disease classification. The Vision Transformer network model in the classification module was evaluated by calculating the common indicators of the deep neural network classification model through the test set, including: Accuracy, Precision, Recall, F1 Score, Micro-F1 Score. The specific calculation results are shown in Table 1 below:

[0058] Table 1

[0059]

[0060] In some embodiments, the second deep neural network includes 1 7×7 convolution layer, 16 3×3 convolution layers, 1 maximum pooling layer and 4 residual blocks; the five ultrasound views first pass through the 7×7 convolution layer, then through the maximum pooling layer, then through the 3×3 convolution layer and 4 residual blocks, and finally feature fusion is performed to obtain fused feature data; the residual block includes an identity mapping branch and a residual mapping branch, the identity mapping branch is used to perform nonlinear transformation on the five ultrasound views, the residual mapping branch is used to change the dimensions of the five ultrasound views, and the identity mapping branch and the residual mapping branch are added to obtain the final output of the residual block.

[0061] In this embodiment, in the feature extraction and fusion stage, a deep neural network based on Resnet is used to extract hidden features from the five views and perform feature fusion. Figure 4 As shown in the figure, the five views classified in the view classification stage are respectively subjected to feature extraction using the modified Resnet18 deep neural network, and fused feature data is obtained by feature fusion; the modified Resnet18 network accepts a fixed-size image of 224×224 pixels as input, and the specific network structure includes 1 7×7 convolution layer and 16 3×3 convolution layers, 1 maximum pooling layer and 4 residual blocks, each of which includes two residual units; the schematic diagram of the residual block structure is shown in Figure 5 As shown in Figure 1, a typical residual block contains two main branches: a main branch (identity mapping) and a side branch (residual mapping). The main branch performs nonlinear transformations through convolutional layers and batch normalization layers, while the side branch usually includes convolutional layers to change the dimension of features. Finally, the outputs of the two branches are added together to obtain the final output of the residual block. The formula is as follows: Where X is the input, F(X) is the residual, that is, the transformation that the network needs to learn, and H(X) is the output. Residual connections effectively alleviate the problems of gradient vanishing and gradient exploding in deep convolutional neural networks, allowing the network to easily train very deep structures. The specific process is: first resize all input images to 224×224, and convert single-channel ultrasound images into three channels. Through the modified ResNet18 network structure, a single feature tensor of H×W×C=7×7×512 is obtained, and then the features of the five views are combined to form a feature tensor of H×W×C=7×7×2560, which is the final fused feature data.

[0062] In some embodiments, the training of the disease classification model comprises the following steps:

[0063] The input fused feature data is adaptively averaged pooled and dimensionally reduced before being input into a linear neural network classifier to map the fused feature data into category scores.

[0064] In this embodiment, the training data in the disease classification training stage is fusion feature data, and its label is the category of cardiomyopathy; in addition, the classification network in the disease classification training stage uses a linear neural network classifier, and the specific flow chart is as follows: Figure 6 As shown in the figure, the 7×7×2560 feature tensor is used as input, and the feature tensor H×W×C=1×1×2560 is obtained through adaptive average pooling, and the dimension is reduced to a 2560-dimensional tensor and input into the linear neural network classifier; the linear classifier is a linear mapping that maps the input image features to category scores. The linear classifier is simple to discriminate, easy to implement, and requires small amounts of computation and storage, so it is suitable for small sample classification learning. The linear transformation process of the linear classifier can be expressed by the following formula:

[0065] Where x represents the input, and its dimension is d. f is a score vector, and its dimension is equal to the number of categories c. w=[w1…wc]T ​​is the weight matrix, wi=[wi…wid]T ​​is the weight vector of the i-th category, b=[b1…bc]T is the bias vector, and bi is the bias of the i-th category. In the present invention, x is the feature vector after multi-view combination, and its dimension is 2560, and f is the vector score, and its dimension is equal to 3.

[0066] There are 242 training data samples in the disease training phase, including 212 cases of hypertrophic cardiomyopathy, 30 cases of myocardial amyloidosis, and 200 normal cases. According to the angle of ultrasound probe placement and the characteristics of ultrasound equipment, the myocardial amyloidosis data was enhanced by rotating 15 degrees, cropping, brightening, dimming and contrast enhancement. Therefore, the number of myocardial amyloidosis data increased to 180. After the echocardiogram was processed in the echocardiogram preprocessing stage, view classification stage, and feature extraction and fusion stage, the data was divided into a training set and a test set in a ratio of 8:2; the test set test showed that the linear neural network classification model in the module of the present invention can classify cardiomyopathy with a high accuracy; from the results of testing the data of 20% of the test set, the accuracy of the linear neural network model in classifying hypertrophic cardiomyopathy has reached 87.9%, and the accuracy of myocardial amyloidosis has reached 90.4%.

[0067] The linear neural network model is evaluated by calculating the common indicators of the deep neural network classification model, including: Precision, F1 Score. The specific calculation results are shown in Table 2 below:

[0068] Table 2

[0069]

[0070] In some embodiments, the first deep neural network is a Vision Transformer deep neural network; the second deep neural network is a deep residual network based on Resnet; and the deep neural network model is a Vision Transformer deep neural network model.

[0071] The second aspect of the present invention provides: a cardiomyopathy classification system based on a deep neural network, used to implement any of the above-mentioned cardiomyopathy classification methods based on a deep neural network, comprising:

[0072] An echocardiogram preprocessing module, used for preprocessing the first echocardiogram to obtain a second echocardiogram;

[0073] A view classification training module, used for training a view classification model using the second echocardiogram and the first deep neural network to obtain a deep neural network model;

[0074] a view classification module, for classifying the second echocardiogram using a deep neural network model to obtain five types of echocardiogram views;

[0075] A feature extraction and fusion module is used to use a second deep neural network to extract features from the five echocardiogram views respectively, and fuse the five features to obtain fused feature data;

[0076] Disease classification training module, used to train disease classification models using fused feature data and linear neural network classifiers;

[0077] The disease classification module is used to classify the fused feature data using the disease classification model.

[0078] The third aspect of the present invention provides: a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by a processor, any of the above-mentioned cardiomyopathy classification methods based on deep neural networks is implemented.

[0079] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.

Claims

1. A cardiomyopathy classification method based on deep neural network, characterized by: Classification of cardiomyopathy by multi-view feature fusion includes the following steps: S1: echocardiogram preprocessing stage, preprocessing the first echocardiogram to obtain the second echocardiogram; S2: view classification training stage, using the second echocardiogram and the first deep neural network to train the view classification model to obtain a deep neural network model; S3: View classification stage, using the deep neural network model to classify the second echocardiogram and obtain five echocardiographic views; S4: feature extraction and fusion stage, using the second deep neural network to extract features from the five echocardiographic views respectively, and fusing the five features to obtain fused feature data; S5: Disease classification training phase, using fused feature data and linear neural network classifier to train the disease classification model; S6: Disease classification stage, using the disease classification model to classify the fused feature data; The deep neural network model includes a position encoding module and a Transformer encoder, wherein the position encoding module is used to retain the spatial position information between the image blocks of the second echocardiogram, and the Transformer encoder uses a multi-head attention mechanism to enable each image block to interact with other image blocks to capture the relationship between different positions; The second deep neural network includes 1 7×7 convolution layer, 16 3×3 convolution layers, 1 maximum pooling layer and 4 residual blocks; the five ultrasound cardiac views first pass through the 7×7 convolution layer, then pass through the maximum pooling layer, then pass through the 3×3 convolution layer and 4 residual blocks, and finally perform feature fusion to obtain fused feature data; the residual block includes an identity mapping branch and a residual mapping branch, the identity mapping branch is used to perform nonlinear transformation on the five ultrasound cardiac views, the residual mapping branch is used to change the dimensions of the five ultrasound cardiac views, and the identity mapping branch and the residual mapping branch are added to obtain the final output of the residual block.

2. The cardiomyopathy classification method based on deep neural network according to claim 1, characterized in that: The deep neural network model is a view classification model, and the five echocardiographic views are the apical four-chamber view echocardiographic view, the parasternal left ventricular long-axis view echocardiographic view, the parasternal mitral valve horizontal short-axis view echocardiographic view, the parasternal papillary muscle horizontal short-axis view echocardiographic view and the parasternal apex horizontal short-axis view echocardiographic view; the disease classification model is used to classify the fusion feature data of the five echocardiographic views to determine whether they belong to myocardial amyloidosis, hypertrophic cardiomyopathy or normal data.

3. The cardiomyopathy classification method based on deep neural network according to claim 1, characterized in that: The pretreatment comprises the following steps: The first echocardiogram is converted into a grayscale image to annotate the category of the view and is adjusted to a first preset pixel size to obtain a second echocardiogram.

4. The cardiomyopathy classification method based on deep neural network according to claim 1, characterized in that: The deep neural network model classifies the second echocardiogram including the following steps: The input channel of the first convolution operation of the deep neural network model was changed from 3 to 1; then the second echocardiogram was divided into multiple image blocks and each image block was flattened into a vector; each vector was then added with the position encoding vector corresponding to each vector to obtain the final vector of each image block; the final vector was then passed to the MLP classification head through the Transformer encoder to obtain the confidence of the five echocardiogram views.

5. The cardiomyopathy classification method based on deep neural network according to claim 1, characterized in that: The training disease classification model comprises the following steps: The input fused feature data is adaptively averaged pooled and dimensionally reduced before being input into a linear neural network classifier to map the fused feature data into category scores.

6. The cardiomyopathy classification method based on deep neural network according to any one of claims 1 to 5, characterized in that: The first deep neural network is a Vision Transformer deep neural network; the second deep neural network is a deep residual network based on Resnet; and the deep neural network model is a trained Vision Transformer deep neural network model.

7. A cardiomyopathy classification system based on deep neural network, characterized by: A method for classifying cardiomyopathy based on a deep neural network according to any one of claims 1 to 6, comprising: An echocardiogram preprocessing module, used for preprocessing the first echocardiogram to obtain a second echocardiogram; A view classification training module, used for training a view classification model using the second echocardiogram and the first deep neural network to obtain a deep neural network model; a view classification module, for classifying the second echocardiogram using a deep neural network model to obtain five types of echocardiogram views; A feature extraction and fusion module is used to use a second deep neural network to extract features from the five echocardiogram views respectively, and fuse the five features to obtain fused feature data; Disease classification training module, used to train disease classification models using fused feature data and linear neural network classifiers; The disease classification module is used to classify the fused feature data using the disease classification model.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by the processor, the cardiomyopathy classification method based on deep neural network as described in any one of claims 1-6 is implemented.