| CPC H04N 19/182 (2014.11) [H04N 19/132 (2014.11)] | 19 Claims |

|
1. A method, comprising:
obtaining a residual of each of a plurality of target pixels of a target image, the residual being represented by a first preset number of bits;
determining a maximum residual and a minimum residual of a plurality of residuals of the target image;
determining that the maximum residual and the minimum residual are within a preset value range, wherein the preset value range being a value range that is representable by a second preset number of bits, and the second preset number of bits is less than the first preset number of bits; and
modifying, in response to determining that the maximum residual and the minimum residual are within fall the preset value range, each of the plurality of residuals to be represented by the second preset number of bits.
|