Signal processing pseudo-differential sampling pseudo-random scanning order noise filtering, can be any of averaging (integration) slewrate limiter median filter low pass filter to update background level button state machine