Patent ID: 8724196

Claim:
An image processing device which adjusts brightness of a still image or of every frame of a moving image, comprising: uptake means for uptaking image data from a pixel unit of a captured image of an object; histogram generating means for generating a histogram of brightness after having disintegrated the image data in a particular color space and read out the image data based on a predetermined reading pattern according to color, by generating a mean histogram around a pixel at a particular position in the predetermined reading pattern; and control means which sets the brightness of the pixel at the particular position of the predetermined reading pattern based on the mean histogram and moves the predetermined reading pattern relative to the image data from the pixel unit according to a predetermined rule, such that after the control means has set the brightness of the pixel at the particular position of the predetermined reading pattern relative to the image data from the pixel unit according to the predetermined rule, the histogram generating means then generates a mean histogram of the moved predetermined reading pattern by subtracting a histogram of pixels in the moved reading pattern which were not duplicated from the histogram of the reading pattern prior to the movement and adding the histogram of pixels newly introduced into the reading pattern by the movement.