An image processing apparatus includes a photographing condition
estimation unit for estimating a photographing condition of the input
image based on photometric information and focal information. A Y/C
separation unit separates the input image into a luminance signal and a
color difference signal; a luminance correction unit extracts an edge
from the luminance signal and corrects the luminance signal by a
gradation conversion curve; a color difference correction unit corrects
the color difference signal based on luminance signals obtained before
and after the gradation correction and a theoretical limit characteristic
of color reproduction; a skin color correction unit performs skin color
correction depending on the photographing condition; and a Y/C synthesis
unit synthesizes the luminance signal and the color difference signal
obtained after the correction. Gradation correction is performed on the
input image such that appropriate hue and saturation are achieved while
emphasizing a main object.