Top Percentile Filter

Local Algorithm - One-Dimensional Algorithm

Top Percentile Filter algorithm replaces the original data values with a chosen percentile of a certain number of neighbor points (e.g. their left M and right M data points). Note that the choice of filter width L=2M+1 has a great impact on the processed results. It is equivalent to the Centered Moving Median algorithm if the 50th percentile is chosen.

Input Parameters

Parameter Type Constraint Description Remarks
Y[n] Y[n]RN NN Input data sequence of length N  
L LN L=2M+1,MN    
p pR 0p1 A specified percentile of a certain number of data points considered  

Output Parameters

Parameter Type Constraint Description Remarks
ˆY[n] ˆY[n]RN NN Output data sequence of length N  

Tool Support

Single Steps using the Algorithm