1. An image processing apparatus comprising: input means for inputting image data representing an image; judgement means for judging a color distribution of the image on the basis of the input image data; generation means for generating a color mapping condition so as not to appear discontinuous in a combined portion of linear mapping and non-linear mapping, on the basis of a combination condition of linear mapping and non-linear mapping according to the judged color distribution; and process means for performing a color mapping process by using the generated color mapping condition.