Patent ID: 8045825

Claim:
An image processing apparatus, comprising: a real-space image acquisition unit operable to acquire a real space image; a virtual space image acquisition unit configured to acquire a first virtual space image including a chroma key region defined by a pixel group having a chroma key color which is set in advance; a composition unit operable to execute chroma key composition of the first virtual space image on the real space image based on said chroma key color included in the first virtual space image; and an output unit adapted to output, to a display device, a composite image generated by the chroma key composition processing of said composition unit, the image processing apparatus characterized by further comprising: a determination unit configured to determine whether or not an error part exists at a boundary between the chroma key region and a non-chroma key region, based on a second virtual space image acquired by said virtual space image acquisition unit; and a correction unit operable to correct the error part, if said determination unit determines that the error part exists, based on a chroma key region of the second virtual space image.