BRIEF DESCRIPTION OF THE DRAWINGS
Exemplary embodiments of the invention will be described in detail based on the following figures, wherein:
FIG. 1 is a view showing the hardware configuration of an image processing apparatus 2 which has a control device 21 as a chief topic and to which a coding method and a decoding method according to an exemplary embodiment of the invention are applied;
FIG. 2 a block diagram showing the functional configuration of a first coding program 5 executed by the control device 21 (FIG. 1) to achieve the coding method according to the exemplary embodiment of the invention;
FIG. 3 is a flow chart of a coding process (S10) to be performed by a coding program 5 (FIG. 2);
FIGS. 4A to 4C are views showing data generated in the coding process (S10);
FIG. 5A is a view for explaining code data 900 generated by the coding process (S10), and FIG. 5B is a view for explaining code data obtained by coding respective color components simply by a run-length coding system;
FIG. 6 is a block diagram showing the functional configuration of a first decoding program 6 executed by the control device 21 (FIG. 1) to achieve of the decoding method according to the exemplary embodiment of the invention;
FIG. 7 is a flow chart of a decoding process (S20) to be performed by the decoding program 6 (FIG. 6);
FIGS. 8A to 8C are views for explaining a predictive coding system used in a second exemplary embodiment;
FIGS. 9A to 9C are views for explaining code data generated by the predictive coding system described in FIGS. 8A to 8C;
FIG. 10 is a block diagram showing the functional configuration of a second coding program 7 executed by the control device 21 (FIG. 1) to achieve a coding method according to the exemplary embodiment of the invention;
FIG. 11 is a flow chart of a coding process (S30) to be performed by the coding program 7 (FIG. 10);
FIG. 12 is a block diagram showing the functional configuration of a second decoding program 8 executed by the control device 21 (FIG. 1) to achieve a decoding method according to the exemplary embodiment of the invention;
FIG. 13 is a flow chart of a decoding process (S40) to be performed by the decoding program 8 (FIG. 12); and
FIG. 14 is a modification of the coding program in the first exemplary embodiment.