Patent ID: 8643907

Claim:
An image processing apparatus comprising: a first storage unit configured to store, as look up tables (LUTs) referred to for color conversion from a first color space to a second color space, a photograph LUT suitable for the color conversion of each photograph pixel that is each pixel in a region representing a photograph, and a text LUT suitable for the color conversion of each text pixel that is each pixel in a region representing text; a second storage unit whose access speed is higher than an access speed of the first storage unit; a use LUT determination unit configured to determine, for image data made up of a plurality of pixels and being an object of the color conversion, whether a use LUT to be used during the color conversion of the image data is the photograph LUT or the text LUT or both of the photograph LUT and the text LUT; and a storing unit configured to: in a case where the use LUT is determined to be the photograph LUT, read out the photograph LUT from the first storage unit and store the photograph LUT in the second storage unit by using a number of first photograph grid cells so that a storage size of the photograph LUT does not exceed an amount of free space of the second storage unit; in a case where the use LUT is determined to be the text LUT, read out the text LUT from the first storage unit and store the text LUT in the second storage unit by using a number of first text grid cells so that a storage size of the text LUT does not exceed the amount of free space of the second storage unit; and in a case where the use LUT is determined to be both of the photograph LUT and the text LUT, store the photograph LUT and the text LUT in the second storage unit with at least one of processing of storing the photograph LUT in the second storage unit by using a number of second photograph grid cells less than the number of first photograph grid cells and processing of storing the text LUT in the second storage unit by using a number of second text grid cells less than the number of first text grid cells so that a total of storage sizes of the photograph LUT and the text LUT read out from the first storage unit does not exceed the amount of free space of the second storage unit.