摘要 |
To stop the decline of the quality of image associated with encoding. The present invention multiplies a decoding rescaling factor (RFr) possibly used in the decoding process by only a transformation matrix (D), which is scale change, to calculate a rescaling factor (RF), which is a plurality of division factors, and then calculates, for each detection unit, the sum (ΣY) of evaluation values (Y) based on a residue (r) obtained as a result of dividing an element of a DCT coefficient by a plurality of rescaling factors (RF). Moreover, the present invention compares correlations of the sum (ΣY) of the evaluation values (Y) with a plurality of rescaling factors (RF), and detects, based on the rescaling factor (RF) whose sum (ΣY) of the evaluation values (Y) is a minimum value, a quantization factor used in the previous process of encoding the input image data.
|