Skip to main content
. 2020 Mar 17;20(6):1662. doi: 10.3390/s20061662
Algorithm 1 WCF Algorithm
 1: INITIALIZATION:
 2: Sensor number: i=1; Number of sensors: n; Number of decomposition levels: N.
 3: read Ten sets of measured data (z1z10).
 4: load Filter coefficient (gd,hd).
 5: WAVELET DECOMPOSITION:
 6: repeat
 7: Perform multiscale wavelet compression on zi.
 8: Obtain compression signal data ci,N and detailed part di=[di,Ndi,1] of the wavelet composition.
 9: ii+1.
 10: untili=n.
 11: FUSION ESTIMATION:
 12: Conduct data fusion on c1,Ncn,N and obtain the fusion estimate cN.
 13: Obtain the average d of d1dn.
 14: Obtain optimal estimation x=[cN dN¯d1¯] of wavelet coefficients after fusion estimation.
 15: Construct a threshold function and obtain the fused global threshold T. Then, perform threshold processing on x; the result is x.
 16: SIGNAL RECONSTRUCTION:
 17: repeat
 18:  Take the inverse wavelet transform.
 19:  Update the wavelet coefficients.
 20: NN1.
 21: untilN=0.
 22: END