摘要 |
PROBLEM TO BE SOLVED: To provide a technology which can generate a gradation correction parameter for improving a gradation characteristic in a gradation range around a gradation value even when the frequency of the gradation value with which the gradation characteristic should be improved is lower than the frequency of other gradation values.SOLUTION: An image processing apparatus includes: a histogram generation means for generating a histogram from an input image; a detection means for detecting a gradation of interest from the histogram; a gradation correction parameter generation means for generating a gradation correction parameter for improving the gradation characteristic in the gradation range around the gradation of interest; and a correction means for correcting the gradation of the image using the gradation correction parameter. The detection means detects, as the gradation of interest, the gradation value of which the frequency is equal to or more than a predetermined threshold and the maximum value, and which has a variation of the frequency within a predetermined range including the gradation value to be smaller than a predetermined standard in the histogram. |