For X-ray inspection, the present invention reduces the effect of beam hardening on X-ray attenuation, suppress an increase in noise in an image while further improving contrast, and also ensure quantification with respect to the thickness of an object in the direction of an X-ray path. The present invention is provided with a detection unit (26) equipped with a detector (24). This detection unit detects, in each of n-number (n is a positive integer of two or more) of energy ranges set in advance, a transmission quantity of X-rays that have been generated by an X-ray generating device (23) and have been transmitted through the object, and outputs a detection signal in accordance with said transmission quantity. On the basis of the detection signal, an information acquisition unit (51) acquires, for the respective energy ranges, information about an average linear attenuation coefficient μ and the thickness t of the object along the transmission path of the flux of X-rays. On the basis of the acquired information, a pixel data calculation unit (52) calculates pixel data that has, as the pixel value, a multiplied value of the thickness t and information concerning addition of the average linear attenuation coefficients μ between the respective energy ranges.Dans le cadre d'une inspection par rayons X, la présente invention permet de réduire l'effet de durcissement de faisceau sur une atténuation de rayons X, de supprimer une augmentation du bruit dans une image tout en améliorant le contraste, et d'assurer également une quantification par rapport à l'épaisseur d'un objet dans la direction d'un trajet de rayons X. La présente invention porte sur une unité de détection (26) équipée d'un détecteur (24). Cette unité de détection détecte, dans chaque nombre n (n étant un nombre entier positif égal à deux ou plus) de plages d'énergie réglées à l'avance, une quantité de transmission de rayons X qui ont été générés par un dispositif de génération de rayons X (23) et ont été t