Patent ID: 8687881

Claim:
An image processing device comprising: a decoding unit that decodes compressed image data that is an encoded image and generates a decoded image that is decoded and parameters that relate to encoding which are calculated during encoding; an image processing unit that applies image processing including at least a color adjustment process on the decoded image; a controllable encoding unit that encodes the decoded image; and a control unit that determines whether or not the color adjustment process has been applied on the decoded image by the image processing unit, and controls the encoding unit to encode the decoded image according to a change amount representing a sum of magnitude of change for each pixel in the decoded image caused by the color adjustment process, the control unit including a change amount computation unit that changes the manner in which the change amount is computed in accordance with the image processing being applied by the image processing unit, such that the encoding unit is controlled to (a) execute encoding not using the parameters when it is determined that the change amount is equal to or greater than a predetermined threshold and (b) execute encoding using the parameters when it is determined that the change amount is less than the predetermined threshold.