A driver circuit outputs a result of classifying and counting photons based on one or more energy levels to a column line. The driver circuit includes a multiplexer for receiving the result from a counter, a driving inverter for receiving a signal from the multiplexer and a power supply, and a switch connected between the power supply and an input terminal of the driving inverter.