Methods and circuits for performing mathematical operations on individual detector segment outputs