A designmatrix for the set of a plurality of light sources is formed, the image histogram of image element color coordinates related to color coordinates distribution under a light source being a candidate is created, a plurality of match scores are determined for a plurality of candidate light sources, and a point corresponding to data for indicating the probability of a light source on an image is determined on a surface for presuming the light source. 複数の光源の集合についてのデザインマトリックスを形成し、候補となる光源下での色座標分布に関連づけられた画像要素色座標の画像ヒストグラムを作成し、複数の候補となる光源についての複数のマッチスコアを決定し、画像上の光源である可能性を示すデータに対応する点を面上に決定して光源を推定する。 - 特許庁