An information processing apparatus includes an image data acquisition unit and a template data acquisition unit. The image data acquisition unit acquires a plurality of pieces of image data generated by performing a plurality of ultrasonic wave transmission and reception operations on a subject while changing an ultrasonic wave transmission and reception mode. The template data acquisition unit acquires a plurality of pieces of template data corresponding to the plurality of ultrasonic wave transmission and reception operations, respectively. The similarity information acquisition unit acquires information indicating a similarity between an image value sequence of the plurality of pieces of image data at a target position and a template data sequence of the plurality of pieces of template data at the target position.