A computed tomography system, comprising: a table with a hole therein, wherein the table is configured to support a person lying face down thereon, with at least one of the person's breasts projecting through the hole; an X-ray source; an X-ray detector comprising a plurality of pixels; wherein the X-ray source is configured to rotate around the at least one of the person's breasts; wherein the X-ray detector comprises: an X-ray absorption layer comprising an electric contact; a first voltage comparator configured to compare a voltage of the electric contact to a first threshold; a second voltage comparator configured to compare the voltage to a second threshold; a controller; a plurality of counters each associated with a bin and configured to register a number of X-ray photons absorbed by one of the pixels wherein the energy of the X-ray photons falls in the bin; wherein the controller is configured to start a time delay from a time at which the first voltage comparator determines that an absolute value of the voltage equals or exceeds an absolute value of the first threshold; wherein the controller is configured to determine whether an energy of an X-ray photon falls into the bin; wherein the controller is configured to cause the number registered by the counter associated with the bin to increase by one; and wherein the time delay is set such that a rate of change of the voltage is substantially zero at expiration of the time delay. a table with a hole therein, wherein the table is configured to support a person lying face down thereon, with at least one of the person's breasts projecting through the hole; an X-ray source; an X-ray detector comprising a plurality of pixels; wherein the X-ray source is configured to rotate around the at least one of the person's breasts; wherein the X-ray detector comprises: an X-ray absorption layer comprising an electric contact; a first voltage comparator configured to compare a voltage of the electric contact to a first threshold; a second voltage comparator configured to compare the voltage to a second threshold; a controller; a plurality of counters each associated with a bin and configured to register a number of X-ray photons absorbed by one of the pixels wherein the energy of the X-ray photons falls in the bin; wherein the controller is configured to start a time delay from a time at which the first voltage comparator determines that an absolute value of the voltage equals or exceeds an absolute value of the first threshold; wherein the controller is configured to determine whether an energy of an X-ray photon falls into the bin; wherein the controller is configured to cause the number registered by the counter associated with the bin to increase by one; and wherein the time delay is set such that a rate of change of the voltage is substantially zero at expiration of the time delay. an X-ray absorption layer comprising an electric contact; a first voltage comparator configured to compare a voltage of the electric contact to a first threshold; a second voltage comparator configured to compare the voltage to a second threshold; a controller; a plurality of counters each associated with a bin and configured to register a number of X-ray photons absorbed by one of the pixels wherein the energy of the X-ray photons falls in the bin; wherein the controller is configured to start a time delay from a time at which the first voltage comparator determines that an absolute value of the voltage equals or exceeds an absolute value of the first threshold; wherein the controller is configured to determine whether an energy of an X-ray photon falls into the bin; wherein the controller is configured to cause the number registered by the counter associated with the bin to increase by one; and wherein the time delay is set such that a rate of change of the voltage is substantially zero at expiration of the time delay.