Patent ID: 8254675

Claim:
An image processing apparatus, comprising: an inputting unit inputting an original image; a first gradation converting unit generating a second image by performing gradation conversion on one of said original image input from said inputting unit and an image made up of a plurality of color components based on said original image, depending on each pixel value of one of said original image and said image made up of the color components based on said original image; a second gradation converting unit generating a third image by performing gradation conversion on one of said second image and a linearly-transformed image of said second image, based on pixel values within a predetermined range from each pixel of one of said second image and said linearly-transformed second image; a selecting unit selecting any gradation conversion mode from among a plurality of predetermined gradation conversion modes; and a determining unit determining a second gradation conversion parameter for use in gradation conversion by said second gradation converting unit, according to said gradation conversion mode selected by said selecting unit, and determining at least one of a first gradation conversion parameter for use in gradation conversion by said first gradation converting unit and an exposure amount in an exposure amount adjusting part which can adjust the exposure amount, according to said gradation conversion mode selected by said selecting unit.