A computer program executed by a camera mounted with the CMOS image sensor according to the first to third embodiments can be executed by accessing a recording medium such as a semiconductor memory, a magnetic disk, an optical disk, or a floppy (registered trademark) disk using a computer in which the recording medium is set.