An information processing apparatus obtains an ultrasonic image at a frame rate higher than that of a photoacoustic image. A first photoacoustic image is obtained at a first time point, a second photoacoustic image is obtained at a second time point after the first time point, and a first ultrasonic image is obtained at a third time point included in a period of time after the first time point and before the second time point. At least one of the first and second photoacoustic images is associated with the first ultrasonic image based on the relationship among the first to third time points.