[Problem] To accurately and simply execute a CT reconstruction in order to identify substance type in an imaged jaw or the like of a patient. [Solution] This x-ray imaging device is equipped with an x-ray tube and a photon-counting detector. The detector is equipped with a pixel group obtained by two-dimensionally positioning pixels for outputting an electrical pulse according to the photons of an x-ray, and a counting circuit for capturing the number of x-ray photons per pixel. This counting circuit has N number (N≥3) of energy thresholds assigned thereto in order to discriminate the energy for each of the x-ray photons. As a result, the electrical pulse outputted from each pixel is discriminated by electrical thresholds corresponding to the N number of energy thresholds. Consequently, the number of x-ray photons is captured for each pixel according to each of the (N-1) number of energy bands. When CT imaging, imaging data based on the number of x-ray photons is captured for each of at least two energy bands among the (N-1) number of energy regions. On the basis of this imaging data, a CT image is reconstructed for each energy band.La présente invention vise à exécuter de manière précise et simple une reconstruction de tomodensitométrie (CT) afin didentifier un type de substance dans une mâchoire imagée ou similaire dun patient. A cet effet, le dispositif dimagerie à rayons X de la présente invention est équipé dun tube à rayons X et dun détecteur à comptage de photons. Le détecteur est équipé dun groupe de pixels obtenu par positionnement de manière bidimensionnelle de pixels pour sortie dune impulsion électrique selon les photons dun rayon X, et un circuit de comptage pour capture du nombre de photons de rayons X par pixel. Ce circuit de comptage a un nombre N (N≥3) de seuils énergétiques affectés à celui-ci afin de discriminer lénergie pour chacun des photons de rayons X. Par suite, limpulsion électrique délivrée en sortie par chaque pixel est discriminée par de