1. A method comprising: determining, with a processor, a number of preceding, consecutive frames during which a an associated filtered value has been greater than a current value of a current frame or the number of preceding, consecutive frames during which the associated filtered value has been less than the current value of the current frame, wherein determining the number of preceding, consecutive frames comprises maintaining a first counter of the number of preceding, consecutive frames during which the associated filtered value has been greater than the current value of the current frame or maintaining a second counter of the number of preceding, consecutive frames during which the associated filtered value has been less than the current value of the current frame; determining a weight based upon the number of preceding, consecutive frames, wherein the weight varies in a direct relationship to the number of preceding, consecutive frames; determining a filtered value of the current frame based upon a combination of the weight and a difference between a prior filtered value associated with a previous frame and the current value of the current frame; and resetting at least one of the first and second counters in an instance in which the filtered value associated with the proceeding, consecutive frames equals or exceeds the current value of the current frame.