Next Article in Journal
Autonomous Maneuver Decision Making of Dual-UAV Cooperative Air Combat Based on Deep Reinforcement Learning
Next Article in Special Issue
A Convolution Location Method for Multi-Node Scheduling in Wireless Sensor Networks
Previous Article in Journal
State-of-Art Review of Traffic Light Synchronization for Intelligent Vehicles: Current Status, Challenges, and Emerging Trends
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Automatic Tracking of Muscle Fiber Direction in Ultrasound Images Based on Improved Kalman Filter

College of Computer Science and Engineering, Shandong University of Science and Technology, Qingdao 266590, China
*
Author to whom correspondence should be addressed.
Submission received: 9 January 2022 / Revised: 28 January 2022 / Accepted: 3 February 2022 / Published: 5 February 2022
(This article belongs to the Special Issue Machine Learning in the Industrial Internet of Things)

Abstract

:
Ultrasound myograph (SMG) is a real-time and dynamic acquisition of muscle structure parameter changes by recording ultrasound images of muscle contraction through an ultrasound instrument. Muscle parameters are essential for judging whether the muscle and the human body are healthy. In order to solve the problem of muscle fiber tracking in a sequence of ultrasound muscle images, we propose a method to track the direction of muscle fibers automatically based on the improved Kalman filter. Firstly, the measurement value of the muscle fiber direction is obtained by introducing a reference line into the ultrasound muscle image based on deep learning. Secondly, the framework of a Kalman filter is improved by introducing a set of neural units. Finally, the optimal estimated value of muscle fiber direction is obtained by combining the measured value with the improved Kalman filter. It is verified by conducting experiments where the result obtained by our proposed method is closer to the manually labeled value compared with the original measurement method, and the root mean square error is reduced by about 10%.

1. Introduction

Ultrasound medicine includes ultrasound diagnostics, ultrasound therapy, and biomedical ultrasound engineering. Therefore, ultrasound medicine has the characteristics of combining medicine, science, and engineering. It involves a wide range of contents and is of high value in the prevention, diagnosis, and treatment of diseases. Moreover, for doctors and patients, ultrasound technology is easy to operate, non-invasive, reusable, and relatively inexpensive, and it can clearly observe the chest, abdomen, blood vessels, muscles, etc. Therefore, it is widely used in the diagnosis of major diseases and the analysis of human movement functions [1].
To the human body, the muscle is similar to a second heart. The state of the muscle directly reflects whether the body has any diseases [2,3]. For example, a number of studies have shown that three changes in muscles after a stroke are reduced muscle mass, reduced fiber length, and reduced pennation angle [4]. The signal related to muscle structure changes detected by ultrasound is named Ultrasound Myograph (SMG) [5]. It uses an ultrasound instrument to record ultrasound images generated during muscle contraction to dynamically obtain changes in muscle structure parameters in real time. This method greatly reduces the measurement interference caused by adjacent muscles, and a more comprehensive exploration of the deep muscles of the human body can be conducted. Ultrasound images help extract muscle parameters and help in quantifying the study of pathological conditions such as muscle atrophy, aging, and sclerosis [6,7,8,9]. Therefore, obtaining muscle parameters accurately from ultrasound images is an important basis for judging whether muscles are healthy and whether the human body is healthy. The difficulty in obtaining information from ultrasound images with large background noise has become a problem that needs to be solved. Previously, muscle parameters were manually labeled and extracted. This method is time consuming and labor intensive, and it requires professional operations. Therefore, with the rapid development of computer software and hardware in recent years, many methods for automatically measuring pennation angle and other parameters based on ultrasound images have been proposed.
In 2008, the Hough transform has been improved through the repeated voting strategy to detect the straight line in the ultrasound image, and then it was used to estimate the direction of the straight line in the ultrasound image [10]. Based on this method, an automatic linear extraction method combining local Radon transform and revoting strategy is proposed [11], which is used for the detection and tracking of muscle fibers in ultrasound images. Based on multi-resolution analysis and line feature extraction, a Gabor wavelet convolution kernel is designed for the linear structure of gastrocnemius muscle. The automatic detection result of this method is close to the result of manual annotation [12]. A new algorithm for automatically estimating the direction of muscle fibers in musculoskeletal images is proposed. This method is based on a new adaptive fading Bayesian Kalman filter (AF-BKF) and automatic region of interest (ROI) extraction method, which is used for patient diagnosis and rehabilitation evaluation [13]. Due to the high background noise of ultrasound images, it is more difficult to distinguish muscle tracts from the background in muscle ultrasound images. Therefore, the extraction of muscle tracts based on image processing has greater limitations.
With the rapid development of deep learning, in addition to the method of judging the direction based on the characteristics of muscle fiber structure, deep learning has been widely used in the analysis of medical images [14,15]. In 2015, U-net [16] has been proposed. Its U-shaped structure combines the information of the bottom and high levels to achieve semantic segmentation. The proposal of U-net has aroused a large number of researchers’ interest in U-shaped semantic segmentation network and made great contributions to the field of semantic segmentation. Many improved Unets are used in medical image processing, medical image segmentation, and so on. For example, Li Xiaomeng et al. [17] have proposed a new hybrid dense connection U-net (H-DensueNet) for segmentation of liver and tumor on CT images. This method is superior to other state-of-the-art methods in tumor segmentation results. In [18], researchers have proposed a new type of Unet 3+, which utilizes full-scale jump connections and in-depth monitoring. Unet 3+ not only further improves accuracy but also reduces network parameters to improve calculation efficiency. In the paper, the author verified the effectiveness of the method on two datasets.
Researchers at Google have proposed a transformer model for natural language processing in 2017 [19]. The attention mechanism used by this model is called self-attention, which improves the parallelism of the model. However, in previous computer vision work, attention was either used in combination with convolutional networks or used to replace certain components of convolutional networks, and its overall structure did not change much. Dosovitskiy et al. [20] have proved that directly applying a pure converter to an image patch sequence without relying on convolutional neural networks(CNN) can perform image classification tasks well. When the model is pre-trained on large amounts of data, vision transformer(ViT) obtains excellent results while reducing the need for computing resources. The self-attention mechanism in transformer has been widely used in the field of computer vision, including target detection and target semantic segmentation. Researchers have also applied the self-attention mechanism to the semantic segmentation of medical images.
Jieneng Chen et al. [21] have proposed the TransUNet network at the CVPR conference in 2021, which combines UNet and transformer structures. UNet can make up for the shortcomings of transformer’s insufficient low-level detail extraction resulting in limited positioning capabilities. At the same time, it combines the advantages of transformer’s global attention to provide an effective method for medical image semantic segmentation. Deep learning methods are used in the field of medical image semantic segmentation to achieve very good results on tumor segmentation results.
For muscle ultrasound images, Cunningham and Ryan et al. [22] have used automatic segmentation and common CNN and deep residual convolutional network(ResNet) architectures to predict the direction of muscle fibers in low-resolution B-mode ultrasonography. In [23], the authors have used U-net-based deep training to identify deep and shallow muscle membrane lines and muscle fibers, and then they processed the parameters of the muscle image according to the output results of the network model.
For the recognition of the direction of muscle fibers, we believe that it can be directly judged through the training model, and unnecessary interference in semantic segmentation can be eliminated. The advantage is that it is simpler than the training task of semantic segmentation, and it saves the subsequent complicated steps of processing the segmented image. In the previous work [24], the model has been trained to judge the direction of muscle fibers, but the measured value of a single muscle fiber would have errors and interference. Most of the muscle ultrasound images are collected as a video, that is, a sequence. Therefore, based on the previous work, we propose a method combining Kalman filter algorithm [25] with neural network to correct the direction of muscle fibers in a sequence of ultrasound images referring to the method in [26]. We improve the Kalman filter algorithm to make it suitable for tracking the direction of muscle fibers, fitting the noise, and preventing the inaccuracy caused by initializing the filter with inappropriate parameters. Firstly, the reference line is introduced into the muscle fiber image, and the reference line is actually a straight line. The line is continuously corrected by using the deep learning method to obtain the direction of the muscle fibers. Then, based on prior knowledge, the direction of muscle fibers is predicted. Finally, by combining the measured value and the predicted value, the improved Kalman filter is used to optimally estimate the direction of muscle fibers.
The remaining content is organized as follows. We introduce Materials and Methods in the second section. In the third section, we show the experiment of extracting and tracking muscle fiber direction in the sequence of ultrasound images. Then, experimental results will been discussed in the fourth section. Our final summary of the paper is provided in the last section.

2. Materials and Methods

Deep learning is applied to many areas of images. In the previous work reported in [24], a reference line is introduced into the image of the muscle fiber, and the ResNet-50 deep learning network [27] is used to judge the relationship between the muscle fibers and the line by using sub-images. Then, the direction of the line is continuously adjusted until it is judged to be consistent with the direction of the fibers. However, the measured value obtained in this manner is affected by the initial state of the reference line and the random position of the sub-image, which introduces noise. The characteristic of a Kalman filter is to process the noisy input and observation signals based on linear state-space representation to obtain the system state or real signal. Since the measurement is based on a single image, for ultrasound video, there is a connection between frames, and the state variables of the previous frame are closely related to the angle of this frame. Therefore, for the estimation of muscle fibers angle of the current frame, in addition to the measured value, the state quantity of muscle fibers in the previous frame of ultrasound image is also added to the calculation, such as the angle between the muscle fiber and horizontal direction and speed of the previous frame. In this manner, the fluctuation and noise introduced due to the inaccuracy of the measurement are smoothed so as to realize the dynamic measurement of the direction of the muscle fibers in the continuous ultrasound image sequence. The formula of Kalman filter is shown in Formulas (1) and (2).
Firstly, the Kalman filter predicts the next state of the system by using the process model of the system. The prediction process includes Formulas (1) and (2). Using Formula (1), assuming that the current system state is k, the current state can be predicted based on the previous state according to the system model. Among them, x ^ k is the prediction result of using the previous state; x ^ k 1 is the optimal result of the previous state; u k is the control matrix of the current state, it can be 0. Formula (2) is used to update the error covariance matrix between the predicted value and the true value. In Formula (2), P k 1 is the covariance of x ^ k 1 ; A T represents the transpose matrix of A; and Q is the covariance of the system process. By using Formulas (1) and (2), the Kalman filter completes the prediction of the system. Then, combining the predicted value x k and measured value z k , the optimal estimated value x ^ k of the current state k is obtained by using Formula (3). The Kalman gain is updated according to Formula (4), and Formula (5) is used to update the covariance of x ^ k .
x ^ k = A x ^ k 1 + B u k
P k = A P k 1 A T + Q k
x ^ k = x ^ k + K k ( z k H x ^ k )
K k = P k H T ( H P k H T + R ) 1
P k = ( I K k H ) P k
The changes from frame to frame are small and regular; thus, we model the changes in the angle of muscle fibers according to Kalman filtering. Firstly, the state variable x has two values: One is the angle x a n g l e between the muscle fibers and the parallel direction, and the other is the change x c h a n g e between the muscle fiber angle of this frame and the previous frame. Secondly, z is the measured value obtained by using deep learning and reference line adjustment.
x = x a n g l e x c h a n g e
z = z a n g l e
The measurement matrix H and the state transition matrix A are set as follows.
H = 0 1
A = 1 1 0 1
Since the Kalman filter is suitable for linear systems and the noise therein is assumed to be Gaussian white noise, obviously, the system in the real world will not be linear and the noise will not be Gaussian white noise. Therefore, we consider adding nonlinear factors to improve the Kalman filter. In [28], the authors discuss the implementation of artificial neural networks such as nonlinear autoregressive models with exogenous input(NARX models) [29,30] on field programmable gate array. In [26], two NARX models are used to join the Kalman filter, and good results are obtained, but at the same time, it also increases the time of the Kalman filter algorithm. Considering that in the context of detecting the direction of the muscle fibers, the angle and speed will not change like other nonlinear systems. Therefore, we consider simplifying this method to improve the Kalman algorithm. In order to add the influence of the time series and let the state at the previous moment or multiple previous moments affect the state at this moment, this method adds an NARX model for regression prediction.
The NARX formula is shown below. When n y = 1 , the structure of the NARX model is shown in the Figure 1. NARX model relates the current value of a time series to both: past values of the same series y ( t ) and current and past values of the exogenous series u ( t ) . In other words, for a given two time series, NARX model can predict the state of the current system through learning.
y ( t ) = g ( y ( t 1 ) , , y ( t n y ) , , u ( t n u ) )
The block diagram of the combination of NARX model and Kalman filter algorithm is shown below. We used the NARX model to estimate the value of the current moment by K i , K i 1 ,…, K i m , z i , z i 1 ,…, z i m , x ^ i ,…, x ^ i m , and y i 1 …, y i m . The formula is as follows.
y i = f ( x ^ i , x ^ i 1 , x ^ i m , K i , K i 1 , K i m , z i , z i 1 , z i m , y i 1 , y i m )
In Formula (11), i represents the i-th image in the image sequence; x ^ represents the predicted value calculated by the Kalman filter; K represents the Kalman gain; z represents the measured value calculated according to the output of the resnet model; y is the output result of the NARX model; and m represents that the data of the previous m frames is used as the input of the model.
We embed the above model into the traditional Kalman filter. The block diagram is shown in the Figure 2. Firstly, the Kalman filter predicts the direction of the muscle fiber according to the set parameters and the system model, then enters the step of updating the filter, and then it calculates the Kalman gain according to Formula (4). Then, the Kalman gain enters in different ways. One method is to continue the traditional Kalman update process to obtain the estimated value x ^ k 1 . The other method is to enter the NARX model with a set of predicted values, a set of measured values, and a set of output values of the NARX model to obtain y o u t . The estimated value obtained by two different methods is superimposed to obtain the final estimated value. The estimated value x ^ k in the Kalman filter is updated, and the loop continues.

3. Experiment

In Algorithm 1, our proposed method is described. The input is a sequence of ultrasound images of muscle fibers, I m g 1 , I m g 2 , I m g 3 , …, I m g n , and the output is the angle results R of the muscle fibers corresponding to the image sequence. Before calculating the angle, initialize the Kalman filter according to Formulas (8) and (9). Then, the algorithm enters the loop to process the image sequence. For an image I m g i in the sequence, a reference line is randomly generated on I m g i to assist in judging the direction of the fibers. I m g i with the line is divided into sub-images. ResNet-50 was used to determine whether the direction of the muscle fiber is parallel to the line. The algorithm continuously adjusts the line until the direction of the muscle fibers is found. By this method, the measured value z i of the direction of the muscle fibers is obtained.
Algorithm 1 Obtain the estimate value using improved Kalman Filter.
Require: A sequence of images of muscle fibers with reference lines, I m g , init Kalman
    Filter, i = 0 , array a n g = n u l l ;
Ensure: The array containing the direction angles of muscle fibers, a n g ;
 1:
while  i < l e n ( i m g )  do
 2:
     z i = g e t Z ( I m g i )
 3:
     x ^ i = K a l m a n . p r e d i c t ( )
 4:
     x ^ i 1 = K a l m a n . u p d a t e ( z i )
 5:
     P = x ^ i , x ^ i 1 , , x ^ i m
 6:
     K = g a i n i , g a i n i 1 , , g a i n i m
 7:
     Z = z i , z i 1 , , z i m
 8:
     Y = y i 1 , , y i m
 9:
     y i = N A R X ( P , K , Z , Y )
10:
     x ^ i = a × x ^ i 1 + ( 1 a ) × y i
11:
     K a l m a n . u p d a t e _ e s t i ( x ^ i )
12:
     a n g i = x ^ i
13:
    update array P, K, Z, Y
14:
end while
15:
return  a n g
16:
function getZ( i m g )
17:
    Randomly generate a reference line l on i m g
18:
    while l is not parallel to the direction of muscle fibers do
19:
        Adjust l
20:
        Split i m g into sub-images
21:
        Put sub-images into Resnet
22:
        Get the output of Resnet
23:
    end while
24:
     z = a c r t a n ( ( l y 1 l y 2 ) / ( l x 1 l x 2 ) )
25:
return   z
26:
end function
The improved Kalman filter is used to optimally estimate the direction of the muscle fiber. Firstly, the Kalman filter obtains the predicted value of the muscle fiber direction by using Formulas (1) and (2). Then, based on the measured value z i obtained previously, an estimated value x ^ i 1 is obtained. Then, the internal parameters of the Kalman filter (Kalman gain K, predicted value P, measured value Z, and estimated value Y of the previous m frame) are used as the input of net to estimate the direction of the muscle fiber in the i-th frame image and to obtain the estimate value of NARX module y i . The algorithm combines estimated value x ^ i 1 and estimated value y i to obtain the optimal estimated value of I m g i . Finally, we update the parameters of the latest Kalman filter and the final output y i to the P, K, Z, and Y arrays and then calculate the direction of muscle fibers in the next image. The algorithm flow in a loop is shown in the Figure 3. By using our proposed algorithm, the result not only combines the predicted value and the measured value through the Kalman algorithm but also adds information about the angle of the previous frame.
Before using the improved Kalman filter, the NARX models have to be trained first. The training platform is Windows 10, Python3.6, Torch 1.18, and NVIDIA 3070. The dataset used to train ResNet comes from videos and images of gastrocnemius muscle when young and old healthy adults experience slight dorsiflexion. In this article, the dataset we use to train NARX model includes data with time-series properties. The dataset used for training is four groups of 160 frames of the angle of the muscle fiber direction and the corresponding parameters of the Kalman filter. The first 80% sets of data are the training dataset, and the remaining 20% sets of data are the test dataset. In the training process, the above P, K, Z, and Y arrays are used as a set of inputs of NARX model. The manually labeled angle of the corresponding frame is used as true value. The loss function used in the training process is the square loss function, and its formula is as follows.
l o s s ( Y , f ( x ) ) = ( Y f ( x ) ) 2
For the same image, Figure 4a is the result of manual annotation. Figure 4b is the result of only the output of the ResNet network, and Figure 4c is the result of the improved Kalman filter and ResNet. In order to observe the difference, we place the three results on an image, as shown in Figure 4d. The red line in the figure represents the result of manual labeling, the green line represents the result directly outputted by ResNet-50, and the blue line represents the result of our proposed method. It can be observed that the filtered result is closer to the manual measurement result, which to a certain extent intuitively proves the effectiveness of our proposed method. More results are shown in Figure 5.

4. Discussion

In order to verify the effectiveness of the method proposed in this paper, we compare it with the extended Kalman filter (EKF) and unscented Kalman Filter(UKF). The prediction and update of the Kalman filter are based on linear calculations, but real-world calculations are often nonlinear. EKF expands the nonlinear system by using the Taylor series at its reference point, and it takes its first-order linear part as the approximation of the nonlinear model so as to obtain a linearized description of the nonlinear system at the current moment. In this manner, the Kalman filter algorithm is suitable for nonlinear environments. The difference between EKF and the Kalman filter is that the state prediction equation and the observation equation are nonlinear. UKF is a combination of lossless transformation (UT) and standard Kalman filter system. UKF is proved to be a powerful technique for estimating the state of chaotic neurons (Ref. [31]). Therefore, in this section, we will also make a comparison with UKF.
The root mean square error is used to reflect accuracy. The root mean square error (RMSE) is the square root of the ratio of the square of the deviation between predicted value y ^ i and true value y i to the number of observations n. Moreover, the calculation of RMSE is shown in Formula (13).
R M S E = 1 n i = 1 n ( y ^ i y i ) 2
Table 1 shows the different results obtained by using different methods on different continuous muscle image sequences. It includes the results obtained by using ResNet to judge and adjust the reference line, the result of the measurement value combined with Kalman filter, the result of the measurement value combined with EKF and UKF, and the result of the method proposed in this paper. In addition to the above methods, we also compared the particle filter(PF). The idea of PF is based on Monte Carlo methods [32,33]. It uses a particle set to represent probability, which can be used in any form of a state space model. Among them, Subject 1 and Subject 2 contain 40 frames of continuous muscle images, and Subject 3 contains 150 frames of continuous muscle images. The datasets have received ethical approval from the relevant committees of Shenzhen Institutes of Advanced Technology, CAS. It can be observed that the RMSE value of our method is lower.
In order to evaluate the consistency of the above five methods with the manual annotation method, we chose the Bland–Altman plot [34,35]. This is an intuitive evaluation method used to compare the consistency between the two methods. In the Bland–Altman plots, the horizontal axis is the mean of the two indicators, and the vertical axis is the difference between the two indicators. The average of difference is represented by the ordinate of the blue line in the figure. The upper and lower dashed lines are ±1.96 times the standard deviation of the difference, and the upper and lower limit interval is called the 95% agreement limit. If the width of the consistency limit is within the acceptable range, we think the consistency is better; otherwise, the consistency is poor.
Figure 6a–d are the Bland–Altman plots of the manually labeled results and the results obtained by the ResNet method, Resnet-KF, Resnet-EKF, and Resnet-UKF, respectively. Figure 6e–f show the Bland–Altman plots, which are the comparison between the manually annotated results and the results obtained by Resnet-LSTM and our proposed method, respectively. In order to compare the parameters more intuitively, the parameters of the five groups of BA diagrams are shown in Table 2. By conducting the comparison, we can find that the absolute value of the upper and lower limits of our proposed method is smaller than that of the other methods, and the arithmetic mean of the results obtained using the LSTM method is the smallest. However, whether the upper and lower limits are within the acceptable error range is an important indicator of the consistency of the evaluation method.
The results obtained by different methods are shown in Figure 7. Combined with Table 1, our proposed method is based on the measured value being closer to the result obtained by manual measurement. The dark blue line represents the result of manual measurement, and the green line represents the result obtained using LSTM. We can see that the LSTM method with the mean value closer to 0 in the BA diagram captures the trend of angle transformation well, but the results of some frames are quite different. Therefore, by conducting a comparison and analysis of different aspects, it can be concluded that the method proposed in this paper has a better effect in tracking the angle of muscle fibers in consecutive frames.

5. Conclusions

The muscle state directly reflects whether the body has a disease or not, and the relevant parameters of the muscle obtained by using muscle ultrasound images can be used as a reference for judging the health of the muscle. In this paper, we propose a method for automatically tracking muscle fibers in ultrasound images. We improve the Kalman filter by introducing a set of NARX nonlinear neurons. The muscle fiber direction measured by the deep learning method and the improved Kalman filter finally realize the automatic tracking of the muscle fiber, and it is closer to the result of manual labeling.

Author Contributions

Conceptualization, S.L., W.Z.; formal analysis, Q.C.; funding acquisition, W.Z.; methodology, S.L.; writing—original draft preparation, S.L.; writing—review and editing, Q.C. and W.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Natural Science Foundation of China, grant number 11974373.

Acknowledgments

The authors wish to thank Doctor Lili Xu, the applied hospital of Qingdao university, for her help in reviewing the result of the proposed method.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cronin, N.J.; af Klint, R.; Sinkjaer, T. Ultrasonography as a tool to study afferent feedback from the muscle–tendon complex during human walking. J. Electromyogr. Kinesiol. 2011, 21, 197–207. [Google Scholar] [CrossRef]
  2. Li, L.; Tong, K.Y.; Hu, X. The effect of poststroke impairments on brachialis muscle architecture as measured by ultrasound. Arch. Phys. Med. Rehabil. 2007, 88, 243–250. [Google Scholar] [CrossRef]
  3. Li, L.; Tong, K.; Hu, X.; Hung, L.; Koo, T. Incorporating ultrasound-measured musculotendon parameters to subject-specific EMG-driven model to simulate voluntary elbow flexion for persons after stroke. Clin. Biomech. 2009, 24, 101–109. [Google Scholar] [CrossRef]
  4. Gray, V.; Rice, C.L.; Garland, S.J. Factors that influence muscle weakness following stroke and their clinical implications: A critical review. Physiother. Can. 2012, 64, 415–426. [Google Scholar] [CrossRef] [Green Version]
  5. Zheng, Y.P.; Chan, M.; Shi, J.; Chen, X.; Huang, Q.H. Sonomyography: Monitoring morphological changes of forearm muscles in actions with the feasibility for the control of powered prosthesis. Med. Eng. Phys. 2006, 28, 405–415. [Google Scholar] [CrossRef] [Green Version]
  6. Arampatzis, A.; Stafilidis, S.; DeMonte, G.; Karamanidis, K.; Morey-Klapsing, G.; Brüggemann, G. Strain and elongation of the human gastrocnemius tendon and aponeurosis during maximal plantarflexion effort. J. Biomech. 2005, 38, 833–841. [Google Scholar] [CrossRef]
  7. Maganaris, C.N.; Paul, J.P. Tensile properties of the in vivo human gastrocnemius tendon. J. Biomech. 2002, 35, 1639–1646. [Google Scholar] [CrossRef]
  8. Narici, M.V.; Maffulli, N.; Maganaris, C.N. Ageing of human muscles and tendons. Disabil. Rehabil. 2008, 30, 1548–1554. [Google Scholar] [CrossRef]
  9. Hoang, P.; Saboisky, J.; Gandevia, S.; Herbert, R. Passive mechanical properties of gastrocnemius in people with multiple sclerosis. Clin. Biomech. 2009, 24, 291–298. [Google Scholar] [CrossRef]
  10. Zhou, Y.; Zheng, Y.P. Estimation of muscle fiber orientation in ultrasound images using revoting hough transform (RVHT). Ultrasound Med. Biol. 2008, 34, 1474–1481. [Google Scholar] [CrossRef] [Green Version]
  11. Zhao, H.; Zhang, L.Q. Automatic tracking of muscle fascicles in ultrasound images using localized radon transform. IEEE Trans. Biomed. Eng. 2011, 58, 2094–2101. [Google Scholar] [CrossRef]
  12. Zhou, G.Q.; Chan, P.; Zheng, Y.P. Automatic measurement of pennation angle and fascicle length of gastrocnemius muscles using real-time ultrasound imaging. Ultrasonics 2015, 57, 72–83. [Google Scholar] [CrossRef]
  13. Liu, Z.; Chan, S.C.; Zhang, S.; Zhang, Z.; Chen, X. Automatic muscle fiber orientation tracking in ultrasound images using a new adaptive fading Bayesian Kalman smoother. IEEE Trans. Image Process. 2019, 28, 3714–3727. [Google Scholar] [CrossRef]
  14. Li, S.; Liu, B.; Li, S.; Zhu, X.; Yan, Y.; Zhang, D. A deep learning-based computer-aided diagnosis method of X-ray images for bone age assessment. Complex Intell. Syst. 2021, 1–11. [Google Scholar] [CrossRef]
  15. Sharif, M.I.; Khan, M.A.; Alhussein, M.; Aurangzeb, K.; Raza, M. A decision support system for multimodal brain tumor classification using deep learning. Complex Intell. Syst. 2021, 1–14. [Google Scholar] [CrossRef]
  16. Ronneberger, O.; Fischer, P.; Brox, T. U-net: Convolutional networks for biomedical image segmentation. In International Conference on Medical Image Computing and Computer-Assisted Intervention; Springer: Berlin/Heidelberg, Germany, 2015; pp. 234–241. [Google Scholar]
  17. Li, X.; Chen, H.; Qi, X.; Dou, Q.; Fu, C.W.; Heng, P.A. H-DenseUNet: Hybrid densely connected UNet for liver and tumor segmentation from CT volumes. IEEE Trans. Med. Imaging 2018, 37, 2663–2674. [Google Scholar] [CrossRef] [Green Version]
  18. Huang, H.; Lin, L.; Tong, R.; Hu, H.; Zhang, Q.; Iwamoto, Y.; Han, X.; Chen, Y.W.; Wu, J. Unet 3+: A full-scale connected unet for medical image segmentation. In Proceedings of the ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Barcelona, Spain, 4–8 May 2020; pp. 1055–1059. [Google Scholar]
  19. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. Adv. Neural Inf. Process. Syst. 2017, 30, 5998–6008. [Google Scholar]
  20. Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv 2020, arXiv:2010.11929. [Google Scholar]
  21. Chen, J.; Lu, Y.; Yu, Q.; Luo, X.; Adeli, E.; Wang, Y.; Lu, L.; Yuille, A.L.; Zhou, Y. Transunet: Transformers make strong encoders for medical image segmentation. arXiv 2021, arXiv:2102.04306. [Google Scholar]
  22. Cunningham, R.; Sánchez, M.B.; May, G.; Loram, I. Estimating full regional skeletal muscle fibre orientation from B-mode ultrasound images using convolutional, residual, and deconvolutional neural networks. J. Imaging 2018, 4, 29. [Google Scholar] [CrossRef] [Green Version]
  23. Cronin, N.J.; Finni, T.; Seynnes, O. Fully automated analysis of muscle architecture from B-mode ultrasound images with deep learning. arXiv 2020, arXiv:2009.04790. [Google Scholar]
  24. Zheng, W.; Liu, S.; Chai, Q.W.; Pan, J.S.; Chu, S.C. Automatic Measurement of Pennation Angle from Ultrasound Images using Resnets. Ultrason. Imaging 2021, 43, 74–87. [Google Scholar] [CrossRef]
  25. Welch, G.; Bishop, G. An Introduction to the Kalman Filter. 1995. Available online: https://www.cs.unc.edu/~welch/media/pdf/kalman_intro.pdf (accessed on 1 January 2022).
  26. Bai, Y.T.; Wang, X.Y.; Jin, X.B.; Zhao, Z.Y.; Zhang, B.H. A neuron-based kalman filter with nonlinear autoregressive model. Sensors 2020, 20, 299. [Google Scholar] [CrossRef] [Green Version]
  27. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference On Computer Vision And Pattern Recognition, Lake Placid, NY, USA, 7–10 March 2016; pp. 770–778. [Google Scholar]
  28. Pano-Azucena, A.D.; Tlelo-Cuautle, E.; Ovilla-Martinez, B.; de la Fraga, L.G.; Li, R. Pipeline FPGA-based Implementations of ANNs for the Prediction of up to 600-steps-ahead of Chaotic Time Series. J. Circuits Syst. Comput. 2021, 30, 2150164. [Google Scholar] [CrossRef]
  29. Menezes, J.M.P., Jr.; Barreto, G.A. Long-term time series prediction with the NARX network: An empirical evaluation. Neurocomputing 2008, 71, 3335–3343. [Google Scholar] [CrossRef]
  30. Goudarzi, S.; Jafari, S.; Moradi, M.H.; Sprott, J. NARX prediction of some rare chaotic flows: Recurrent fuzzy functions approach. Phys. Lett. A 2016, 380, 696–706. [Google Scholar] [CrossRef]
  31. Díaz-Muñoz, J.D.; Cruz-Vega, I.; Tlelo-Cuautle, E.; Ramírez Cortés, J.M.; de Jesús Rangel-Magdaleno, J. Kalman observers in estimating the states of chaotic neurons for image encryption under MQTT for IoT protocol. Eur. Phys. J. Spec. Top. 2021, 1–18. [Google Scholar] [CrossRef]
  32. Cappé, O.; Godsill, S.J.; Moulines, E. An overview of existing methods and recent advances in sequential Monte Carlo. Proc. IEEE 2007, 95, 899–924. [Google Scholar] [CrossRef]
  33. Caesarendra, W.; Niu, G.; Yang, B.S. Machine condition prognosis based on sequential Monte Carlo method. Expert Syst. Appl. 2010, 37, 2412–2420. [Google Scholar] [CrossRef]
  34. Bland, J.M.; Altman, D. Statistical methods for assessing agreement between two methods of clinical measurement. Lancet 1986, 327, 307–310. [Google Scholar] [CrossRef]
  35. Bland, J.M.; Altman, D.G. Measuring agreement in method comparison studies. Stat. Methods Med. Res. 1999, 8, 135–160. [Google Scholar] [CrossRef]
Figure 1. The structure of the NARX model.
Figure 1. The structure of the NARX model.
Electronics 11 00466 g001
Figure 2. The structure of the combination of NARX model and Kalman Filter algorithm.
Figure 2. The structure of the combination of NARX model and Kalman Filter algorithm.
Electronics 11 00466 g002
Figure 3. Algorithm framework of our proposed method.
Figure 3. Algorithm framework of our proposed method.
Electronics 11 00466 g003
Figure 4. The measurement results of the direction of muscle fibers by different methods. (a) Manual annotation. (b) The result of the ResNet. (c) The result of the combination of the improved Kalman filter and ResNet. (d) Three results on one image.
Figure 4. The measurement results of the direction of muscle fibers by different methods. (a) Manual annotation. (b) The result of the ResNet. (c) The result of the combination of the improved Kalman filter and ResNet. (d) Three results on one image.
Electronics 11 00466 g004
Figure 5. The detection results of the method are on three different images. The red line is the result of manual annotation, the green line is the result before adding the improved Kalman filter, and the blue line is the result of the method proposed in this paper.
Figure 5. The detection results of the method are on three different images. The red line is the result of manual annotation, the green line is the result before adding the improved Kalman filter, and the blue line is the result of the method proposed in this paper.
Electronics 11 00466 g005
Figure 6. Bland–Altman plots comparing the manually annotated results with the results obtained by the five methods on Subject 3. (af), respectively, represent Bland–Altman plots comparing the manually annotated results with the results obtained by the six methods on Subject 3.
Figure 6. Bland–Altman plots comparing the manually annotated results with the results obtained by the five methods on Subject 3. (af), respectively, represent Bland–Altman plots comparing the manually annotated results with the results obtained by the six methods on Subject 3.
Electronics 11 00466 g006
Figure 7. Five sets of test results using different methods on Subject 3.
Figure 7. Five sets of test results using different methods on Subject 3.
Electronics 11 00466 g007
Table 1. The RMSE of the results obtained by the seven methods.
Table 1. The RMSE of the results obtained by the seven methods.
Subject 1Subject 2Subject 3
Resnet0.6550.9630.804
Resnet_PF0.5390.9600.783
Resnet_KF0.6420.9040.765
Resnet_EKF0.6300.9110.771
Resnet_UKF0.5601.0010.694
Resnet_LSTM1.2321.6570.770
Resnet_proposed0.5280.8930.669
Table 2. Six groups of Bland–Altman plot parameters.
Table 2. Six groups of Bland–Altman plot parameters.
ResnetResnet_KFResnet_EKFResnet_UKFResnet_LSTMResnet_proposed
Arithmetic mean−0.3259−0.3324−0.3372−0.2296−0.1860−0.2842
Lower limit−1.7657−1.6807−1.6967−1.5134−1.6537−1.4749
Upper limit1.11391.01591.02231.05421.28180.9064
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Liu, S.; Chai, Q.; Zheng, W. Automatic Tracking of Muscle Fiber Direction in Ultrasound Images Based on Improved Kalman Filter. Electronics 2022, 11, 466. https://0-doi-org.brum.beds.ac.uk/10.3390/electronics11030466

AMA Style

Liu S, Chai Q, Zheng W. Automatic Tracking of Muscle Fiber Direction in Ultrasound Images Based on Improved Kalman Filter. Electronics. 2022; 11(3):466. https://0-doi-org.brum.beds.ac.uk/10.3390/electronics11030466

Chicago/Turabian Style

Liu, Shangkun, Qingwei Chai, and Weimin Zheng. 2022. "Automatic Tracking of Muscle Fiber Direction in Ultrasound Images Based on Improved Kalman Filter" Electronics 11, no. 3: 466. https://0-doi-org.brum.beds.ac.uk/10.3390/electronics11030466

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop