A driver circuit according to an embodiment of the present invention counts photons by classifying the photons depending on an energy band and outputs the counting result to a column line. The driver circuit comprises: a multiplexer receiving the results from a counter; a driving inverter receiving a signal from the multiplexer and a power supply unit; and a first switch connected between the power supply unit and an input terminal of the driving inverter.