An image generation device, which generates a three-dimensional volume image on a subject from a two-dimensional projection image acquired by illuminating light onto the subject, the image generation device comprising:
- a processor;
- and
- a memory connected to the processor,
- wherein the memory stores commands, and when the commands are executed by the processor, the commands cause the processor to:
- generate a first projection matrix between three-dimensional coordinates of the subject and two-dimensional coordinates of the projection image;
- generate a three-dimensional first volume image on the subject on a basis of the first projection matrix and the projection image;
- generate a two-dimensional DRR on the subject from the first volume image;
- match the projection image and the DRR, and update the first projection matrix on a basis of a matched result to generate a second projection matrix;
- and
- generate a three-dimensional second volume image on the subject on a basis of the second projection matrix and the projection image.