An image processing program (600) causes a computer to execute: a step of displaying images captured of regions including a plurality of medical agents (710-1) to (710-3), (720) on a display device; and a step of, on the basis of similarity between a selected image of a representative medical agent (710-2) among the images of the plurality of medical agents (710-1) to (710-3), (720) being displayed on the display device and each of the images of the plurality of medical agents (710-1) to (710-3), (720), rearranging and displaying the images of the plurality of medical agents (710-1) to (710-3), (720) on the display device.