Tracking Carotid Artery Wall Motion Using an Unscented Kalman Filter and Data Fusion
Abstract
Analyzing the motion of the common carotid artery (CCA) wall yields effective indicators for atherosclerosis. In this work, we propose a state-space model and a tracking method for estimating the time-varying CCA wall radius from a B-mode ultrasound sequence of arbitrary length. We employ an unscented Kalman filter that fuses two sets of measurements produced by an optical flow algorithm and a CCA wall localization algorithm. This fusion-and-tracking approach ensures that feature drift, which tends to impair optical flow based methods, is compensated in a temporally consistent manner. Simulation results show that the proposed method outperforms a recently proposed optical flow based method.
Full text
Received November 2, 2020, accepted November 11, 2020, date of publication December 1, 2020, date of current version December 23, 2020. Digital Object Identifier 10.1109/ACCESS.2020.3041796 Tracking Carotid Artery Wall Motion Using an Unscented Kalman Filter and Data Fusion JAN DORAZIL 1,2, RENE REPP3, THOMAS KROPFREITER 1, RICHARD PRÜLLER 1, KAMIL ŘÍHA 2, AND FRANZ HLAWATSCH 1, (Fellow, IEEE) 1Institute of Telecommunications, TU Wien, 1040 Vienna, Austria 2Department of Telecommunications, Brno University of Technology, 601 90 Brno, Czech Republic 3Acoustics Research Institute, Austrian Academy of Sciences, 1030 Vienna, Austria Corresponding author: Jan Dorazil ([email protected]) This work was supported by the Czech Science Foundation (GA R) under Grant 17-19638S. ABSTRACT Analyzing the motion of the common carotid artery (CCA) wall yields effective indicators for atherosclerosis. In this work, we propose a state-space model and a tracking method for estimating the time-varying CCA wall radius from a B-mode ultrasound sequence of arbitrary length. We employ an unscented Kalman filter that fuses two sets of measurements produced by an optical flow algorithm and a CCA wall localization algorithm. This fusion-and-tracking approach ensures that feature drift, which tends to impair optical flow based methods, is compensated in a temporally consistent manner. Simulation results show that the proposed method outperforms a recently proposed optical flow based method. INDEX TERMS Atherosclerosis, data fusion, unscented Kalman Filter, motion estimation, ultrasonography, carotid artery, medical imaging, ultrasound imaging. I. INTRODUCTION A. BACKGROUND, MOTIVATION, STATE OF THE ART According to the World Health Organization (WHO), over 31% of all deaths in 2016 were caused by coronary events, most of which can be attributed to a single progressive disease called atherosclerosis [1], [2]. It is well known that the progression of atherosclerosis is associated with increasing arterial stiffness [3]. Several diagnostic methodologies exploit this association in order to estimate the risk of coronary events. These methodologies are generally based on measurements of quantities that are intrinsically associated with arterial stiffness [4], [5]. One of these quantities is the motion of the arterial wall in response to variations in blood pressure or blood flow, which occurs naturally in the human body. This article presents a new methodology for the analysis of the motion of the wall of the common carotid artery (CCA) from a B-mode ultrasound sequence. In screening tests, methods based on the analysis of the motion of the CCA wall have been shown to produce effective indicators for atherosclerosis [6], [7]. The main challenge here is an accurate and reliable estimation of CCA wall motion from an ultrasound sequence. Typically, computer-aided methods for this task explicitly or implicitly involve a procedure called speckle tracking [8]. One of the first applications of speckle tracking to the The associate editor coordinating the review of this manuscript and approving it for publication was Halil Ersin Soken . estimation of CCA wall motion was based on block matching [9], [10]; however, the performance of block matching methods is negatively affected by a phenomenon known as speckle decorrelation [9]. Subsequent studies addressed this issue by using a state-space model for the evolution of the reference block [11], [12] or for the movement of the artery [7], [13]. As an alternative to block matching, several authors proposed speckle tracking methods based on optical flow [14]. For estimating CCA wall motion in particular, the Lucas- Kanade algorithm and its extensions were used [15], [16]. A comparative study of different speckle tracking methods in [17] demonstrated that a modified Lucas-Kanade algorithm outperforms other optical flow algorithms as well as block matching algorithms. In optical flow methods, speckle decorrelation translates into a phenomenon known as feature drift [18], which again negatively affects the performance. Indeed, the position of a selected point (feature) is tracked through cumulative summation of the estimated displacements between consecutive ultrasound frames, and hence the errors in the overall displacement estimates are accumulated as well. This may result—especially in the case of long ultrasound sequences—in a progressive divergence of the estimated point trajectory from the true trajectory, i.e., the estimated point ‘‘drifts away’’ from its true position. In [18], a Lucas-Kanade algorithm based method with explicit feature driftcompensationwasproposed;thismethodoutperformsan earlier method described in [15]. All the mentioned studies 222506 This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/ VOLUME 8, 2020
J. Dorazil et al.: Tracking Carotid Artery Wall Motion Using an Unscented Kalman Filter and Data Fusion analyze longitudinal scans of the CCA, with the exception of [15] and [18], where transverse scans of the CCA are analyzed using the Lucas-Kanade algorithm. In a transverse scan, the shape of the CCA wall cross section can be approximated by a circle, which simplifies the modeling. B. CONTRIBUTION In this work, we propose a new model-based method for estimating CCA wall motion. The CCA wall cross section is modeled as a circle, and our goal is to estimate the time-varying radius of that circle from—possibly long— B-mode ultrasound sequences showing the CCA transverse section. Based on a new state-space model for CCA wall motion, and using the result of an optical flow algorithm, we employ the unscented Kalman filter (UKF) [19] to track the time-varying center point and radius of the CCA wall circle. As mentioned earlier, the performance of optical flow methods is impaired by the phenomenon of feature drift. In order to counteract feature drift, our implementation of the UKF fuses measurements from two different sources. One source is the pyramidal implementation of the Lucas-Kanade optical flow algorithm [20], which tracks the positions of a set of feature points (FPs) around the CCA wall. Here, an FP is a point in the ultrasound frame that is assumed to represent the local tissue movement, as manifested by a high response of the Harris detector [21]. The other source is the circle localization algorithm proposed in [22], which provides preliminary estimates of the center point and radius of the CCA circle. In this new fusion approach, feature drift in the tangential direction (with respect to the CCA circle) is reflected by a deviation from the state-space model, while feature drift in the radial direction is reflected by a deviation from the estimates provided by the circle localization algorithm. In contrast to the method of [18], the proposed method compensates for the feature drift in a temporally consistent manner that takes into account the natural smoothness of CCA wall motion. This inherent temporally consistent feature drift compensation is a major advantage of our method. We assess the accuracy and robustness of the proposed method in several different synthetic scenarios with various levels of additive and multiplicative noise and various degrees of speckle decorrelation. We also demonstrate experimentally that our method outperforms the method proposed in [18] in all considered scenarios. We chose the latter method as a reference method since, to the best of our knowledge, it is the only existing method performing an explicit feature drift compensation, which is required for good performance in the case of long ultrasound sequences. The reference method was already benchmarked to a conventional artery wall tracking method in [18]. Finally, we present results obtained for a real ultrasound sequence and discuss their physiological validity. The proposed method differs from the method previously presented in our conference publication [23] in that it estimates (tracks) the fundamental frequency—corresponding to the heart rate—used in the underlying state-space model. Thus, in contrast to [23], the fundamental frequency does not have to be precisely known in advance and is allowed to vary with time. Furthermore, compared to [23], our validation of the performance of the proposed method is based on more realistic simulated sequences with a time-varying fundamental frequency, and we present a detailed description of the generation of these sequences. Finally, the technical presentation is more detailed. C. PAPER ORGANIZATION The remainder of this paper is organized as follows. An overview of the proposed method is presented in Section II. The calculation of the input to the UKF is described in Section III. The signal and state-space models on which the proposed method is based are developed in Section IV. The operation of the UKF is discussed in Section V. Finally, experimental results obtained for synthetic and real data are presented in Section VI. FIGURE 1. One frame recursion of the proposed method. II. METHOD OVERVIEW For tracking a circle representing the CCA wall cross section, the proposed method fuses the results produced by the pyramidal Lucas-Kanade optical flow algorithm of [20] and by the circle localization algorithm of [22]. This fusion is performed by an UKF [19], which tracks the circle parameters and related quantities in a frame-sequential, frame-recursive manner. The input to our method is a B-mode ultrasound video sequence consisting of frames Itthat show temporally successive transverse scans of the CCA. One recursion of the method, corresponding to frame (or time) index t, is visualized in Figure 1. The basic geometry of the CCA wall representation by a circle and of the surrounding FPs is depicted in Figure 2. We denote the center point of the circle by ct, the circle radius by rt, and the two-dimensional Cartesian position vector of the n-th FP by y(n) t. In Figure 3, VOLUME 8, 2020 222507
J. Dorazil et al.: Tracking Carotid Artery Wall Motion Using an Unscented Kalman Filter and Data Fusion FIGURE 2. CCA wall circle (dashed) and FPs (bullets). we visualize each step of the proposed method (as presented in Figure 1). For each frame Itwith t=1,2, . . . , our method calculates a list ˆ Ytof estimates of NtFP positions, ˆ y(n) tfor n= 1,2,...,Nt, as well as an estimate of the CCA circle center point, ˆ ct, and of the CCA circle radius, ˆrt. For the first frame, t=1, the FP position list ˆ Y1is empty and the CCA circle parameter estimates ˆ c1and ˆr1are calculated by applying the circle localization algorithm of [22] to I1. For the further frames, t=2,3, . . . , the FP position list ˆ Ytand the circle parameter estimates ˆ ctand ˆrtare calculated frame-sequentially as follows (see Figures 1and 3). In a first stage, as explained in Section III, we determine quantities that serve as the input to the UKF. First, the previous FP position list ˆ Yt−1is updated. To this end, we perform an FP inclusion step in which new FPs are identified in an annular search region in frame It−1that depends on the previous circle parameter estimates ˆ ct−1and ˆrt−1, and the positions of these new FPs are estimated and included in the list. The resulting augmented list will be denoted by ˆ Y0 t−1. Next, in the FP migration step, the pyramidal Lucas-Kanade optical flow algorithm is used to move the FP positions in ˆ Y0 t−1such that they conform to the current frame It; this results in an updated FP position list ˜ Y0 tand a list of corresponding error metrics Et. Finally, in the FP exclusion step, FPs with a low confidence of successful localization by the optical flow algorithm, as determined from Et, are excluded from the FP position list. This yields a preliminary FP position list ˜ Ytconsisting of preliminary FP position estimates ˜ y(n) t, n=1,2,...,Nt. We note that the FP inclusion and exclusion steps are performed because of speckle decorrelation. Indeed, an FP may become progressively harder to localize (i.e., with less confidence) via the optical flow algorithm as the ultrasound image evolves. Such FPs need to be excluded from the tracking process and possibly replaced by new FPs. In parallel to the FP inclusion, migration, and exclusion operations, preliminary circle parameter estimates ˜ ctand ˜rt are calculated by applying the circle localization algorithm of [22] to the current frame It. Then, in a second stage, the UKF fuses the information provided by the preliminary FP position list ˜ Ytand by the preliminary circle parameter estimates ˜ ctand ˜rt. This information constitutes the input (i.e., the ‘‘observed measurements’’) of the UKF. The UKF then calculates final FP position estimates ˆ y(n) t,n=1,2,...,Nt, which make up the final FP position list ˆ Yt, as well as final circle parameter estimates ˆ ctand ˆrt. This is described in Section V. The UKF is based on a stochastic ‘‘system model’’ that describes the temporal variation of the CCA circle parameters, the evolution of the FP positions, and the extraction of the UKF input. This system model will be developed in Section IV. III. CALCULATION OF THE UKF INPUT The input to the UKF at frame time tconsists of the preliminary FP position list ˜ Ytcomprising preliminary FP position estimates ˜ y(n) t,n=1,2,...,Nt, as well as of the preliminary circle parameter estimates ˜ ctand ˜rt(see Figure 1). These quantities are calculated as described next. A. FP INCLUSION First, the previous FP position list ˆ Yt−1is updated by performing the FP inclusion, migration, and exclusion steps. In the FP inclusion step, we use the Harris detector [21] to detect new FPs and estimate their positions within an annular search region in frame It−1. The annular search region is defined by the center point ˆ ct−1, the inner radius ˆrt−1−1r, and the outer radius ˆrt−1+1r, where ˆ ct−1and ˆrt−1are the previous circle parameter estimates and 1r>0 is a fixed parameter. From the set of detected new FPs, we discard all FPs whose Harris response [21] is lower than a threshold τh, and the surviving new FPs are ordered in the sense of decreasing Harris response. Let Ynew tdenote the resulting ordered list of new FP positions. Going through the list Ynew tin the chosen order, each new FP position is now included in the overall FP position list if it is sufficiently distant from all the FP positions in ˆ Yt−1and all the new FP positions included previously. More specifically, if the Euclidean distances of the first FP position in Ynew t (i.e., the one with the largest Harris response) from all the FP positions in ˆ Yt−1are larger than a threshold d>0, then that FP position is added to ˆ Yt−1, which results in an augmented list. A similar operation is done for the second, third, etc. FP position in Ynew t: if the distances of the respective FP position from all the FP positions in the current augmented list are larger than d, then that FP position is added to the current augmented list. Processing all the FP positions in Ynew tin this manner yields a final augmented list of N0 t−1FP positions ˆ y(n)0 t−1,n=1,2,...,N0 t−1, which will be denoted as ˆ Y0 t−1. By the above construction, the FP positions ˆ y(n)0 t−1 are approximately uniformly distributed in the annular search region, and the corresponding FPs have predominantly high Harris responses. B. FP MIGRATION The augmented FP position list ˆ Y0 t−1was calculated from frame It−1, and thus it does not yet take into account the current frame It. Therefore, in the next step of our method— the FP migration step—we adapt ˆ Y0 t−1to It. To this end, 222508 VOLUME 8, 2020
J. Dorazil et al.: Tracking Carotid Artery Wall Motion Using an Unscented Kalman Filter and Data Fusion FIGURE 3. Visualization of the individual steps of the proposed method—as presented in Figure 1—for two successive ultrasound frames I t−1(in (a)) and I t(in (b)–(e)). Bullets represent FPs. In particular, the green bullets in (a) depict FPs newly included by the FP inclusion step, while the red bullets in (c) depict FPs to be excluded by the FP exclusion step. The dotted circles in (a) represent the boundary of the annular search region used in the FP inclusion step. The dashed circle in (d) represents the preliminary CCA circle calculated by the circle localization algorithm of [22]. The solid circle in (e) represents the final CCA circle estimate produced by the UKF. The width of the annular search region in (a) and the length of the FP motion vectors in (b) are exaggerated for better visualization. we use the pyramidal implementation of the Lucas-Kanade optical flow algorithm [20] to move each FP position ˆ y(n)0 t−1 in ˆ Y0 t−1to a new position, denoted as ˜ y(n)0 t, that depends on both ˆ y(n)0 t−1and It. The resulting list of N0 t−1FP positions ˜ y(n)0 t, n=1,2,...,N0 t−1is denoted as ˜ Y0 t. For each FP position ˜ y(n)0 tin ˜ Y0 t, we furthermore determine an error metric ε(n) tby comparing the J×Jpatch of frame Itcentered at position ˜ y(n)0 tto the J×Jpatch of frame It−1 centered at position ˆ y(n)0 t−1. More specifically, ε(n) tis calculated as the `1metric between the two patches, i.e., ε(n) t, J X k=1 J X l=1I(˜ y0 t) t(k,l)−I(ˆ y0 t−1) t−1(k,l),(1) where I(˜ y0 t) t(k,l) and I(ˆ y0 t−1) t−1(k,l) denote corresponding pixels of the two patches. The list of error metrics ε(n) t,n= 1,2,...,N0 t−1will be denoted as Et. The use of this metric is based on the assumption that the motion of the examined tissue in the neighborhood of an FP can be approximated sufficiently well by a simple translation. This assumption can be relaxed, as discussed in Section VII. C. FP EXCLUSION The FP migration step described above is followed by the FP exclusion step. An FP position ˜ y(n)0 tis excluded from the FP position list ˜ Y0 tif the corresponding error metric ε(n) tin list Etsatisfies ε(n) t> αεt, where εtis the arithmetic mean of all the error metrics in Etand α > 1 is a fixed parameter. This rule is motivated by our empirical observation that there is usually a small proportion of FPs whose error is much higher than the average, and excluding these ‘‘outliers’’ improves the tracking accuracy. The FP positions surviving this exclusion step are denoted as ˜ y(n) t,n=1,2,...,Nt, and the corresponding list as ˜ Yt. This list constitutes one of the inputs to the UKF. D. PRELIMINARY CIRCLE PARAMETER ESTIMATION The second input to the UKF is obtained by applying the circle localization algorithm of [22] to the current frame It. This results in ‘‘preliminary’’ circle parameter estimates ˜ ct and ˜rt. The circle localization algorithm of [22] differs from standard algorithms such as the Hough transform [24] in that it utilizes the pixel intensity directly rather than the image gradient. This is beneficial in our context because the blurred appearance and speckled texture of ultrasound images make accurate gradient determination challenging. The preliminary circle parameter estimates ˜ ctand ˜rtprovide a complementary ‘‘absolute’’ position information that is used in the UKF to compensate for feature drift. Without this absolute position information—i.e., relying only on the relative optical flow information underlying the FP migration step—the FP position estimates and circle radius estimates produced by the UKF would drift away from the CCA wall (as explained earlier in Section I-A). IV. SYSTEM MODEL A major contribution of our work is a new state space model that constitutes a stochastic description of the dynamics of CCA wall motion (within the transverse cross section considered) and of a related measurement process. This model is inspired by the state-space model of [25], which uses a Fourier series with time-varying coefficients whose temporal evolution is modeled by a random walk. The proposed state space model consists of a state evolution model and a measurement model, and it provides the basis for the operation of the UKF. We note that although this model is designed for the CCA transverse section, the underlying approach can be used in many other speckle-tracking scenarios where a quasi-periodic motion is observed. A. CCA CIRCLE RADIUS AND FP RADII Our state space model is based on models for the time-dependence of the CCA circle radius and of the FP radii. VOLUME 8, 2020 222509
J. Dorazil et al.: Tracking Carotid Artery Wall Motion Using an Unscented Kalman Filter and Data Fusion The regularity of the heart beat manifests itself in an approximate periodicity of the movement of the CCA wall. This approximate periodicity suggests the use of a Fourier series to model the CCA wall movement [26, Ch. 11]. Concretely, we model the time-dependence of the CCA circle radius rt by the sum of a constant Rthat describes the mean CCA circle radius, a quasi-periodic function that is constructed as the superposition of Mharmonic components with timevarying Fourier coefficients a(m) tand b(m) t,m=1,2,...,M and time-varying fundamental frequency, and a slowly varying component γtthat represents the effect of breathing [18], [27]. That is, rt=R+ M X m=1a(m) tcos(mϕt)+b(m) tsin(mϕt)+γt,(2) where mϕtis the instantaneous phase of the m-th component and ϕtcan be considered as the ‘‘fundamental’’ instantaneous phase (whose temporal derivative—if twere continuous— would be a time-varying fundamental frequency). We consider NtFPs at each frame time t. The position of the n-th FP at frame time t, relative to the CCA circle center point ct, can be expressed as y(n) t= ρ(n) tcosθ(n) t ρ(n) tsinθ(n) t!,n=1,2,...,Nt.(3) Here, ρ(n) t(referred to as the ‘‘FP radius’’) and θ(n) trepresent the polar coordinates of FP nwith respect to the center ct, as illustrated in Figure 2. The FP radius is modeled as ρ(n) t=rt+˜ δ(n)+δ(n) t,n=1,2,...,Nt,(4) where rtis the CCA circle radius, ˜ δ(n)denotes an initial approximation of the radial deviation of the FP from the CCA circle (which was calculated at the frame time when the FP was included in the FP position list, see Section V-A), and δ(n) tdenotes a time-varying radial deviation. B. STATE The UKF estimates a time-varying state vector xtin a framerecursive manner, using at each frame time tthe results of the previous frame time t−1 and a measurement vector zt. In our method, the state is a vector of dimension Lt,2M+2Nt+7 defined as xt,aT tbT tϕT tγT tRtcT tp(1)T t· · · p(Nt)T tT.(5) Here, related to the CCA circle radius model in (2), at, (a(1) t· · · a(M) t)Tand bt,(b(1) t· · · b(M) t)Tare the vectors of time-varying Fourier coefficients of the quasi-periodic component of the CCA circle radius, ϕt,(ϕt˙ϕt)Tcomprises the fundamental instantaneous phase and its derivative, i.e., the time-varying fundamental frequency, γt, (γtγt−1)Tcomprises the current and previous samples of the breathing component of the CCA circle radius, and Rt is a (formally) time-varying version of the mean CCA circle radius R. Furthermore, related to the FP model in (3) and (4), ct,(c(1) tc(2) t)Tis the CCA circle center point in Cartesian coordinates, and the FP position parameter vector p(n) t, δ(n) t θ(n) t!(6) characterizes the position of FP nin polar coordinates. Note that from the state xt, it is possible to determine the CCA circle center point ctand radius rtas well as all the FP positions (up to the initial radial deviation approximations ˜ δ(n)). C. STATE EVOLUTION MODEL The UKF relies on a state evolution model, which is a stochastic model for the one-frame evolution of the state xt, i.e., the transition from xt−1to xt. For a basic formulation of the state evolution model, we temporarily assume that Nt=N and Lt=2M+2N+7=Lare constant; an extension to time-varying Ntand Ltwill be given in Section V-A. We choose a linear state evolution model given by xt=8xt−1+ut,t=1,2,.... (7) Here, 8is an L×Lblock-diagonal matrix defined as 8,diagI2M,8ϕ,8γ,1,I2, φδ,1, . . . , φδ,1 | {z } Ntimes ‘‘φδ,1’’ ,(8) where 8ϕ, 1 1 0 1!,8γ, 1+φγ−φγ 1 0 !, and φγ, φδ∈(0,1). Furthermore, the driving process utis an independent and identically distributed (iid) L-dimensional zero-mean process with covariance matrix Cu,diagσ2 abI2M,6ϕ,6γ,0, σ2 cI2, σ2 δ, σ2 θ, . . . , σ2 δ, σ2 θ | {z } Ntimes ‘‘σ2 δ, σ2 θ’’ , (9) where 6ϕ,σ2 ϕ 1/4 1/2 1/2 1 !,6γ,σ2 γ 1 0 0 0!. This model summarizes the following individual state evolution models: a(m) t=a(m) t−1+(ut)m,m=1,2,...,M, b(m) t=b(m) t−1+(ut)M+m,m=1,2,...,M, ϕt=8ϕϕt−1+(ut)2M+1,2M+2, γt=8γγt−1+(ut)2M+3,2M+4, Rt=Rt−1, ct=ct−1+(ut)2M+6,2M+7, δ(n) t=φδδ(n) t−1+(ut)2M+6+2n,n=1,2,...,N, θ(n) t=θ(n) t−1+(ut)2M+7+2n,n=1,2,...,N. 222510 VOLUME 8, 2020
J. Dorazil et al.: Tracking Carotid Artery Wall Motion Using an Unscented Kalman Filter and Data Fusion Here (·)idenotes the i-th element of the vector in parentheses and (·)i,jdenotes the vector comprising the i-th and j-th elements of the vector in parentheses. Note that the state evolution models for a(m) tand b(m) t(m=1,2,...,M), ct, and θ(n) t (n=1,2,...,N) are random walk models, ϕtis modeled by a constant velocity model, the state evolution model for γt is a second-order auto-regressive (AR(2)) model, Rtis modeled as constant (because the variance of (ut)2M+5is zero), and δ(n) tis modeled by a first-order auto-regressive (AR(1)) model. We use AR models, rather than simple random walk models, for γtand δ(n) tbecause the AR model effectively limits the range of feasible values. This helps prevent the FPs from drifting away from the CCA wall, and is one reason why our method is able to compensate the feature drift resulting from the optical flow algorithm. (The other reason is the use of the results of the circle localization algorithm of [22] as an additional input to the UKF, as explained in Section III-D.) For a larger variance of (ut)l, the respective state component (xt)ltends to change more rapidly and less smoothly. D. MEASUREMENT MODEL The UKF also relies on a measurement model in addition to the state evolution model. The measurement model is a stochasticmodel for the dependence of the observedmeasurements on the state xt. We recall from Sections II and III that our measurements are given by the preliminary FP position estimates ˜ y(n) t,n=1,2,...,Ncontained in the preliminary FP position list ˜ Ytand by the preliminary CCA circle parameter estimates ˜ ctand ˜rt. We model the preliminary FP position estimates ˜ y(n) tas the CCA circle center point ctplus noisy versions of the true FP position vectors y(n) t=ρ(n) tcosθ(n) tρ(n) tsinθ(n) tT (cf. (3)), i.e., ˜ y(n) t=ct+y(n) t+v(n) t,n=1,2,...,N.(10) Here, ρ(n) tis given by Equation (4), i.e., ρ(n) t=rt+˜ δ(n)+ δ(n) t, in which, in turn, rtis given by Equation (2) with R formally replaced by Rt. Thus, expression (10) involves the state components (cf. (5)) at,bt,ϕt,γt,Rt,ct, and p(n) t= (δ(n) tθ(n) t)Tfor n=1,2,...,N; note that ϕtand θ(n) t enter in a nonlinear manner. Furthermore, the measurement noise processes v(n) tare mutually independent, iid, zero-mean, two-dimensional processes with covariance matrix Cv(n), diag{σ2 v,1, σ2 v,2}. In a similar manner, the preliminary CCA circle parameter estimates ˜ ctand ˜rtare modeled as noisy versions of the true CCA circle parameters ctand rt, respectively, i.e., ˜ ct=ct+v(c) t,˜rt=rt+v(r) t,(11) where v(c) tand v(r) tare mutually independent, iid, zero-mean processes with covariance Cv(c) ,σ2 v(c)I2and variance σ2 v(r), respectively. The expressions (11) involve the state components (cf. (5)) at,bt,ϕt,γt,Rt, and ct. Finally, the overall measurement vector ztcomprises all the measurements, i.e., zt,˜ y(1)T t˜ y(2)T t· · · ˜ y(N)T t˜ cT t˜rtT. We can now summarize the measurement models (10) and (11) into an overall measurement model zt=g(xt)+vt,(12) where g(xt),cT t+y(1)T tcT t+y(2)T t· · · cT t+y(N)T tcT trtT(13) and vt,v(1)T t· · · v(N)T tv(c)T tv(r) tT. The covariance matrix of vtis given by Cv,diagσ2 v,1, σ2 v,2, . . . , σ2 v,1, σ2 v,2 | {z } Ntimes ‘‘σ2 v,1, σ2 v,2’’ , σ2 v(c), σ2 v(c), σ2 v(r). V. UKF OPERATION The UKF [19] is a suboptimal sequential Bayes filter that calculates at each frame time t=2,3, . . . estimates of the posterior mean E{xt|z1:t}and posterior covariance Cov{xt|z1:t}of the state xt, where z1:t,(zT 1· · · zT t)T. These estimates will be denoted by ˆ xtand Pt, respectively; note that ˆ xt≈E{xt|z1:t} provides an estimate of xt. We use a UKF, rather than simply a Kalman filter [28, Ch. 2], because of the nonlinearity of our measurement model (12). Also, in comparison to the extended Kalman filter [28, Ch. 2], the UKF usually provides a better estimation accuracy while its computational complexity is of the same order [19]. We use a slightly modified version of the UKF algorithm that includes an FP allocation/deallocation step to account for the time-varying number of state variables. Each UKF recursion thus consists of the following steps, which are described further below: FP allocation/deallocation, state prediction, calculation of sigma-points, measurement prediction, update, and estimation. These steps are performed at each frame time t=2,3, . . . . A. FP ALLOCATION/DEALLOCATION According to (5), the inclusion of a new FP nin the previous FP position list ˆ Yt−1—as described in Section III-A—entails a corresponding allocation (insertion) of the FP position parameter vector p(n) t−1in the state vector xt−1. This implies an analogousallocationofanestimateofp(n) t0inthestateestimate vector ˆ xt0for t0=t−1,t, . . . We initialize this estimate as (cf. (6)) ˆ p(n) t−1,(ˆ δ(n) t−1ˆ θ(n) t−1)T=0 tan−1(ξ(2) t−1/ξ(1) t−1)T, where ξ(1) t−1and ξ(2) t−1are the Cartesian coordinates of ξt−1, ˆ y(n) t−1−ˆ ct−1. Here, ˆ y(n) t−1is the initial FP position obtained in the FP inclusion step (see Section III-A), and ˆ ct−1is the previous estimate of the circle center. Furthermore, corresponding variances are allocated as two additional elements on the diagonal of the approximate covariance matrix Pt0for t0=t−1,t, . . .. These variances are initialized in Pt−1 as s2 δand s2 θ, which are parameters expressing our a priori VOLUME 8, 2020 222511
J. Dorazil et al.: Tracking Carotid Artery Wall Motion Using an Unscented Kalman Filter and Data Fusion uncertainty about δ(n) t−1and θ(n) t−1, respectively. Finally, we calculate an initial approximation of the radial deviation of the new FP from the previous estimate of the CCA circle as ˜ δ(n)= kξt−1k2− ˆrt−1, where k·k2denotes the `2 (Euclidean) norm; we recall that ˜ δ(n)is used in the FP radius model (4) for t0=t−1,t, . . .. Similar allocation operations are applied to the transition matrix 8in (8) and the covariance matrix Cuin (9), which thereby become time-varying. More specifically, the values φδand 1 are inserted as additional diagonal elements of 8t0, and the values σ2 δand σ2 θare inserted as additional diagonal elements of Cu,t0, in both cases for t0=t−1,t, . . .. Conversely, the exclusion of FP nat time t—as described in Section III-C—entails a deallocation (removal) of the corresponding FP position parameter vector p(n) t−1in the state vector xt−1. This implies analogous deallocation operations in ˆ xt0, Pt0,8t0, and Cu,t0for t0=t−1,t, . . .. B. STATE PREDICTION In the state prediction step of the UKF recursion at frame time t, a ‘‘predicted’’ state mean ˆ xt|t−1and covariance Pt|t−1 are calculated by propagating the previous mean ˆ xt−1and covariance Pt−1through the linear state evolution model (7). This results in ˆ xt|t−1=8tˆ xt−1,Pt|t−1=8tPt−18T t+Cu,t. C. CALCULATION OF SIGMA-POINTS Next, so-called sigma-points are used to approximate the propagation of the predicted mean ˆ xt|t−1and covariance Pt|t−1through the nonlinear measurement model (12). According to [19], for state vector dimension Lt, there are 2Lt+1 sigma-points ˆ x(l) tand corresponding weights w(l) t, l=0,1,...,2Lt, which are calculated as ˆ x(l) t= ˆ xt|t−1,l=0, ˆ xt|t−1+(61/2 t)l,l=1,2,...,Lt, ˆ xt|t−1−(61/2 t)l−Lt,l=Lt+1,Lt+2,...,2Lt, w(l) t= 1/3,l=0, 1−w(0) t 2Lt ,l=1,2,...,2Lt. Here, (61/2 t)ldenotes the l-th column of 61/2 t, which is a square root of the matrix 6t,Lt 1−w(0) t Pt|t−1, i.e., any square matrix satisfying 61/2 tT61/2 t=6t. We note that w(0) tcan be chosen differently from 1/3, as discussed in [19]. D. MEASUREMENT PREDICTION The sigma-points are now propagated through the (noiseless) nonlinear measurement model (12), i.e., ˆ z(l) t=g(ˆ x(l) t),l=0,1,...,2Lt. Then, a ‘‘predicted’’ measurement ˆ zt|t−1and an innovation covariance matrix St|t−1are calculated as ˆ zt|t−1= 2Lt X l=0 w(l) tˆ z(l) t, St|t−1= 2Lt X l=0 w(l) t(ˆ z(l) t−ˆ zt|t−1)(ˆ z(l) t−ˆ zt|t−1)T+Cv. E. UPDATE Next, we perform the update step of the ordinary Kalman filter [28, Ch. 2], i.e., ˆ xt=ˆ xt|t−1+Gt(zt−ˆ zt|t−1), Pt=Pt|t−1−GtSt|t−1GT t. Here Gtis a sigma-point approximation of the Kalman gain matrix, which is given by Gt=2Lt X l=0 w(l) t(ˆ x(l) t−ˆ xt|t−1)(ˆ z(l) t−ˆ zt|t−1)TS−1 t|t−1. F. ESTIMATION Evaluating g(·) in (13) for the state estimate ˆ xtyields g(ˆ xt)=ˆ cT t+ˆ y(1)T tˆ cT t+ˆ y(2)T t· · · ˆ cT t+ˆ y(Nt)T tˆ cT tˆrtT We use the vectors ˆ y(n) tas the final estimates of the FP positions y(n) t, for n=1,2,...,Nt; these estimates constitute the final FP position estimate list ˆ Yt. Similarly, we use ˆ ct and ˆrtas the final estimates of the CCA circle parameters ctand rt. Note that the FP position estimate list ˆ Ytand the center point estimate ˆ ctare used only internally, namely, as an input to the FP inclusion step at the next frame time t+1, as explained in Sections II and III-A. On the other hand, ˆrt forms the output of the overall method. G. INITIALIZATION At frame time t=1, no FPs are allocated yet, i.e., N1=0. We initialize the mean ˆ x1and covariance matrix P1as (cf. (5)) ˆ x1=0 0 · · · 0 |{z } 2M+1 times ‘‘0’’ ˙ϕ10 0 ˆr1ˆ cT 1T, P1=diags2 abI2M,s2 ϕI2,s2 γI2,s2 R,s2 cI2. Here, ˙ϕ1is an initial value1of the time-varying fundamental frequency ˙ϕt, and ˆr1and ˆ c1are initial CCA circle parameter estimates that are calculated by the circle localization algorithm of [22]. The variances s2 ab,s2 ϕ,s2 γ,s2 R, and s2 care parameters expressing our a priori uncertainty about the Fourier coefficients a(m) 1and b(m) 1(m=1,2,...,M) as well as about ϕ1,γ1,R1, and c1, respectively. 1The fundamental instantaneous phase ϕtand the time-varying fundamental frequency ˙ϕtare part of the state xt—see (5)—and thus are estimated (tracked) along with the other state components. Therefore, in contrast to [23], the fundamental frequency does not have to be precisely known in advance. However, a reasonable initialization of ˙ϕtat t=1 is required for the method to converge. 222512 VOLUME 8, 2020
J. Dorazil et al.: Tracking Carotid Artery Wall Motion Using an Unscented Kalman Filter and Data Fusion TABLE 1. Parameters of the proposed method that were used in the experiments (common for all ultrasound sequences). One pixel (px) corresponds to 70 µm. VI. NUMERICAL RESULTS AND DISCUSSION In this section, we present numerical results demonstrating the performance of the proposed method in comparison to an improved version of the state-of-the-art reference method described in [18]. The latter method was chosen as a reference method because, similarly to the proposed method, it performs an explicit feature drift compensation and is thus suited to the case of long ultrasound sequences. A. BASIC SIMULATION SETUP We considered the following types of experimental data. Data set S was created synthetically through a time-varying transformation of a real ultrasound image, and was used to evaluate the robustness of the proposed method to additive and multiplicative noise. Data set F was created synthetically by means of the Field II simulation program [29], [30], and was used to determine the method’s performance in the presence of speckle decorrelation. Finally, we validated our method on a real ultrasound sequence. More detailed descriptions of these experimental data will be provided in later subsections. TABLE 2. Parameters of the proposed method that were used in the experiments (not common for all ultrasound sequences). One pixel (px) corresponds to 70µm. The parameters of the proposed method that we used in our experiments are listed in Tables 1and 2. In the course of our experiments, we observed that the circle localization algorithm used in the reference method [18] performs poorly on our data. Therefore, for a fair comparison of tracking accuracy, we modified the reference method such that it uses the circle localization algorithm used in our method (see Section III-D). Furthermore, in both the proposed method and the reference method, we included a correction of the radius estimation bias exhibited by the circle localization algorithm. More specifically, the preliminary circle radius ˜rt, used subsequently by the UKF, was obtained by subtracting a constant from the radius estimate computed by the circle localization algorithm. For data sets S and F, we estimated this constant from sequence S∞and F0, respectively, by averaging over all frames the error of the radius estimates produced by the circle localization method. Note that we were able to determine this error because for data sets S and F the ground truth is available. The proposed method was implemented in MATLAB on an Intel(R) Core(TM) i5-7500 CPU with a base frequency of 3.40GHz, without the use of multi-threading. The processing of one frame always took less than 40 ms. In particular, the processing of a single frame of 348 ×280px from dataset S (discussed later) took on average 26ms. B. MOTION MODEL To generate the simulated sequences, we modeled the CCA wall transverse section by a circle with a time-varying radius rtthat is the sum of a pulse wave component and a breathing component. For the pulse wave component, we employed the parametric model proposed in [31], whose parameters we chose such that they conformed to radius estimates obtained from real ultrasound sequences. In order to introduce smooth variations in the pulse rate, we frequency-modulated the pulse wave by a sine function with a period of half a minute. During one period of the modulating sine function, the heart rate varies between 70 and 110 beats per minute. The breathing component was modeled as the absolute value of a sine function whose frequency is much lower than the assumed heart rate. Further details of the motion model and its parameters are provided in [18]. C. PERFORMANCE METRICS For measuring the accuracy of radius estimation in those cases where a ground truth rtis available (data sets S and F), we use the root mean square error (RMSE). Assuming K simulation runs, each producing an estimated radius sequence ˆrt,k(t=1,2,...,T;k=1,2,...,K), the RMSE is defined as the square root of the average of the squared error (ˆrt,k−rt)2taken over all frames tand all simulation VOLUME 8, 2020 222513
J. Dorazil et al.: Tracking Carotid Artery Wall Motion Using an Unscented Kalman Filter and Data Fusion runs k, i.e., RMSE ,v u u t1 K K X k=1 RMSE2 k, where RMSEk,q1 TPT t=1(ˆrt,k−rt)2. We also consider the inter-realization empirical standard deviation of RMSEk, which is denoted SD and defined as SD ,v u u t1 K K X k=1 (RMSEk−RMSEk)2, where RMSEk,1 KPK k=1RMSEk. D. SYNTHETIC DATA SET S Data set S consists of a synthetic ultrasound sequence, referred to as S∞, as well as K=100 realizations of four ‘‘noisy’’ synthetic ultrasound sequences, referred to as S+ 25, S+ 15, S∗ 25, and S∗ 15. Each sequence comprises T=960 ultrasound frames. With a frame rate of 32 fps, this corresponds to 30 seconds of continuous recording. FIGURE 4. (a) Reference image (simultaneously first frame of sequence S∞), (b)–(e) first frame of realizations of the synthetic sequences S+ 25, S+ 15, S∗ 25, and S∗ 15, respectively. Sequence S∞was derived from a reference image, shown in Figure 4(a), through a time-varying deformation. The reference image was chosen as a real ultrasound image of the CCA FIGURE 5. Results of the proposed method and the reference method for ten realizations of S+ 15 during 200 frames: (a) Radius estimates obtained with the proposed method, (b) radius estimates obtained with the reference method, (c) corresponding time-varying RMSEs. TABLE 3. RMSE and SD (both in µm) for data set S. Lower values are better. transverse section of a healthy subject, which was acquired as described in Section VI-F. The frames of S∞were then obtained by deforming the reference image in accordance with the motion model described in Section VI-B. More specifically, the CCA circle radius for each frame was calculated from the motion model, a displacement field (describing the tissue displacement at each pixel of the reference image) was calculated from the CCA circle radius, and the reference 222514 VOLUME 8, 2020