A data processing method processing counts detected at each of pixels of a photon counting detector in each of a plurality of energy ranges of X-rays, the X-rays being radiated from an X-ray tube, transmitted through an object, the method comprising steps of:
- calculating an image of the object based on the counts;
- setting a region of interest on the image;
- removing, from the image, pixel information showing a background present in the region of interest;
- and
- calculating, pixel by pixel, i) as inherent information inherent to a substance of the object, scatter diagram information showing a transmission characteristic of the X-rays at the respective pixels as mass attenuation vectors in the respective energy ranges, based on the counts detected at each of the respective pixels in every one of the enemy ranges of the X-rays in the region of interest, the inherent information indicating, the transmission characteristic inherent to the X-rays provided when the X-rays are transmitted through the substance, and
- ii) attenuation information showing both lengths of the mass attenuation vectors and an attenuated degree of the X-rays attenuated due to the substance based on the mass attenuation vectors;
- producing a two-dimensional absorption vector-length image whose pixels are presented by the attenuation information;
- and
- presenting, as a two-dimensional image, the absorption vector-length image.