X-ray transmission data of a specific direction is extracted from X-ray transmission data obtained by rotating an X-ray tube irradiating an X-ray around an object. The outline of the object is calculated based on the X-ray transmission data of the specific direction. Then, based on this outline, the X-ray transmission data is corrected, and an image of the inside of the object is reconstructed from the corrected X-ray transmission data.