The visual processing program is a program for executing gradation processing of images that is stored on a memory device such as a hard disk or ROM in a device provided in or connected to a machine that handles images, such as a computer, a television, a digital camera, a portable telephone, or a PDA. The program is for example furnished through a storage medium such as a CD-ROM or over a network