|
Algorithm 1 Wheezing sound separation using IIS-NMPCF. |
|
Require: , , , , , , , and M.
-
1)
Compute the normalized magnitude spectrogram of the mixture .
-
2)
Compute the normalized magnitude spectrogram of the training .
-
3)
Divide the spectrogram into L-segments , , …, using AMIE_SEG [53].
-
4)
Classify the L-segments into wheezing () and non-wheezing () using a wheezing detection algorithm [54].
-
5)
Initialize each activation and basis matrix , , , , with random non-negative values.
-
6)
Update each activation and basis matrix , , , , using Equations (9)–(13) for the predefined number of iterations M. At each iteration, normalize each activation and basis matrix , , , , and update the terms , and using Equations (14) and (15).
-
7)
Compute the estimated magnitude spectrograms and .
-
8)
Denormalize the estimated magnitude spectrograms and .
-
9)
Apply a Wiener filtering [32] on and .
-
10)
Concatenate all the estimated complex respiratory spectrograms: .
-
11)
Concatenate all the estimated complex wheezing spectrograms: .
-
12)
Synthesize .
-
13)
Synthesize .
return
and
|