Supports the work of a doctor or the like when changing the boundary surface for grouping a group of image data. The case data generation support program uses the first group in the feature amount space as a reference value for the discriminant plane for grouping a group of image data represented by a plurality of types of feature amounts into two in the feature amount space. Is determined based on the feature amount of the image data closest to the discrimination surface, and the degree of separation of the individual image data in the image data group with respect to the reference value is determined. Along the axis shown, the individual image data is plotted and displayed, the specification of any of the displayed plots is accepted, and based on the image data corresponding to one plot that has received the specification, Causes the computer to execute processing for changing the discrimination surface.画像データの群をグルーピングする境界面を変更する際の医師等による作業を支援する。症例データ生成支援プログラムは、複数種類の特徴量で表現された画像データの群を特徴量空間上で2つにグルーピングする判別面に対する基準となる値を、前記特徴量空間上で第1のグループにグルーピングされた前記画像データの群のうち、前記判別面に最も近い画像データの特徴量に基づいて決定し、前記画像データの群における個々の画像データの、前記基準となる値に対する離れ度合を示す軸に沿って、該個々の画像データをプロットして表示し、表示した前記プロットのうちのいずれかの特定を受け付け、該特定を受け付けた1のプロットに対応する画像データに基づいて、前記判別面を変更する処理をコンピュータに実行させる。