A plurality of parameters included in a predetermined illumination
equation which defines a brightness are acquired for each pixel of an
image. For each of the parameters, a homogeneous region including pixels
which are similar in value of the parameter is specified. In each of the
specified homogeneous region, each of the parameters is converted
according to details of the predetermined image conversion. The
brightness of each pixel of a second image is determined using the values
of the parameters obtained after the conversion.