An image processing apparatus comprises an extractor for extracting a
brightness component from image data; a scale converter for obtaining a
distribution of the brightness component on relatively large scale; a
brightness component improver for improving the distribution of the
brightness component of the image data by using the brightness component
and an output of the converter; and an image reproducer for reproducing
the image data by using an output of the improver as a distribution of a
brightness component of a new image, wherein the apparatus further
comprises a face detector for detecting a face area from the image data,
and the improver adjusts a degree of improvement by using a distribution
of a brightness component of the face area being an output of the
detector. Thus, it is possible to automatically adjust the degree of
improvement of the luminance distribution according to the image data to
be processed.