Patent attributes
A defective pixel of an imaging device is detected. An output pixel value of the defective pixel is corrected to generate an output image. An imaging device, and a signal processing unit for analyzing an output signal from the imaging device and detecting a defective pixel are included. The imaging device receives incident light via, for example, a microlens placed in front of a pixel, inputs the same subject light on a local area basis including a plurality of pixels of the imaging device, and acquires an image signal lower than a pixel resolving power corresponding to the pixel density of the imaging device. The signal processing unit compares the pixel values of the same color pixels included in a local area on a local area basis including a cluster of the plurality of pixels of the imaging device, detects the defective pixel based on the comparison result, and corrects and outputs a pixel value of a pixel determined to be a defective pixel.