Patent ID: 8446489

Claim:
An imaging device comprising: pixels including a photoelectric conversion element, arrayed two-dimensionally in a matrix pattern and arrayed in a state of being classified in groups by color on the basis of the color filter array; storage period controlling means configured to control storage periods for storing charges in the pixels by color; gain control means configured to control gains when amplifying signals corresponding to charges stored in the pixels and read out from the pixels; adjusting means configured to adjust the sensitivity ratio of the pixels different from color to color by setting the storage periods by color in the storage period control means, and setting the gains by color in the gain control means, wherein the adjusting means includes: acquiring means configured to acquire a storage period set to the pixels having a best sensitivity ratio and the sensitivity ratios by colors; calculating means configured to calculate the storage periods of the pixels by color from the storage period and the sensitivity ratios acquired by the acquiring means; first setting means configured, when all the storage periods calculated by the calculating means do not exceed the maximum setting value, to set the calculated storage periods to the storage period control means; and second setting means configured, when there is a color whose storage period exceeds the maximum setting value of the storage period from among the storage periods calculated by the calculating means, to set the storage period at the maximum setting value to the storage period control means for the signal of the corresponding color, and calculate a gain by which the signal of the corresponding color is multiplied and set the gain to the gain control means in order to compensate for the lack of the storage period.