Also, a program for performing that processing is stored on a memory device such as a hard disk or ROM, and this program is run on the ROM, or read to and run on a RAM. Further, the two-dimensional LUT that is referenced by the gradation processing execution portion 114 and 125 of FIG. 49 and FIG. 62 is stored on a memory device such as a hard disk or ROM, and is referenced when necessary.