1. A method for removing noise in a video or image sequence, the method comprising: receiving, at an encoder, a current frame comprising a plurality of current pixels and a previous frame comprising a plurality of previous pixels corresponding to the current pixels; computing, for each current pixel of the current pixels, a similarity term for bilateral filtering using the previous pixels; and applying a recursive bilateral filter to each current pixels using the similarity term for bilateral filtering.