Method and apparatus for predictive coding of moving images while adaptively changing the method in accordance with them
First Claim
1. A method for encoding a plurality of prediction errors of a group of frames of moving images, comprising the steps of:
- calculating preliminary prediction errors of an original group of frames arranged in original order, a frame of moving image existing in each of the frames, and each of the preliminary prediction errors being defined as a difference between a frame of moving image actually produced and a frame of moving image predicted;
accumulating the preliminary prediction errors of the original group of frames to obtain an accumulated value;
omitting one or more frames from the original group of frames to produce a decimated group of frames arranged in decimated order in cases where the accumulated value is larger than a modified order threshold value Th2 ;
calculating prediction errors of the decimated group of frames, each of the prediction errors of the decimated group of frames being defined as a difference between a frame of moving image actually produced and a frame of moving image predicted, and the sum of the prediction errors of the decimated group of frames being smaller than the modified order threshold value Th2 ; and
encoding the prediction errors of the decimated group of frames to produce pieces of output data of which each are composed of a plurality of codes, the amount of the codes of the output data being lower than an upper limit, and the decimated group of frames of moving images being reproduced by decoding the codes of the output data.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for predictive coding of moving images consists of the steps of calculating preliminary prediction errors of an original group of frames of moving images, accumulating the preliminary prediction errors to obtain an accumulated value, omitting one or more frames from the original group of frames to produce a decimated group of frames of moving images in cases where the accumulated value is larger than a modified order threshold value Th2, weighting quantization weighting factors in cases where the accumulated value is larger than a decimated order threshold value TH3, calculating prediction errors of the decimated group of frames, quantizing the prediction errors with the quantization weighting factors, encoding the prediction errors to produce pieces of output data of which each are composed of a plurality of codes. The amount of the codes of the output data is lower than an upper limit, and the decimated group of frames of moving images is distinctly reproduced by decoding the codes of the output data.
-
Citations
13 Claims
-
1. A method for encoding a plurality of prediction errors of a group of frames of moving images, comprising the steps of:
-
calculating preliminary prediction errors of an original group of frames arranged in original order, a frame of moving image existing in each of the frames, and each of the preliminary prediction errors being defined as a difference between a frame of moving image actually produced and a frame of moving image predicted; accumulating the preliminary prediction errors of the original group of frames to obtain an accumulated value; omitting one or more frames from the original group of frames to produce a decimated group of frames arranged in decimated order in cases where the accumulated value is larger than a modified order threshold value Th2 ; calculating prediction errors of the decimated group of frames, each of the prediction errors of the decimated group of frames being defined as a difference between a frame of moving image actually produced and a frame of moving image predicted, and the sum of the prediction errors of the decimated group of frames being smaller than the modified order threshold value Th2 ; and encoding the prediction errors of the decimated group of frames to produce pieces of output data of which each are composed of a plurality of codes, the amount of the codes of the output data being lower than an upper limit, and the decimated group of frames of moving images being reproduced by decoding the codes of the output data. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for encoding a plurality of prediction errors of a group of frames, comprising the steps of:
-
preparing an original group of frames composed of one or more I-frames, one or more P-frames, and one or more B-frames, a frame of moving image existing in each of the I-, P- and B-frames, an I-frame of moving image being not predicted with any frame, a P-frame of moving image being predicted with an I-frame or another P-frame of moving image preceding the P-frame of moving image, and a B-frame of moving image being predicted with both an I-frame or a P-frame of moving image preceding the B-frame of moving image and an I-frame or a P-frame of moving image succeeding the B-frame of moving image; preparing a modified group of frames composed of one or more I-frames, one or more P-frames, and one or more B-frames, the number of B-frames being increased while decreasing the number of P-frames as compared with the original group of frames, and the number of the modified group of frames being equal to the number of the original group of frames; preparing a slightly decimated group of frames which is produced by slightly omitting one or more frames from the original group of frames and replacing each of the frames omitted with a frame preceding or succeeding the frames omitted; preparing a heavily decimated group of frames which is produced by heavily omitting a plurality of frames from the modified group of frames and replacing the frames omitted with a frame preceding or succeeding the frames omitted; calculating preliminary prediction errors of the original group of frames arranged in original order, each of the preliminary prediction errors being defined as a difference between a frame of moving image actually produced and a frame of moving image predicted; accumulating the preliminary prediction errors of the original group of frames to obtain an accumulated value; calculating first prediction errors of the original group of frames in cases where the accumulated value is smaller than an original order threshold value The, each of the first prediction errors of the original group of frames being defined as a difference between a frame of moving image actually produced and a frame of moving image predicted; calculating second prediction errors of the modified group of frames in cases where the accumulated value ranges between the original order threshold value Thm and a modified order threshold value Th2 larger than the original order threshold value Th1, each of the second prediction errors of the modified group of frames being defined as a difference between a frame of moving image actually produced and a frame of moving image predicted; calculating third prediction errors of the slightly decimated group of frames in cases where the accumulated value ranges between the modified order threshold value Th2 and a decimated order threshold value Th3 larger than the modified order threshold value Th2, each of the third prediction errors of the slightly decimated group of frames being defined as a difference between a frame of moving image actually produced and a frame of moving image predicted; calculating fourth prediction errors of the heavily decimated group of frames in cases where the accumulated value is larger than the decimated order threshold value Th3, each of the fourth prediction errors of the heavily decimated group of frames being defined as a difference between a frame of moving image actually produced and a frame of moving image predicted; and encoding the first prediction errors, the second prediction errors, the third prediction errors or the fourth prediction errors to produce pieces of output data of which each are composed of a plurality of codes, the amount of the codes of the output data being lower than an upper limit, and one group of frames of moving images selected from among the original group of frames of moving images, the modified group of frames of moving images, the slightly decimated group of frames of moving images, and the heavily decimated group of frames of moving images being reproduced by decoding the codes of the output data. - View Dependent Claims (7, 8)
-
-
9. A method for encoding successive frames of moving images, in which the successive frames are divided into groups consisting of a predetermined number of frames, the method comprising the step of:
-
calculating inter-frame prediction errors which each are derived from a difference between a current frame belonging to a current group of an original order and a reference frame adjacent to the current frame; calculating a sum of the inter-frame prediction errors before the frames belonging to the current group are encoded; comparing the sum of the inter-frame prediction errors with a modified order threshold level Th2 ; reconstituting a new current group of frames by omitting at least one frame from the current group in cases where the sum exceeds the modified order threshold level Th2 ; and respectively encoding frames belonging to the new current group. - View Dependent Claims (10, 11)
-
-
12. A moving image encoding apparatus, comprising:
-
prediction error accumulating means for accumulating preliminary prediction errors of an original group of frames of an original or to obtain an accumulated value, a frame of moving image existing in each of the frames, and each of the preliminary prediction errors being defined as a difference between a frame of moving image actually produced and a frame of moving image predicted; frames omitting information generating means for generating a piece of frame omitting information in cases where the accumulated value obtained in the prediction error accumulating means is larger than a modified order threshold value Th2 ; moving image memory means for storing a decimated group of frames of moving images according to the frame omitting information generated in the frame omitting information generating means, the decimated group of frames being produced by omitting one or more frames from the original group of frames utilized in the prediction error accumulating means; prediction error calculating means for calculating prediction errors of the decimated group of frames of moving images stored in the moving image memory means, each of the prediction errors being defined as a difference between a frame of moving image actually produced and a frame of moving image predicted; and encoding means for encoding the prediction errors of the decimated group of frames calculated in the prediction error calculating means to produce prediction error codes, the amount of the prediction error codes being smaller than an upper limit, and the decimated group of frames of moving images being reproduced by decoding the prediction error codes. - View Dependent Claims (13)
-
Specification