Patent ID: 9578340
Date: 2017-02-21
CPC Classifications: H04N

Claim:
1. An image processing apparatus comprising: a CPU; a combining unit configured to combine a first moving image with a second moving image; an acquisition unit configured to acquire a slice type and a picture identifier of a first frame in the first moving image and a slice type and a picture identifier of a second frame in the second moving image, wherein the first frame and the second frame are frames that were not adjacent before the combining performed by the combining unit and are adjacent to each other after the combining; and a changing unit configured to change, in a case where the picture identifier of the first frame and the picture identifier of the second frame match, both the picture identifier and the slice type of the second frame, wherein in a case where the picture identifier of the first frame and the picture identifier of the second frame match and the slice type of the second frame is a first slice type, the changing unit changes the picture identifier of the second frame to a predetermined picture identifier having a bit length longer than the matched identifier and changes the slice type of the second frame to a second slice type having a bit length shorter than the first slice type, wherein a function of at least one of the combining unit, the acquisition unit and the changing unit is performed by the CPU, and wherein the predetermined picture identifier has a bit length that is an n-bit longer than the matched identifier, and the second slice type has a bit length that is an n-bit shorter than the first slice type.