A method can include selecting a block of pixels. It may be determined
whether the block of pixels contains an edge pixel. If the block of
pixels contains an edge pixel, a first pixel may be selected among the
block of pixels. If it is determined that the first pixel is a ringing
noise pixel, a ringing filter may be applied. An edge-preserved filter
may be applied if the first pixel is not a ringing noise pixel.