Median Filter Super efficient implementation
I am looking for a Ansi C implementation of a fast/efficient median filter. Any pointers? So far, I have found the following implementation, which is good but I am curious on faster ones. I only need for 1 dimension. I needed to extract a signal from very noisy CPU consumption data. Here's the Jeff McClintock median filter... Initialize the average and median to zero, then for each sample 'inch' the median toward the input sample by a small increment. Eventually it will settle at a point where about 50% of the input samples are greater, and 50% are less than the median. The size of the