摘要 |
PROBLEM TO BE SOLVED: To provide an image processor which can reduce error detection even in a part subjected to overexposure and in a part subjected to underexposure about the image processor for performing HDR composition while correction positional deviation between images.SOLUTION: The image processor has adjustment means for multiplying a gain for aligning brightness between images by a plurality of images having different exposure, and detection means for detecting positional deviation of a subject between two images on the basis of a differential value between the two images in which average brightness is aligned by the adjustment means. The detection means detects positional deviation between the two images on the basis of the differential value of an area in which a pixel value is a value within a prescribed range in the two images in which the positional deviation is detected, and the prescribed range is determined on the basis of the pixel values of the plurality of images, and the gain to be multiplied to at least one of the two images by the adjustment means. |