An image processing device disclosed in the present specification includes an acquiring unit, a determination unit, and a generation unit. The acquiring unit acquires composition image data by synthesizing at least two or more of photoacoustic image data that include volume data derived from a photoacoustic wave generated by light irradiation to a subject. The determination unit determines a generation condition of moving image data based on the composition image data. The generation unit generates the moving image data from the composition image data based on the generation condition.