Method and apparatus for decoding and coding images with scene change detection function
LL subbands of first and second intermediate images obtained by an inverse quantizer are stored in an intermediate image memory. A scene change judging unit compares data stored in the intermediate image memory and thereby determines whether there is a scene change or not.
1. An image coding apparatus for generating a stream of coded images by successively coding moving images, the apparatus comprising:
an image memory which stores a first intermediate image formed by a subband component generated at a predetermined stage of a coding process by a two-dimensional wavelet transform during coding of a first image frame included in a stream of moving images, and a second intermediate image formed by a subband component generated at a predetermined stage of the coding process by the two-dimensional wavelet transform during coding of a second image frame that is to be coded after the first image frame included in the stream;
a scene change judging unit which determines whether or not there is a scene change between the first intermediate image and the second intermediate image by comparing the first and second intermediate images stored in said image memory; and
an index adding unit which, when a scene change is detected by said scene change judging unit, records information of the detected scene change into the stream of coded images in a manner such that the information is associated with at least one of the first image frame and the second image frame.
2. An image coding apparatus according to claim 1 , wherein the subband component is an LL subband.
3. An image coding apparatus according to claim 1 , wherein the subband component includes a plurality of subband components, and said scene change judging unit determines the presence of a scene change by utilizing a plurality of the subband components.