Patent ID: 7689063

Claim:
An information processing apparatus capable of processing image data involving a plurality of blocks, comprising: a difference value detection unit which detects a difference value between pixel values of two adjacent pixels that are arranged via a block boundary contained in the image data in a direction perpendicular to the block boundary; a correction unit which corrects pixel values of a plurality of pixels that are arranged via the block boundary in the direction perpendicular to the block boundary by distributing the difference value detected by the difference value detection unit to the plurality of pixels; and a unit that determines whether the difference value detected by the difference value detection unit is smaller than a predetermined threshold, wherein the correction unit correcting the pixel values of the two pixels by distributing the difference value to the two pixels when the difference value is smaller than the predetermined threshold, and correcting the pixel values of a plurality of pixels that are larger in number than two and are arranged via the block boundary in the direction perpendicular to the block boundary by distributing the difference value to the plurality of pixels when the difference value is not smaller than the predetermined threshold.