A control device acquires a plurality of images including an ultrasound image and a photoacoustic image taken in an examination, selects a first image and a second image to be displayed superimposed on the first image, based on information relating to the examination, and generates an object for outputting at least information for displaying the second image superimposed on the first image to an external device.