Fig. 4.
Non-maximum suppression: we utilise the Matlab function ‘findpeaks’ as a reference implementation for non-maximum suppression. That is, from a local maximum on , the horizontal distance to is measured to define left and right intervals is defined likewise. Subsequently, max() is taken as a reference level. The prominence of each local maximum is then computed as the difference between the value of at the local maximum and the reference level. Low prominence peaks are suppressed. If either interval reaches the end of the signal, we set its minimum to be zero