METHOD AND DEVICE FOR AVOIDING ROUNDING ERRORS AFTER PERFORMING AN INVERSE DISCRETE ORTHOGONAL TRANSFORMATION
First Claim
1. Method for avoiding rounding errors during rounding of values after performing an inverse discrete orthogonal transformation (7, 23), wherein the method comprises the following steps in the following order:
- a) Transforming a block of coefficients (F′
[u][v]) into a block of image pixel values (f′
[y][x]) by means of an inverse discrete orthogonal transformation (7, 23), wherein each image pixel comprises a image pixel value (S1).b) Calculating a product of the block of image pixel values (f′
[y][x]) with a first pixel pattern (A[y][x]) (S2);
c) summing up the product values of step b) (S3) to a first sum (Sum1′
);
d) determining whether the first sum (Sum1′
) is even or odd (S4); and
e) if the first sum (Sum1′
) is even, adding or subtracting a block of manipulation values (C[y][x]) to the block of image pixel values (f′
[y][x]) for generating a manipulated block of image pixel values (f[y][x]), wherein the block of manipulation values (C[y][x]) is formed in such a way that rounding errors in a subsequent rounding operation are minimized (S11, S12, S13).
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a method for avoiding rounding errors during rounding of values after performing an inverse discrete orthogonal transformation. In a first step, a block of coefficients (F′[u][v]) is transformed into a block of image pixel values (f′[y][x]) by means of an inverse discrete orthogonal transformation, wherein each image pixel comprises an image pixel value. In a second step, a product of the block of image pixel values (f′[y][x]) with a first pixel pattern (A[y][x]) is calculated. In a third step, the product values of the second step are summed up to a first sum (Sum1′). In a fourth step, it is determined whether the first sum (Sum1′) is even or odd. In a fifth step, if the first sum (Sum1′) is even, a block of manipulation values (C[y][x]) is added to or subtracted from the block of image pixel values (f′[y][x]) for generating a manipulated block of image pixel values (f[y][x]), wherein the block of manipulation values (C[y][x]) is formed in such a way that rounding errors are avoided in a subsequent rounding operation.
39 Citations
16 Claims
-
1. Method for avoiding rounding errors during rounding of values after performing an inverse discrete orthogonal transformation (7, 23), wherein the method comprises the following steps in the following order:
-
a) Transforming a block of coefficients (F′
[u][v]) into a block of image pixel values (f′
[y][x]) by means of an inverse discrete orthogonal transformation (7, 23), wherein each image pixel comprises a image pixel value (S1).b) Calculating a product of the block of image pixel values (f′
[y][x]) with a first pixel pattern (A[y][x]) (S2);c) summing up the product values of step b) (S3) to a first sum (Sum1′
);d) determining whether the first sum (Sum1′
) is even or odd (S4); ande) if the first sum (Sum1′
) is even, adding or subtracting a block of manipulation values (C[y][x]) to the block of image pixel values (f′
[y][x]) for generating a manipulated block of image pixel values (f[y][x]), wherein the block of manipulation values (C[y][x]) is formed in such a way that rounding errors in a subsequent rounding operation are minimized (S11, S12, S13). - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
Specification