Next Article in Journal
Global Optimal Solving Algorithm for Power Distribution Based on Selective Harmonic Elimination in Cascaded H-Bridge Multilevel Inverters
Previous Article in Journal
A Novel PNDA-MMNet Model for Evaluating Dynamic Changes in the Brain State of Patients with PTSD During Neurofeedback Training
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Integrated Spatial-Spectral Denoising Framework for Robust Electrically Evoked Compound Action Potential Enhancement and Auditory Parameter Estimation

by
Fan-Jie Kung
Department of Electrical Engineering, National Taipei University of Technology, Taipei 10608, Taiwan
Sensors 2025, 25(11), 3523; https://doi.org/10.3390/s25113523
Submission received: 26 April 2025 / Revised: 1 June 2025 / Accepted: 2 June 2025 / Published: 3 June 2025
(This article belongs to the Section Intelligent Sensors)

Abstract

:
The electrically evoked compound action potential (ECAP) is a crucial physiological signal used by clinicians to evaluate auditory nerve functionality. Clean ECAP recordings help to accurately estimate auditory neural activity patterns and ECAP magnitudes, particularly through the panoramic ECAP (PECAP) framework. However, noise—especially in low-signal-to-noise ratio (SNR) conditions—can lead to significant errors in parameter estimation. This study proposes a two-stage preprocessing denoising (TSPD) algorithm to address this issue and enhance ECAP signals. First, an ECAP matrix is constructed using the forward-masking technique, representing the signal as a two-dimensional image. This matrix undergoes spatial noise reduction via an improved spatial median (I-Median) filter. In the second stage, the denoised matrix is vectorized and further processed using a log-spectral amplitude (LSA) Wiener filter for spectral domain denoising. The enhanced vector is then reconstructed into the ECAP matrix for parameter estimation using PECAP. The above integrated spatial-spectral denoising framework is denoted as PECAP-TSPD in this work. Evaluations are conducted using a simulation-based ECAP model mixed with simulated and experimental noise, designed to emulate the spatial characteristics of real ECAPs. Three objective quality measures—namely, normalized root mean square error (RMSE), two-dimensional correlation coefficient (TDCC), and structural similarity index (SSIM)—are used. Simulated and experimental results show that the proposed PECAP-TSPD method has the lowest average RMSE of PECAP magnitudes (1.952%) and auditory neural patterns (1.407%), highest average TDCC (0.9988), and average SSIM (0.9931) compared to PECAP (6.446%, 5.703%, 0.9859, 0.8997), PECAP with convolutional neural network (CNN)-based denoising mask (PECAP-CNN) (9.700%, 7.111%, 0.9766, 0.8832), and PECAP with improved median filtering (PECAP-I-Median) (4.515%, 3.321%, 0.9949, 0.9470) under impulse noise conditions.

Graphical Abstract

1. Introduction

The electrically evoked compound action potential (ECAP) is the combined response of auditory nerve fibers to electrical stimulation by a cochlear implant (CI) [1,2]. The ECAP is a critical signal for clinicians to evaluate the functionality of a patient’s auditory nerve fibers after CI surgery [3,4]. In the absence of feedback from CI users, the ECAP model can be of great value to clinicians in terms of assessing the hearing performance of CI users [5,6]. ECAP magnitude can be computerized and estimated using temporal or spatial methods [7,8,9]. The ECAP matrix can be constructed by measuring the ECAPs generated by the different electrode positions of the masker and probe stimuli. Such a method is referred to as the forward-masking technique [10]. Regarding the panoramic ECAP (PECAP) method [11,12], it has been shown that using a clean ECAP matrix can approximate auditory activity patterns and ECAP magnitudes [11,12], further assisting clinicians in evaluating a patient’s speech perception. Nevertheless, noisy ECAP matrices—particularly when the signal-to-noise ratio (SNR) is less than 10 dB—can introduce inaccuracies in estimating auditory activity patterns and ECAP magnitudes [11,12].
The abovementioned issue necessitates the implementation of noise reduction techniques on ECAP matrices before estimating the auditory activity patterns and ECAP magnitudes. These techniques can be classified into three primary categories: spatial filtering, temporal filtering, and spectral filtering. In spatial filtering, the mean and median filters represent well-established examples of spatial filtering [13,14,15]. The mean filter is a linear estimator employed to mitigate the adverse effects of image noise by eliminating random fluctuations. The principal disadvantage of the mean filter is that it results in image blurring, particularly at low SNRs. The median filter, which demonstrates superior noise removal performance compared to the mean filter, is a nonlinear estimator [16]. The median filter’s masking size tends to increase with elevated noise levels, which can result in the loss of information from the original images. To alleviate image distortion and achieve moderate noise reduction, an improved median filtering algorithm (I-Median) [17] has been developed, combining the advantages of mean and median filters to achieve superior denoising in adverse environments. Specifically, if the current pixel value is less than the average of the mask, the pixel value is replaced with the median of the mask. Otherwise, the pixel value keeps its original value [17].
In the field of time-domain signal analysis, adaptive filtering (AF) can be used to minimize noise. The AF method primarily uses algorithms such as least mean square (LMS) [18] and recursive least squares (RLS) [19] to iteratively adjust the weights, thereby reducing the adverse effects of noise on the signal. The advantage of AF methods is their near real-time implementation [20]. However, a critical aspect of these methods lies in the reference signal source, as clean signals—such as speech—are almost nonexistent in specific real-world scenarios. In addition, the choice of step size and filter order directly affects the error convergence rate, which is an important issue to address [21]. Finding the right balance is essential for noise reduction when AF is used.
Wiener filtering is an effective noise reduction technique in spectral domain signal analysis [22,23]. It estimates the noise’s power spectral density (PSD) to enhance the signal. However, at low SNRs, the accuracy of the estimated noise PSD may decline, directly impacting the noise reduction performance. To address this issue, a Wiener-based noise reduction algorithm known as log-spectral amplitude (LSA) Wiener filtering [24,25,26] has been developed to minimize the mean square error of the logarithmic spectrum. This approach helps to alleviate musical noise and improve the quality of speech signals under low-SNR conditions.
Deep learning techniques have recently been applied in the context of speech enhancement [27,28,29,30]. One such technique is the end-to-end convolutional recurrent neural network (CRN) [31], which enables near real-time implementation using a single microphone. This CRN algorithm can suppress noise under adverse conditions, such as a −5 dB SNR. However, the main drawback of these learning-based approaches is the substantial amount of data acquisition and preprocessing required [27,28,32], which can be both time- and resource-intensive. Because deep learning techniques are based on nonlinear approaches, the resulting distortion may be greater than that of the aforementioned linear approaches. Additionally, the noise reduction performance may degrade when encountering unseen scenarios.
Given the compromised estimation of auditory neural activity patterns and ECAP magnitudes when using PECAP under low-SNR conditions, this work proposes a method that combines PECAP with a two-stage preprocessing denoising algorithm (TSPD), referred to as PECAP-TSPD. Specifically, the ECAP signals are first denoised via TSPD and then used to estimate the neural parameters via PECAP. In the first stage of TSPD, the I-Median algorithm is used to reduce the random noise of an ECAP matrix, since the ECAP matrix can be considered an image. In the second step of TSPD, the denoised ECAP matrix is expanded and rearranged as a 1 × N N vector, where N is the total number of electrodes. The rearranged vector can then be used as the input of the one-dimensional signal to LSA Wiener filtering for residual noise reduction. The PECAP-TSPD algorithm improves the accuracy of the estimates for key parameters, such as neural health and current spread. Simulated and measured noise are mixed into clean ECAP matrices to emulate the real ECAPs. This method can potentially assist in neural diagnosis, which warrants further validation using clinical ECAP data in future studies. The normalized root mean square error (RMSE), two-dimensional correlation coefficient (TDCC) [33], and structural similarity index (SSIM) [34,35] are employed as objective measures in this work to evaluate the performance of the unprocessed ECAP, processed ECAP signals by PECAP, PECAP with convolutional neural network (CNN)-based denoising mask (PECAP-CNN), PECAP with I-Median filtering (PECAP-I-Median), and PECAP-TSPD under various SNR conditions, noise densities, and scenarios.
The main contributions and insights of this study are as follows:
  • This study proposes a novel two-stage framework that combines spatial and spectral filtering for noise reduction in ECAP matrix signals.
  • A reordering technique is introduced to estimate the noise in the ECAP matrix, based on the physiological ECAP measurements obtained using the forward-masking technique [10].
  • A three-convolutional-layer neural network is proposed for denoising mask estimation. This network serves as one of the baselines, and is used to validate the noise estimation effect achieved by the proposed reordering technique.
  • The reordering ECAP vector is treated as a speech-like signal and further denoised in the second stage using LSA Wiener filtering.
The remainder of this article is organized as follows. Section 2 introduces the panoramic ECAP method. Section 3 describes the proposed method. Section 4 explains the settings and results. Section 5 concludes the study and outlines future work.

2. Panoramic ECAP Method

The panoramic ECAP (PECAP) method consists of two procedures: the forward-masking method and neural parameter estimation using sequential quadratic programming (SQP) [10,11,12]. The forward-masking method uses a probe and a masker to stimulate auditory neurons, generating the ECAP signal and reducing artifacts. This process constructs a matrix in which each element represents the measured ECAP signal from each pair of probe and masker positions, as illustrated in Figure 1. In Figure 1, the x-axis represents the position of the masker, and the y-axis represents the probe’s position. Figure 1 shows the simulated ECAP signal, illustrating the inverse relationship between the amplitude of the ECAP and the distance from the probe to the masker. When the positions of the probe and the masker are closer, the amplitude of the ECAP signal is larger. Conversely, when the probe and masker are farther apart, the amplitude of the ECAP signal is smaller. This phenomenon is explained in Figure 2 [6], where the neural activity pattern is assumed to follow a Gaussian distribution. The ECAP signal can be regarded as the overlapping area between two Gaussian distributions, corresponding to the neural activity patterns stimulated by the probe and masker. The overlap is maximized when the probe and the masker positions coincide. In contrast, the overlap is minimal when the probe and the masker positions are distant.
The auditory neural activity pattern is assumed to be a Gaussian distribution, defined as follows:
a i k = α i η i e x p ( k μ i ) 2 2 σ i 2
where i denotes the i -th electrode; k is the position along the cochlea; α i and η i are the auditory neuron amplitude and neural health of the i -th electrode, respectively; e x p · is an exponential function; μ i and σ i represent the mean and standard deviation (also referred to as current spread [10] in physiological signals) of the Gaussian pattern for the i -th electrode, respectively. In this work, μ i = i and α i is prior information. Under the assumption that the ECAP signal is the overlap between the two auditory neuron responses of the probe and masker stimuli, the ECAP signal can be formulated as
M p , m = k = 1 K a p k a m k ,
where p is the index indicating that the p -th electrode is stimulated by the probe, m is the index indicating that the m -th electrode is stimulated by the masker, and K is set to N (the total number of electrodes) in this work. Equation (2) can also be expressed in matrix form as a clean ECAP matrix [12]:
M = A A T ,
in which A = a 1 a 2 a N T R N × K is an auditory neural activity pattern matrix for each auditory neuron vector a i = a i ( 1 ) a i ( 2 ) a i ( K ) T R K . Because A is a symmetric matrix, the matrix of the ECAP signal in Equation (3) is also a symmetric matrix. The measured ECAP matrix can be represented as
M s = M + U ,
where U denotes a matrix that contains noise.
The random noise part can be alleviated using the following equation:
M o = M s + M s T 2 ,
where M o represents the denoised matrix of the ECAP signal. To further estimate η i and σ i , the SQP, a large-scale constrained optimization algorithm, is utilized. Computerization of the parameter estimation of the ECAP matrix is illustrated in Figure 3.
In Figure 3, ε M , which denotes the root mean square error between M o and estimated denoised ECAP matrix M ^ o , is formulated as
ε M = 1 N 2 M o p , m M ^ o p , m 2 ,
where M o ( p , m ) and M ^ o ( p , m ) represent the ( p , m ) -th entry of M o and M ^ o , respectively. In this work, different SNR and density conditions are also introduced to assess the parameter estimation capability using SQP.
Figure 4 depicts a structure designed to test the noise resistance performance using the SQP algorithm. The above procedures can eliminate most of the noise. However, in low-SNR scenarios, the distortion increases due to the error estimation of η i and σ i . Therefore, the preprocessing algorithm is developed below.

3. Proposed Method

The proposed method involves two stages for noise reduction. The first stage of the denoising process is described below.

3.1. First Stage of Noise Reduction Processing

In light of the detrimental effect of noise on the estimation of neural parameters, this work proposes a two-stage preprocessing denoising (TSPD) algorithm for the ECAP matrix before the PECAP algorithm. First, the ECAP matrix is treated as an image. In the first stage of TSPD, the improved median (I-Median) filtering algorithm is applied to reduce noise, as shown in Equation (7).
M I p , m = M e d i a n p , m M p , m < A v g ( p , m ) M p , m o t h e r w i s e ,
where M e d i a n ( p , m ) and A v g ( p , m ) denote the processed values using the median and mean filters at positions ( p , m ) , respectively. M I ( p , m ) denotes the processed result obtained using I-Median filtering. This work sets the kernel sizes of median and mean filtering to 3 × 3 . Equation (7) describes that if the ECAP value at positions ( p , m ) is less than the mean filter processing value, the ECAP value is considered noise and can be replaced by the median filter processing value. Conversely, if the ECAP value is greater, it is retained. The processed ECAP matrix is expressed as
M I = M I ( 1 , 1 ) M I ( 1 , N ) M I ( N , 1 ) M I ( N , N ) .
The I-Median algorithm is suitable for removing low-to-medium-density noise from an image. In some cases, however, the noise is distributed across all pixels of an image. To further deal with this noise, LSA Wiener filtering is employed after I-median filtering by expanding M I into a 1 × N N vector. The following reordering procedure is important because LAS Wiener filtering uses the first few time frames as the noise component to estimate the initial noise PSD to reduce noise recursively. Therefore, selecting which elements of the ECAP matrix have high probabilities of being noise is a critical step. The following reordering rule not only expands M I into a 1 × N N vector, but also selects which elements of M I are most likely noise based on the physiological characteristic of the ECAP matrix, as described in Section 2. The reordering rule for transforming the ECAP matrix into the ECAP vector is as follows:
  • Calculate the absolute value of index p minus index m .
    B = 1 1 1 N N 1 N N = 0 1 N N 1 0 ,
    where B is an index matrix that records the absolute value of the position difference between p and m .
  • Record | p m | for each element in B and concatenate each row into a long vector.
    b = b 1 , 1 , , b 1 , N , b 2 , 1 , , b 2 , N , , b N , 1 , , b ( N , N ) R 1 × N N ,
    where b p , m = p m is the ( p , m ) -th entry of B .
  • Order b in descending order and record the descending order index.
    i d , b ¯ = d e s c e n d ( b ) ,
    where d e s c e n d · represents the descending order operation, b ¯ is a vector based on the descending order of the results of b , and i d is the index vector corresponding to b ¯ .
  • The desired vector can then be obtained using the following equation:
    m I = M I i d 1 , M I i d 2 , , M I i d N N R 1 × N N ,
    where m I is a 1 × N N row vector containing both noise components and noisy ECAP signal components. The noise, where the ECAP signal is weak, is placed in the first part of the vector, while the target signal, where the ECAP signal is stronger, is placed in the last part of the vector. The reordering process is part of the second stage of TSPD, which employs LSA Wiener filtering for improved noise reduction, as stated below.

3.2. Second Stage of Noise Reduction Processing

In the second stage of TSPD, LSA Wiener filtering is utilized to address the residual noise in the vector m I , which is treated as a discrete-time series input. The first step is to transform m I into a short-time Fourier transform (STFT) domain, as shown in Equation (13).
Y m l , k = F m I ( n + l N h o p ) w ( n ) z e r o p a d d e d   t o   2 N w ,
where F denotes the fast Fourier transform (FFT) operator. Y m l , k is the STFT signal of m I . l and k denote the time frame and frequency indices, respectively. N h o p is the hop size. w ( n ) is the window of length N w for short-time signal analysis. The signal segment is zero-padded to a length of 2 N w to ensure adequate frequency resolution without aliasing. The LSA Wiener filter aims at minimizing the log-spectral amplitude
J = a r g min H ( l , k ) E log e X l , k log e X ^ l , k 2 ,
where J is the cost function to minimize the mean square error of log-spectral amplitudes log e X l , k and log e X ^ l , k . X l , k and X l , k are the clean signal and estimated clean signal spectra, respectively. The optimal solution is [24,25,26]
H L S A l , k = ξ ( l , k ) 1 + ξ ( l , k ) e x p 1 2 ν ( l , k ) e t t d t ,
where ξ l , k = E X ( l , k ) 2 / P u l , k is the prior SNR with P x l , k = E X ( l , k ) 2 being a clean signal PSD and P u l , k = E U r ( l , k ) 2 being a residual noise PSD. υ l , k = ξ l , k / 1 + ξ l , k γ ( l , k ) with γ l , k = Y m ( l , k ) 2 / P u l , k representing the posterior SNR. ξ l , k can be estimated using the decision-directed approach as described below:
ξ ^ l , k = α X ( l 1 , k ) 2 P u l 1 , k + ( 1 α ) m a x γ l , k 1 , 0 ,
where α is a forgetting factor. P u l , k can be estimated and updated using the following log-likelihood ratio criterion:
Λ l , k = l n f ( Y m ( l , k ) | H 1 ) f ( Y m ( l , k ) | H 0 ) = ln 1 + ξ l , k + υ ( l , k ) ,
where
f Y m l , k H 1 = 1 π ( P x l , k + P u l , k ) e x p Y m ( l , k ) 2 P x l , k + P u l , k
is the conditional probability density function (PDF) of Y m l , k given that the event ( H 1 ) of the ECAP signal occurs.
f Y m l , k H 0 = 1 π P u l , k e x p Y m ( l , k ) 2 P u l , k
is the conditional PDF of Y m l , k assuming only noise occurs at event H 0 . υ l , k = γ l , k ξ l , k / ( 1 + ξ l , k ) . If l = 1 N t Λ l , k is less than a small value ε 1 , the noise PSD can be updated using the following recursive averaging.
P ^ u l , k = α P ^ u l 1 , k + 1 α Y m l , k 2 .
The estimated clean ECAP signal can be obtained using the following equation:
X ^ l , k = H L S A l , k Y m ( l , k ) .
The complete LAS Wiener filtering procedures used in the second noise reduction stage are listed in Table 1.
In Table 1, N u is the number of time frames used to estimate the initial noise PSD. Next, the processed row vector X ^ l , k is converted into the inverse STFT, the time domain signal x ^ n , which can be reconstructed into the matrix format, as described below:
M ~ I = x ^ ( n | i d n = 1 ) x ^ ( n | i d n = N ) x ^ ( n | i d n = N + 1 ) x ^ ( n | i d n = 2 N ) x ^ ( n | i d n = N 1 N + 1 ) x ^ ( n | i d n = N N ) .
where i d n is defined in Equation (11), with n being a range from 1 to N N . In this work, the mean filter is applied in M ~ I if the SNR value is below 4 dB, to leverage the advantage of random noise removal at low SNRs [15]. The simulation arrangement, experimental settings, and results are provided in Section 4.

4. Settings and Results

The simulation arrangement and results are described below.

4.1. Simulation Arrangement and Results

Two types of noise—random noise and impulse noise—are used to evaluate the performance of the proposed PECAP-TSPD algorithm. Twelve SNR levels (−5 dB, −2 dB, 1 dB, 4 dB, 7 dB, 10 dB, 13 dB, 16 dB, 19 dB, 22 dB, 25 dB, and 100 dB—representing the clean ECAP signal situation for the random noise case) are used in the random noise. Four densities—10%, 20%, 30%, and 40%—are used in the impulse noise. The normalized RMSE is used as an objective quality measure to calculate the error between the ground truth and the estimated results (auditory neural activity pattern and ECAP amplitude). The two-dimensional correlation coefficient (TDCC) [33] and structural similarity index (SSIM) [34,35] are used to evaluate the similarity between the clean ECAP matrix and the reconstructed ECAP matrix. The STFT parameter settings in this work are as follows: A rectangular window with a length of 22 is used. The FFT size is 44. No overlap for each segment ( N h o p = N w ). In Table 1, N u = 6 , α = 0.96 , and ε 1 = 0.15 . Seven different combinations of neural health and current spread are listed in Table 2. The results of the ECAP matrices before and after processing at −5 dB of SNR are shown in Figure 5. The simulation software used in this study is MATLAB 2018b.
In Figure 5b, the ECAP matrix is filled with random noise, making it challenging to observe the pristine measured ECAP data, as depicted in Figure 5a. The PECAP and PECAP-TSPD methods can mitigate the detrimental effects of boisterous environments to recover the clean ECAP matrix shown in Figure 5c,d. The TDCC results for the noisy ECAP matrix, the PECAP matrix using PECAP, and the PECAP matrix using PECAP-TSPD are 0.4049, 0.8950, and 0.9960, respectively. Meanwhile, the SSIM results for these matrices are 0.0723 for the noisy ECAP matrix, 0.6526 for the processed PECAP matrix using PECAP, and 0.9681 for the processed PECAP matrix using PECAP-TSPD. The results of TDCC and SSIM are greater than 0.96, further indicating the satisfactory performance of PECAP-TSPD under adverse noisy conditions.
The results of the normalized RMSE of the ECAP magnitude ( ϵ M ) and auditory neural activity pattern ( ϵ A ) are depicted in Figure 6.
ϵ M = ε M M ¯ o ,
where M ¯ o is the maximum absolute value of M o . ϵ A is computed as
ϵ A = 1 N 2 A p , m A ^ p , m 2 / A ¯ ,
where A ¯ is the maximum absolute value of A . A ( p , m ) and A ^ ( p , m ) denote the ( p , m ) -th entry of A and A ^ , respectively. A ^ is the estimated auditory neural activity pattern. Figure 6a shows the normalized RMSE of the unprocessed ECAP signals, ECAP signals processed by PECAP, and PECAP-TSPD algorithms for different SNRs in Scenario 1. The normalized RMSE of the magnitude of the unprocessed ECAP signals at −5 dB SNR increases to 83.39%, which is comparably higher than those of the processed ECAP signals by PECAP (16.17%) and PECAP-TSPD (5.23%), indicating the need for ECAP signal processing. When comparing the ϵ A between PECAP and PECAP-TSPD processing ECAP signals, the values of ϵ A by PECAP-TSPD are all smaller than those by PECAP, except the 100 dB SNR case, where ϵ A are 0.0043% and 0.1885% for PECAP and PECAP-TSPD, respectively. The RMSE results of ϵ M for PECAP and PECAP-TSPD under 16, 19, 22, and 25 SNRs are shown in Table 3. Table 3 shows that the PECAP-TSPD algorithm decreases the RMSE when the SNR values are below 25 dB. The difference in RMSE remains approximately the same when the SNR is increased to 22 dB. The above results indicate that it is unnecessary to use TSPD before PECAP when the SNR is 25 dB or higher. Figure 6b shows the curve of the average normalized RMSE, denoted as ϵ ¯ M and ϵ ¯ A for the ECAP magnitude and auditory neural activity, respectively. Compared to the unprocessed and processed ECAP signals, the maximum values of average normalized RMSE are 6.17% and 5.48% for PECAP and PECAP-TSPD, respectively. In contrast, the maximum value of the unprocessed ECAP signals is 28.97%, showing the noise resistance capabilities of the PECAP and PECAP-TSPD algorithms. The performance of the PECAP-TSPD algorithm is superior to that of the PECAP algorithm, as the values of ϵ ¯ M and ϵ ¯ A obtained with PECAP-TSPD are lower than those obtained with PECAP. The average of ϵ ¯ M from Scenarios 1 to 7 can be ranked as PECAP-TSPD (3.83%), PECAP (5.14%), and unprocessed (23.07%). The averages of ϵ ¯ A from Scenarios 1 to 7 for PECAP-TSPD and PECAP are 3.01% and 4.64%, respectively.
Next, the impulse noise is added to the EACP matrix to evaluate the performance of PECAP-TSPD under four different densities. Figure 7 illustrates the results of the ECAP matrices before and after using the PECAP and PECAP-TSPD algorithms at the 40% density of the impulse noise.
The impulse noise with 40% density heavily contaminates the original ECAP matrix (Figure 7a), as shown in Figure 7b, emphasizing the importance of signal processing. The ECAP matrices processed using the PECAP and PECAP-TSPD algorithms are depicted in Figure 7c,d, where the impulse noise is most reduced. When comparing Figure 7c with Figure 7d, the restored ECAP matrix in Figure 7d shows more resemblance to that in Figure 7a than to that in Figure 7c, indicating the satisfactory performance of PECAP-TSPD under adverse noisy environments.
The normalized RMSE results of the ECAP magnitude and neural activity pattern of the impulse noise case are depicted in Figure 8.
Figure 8a presents the ϵ M and ϵ A curves at four distinct densities in Scenario 2 for the unprocessed, PECAP, and PECAP-TSPD approaches, all of which increase as the impulse noise density increases. In the case of 40% impulse noise density, the ϵ M values for unprocessed, PECAP, and PECAP-TSPD are 34.07%, 8.44%, and 2.96%, respectively, displaying the effectiveness of PECAP and PECAP-TSPD in adverse noisy environments. The average normalized RMSE results are depicted in Figure 8b. The maximum values of ϵ ¯ M for the PECAP and PECAP-TSPD algorithms are 6.77% and 4.22%, respectively. For the unprocessed ECAP matrices, the maximum value of ϵ ¯ M is 27.59%, which suggests that PECAP and PECAP-TSPD are robust against noise. The PECAP-TSPD algorithm performs better than the PECAP algorithm because the values of ϵ ¯ M and ϵ ¯ A calculated by PECAP-TSPD are lower than those estimated by PECAP. The mean values of ϵ ¯ M from Scenarios 1 through 7 can be arranged in ascending order as follows: PECAP-TSPD (3.13%), PECAP (5.57%), and unprocessed (21.97%). The mean values of ϵ ¯ A from Scenarios 1 to 7 for PECAP-TSPD and PECAP are 2.39% and 5.23%, respectively. To validate the proposed reordering technique for noise region estimation of ECAP matrices, a three-convolutional-layer neural network for denoising mask estimation is proposed as follows.

4.2. CNN-Based Denoising Mask Estimation

The schematic of the denoising mask estimation of the CNN-based network is presented in Figure 9.
The schematic of the proposed three-convolutional-layer neural network for the denoising mask estimation is inspired by [31,36]; that is, training the two-dimensional kernels as feature maps, which can match the image property, such as the ECAP matrix in this work. Second, learning a mask between 0 and 1 for the CNN-based structure is easier than training on the clean image. The sizes of the input and output data are 22 × 22 . The three training weights are denoted as W 1 , W 2 , and W 3 .
The kernel size is set to 3 × 3 . The rectified linear unit (ReLU) is used as the activation function for each convolutional layer. The clip operator is used in the third convolutional layer to ensure the output value is between 0 and 1. The data size for each convolutional layer is stated in Table 4. The loss function is described in the following equation:
l Θ = 1 2 N s i = 1 N s x i Q y i F 2 ,
where Θ denotes the hyperparameters. N s = 700 denotes the total number of training sample pairs in this work. x i is the i-th clean ECAP matrix and y i is the i-th noisy ECAP matrix. Q is the training denoising mask. is the Hadamard product operator [37]. · F is the Frobenius norm [38]. The results are shown in Figure 10.
Figure 10 shows that the values of the CNN mask are close to one when the probe and the mask’s positions approach the diagonal term (i.e., the same electrode position). The values of the CNN mask become smaller, even reaching zero, if the probe and the mask’s positions are distant. These indicate that the theoretical assumption above can be validated. The neural health and current spread settings in Figure 10 correspond to Scenario 1 in Table 2. The noisy ECAP matrix at 10 dB SNR under the same neural parameter settings is depicted in Figure 11.
The results of the clean ECAP matrix (Figure 5a) suggest that the CNN-based denoising mask (Figure 10) can approximately estimate the signal and noise components from the noisy ECAP matrix (illustrated in Figure 11). TDCC [33] and SSIM [34,35] are used to evaluate the similarity between the CNN-based denoising mask and the clean ECAP matrix, and compare it to that of the noisy ECAP matrix. TDCC and SSIM can be implemented using the corr2 and ssim functions in MATLAB R2018b. The results are described below.
Table 5 shows that the estimated CNN mask is more similar to the clean ECAP matrix than the noisy ECAP matrix. The TDCC and SSIM results offer an empirical justification for the reordering procedure. The low-SNR components are distributed in the off-diagonal region of the noisy ECAP matrix. The high SNR components are distributed in the diagonal region of the noisy ECAP matrix. The above theoretical assumption and the empirical results explain why this study utilizes the descending order operator to select the maximum value of p m . Then, the corresponding value of ( p , m ) -th position of the noisy ECAP matrix can be regarded as the noise to insert the first position of the reordering ECAP vector for further noise reduction using the LSA Wiener filter. The following section discusses the performance with and without LSA Wiener filtering after I-Median filtering.

4.3. LSA Wiener Filtering Improvements After I-Median Filtering

This work explains the importance of applying LSA Wiener filter processing after I-Median filtering in situations involving impulse noise. The results are shown in Figure 12.
In Figure 12, PECAP-CNN refers to the method that integrates the proposed CNN-based denoising mask with PECAP. The PECAP-I-Median method incorporates I-Median filtering into PECAP. In contrast, PECAP-TSPD combines the two-stage preprocessing denoising (TSPD) algorithm with PECAP. Figure 12a shows that the four preprocessing approaches can reduce the RMSE by 16% compared to the unprocessed ECAP data (Unpro). Although the CNN-based denoising mask can estimate the dominant signal and noise regions of the noisy ECAP matrix, directly multiplying the noisy ECAP matrix with the estimated CNN-based denoising mask produces more distortion than the other three preprocessing approaches. That is because the deep learning technique belongs to the nonlinear-based approach. PECAP-I-Median is slightly superior to PECAP, suggesting the effectiveness of the I-Median filtering under impulse noise conditions. PECAP-TSPD performs better than PECAP-I-Median, which indicates that the benefit of LSA Wiener filtering comes when used after the I-Median filtering. The ϵ ¯ M rank is as follows: PECAP-TSPD (1.905%), PECAP-I-Median (4.141%), PECAP (6.779%), PECAP-CNN (10.550%), and Unpro (27.590%). For the auditory neural activity pattern analysis in Figure 12b, the RMSE results of ϵ ¯ A can be ranked as PECAP-TSPD (1.503%), PECAP-I-Median (2.986%), PECAP (6.002%), and PECAP-CNN (7.638%). In addition, this work evaluated the mentioned preprocessing algorithms using TDCC and SSIM. The results are described in Table 6.
Table 6 shows the same trend as Figure 12; that is, the average TDCC and average SSIM rank performances are PECAP-TSPD, PECAP-I-Median, PECAP, and PECAP-CNN. The above results show that the proposed TSPD-PECAP algorithm performs better than PECAP-I-Median in impulse noise situations. This work evaluated the aforementioned preprocessing approaches under random noise conditions. The results are presented in Figure 13.
Figure 13 shows that PECAP and PECAP-I-Median have almost the same performance. For ECAP matrix magnitude analysis, the average RMSE of ϵ ¯ M for PECAP and PECAP-I-Median are 6.172% and 7.031%, respectively. For auditory neural activity pattern analysis, the average RMSE of ϵ ¯ A for PECAP and PECAP-I-Median are 5.347% and 5.055%, respectively. These results indicate that I-Median filtering has a limitation in dealing with various SNR random noise conditions. It emphasizes the necessity of LSA Wiener filtering. The ϵ ¯ M rank is as follows: PECAP-TSPD (1.400%), PECAP (6.172%), PECAP-I-Median (7.031%), PECAP-CNN (8.910%), and Unpro (28.970%). Similarly, the ϵ ¯ A rank is as follows: PECAP-TSPD (1.091%), PECAP-I-Median (5.055%), PECAP (5.347%), and PECAP-CNN (7.551%). TDCC and SSIM are also used to assess the performance of preprocessing approaches. The results of TDCC and SSIM are listed in Table 7.
The results in Table 7 show a similar trend to Figure 13, in that the rank performance in terms of average TDCC is PECAP-TSPD, PECAP-I-Median, PECAP, and PECAP-CNN. The rank performance in terms of average SSIM is PECAP-TSPD, PECAP, PECAP-I-Median, and PECAP-CNN. The proposed PECAP-TSPD algorithm performs robustly in random noise cases with various SNRs.
The window length affects the sensitivity of this proposed method; a shorter window length results in lower frequency resolution, whereas a longer length can lead to a decline in noise power spectral density (PSD) estimation accuracy. The results of the two-dimensional correlation coefficient (TDCC) [33] and the structural similarity index (SSIM) [34,35] with different window sizes are shown in Table 8.
The neural health and current spread settings in Table 8 align with Scenario 2, as detailed in Table 2. The TDCC and SSIM results for a window length of 22 are slightly better than those obtained with a window length of 11. However, when the window length increases to 44, the SSIM value drops significantly, from 0.9920 to 0.5521. Therefore, the window length is set to 22 in this work.
To emulate the real ECAP measurements, the clean ECAP matrix is mixed with measured noise as provided in the following section.

4.4. Experimental Results

This work utilizes the PreSonus Studio 1824c audio interface and the Earthworks Audio M23 omnidirectional measurement microphone to record noise, emulating a real-world ECAP recording scenario. The experimental equipment is shown in Figure 14.
The clean ECAP matrix is mixed with the measured noise at densities of 10%, 20%, 30%, and 40%. The average RMSE results are shown in Figure 15.
Figure 15a shows that the above preprocessing approaches can reduce RMSE by 15% compared to the unprocessed ECAP data (Unpro). The nonlinear-based denoising mask estimation employed by PECAP-CNN results in larger distortion than the other three preprocessing algorithms. The performance rankings of the experimental results are consistent with those shown in Figure 12. The rankings for ϵ ¯ M are as follows: PECAP-TSPD (2.000%), PECAP-I-Median (4.890%), PECAP (6.113%), PECAP-CNN (8.850%), and Unpro (24.030%). For the neural activity pattern analysis presented in Figure 15b, the RMSE results for ϵ ¯ A can be ranked as PECAP-TSPD (1.311%), PECAP-I-Median (3.657%), PECAP (5.405%), and PECAP-CNN (6.585%). The results of TDCC and SSIM are described in Table 9.
Table 9 shows a similar trend to that in Figure 15, where the average TDCC performance ranking is as follows: PECAP-TSPD, PECAP-Median, PECAP, and PECAP-CNN. The average SSIM rank performance is as follows: PECAP-TSPD, PECAP-I-Median, PECAP-CNN, and PECAP. From Figure 12 and Figure 15 (i.e., the simulated and experimental results), the average RMSEs of ECAP magnitudes and auditory neural activity patterns can be ranked as follows: PECAP-TSPD (1.952%, 1.407%), PECAP-I-Median (4.515%, 3.3215%), PECAP (6.446%, 5.7035%), and PECAP-CNN (9.700%, 7.111%). Similarly, the average TDCC and SSIM from Table 6 and Table 9 can be ranked as follows: PECAP-TSPD (0.9988, 0.9931), PECAP-I-Median (0.9949, 0.9470), PECAP (0.9859, 0.8997), and PECAP-CNN (0.9766, 0.8832). These results show that the proposed TSPD algorithm performs well under random noise conditions (Figure 13 and Table 7) and has robust impulse noise resistance.

5. Conclusions

The PECAP-TSPD algorithm, which integrates an improved spatial median filter, the log-spectral amplitude Wiener filter, and the PECAP framework, was developed to reduce noise in ECAP data and enable more accurate estimation of ECAP magnitudes and auditory neural activity patterns from severely corrupted ECAP matrices. A reordering technique was proposed based on the physiological characteristics of ECAP signals to assist LSA Wiener filtering in the second denoising stage, aiming to estimate the noise region of the ECAP matrix. The effectiveness of this estimation was verified using the proposed CNN-based denoising mask. Quantitative evaluations using normalized root mean square error (RMSE) for ECAP magnitude ( ϵ M ) and auditory neural activity pattern ( ϵ A ) revealed that both PECAP and PECAP-TSPD significantly reduce error metrics compared to unprocessed data across various signal-to-noise ratios (SNRs), noise densities, and test scenarios. PECAP-TSPD consistently outperformed PECAP in terms of both ϵ M and ϵ A . For ECAP matrices contaminated by random noise, the average ϵ ¯ M values across seven scenarios and twelve SNR levels were as follows: PECAP-TSPD (3.83%), PECAP (5.14%), and unprocessed (23.07%). Under impulse noise, the corresponding values were as follows: PECAP-TSPD (3.13%), PECAP (5.57%), and unprocessed (21.97%). Similarly, the average ϵ ¯ A under random noise was 3.01% for PECAP-TSPD and 4.64% for PECAP, while, under impulse noise, the values were 2.39% and 5.23%, respectively. The simulated and experimental results also showed that the proposed TSPD algorithm performs best in terms of RMSE ( ϵ ¯ M = 1.952%, ϵ ¯ A = 1.407%), TDCC (0.9988), and SSIM (0.9931), when compared to the baselines (PECAP, PECAP-I-Median, and PECAP-CNN). Future work will include validating the proposed PECAP-TSPD algorithm using clinical ECAP data to assess its robustness and practical applicability in real-world auditory diagnostic contexts.

Funding

The research and APC were funded by the National Science and Technology Council (NSTC) of Taiwan (grant number NSTC 113-2222-E-027-010).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data supporting this study’s findings are available from the corresponding author upon reasonable request.

Acknowledgments

The author, Fan-Jie Kung, gratefully acknowledges the valuable comments and suggestions provided by the reviewers, which helped improve the quality of this article.

Conflicts of Interest

The author declares no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ECAPElectrically evoked compound action potential
PECAPPanoramic ECAP
CICochlear implant
SNRSignal-to-noise ratio
TSPDTwo-stage preprocessing denoising algorithm
LSALog-spectral amplitude
RMSERoot mean square error
UnproUnprocessed data
I-MedianImproved median filtering
CNNConvolutional neural network
TDCCTwo-dimensional correlation coefficient
SSIMStructural similarity index

References

  1. Liebscher, T.; Hornung, J.; Hoppe, U. Electrically evoked compound action potentials in cochlear implant users with preoperative residual hearing. Front. Hum. Neurosci. 2023, 17, 1125747. [Google Scholar] [CrossRef] [PubMed]
  2. He, S.; Teagle, H.F.B.; Bunchman, C.A. The electrically evoked compound action potential: From laboratory to clinic. Front. Neurosci. 2017, 11, 339. [Google Scholar] [CrossRef] [PubMed]
  3. Hughes, M.L. Fundamentals of Clinical ECAP Measures in Cochlear Implants: Part 1: Use of the ECAP in Speech Processor Programming (2nd ed.). Available online: https://www.audiologyonline.com/articles/fundamentals-clinical-ecap-measures-in-846 (accessed on 13 February 2025).
  4. DeVries, L.; Scheperle, R.; Bierer, J.A. Assessing the electrode-neuron interface with the electrically evoked compound action potential, electrode position, and behavioral thresholds. J. Assoc. Res. Otolaryngol. 2016, 22, 237–252. [Google Scholar] [CrossRef]
  5. Choi, C.T.M.; Wu, D.L. Electrically evoked compound action potential studies based on finite element and neuron models. IEEE Trans. Magn. 2022, 58, 7501404. [Google Scholar] [CrossRef]
  6. Garcia, C. The Panoramic ECAP Method: Estimating Patient-Specific Patterns of Current Spread and Neural Health in Cochlear-Implant Users. Ph.D. Dissertation, University of Cambridge, Cambridge, UK, 2022. [Google Scholar]
  7. Dong, Y.; Briaire, J.J.; Stronks, H.C.; Frijns, H.M. Speech perception performance in cochlear implant recipients correlates to the number and synchrony of excited auditory nerve fibers derived from electrically evoked compound action potentials. Ear Hear. 2023, 44, 276–286. [Google Scholar] [CrossRef]
  8. Takanen, M.; Strahl, S.; Schwarz, K. Insights into electrophysiological metrics of cochlear health in cochlear implant users using a computational model. J. Assoc. Res. Otolaryngol. 2024, 25, 63–78. [Google Scholar] [CrossRef] [PubMed]
  9. Takanen, M.; Seeber, B.U. A phenomenological model reproducing temporal response characteristics of an electrically stimulated auditory nerve fiber. Trends Hear. 2022, 26, 23312165221117079. [Google Scholar] [CrossRef]
  10. Garcia, C.; Deeks, J.M.; Goehring, T.; Borsetto, D.; Bance, M.; Carlyon, R.P. SpeedCAP: An efficient method for estimating neural activation patterns using electrically evoked compound action-potentials in cochlear implant users. Ear Hear. 2023, 44, 627–640. [Google Scholar] [CrossRef]
  11. Cosentino, S.; Gaudrain, E.; Deeks, J.M.; Carlyon, R.P. Multistage nonlinear optimization to recover neural activation patterns from evoked compound action potentials of cochlear implant users. IEEE Trans. Biomed. Eng. 2015, 63, 833–840. [Google Scholar] [CrossRef]
  12. Garcia, C.; Goehring, T.; Cosentino, S.; Turner, R.E.; Deeks, J.M.; Brochier, T.; Rughooputh, T.; Bance, M.; Carlyon, R.P. The panoramic ECAP method: Estimating patient-specific patterns of current spread and neural health in cochlear implant users. J. Assoc. Res. Otolaryngol. 2021, 22, 567–589. [Google Scholar] [CrossRef]
  13. Isnanto, R.R.; Windarto, Y.E.; Mangkuratmaja, M.V. Assessment on image quality changes as a results of implementing median filtering, Wiener filtering, histogram equalization, and hybrid methods on noisy images. In Proceedings of the International Conference on Information Technology, Computer, and Electrical Engineering, Semarang, Indonesia, 24–25 September 2020. [Google Scholar]
  14. Gupta, G. Algorithm for image processing using improved median filter and comparison of mean, median and improved median filter. Int. J. Soft Comput. Eng. 2011, 1, 304–311. [Google Scholar]
  15. Sun, M. Comparison of processing results of median filter and mean filter on Gaussian noise. Appl. Comput. Eng. 2023, 5, 779–785. [Google Scholar] [CrossRef]
  16. Hou, Y.; Li, Q.; Zhang, C.; Lu, G.; Ye, Z.; Chen, Y.; Wang, L.; Cao, D. The state-of-the-art review on applications of intrusive sensing, image processing techniques, and machine learning methods in pavement monitoring and analysis. Engineering 2021, 7, 845–856. [Google Scholar] [CrossRef]
  17. Zhu, Y.; Huang, C. An improved median filtering algorithm for image noise reduction. Phys. Procedia 2021, 25, 609–616. [Google Scholar] [CrossRef]
  18. Jiang, D. A study on Adaptive Filtering for Noise and Echo Cancellation. Master’s Thesis, University of Windsor, Windsor, ON, Canada, 2005. [Google Scholar]
  19. Yazdanpanah, H.; Diniz, P.S.R. Recursive least-squares algorithms for sparse system modeling. In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, New Orleans, LA, USA, 5–9 March 2017. [Google Scholar]
  20. Creighton, J.; Doraiswami, R. Real time implementation of an adaptive filter for speech enhancement. In Proceedings of the Canadian Conference on Electrical and Computer Engineering, Niagara Falls, ON, Canada, 2–5 May 2004. [Google Scholar]
  21. Wang, P.; Kam, P.-Y. An automatic step-size adjustment algorithm for LMS adaptive filters, and an application to channel estimation. Phys. Commun. 2012, 5, 280–286. [Google Scholar] [CrossRef]
  22. Loizou, P.C. Speech Enhancement: Theory and Practice, 1st ed.; CRC Press: New York, NY, USA, 2007; pp. 143–208. [Google Scholar]
  23. Benesty, J.; Chen, J.; Huang, Y. Microphone Array Signal Processing; Springer: Berlin/Heidelberg, Germany, 2008; pp. 8–15. [Google Scholar]
  24. Ephraim, Y.; Malah, D. Speech enhancement using a minimum mean-square error log-spectral amplitude estimator. IEEE Trans. Acoust. Speech Signal Process. 1985, 33, 443–445. [Google Scholar] [CrossRef]
  25. Borgström, B.J.; Alwan, A. Log-spectral amplitude estimation with Generalized Gamma distributions for speech enhancement. In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, Prague, Czech Republic, 22–27 May 2011. [Google Scholar]
  26. Hirszhorn, A.; Dov, D.; Talmon, R.; Cohen, I. Transient interference suppression in speech signals based on the OM-LSA algorithm. In Proceedings of the International Workshop on Acoustic Echo and Noise Control, Aachen, Germany, 4–6 September 2012. [Google Scholar]
  27. Hsu, Y.; Bai, M.R. Learning-based robust speaker counting and separation with the aid of spatial coherence. EURASIP J. Audio Speech Music. Process. 2023, 2023, 36. [Google Scholar] [CrossRef]
  28. Hsu, Y.; Lee, Y.; Bai, M.R. Array configuration-agnostic personalized speech enhancement using long-short-term spatial coherence. J. Acoust. Soc. Am. 2023, 154, 2499–2511. [Google Scholar] [CrossRef] [PubMed]
  29. Richard, G.; Smaragdis, P.; Gannot, S.; Naylor, P.A.; Makino, S.; Kellermann, W.; Sugiyama, A. Audio signal processing in the 21st century: The important outcomes of the past 25 years. IEEE Signal Process. Mag. 2023, 40, 12–26. [Google Scholar] [CrossRef]
  30. Gannot, S.; Tan, Z.-H.; Haardt, M.; Chen, N.F.; Wai, H.-T.; Tashev, I.; Kellermann, W.; Dauwels, J. Data science education: The signal processing perspective. IEEE Signal Process. Mag. 2023, 40, 89–93. [Google Scholar] [CrossRef]
  31. Tan, K.; Wang, D. A convolutional recurrent neural network for real-time speech enhancement. In Proceedings of the Interspeech, Hyderabad, India, 2–6 September 2018. [Google Scholar]
  32. Bianco, M.J.; Gerstoft, P.; Traer, J.; Ozanich, E.; Roch, M.A.; Gannot, S.; Deledalle, C.-A. Machine learning in acoustics: Theory and applications. J. Acoust. Soc. Am. 2019, 146, 3590–3628. [Google Scholar] [CrossRef] [PubMed]
  33. Lewis, J.P. Fast Template Matching. In Proceedings of the Vision Interface 95, Canadian Image Processing and Pattern Recognition Society, Quebec City, QC, Canada, 15–19 May 1995. [Google Scholar]
  34. Wang, Z.; Bovik, A.C.; Sheikh, H.R.; Simoncelli, E.P. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar] [CrossRef] [PubMed]
  35. Brunet, D.; Vass, J.; Vrscay, E.R.; Wang, Z. On the mathematical properties of the structural similarity index. IEEE Trans. Image Process. 2012, 21, 1488–1499. [Google Scholar] [CrossRef] [PubMed]
  36. Zhang, K.; Zuo, W.; Chen, Y.; Meng, D.; Zhang, L. Beyond a Gaussian denoiser: Residual learning of deep CNN for image denoising. IEEE Trans. Image Process. 2017, 26, 3142–3155. [Google Scholar] [CrossRef]
  37. Fang, M.Z. Some results on the Hadamard product of tensors. Bull. Iran. Math. Soc. 2019, 45, 1193–1219. [Google Scholar]
  38. Feng, X.; Huang, Z.; He, J.; Xue, D. Efficient direct position determination using Frobenius norm approximation. Electron. Lett. 2022, 58, 402–404. [Google Scholar] [CrossRef]
Figure 1. Illustration of an ECAP matrix simulation. The x-axis represents the masker electrode position (from Electrode 22 to Electrode 1), and the y-axis represents the prob electrode position (from Electrode 1 to Electrode 22) [12].
Figure 1. Illustration of an ECAP matrix simulation. The x-axis represents the masker electrode position (from Electrode 22 to Electrode 1), and the y-axis represents the prob electrode position (from Electrode 1 to Electrode 22) [12].
Sensors 25 03523 g001
Figure 2. Schematic illustration of the overlapping area stimulated by the probe and the masker. Gaussian distributions represent the auditory neuron responses, and the shaded overlapping region indicates the ECAP response [6].
Figure 2. Schematic illustration of the overlapping area stimulated by the probe and the masker. Gaussian distributions represent the auditory neuron responses, and the shaded overlapping region indicates the ECAP response [6].
Sensors 25 03523 g002
Figure 3. Block diagram of neural parameter estimation in the ECAP matrix using the SQP algorithm [6,12].
Figure 3. Block diagram of neural parameter estimation in the ECAP matrix using the SQP algorithm [6,12].
Sensors 25 03523 g003
Figure 4. Block diagram of parameter estimation under additive noise scenarios using the SQP algorithm [11,12].
Figure 4. Block diagram of parameter estimation under additive noise scenarios using the SQP algorithm [11,12].
Sensors 25 03523 g004
Figure 5. Results of (a) the ECAP matrix at 100 dB SNR, (b) the noisy ECAP matrix at −5 dB SNR, (c) the ECAP matrix processed using the PECAP method at −5 dB SNR, and (d) the ECAP matrix processed using the TSPD method at −5 dB. The neural health and current spread settings correspond to Scenario 1 listed in Table 2.
Figure 5. Results of (a) the ECAP matrix at 100 dB SNR, (b) the noisy ECAP matrix at −5 dB SNR, (c) the ECAP matrix processed using the PECAP method at −5 dB SNR, and (d) the ECAP matrix processed using the TSPD method at −5 dB. The neural health and current spread settings correspond to Scenario 1 listed in Table 2.
Sensors 25 03523 g005aSensors 25 03523 g005b
Figure 6. Normalized RMSE and average normalized RMSE of ECAP magnitudes and auditory neural activity patterns under twelve SNR conditions: (a) in Scenario 1 and (b) across Scenarios 1 to 7. The unprocessed ECAP matrices are compared with the baseline PECAP and the proposed PECAP−TSPD methods. Parameter settings for each scenario are provided in Table 2.
Figure 6. Normalized RMSE and average normalized RMSE of ECAP magnitudes and auditory neural activity patterns under twelve SNR conditions: (a) in Scenario 1 and (b) across Scenarios 1 to 7. The unprocessed ECAP matrices are compared with the baseline PECAP and the proposed PECAP−TSPD methods. Parameter settings for each scenario are provided in Table 2.
Sensors 25 03523 g006
Figure 7. ECAP matrix results under impulse noise conditions: (a) no impulse noise, (b) impulse noise with 40% density, (c) ECAP matrix processed using the PECAP method under 40% density impulse noise, and (d) ECAP matrix processed using the PECAP−TSPD method under 40% density impulse noise. The neural health and current spread settings correspond to Scenario 2 in Table 2.
Figure 7. ECAP matrix results under impulse noise conditions: (a) no impulse noise, (b) impulse noise with 40% density, (c) ECAP matrix processed using the PECAP method under 40% density impulse noise, and (d) ECAP matrix processed using the PECAP−TSPD method under 40% density impulse noise. The neural health and current spread settings correspond to Scenario 2 in Table 2.
Sensors 25 03523 g007
Figure 8. Normalized RMSE and average normalized RMSE of ECAP magnitudes and auditory neural activity patterns under four impulse noise densities: (a) in Scenario 2 and (b) across Scenarios 1 to 7. The unprocessed ECAP matrices are compared with the PECAP and PECAP-TSPD algorithms. The parameter settings for each scenario are listed in Table 2.
Figure 8. Normalized RMSE and average normalized RMSE of ECAP magnitudes and auditory neural activity patterns under four impulse noise densities: (a) in Scenario 2 and (b) across Scenarios 1 to 7. The unprocessed ECAP matrices are compared with the PECAP and PECAP-TSPD algorithms. The parameter settings for each scenario are listed in Table 2.
Sensors 25 03523 g008
Figure 9. Schematic of the three−convolutional−layer denoising mask.
Figure 9. Schematic of the three−convolutional−layer denoising mask.
Sensors 25 03523 g009
Figure 10. The convolutional neural network (CNN)-based denoising mask at 10 dB SNR. The mask values lie within the range from 0 to 1.
Figure 10. The convolutional neural network (CNN)-based denoising mask at 10 dB SNR. The mask values lie within the range from 0 to 1.
Sensors 25 03523 g010
Figure 11. Results of the noisy ECAP matrix. The SNR is set to 10 dB. The neural health and current spread settings correspond to Scenario 1, as presented in Table 2.
Figure 11. Results of the noisy ECAP matrix. The SNR is set to 10 dB. The neural health and current spread settings correspond to Scenario 1, as presented in Table 2.
Sensors 25 03523 g011
Figure 12. Average RMSE results of (a) ECAP matrix magnitude and (b) auditory neural activity pattern. Unprocessed ECAP data and ECAP data processed with PECAP-CNN, PECAP, PECAP-I-Median, and PECAP-TSPD are used. The clean ECAP matrix is mixed with impulse noise at densities of 10%, 20%, 30%, and 40%. The neural health and current spread settings correspond to Scenario 2, as presented in Table 2.
Figure 12. Average RMSE results of (a) ECAP matrix magnitude and (b) auditory neural activity pattern. Unprocessed ECAP data and ECAP data processed with PECAP-CNN, PECAP, PECAP-I-Median, and PECAP-TSPD are used. The clean ECAP matrix is mixed with impulse noise at densities of 10%, 20%, 30%, and 40%. The neural health and current spread settings correspond to Scenario 2, as presented in Table 2.
Sensors 25 03523 g012
Figure 13. Average RMSE results of (a) ECAP matrix magnitude and (b) auditory neural activity pattern. Unprocessed ECAP data and ECAP data processed with PECAP-CNN, PECAP, PECAP-I-Median, and PECAP-TSPD are used. The clean ECAP matrix is combined with random noise at SNRs of −5 dB, −2 dB, 1 dB, 4 dB, 7 dB, 10 dB, 13 dB, 16 dB, 19 dB, 22 dB, 25 dB, and 100 dB. The neural health and current spread settings correspond to Scenario 2, as detailed in Table 2.
Figure 13. Average RMSE results of (a) ECAP matrix magnitude and (b) auditory neural activity pattern. Unprocessed ECAP data and ECAP data processed with PECAP-CNN, PECAP, PECAP-I-Median, and PECAP-TSPD are used. The clean ECAP matrix is combined with random noise at SNRs of −5 dB, −2 dB, 1 dB, 4 dB, 7 dB, 10 dB, 13 dB, 16 dB, 19 dB, 22 dB, 25 dB, and 100 dB. The neural health and current spread settings correspond to Scenario 2, as detailed in Table 2.
Sensors 25 03523 g013
Figure 14. Experimental equipment of (a) PreSonus Studio 1824c audio interface and (b) Earthworks Audio M23 omnidirectional measurement microphone.
Figure 14. Experimental equipment of (a) PreSonus Studio 1824c audio interface and (b) Earthworks Audio M23 omnidirectional measurement microphone.
Sensors 25 03523 g014
Figure 15. The average RMSE experimental results of (a) ECAP matrix magnitude and (b) auditory neural activity pattern. Both unprocessed ECAP data and ECAP data processed with PECAP-CNN, PECAP, PECAP-I-Median, and PECAP-TSPD are evaluated. The clean ECAP matrix is mixed with measured noise at densities of 10%, 20%, 30%, and 40%. The neural health and current spread settings correspond to Scenario 2, as described in Table 2.
Figure 15. The average RMSE experimental results of (a) ECAP matrix magnitude and (b) auditory neural activity pattern. Both unprocessed ECAP data and ECAP data processed with PECAP-CNN, PECAP, PECAP-I-Median, and PECAP-TSPD are evaluated. The clean ECAP matrix is mixed with measured noise at densities of 10%, 20%, 30%, and 40%. The neural health and current spread settings correspond to Scenario 2, as described in Table 2.
Sensors 25 03523 g015
Table 1. Steps of the LSA Wiener filtering algorithm [24,25,26].
Table 1. Steps of the LSA Wiener filtering algorithm [24,25,26].
Step 1. Initialization of P u k = 1 N u l = 1 N u Y m ( l , k ) 2 for each frequency bin
For each l and k :
Step 2. Estimation of γ l , k
If l = 1 , then γ l , k = Y m ( l , k ) 2 P u k , else γ l , k = Y m ( l , k ) 2 P u l 1 , k
Step 3. Estimation of ξ ^ l , k using Equation (16)
If l = 1 , then Equation (16) can be rewritten as ξ ^ l , k = ( 1 α ) m a x γ l , k 1 , 0
Step 4. check the VAD criterion
If l = 1 N t Λ l , k < ε 1 , then using Equation (20) for updating P u l , k
Step 5. Calculation of H L S A l , k using Equation (15)
Step 6. Calculation of X ^ l , k using Equation (21)
End for
Table 2. Neural health and current spread settings used in different scenarios.
Table 2. Neural health and current spread settings used in different scenarios.
Scenario 1: η i = 1 , σ i = 1.5 , i = 1 , 2 , , N , where N = 22 in this study.
Scenario 2: η i = 1 , σ i = 2.5 , i = 1 , 2 , , N .
Scenario 3: η i = 1 , i = 1 , 2 , , 13 , 21 , 22 .
η 14 = η 20 = 0.75 , η 15 = η 19 = 0.50 , η 16 = η 18 = 0.25 , η 17 = 0.10 .
σ i = 1.5 , i = 1 , 2 , , N .
Scenario 4: η i = 1 , i = 1 , 2 , , 13 , 21 , 22 .
η 14 = η 20 = 0.75 , η 15 = η 19 = 0.50 , η 16 = η 18 = 0.25 , η 17 = 0.10 .
σ i = 2.5 , i = 1 , 2 , , N .
Scenario 5: η i = 1 , i = 1 , 2 , , 18 .
η 19 = 0.75 , η 20 = 0.50 , η 21 = 0.25 , η 22 = 0.10 .
σ i = 1.5 , i = 1 , 2 , , N .
Scenario 6: η i = 1 , i = 1 , 2 , , 18 .
η 19 = 0.75 , η 20 = 0.50 , η 21 = 0.25 , η 22 = 0.10 .
σ i = 2.5 , i = 1 , 2 , , N .
Scenario 7: η i = 0.5 , i = 1 , 2 , , 12 , 15 , 22 .
η 13 = 0.6 , η 14 = 0.7 , η 16 = η 21 = 0.4 , η 17 = η 20 = 0.3 , η 18 = η 19 = 0.2 .
σ 1 = 1.5 , σ i = 2.5 0.05 i 1 , i = 2 , , N
Table 3. RMSE results of PECAP and PECAP-TSPD under 16, 19, 22, and 25 SNRs. The neural health and current spread settings correspond to Scenario 1, as described in Table 2.
Table 3. RMSE results of PECAP and PECAP-TSPD under 16, 19, 22, and 25 SNRs. The neural health and current spread settings correspond to Scenario 1, as described in Table 2.
SNR = 16 dBSNR = 19 dBSNR = 22 dBSNR = 25 dB
PECAP1.1842%1.2858%0.9113%0.6459%
PECAP-TSPD1.4958%1.1209%0.8892%0.7239%
Table 4. Architecture of the proposed three-convolutional-layer network for noise reduction mask estimation.
Table 4. Architecture of the proposed three-convolutional-layer network for noise reduction mask estimation.
Layer NameInput SizeHyperparametersOutput Size
Reshape 22 × 22 22 × 22 × 1
Conv 1 22 × 22 × 1 3 × 3 × 1 × 20 22 × 22 × 20
Conv 2 22 × 22 × 20 3 × 3 × 20 × 20 22 × 22 × 20
Conv 3 22 × 22 × 20 3 × 3 × 20 × 1 22 × 22 × 1
Reshape 22 × 22 × 1 22 × 22
Table 5. TDCC and SSIM results of the CNN-based denoising mask for the clean ECAP matrix and the noisy ECAP matrix.
Table 5. TDCC and SSIM results of the CNN-based denoising mask for the clean ECAP matrix and the noisy ECAP matrix.
TDCC
Clean ECAP matrixNoisy ECAP matrix
CNN mask0.95530.8888
SSIM
Clean ECAP matrixNoisy ECAP matrix
CNN mask0.57640.3691
Table 6. Average TDCC and SSIM results of PECAP-CNN, PECAP, PECAP-I-Median, and PECAP-TSPD under impulse noise conditions with densities of 10%, 20%, 30%, and 40%.
Table 6. Average TDCC and SSIM results of PECAP-CNN, PECAP, PECAP-I-Median, and PECAP-TSPD under impulse noise conditions with densities of 10%, 20%, 30%, and 40%.
PECAP-CNNPECAPPECAP-I-MedianPECAP-TSPD
Average TDCC0.97330.98550.99590.9988
PECAP-CNNPECAPPECAP-I-MedianPECAP-TSPD
Average SSIM0.87270.91660.96780.9929
Table 7. Average TDCC and SSIM results of PECAP-CNN, PECAP, PECAP-I-Median, and PECAP-TSPD under random noise conditions with SNRs of −5 dB, −2 dB, 1 dB, 4 dB, 7 dB, 10 dB, 13 dB, 16 dB, 19 dB, 22 dB, 25 dB, and 100 dB.
Table 7. Average TDCC and SSIM results of PECAP-CNN, PECAP, PECAP-I-Median, and PECAP-TSPD under random noise conditions with SNRs of −5 dB, −2 dB, 1 dB, 4 dB, 7 dB, 10 dB, 13 dB, 16 dB, 19 dB, 22 dB, 25 dB, and 100 dB.
PECAP-CNNPECAPPECAP-I-MedianPECAP-TSPD
Average TDCC0.96200.97090.98050.9993
PECAP-CNNPECAPPECAP-I-MedianPECAP-TSPD
Average SSIM0.85660.87440.87090.9952
Table 8. TDCC and SSIM results of PECAP-TSPD with rectangular windows of lengths 11, 22, and 44. SNR = −5 dB.
Table 8. TDCC and SSIM results of PECAP-TSPD with rectangular windows of lengths 11, 22, and 44. SNR = −5 dB.
N w = 11 N w = 22 N w = 44
TDCC0.99520.99890.9331
SSIM0.95200.99200.5521
Table 9. Average TDCC and SSIM results of PECAP-CNN, PECAP, PECAP-I-Median, and PECAP-TSPD under measured noise conditions with densities of 10%, 20%, 30%, and 40%.
Table 9. Average TDCC and SSIM results of PECAP-CNN, PECAP, PECAP-I-Median, and PECAP-TSPD under measured noise conditions with densities of 10%, 20%, 30%, and 40%.
PECAP-CNNPECAPPECAP-I-MedianPECAP-TSPD
Average TDCC0.97990.98640.99400.9988
PECAP-CNNPECAPPECAP-I-MedianPECAP-TSPD
Average SSIM0.89380.88280.92620.9934
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kung, F.-J. An Integrated Spatial-Spectral Denoising Framework for Robust Electrically Evoked Compound Action Potential Enhancement and Auditory Parameter Estimation. Sensors 2025, 25, 3523. https://doi.org/10.3390/s25113523

AMA Style

Kung F-J. An Integrated Spatial-Spectral Denoising Framework for Robust Electrically Evoked Compound Action Potential Enhancement and Auditory Parameter Estimation. Sensors. 2025; 25(11):3523. https://doi.org/10.3390/s25113523

Chicago/Turabian Style

Kung, Fan-Jie. 2025. "An Integrated Spatial-Spectral Denoising Framework for Robust Electrically Evoked Compound Action Potential Enhancement and Auditory Parameter Estimation" Sensors 25, no. 11: 3523. https://doi.org/10.3390/s25113523

APA Style

Kung, F.-J. (2025). An Integrated Spatial-Spectral Denoising Framework for Robust Electrically Evoked Compound Action Potential Enhancement and Auditory Parameter Estimation. Sensors, 25(11), 3523. https://doi.org/10.3390/s25113523

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