Likewise, after reading out the pixel signal from the pixel 10 in the second row, the vertical control unit 70 sets the first selection unit 16 in an ON state and sets the second selection unit 17 in an OFF state at the pixel 10 (3, 1) in the third row. In addition, the vertical control unit 70 sets the first selection units 16 and the second selection units 17 in the pixels 10 in rows other than the second row in an OFF state. As a result, the pixel signal from the pixel 10 (3, 1) is read out to the first vertical signal line VL1 and is then input to both the capacitor 51 and the capacitor 52. The arithmetic unit 50 outputs, via the output terminal 63, a signal obtained by adding together and averaging the pixel signal from the pixel 10 (3, 1) input to the capacitor 51 and the pixel signal from the pixel 10 (3, 1) input to the capacitor 52.
As described above, in the first control mode, pixels 10 are sequentially selected in units of rows and pixel signals from the individual pixels 10 are read out to first vertical signal lines VL1 at the image sensor 3 set. The pixel signals sequentially output from the pixels 10 first undergo signal processing via arithmetic units 50, A/D conversion units and the like before they are output to the control unit 4. The control unit 4 generates image data (e.g., still image data) by using the pixel signals from all the pixels output from the image sensor 3.