BRIEF DESCRIPTION OF THE DRAWINGS
Exemplary embodiments of the present invention will be described in detail based on the following figures, wherein:
FIG. 1(A) is a graph showing a relationship between a number of non-zero coefficients and code quantity;
FIG. 1(B) is a graph showing a relationship between an appearance frequency of non-run pixels and code quantity;
FIG. 2 is a diagram for illustrating a hardware configuration, mainly a controller 20, of a data processing apparatus 2 to which an image processing method according to an aspect of the present invention is applied;
FIG. 3 is a diagram illustrating a functional configuration of a coding program 5 executed by the controller 20 (FIG. 2) and realizing a data processing method according to an aspect of the invention;
FIG. 4 is a diagram illustrating a quantization table used in a quantizing part 510;
FIG. 5(A) shows a distribution of transformed coefficients when quantization is done with various scaling factors;
FIG. 5(B) is a diagram illustrating quantizer step sizes corresponding to each of various quantization coefficients;
FIG. 6 is a flowchart of a coding process (S10) by the coding program 5 (FIG. 3);
FIGS. 7(A) to 7(C) are diagrams for explaining a method of estimating the distribution of the transformed coefficient when the scaling factor is an even multiple:
FIG. 8 is a diagram showing a functional configuration of a coding program 52 provided with two quantizing units;
FIG. 9 is a diagram illustrating a functional configuration of a recoding program 6;
FIG. 10 is a diagram illustrating a functional configuration of a coding program 7 to which a predictive coding scheme is applied;
FIG. 11 is a diagram explaining in detail an auxiliary predicting part 700 and prediction processing part 740;
FIGS. 12(A) to 12(C) are diagrams for explaining the predictive coding scheme in this exemplary embodiment;
FIG. 13 is a graph showing a cumulative appearance frequency of prediction errors;
FIG. 14 is a diagram for explaining in detail a filter processing part 730;
FIG. 15 is a flowchart of a coding process (S20) in the coding program 7 (FIG. 10);
FIG. 16(A) illustrates a functional configuration of a coding program 72 in a first modified example;
FIG. 16(B) is a diagram illustrating the result of the experiment;
FIGS. 17(A) to 17(C) are diagrams for explaining a method of calculating a quantization parameter when a non-linear quantization is performed by the filter processing part 730;
FIG. 18(A) illustrates a functional configuration of a coding program 74;
FIG. 18(B) is a diagram illustrating an approximate equation retained by an approximate equation retaining part 770; and
FIG. 19 is a flowchart of a coding process (S24) for calculating the quantization parameter by using an interpolation process.