1. An X-ray imaging device comprising: an X-ray generation unit which emits X-rays to a sample; an X-ray detection unit which detects the amount of X-rays passing through the sample; an imaging control unit which controls the X-ray generation unit and the X-ray detection unit to differ imaging angles of two-dimensional images from each other at the time of two-dimensionally imaging the sample with a contrast and two-dimensionally imaging the sample without a contrast; and an image calculation unit which acquires a three-dimensional image of the sample on the basis of a plurality of two-dimensional images without a contrast and a plurality of two-dimensional images with a contrast acquired under the control of the imaging control unit.