Patent attributes
A subject judgment program is capable of reducing the calculation load on a computer functioning as a device for judging the subject in a subject image. In a controller of a digital still camera, when a CPU running the subject judgment program (stored in a flash memory) obtains image data from an A/D converter via a first interface circuit, the CPU generates two-dimensional distribution data of product-moment correlation coefficients for each of model image data stored in the flash memory by successively calculating the product-moment correlation coefficient between the model image data and each part of the obtained image data, identifies a piece of model image data corresponding to two-dimensional distribution data having the highest maximum value, and thereby identifies subject information which has been associated with the identified model image data.