The visual processing program is a program for executing visual processing of images, and 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, a PDA, a printer, or a scanner.