METHOD FOR IMPROVING THE DERINGING FILTER
The present invention relates to a method for filtering ringing artifacts in a reconstructed pixel edge block comprising the steps of: (a) providing said edge block; (b) determining a threshold as a function of the pixel values in said edge block; (c) mapping each pixel, of said edge block, to a corresponding binary index according to its value and said threshold; (d) scanning using a window, a first binary index of said mapped edge block and its surrounding indices; (e) determining if all entrapped binary indices of said window are uniform; (f) if not all entrapped binary indices of said window are uniform, scanning using a sub window that entraps said first binary index, within said window, for determining if all entrapped binary indices of said sub window are uniform; and (g) if all entrapped binary indices of said sub window are uniform, filtering the pixel that corresponds to said first binary index with the pixel values that correspond to the binary indices entrapped in said sub window.
1 . A method for filtering ringing artifacts in a reconstructed pixel edge block comprising the steps of:
a. providing said edge block;
b. determining a threshold as a function of the pixel values in said edge block;
c. mapping each pixel, of said edge block, to a corresponding binary index according to its value and said threshold;
d. scanning using a window, a first binary index of said mapped edge block and its surrounding indices;
e. determining if all entrapped binary indices of said window are uniform;
f. if not all entrapped binary indices of said window are uniform, scanning using a sub window that entraps said first binary index, within said window, for determining if all entrapped binary indices of said sub window are uniform; and
g. if all entrapped binary indices of said sub window are uniform, filtering the pixel that corresponds to said first binary index with the pixel values that correspond to the binary indices entrapped in said sub window.
2 . A method according to claim 1 , where the window is a square window of M*M.
3 . A method according to claim 1 , where the window is a triangular window of M*N.
4 . A method according to claim 2 , where the window is square window of 3*3.
5 . A method according to claim 1 , where the sub window is a square window of M*M.
6 . A method according to claim 1 , where the sub window is a triangular window of M*N.
7 . A method according to claim 5 , where the sub window is square window of 2*2.
8 . A method according to claim 1 , where the scanning using a sub window is applied more than once.
9 . A method according to claim 8 , where the scanning using a sub window is applied using different sizes of sub windows.