Image processing is carried out accurately on image data obtained by a
digital camera, for a high-quality reproduced image. Image data S0 is
read and main part information M is acquired. Scene information H is
obtained by inferring a photography scene based on the main part
information M and photography information T added to the image data S0. A
tone processing condition K0 corresponding to the scene information H is
read from a memory 24 and a tone processing condition K1 is set by
correcting a reference tone processing condition B according to the tone
processing condition K0. Image processing is carried out on the image
data S0 according to the tone processing condition K1 and image
processing conditions G, and processed image data S1 is generated.