A position specifying unit specifies three diagnostic positions corresponding to respective apexes of a reference triangle on a myocardial boundary in a diagnostic image, a calculating unit matches three training positions with the three diagnostic positions for each of a plurality of training images and compares the diagnostic image with training myocardial area boundary data to obtain a similarity, and an output unit outputs training myocardial area boundary data having the highest similarity.