A radiographic device in which the scatter radiation and the grid foil can be removed without preparing the number of patterns corresponding to the position shift despite the occurrence of the position shift of a scatter radiation removal module relative to a radiation detection module. A foil shade integration value image A_SHsum (g, y, a), I_SHsum (g, y,a), which is normalized to the sum of absorption rates of a direct radiation relative to individual grid foils on a shooting with and without the subject, are respectively calculated and a distance function D (c) based on these absorption rates calculated. Given the foil shade integration value image A_SHsum (g, y, a) selected from a plurality of the foil shade integration value images A_SHsum (g, y, a), wherein the distance function D (c) becomes minimum, the scatter x-ray and the grid foil can be removed without preparing a number of patterns corresponding position shifts despite an occurrence of the position shift of the grid relative to the detector.