It is to be noted that while the pixel signal from each pixel 10 is read out to the first vertical signal line VL1 in the example described above, the pixel signal from a pixel 10 can be read out to the second vertical signal line VL2 by setting the first selection unit 16 in an OFF state and setting the second selection unit 17 in an ON state. In such a case, the vertical control unit 70 sets the switch SW2 and the switch SW3 in an ON state and the switch SW1 in an OFF state at the arithmetic unit 50.