A method for encoding and decoding digital moving picture signals which can decode subframes appropriately in relation to time if a part of a bit stream is missing or an error occurs in the bit stream, and can suppress degradation of a reproduced picture if decoding of a subframe including a picture in motion in relation to time becomes unfeasible. In the method for encoding and decoding digital moving picture signals of this invention, information for one frame is encoded correspondingly to a spatial hierarchy of a frame, subframes and blocks. A subframe time position number and a subframe space number are attached to an identifier of each of the subframe, thereby resuming appropriate decoding of the subframes immediately after a trouble if an error occurs. The subframe identifiers are placed at a certain interval in the bit stream so as to give a smaller size to a subframe including a block which is in motion and difficult to be encoded, thereby suppressing degradation of a reproduced picture if decoding of the subframe becomes unfeasible.
|
0. 17. A method for decoding an encoded bitstream, said method comprising:
(a) receiving said encoded bitstream containing an identifier, an encoded subframe obtained by encoding a subframe composed of at least one block and an encoded time position information representing an order of displaying said subframe, wherein said identifier is set to said encoded subframe to identify said subframe, said encoded time position information is added to said identifier by specifying a frame to which said subframe belongs;
(b) detecting said identifier to extract said encoded time position information from said encoded bitstream;
(c) decoding said extracted encoded time position information to obtain decoded time position information; and
(d) decoding said encoded subframe to form said frame according to said decoded time position information.
0. 1. A method for encoding digital motion picture signals of a frame, comprising the steps of:
dividing said frame into plural blocks each including N×M pixels;
forming a subframe composed of a set of said blocks, said subframe being a unit to be encoded;
setting an identifier to said subframe to identify said subframe; and
specifying a frame to which said subframe belongs by adding to said identifier time position information representing an order of displaying said subframe;
encoding said time position information along with said subframe, and
multiplexing said encoded time position information and a bit stream of said encoded subframe to transmit said encoded time position information and said bit stream.
0. 2. A method for encoding digital motion picture signals of a frame, comprising the steps of:
dividing said frame into plural blocks each including N×M pixels;
forming a subframe composed of a set of said blocks, said subframe being a unit to be encoded; and
varying the number of said blocks included in said subframe according to a quantity of information generated by encoding each block to vary a spatial size of each of said subframes included in each frame.
0. 3. A method for encoding digital motion picture signals of a frame, comprising the steps of:
dividing said frame into plural blocks each including N×M pixels;
forming a subframe composed of a set of said blocks, said subframe being a unit to be encoded;
setting an identifier to said subframe to identify said subframe;
specifying a frame to which said subframe belongs by adding to said identifier time position information representing an order of displaying said subframe;
encoding said time position information along with said subframe, and
multiplexing said encoded time position information and a bit stream of said encoded subframe to transmit said encoded time position information and said bit stream; and
varying the number of said blocks included in said subframe according to a quantity of information generated by encoding each block to vary a spatial size of each of said subframes included in each frame.
0. 4. The method for encoding digital motion picture signals of a frame according to
0. 5. The method for encoding digital motion picture signals of a frame according to
0. 6. A method for encoding and decoding digital motion picture signals of a frame, comprising the steps of:
dividing said frame into plural blocks each including N×M pixels;
forming a subframe composed of a set of said blocks, said subframe being a unit to be encoded;
setting an identifier to said subframe to identify said subframe;
specifying a frame to which said subframe belongs by adding to said identifier time position information representing an order of displaying said subframe;
encoding said time position information along with said subframe;
multiplexing said encoded time position information and a bit stream of said encoded subframe to transmit said encoded time position information and said bit stream; and
decoding each of said subframes appropriately in relation to time by decoding and using said time position information to form said frame of said digital moving picture signals.
0. 7. A method for encoding and decoding digital motion picture signals of a frame, comprising the steps of:
dividing said frame into plural blocks each including N×M pixels;
forming a subframe composed of a set of said blocks, said subframe being a unit to be encoded;
varying the number of said blocks included in said subframe according to a quantity of information generated by encoding each block to vary a spatial size of each of said subframes included in each frame; and
decoding each of said subframes to form said frame of said digital moving picture signal.
0. 8. A method for encoding and decoding digital motion picture signals of a frame, comprising the steps of:
dividing said frame into plural blocks each including N×M pixels;
forming a subframe composed of a set of said blocks, said subframe being a unit to be encoded,
setting an identifier to said subframe to identify said subframe;
specifying a frame to which said subframe belongs by adding to said identifier time position information representing an order of displaying said subframe;
encoding said time position information along with said subframe;
multiplexing said encoded time position information and a bit stream of said encoded subframe to transmit said encoded time position information and said bit stream;
varying the number of said blocks included in said subframe according to a quantity of information generated by encoding each block to vary a spatial size of each of said subframes included in each frame; and
decoding said subframe appropriately in relation to time by decoding and using said time position information to form said frame of said digital moving picture signal.
0. 9. The method for encoding and decoding digital motion picture signals of a frame according to
0. 10. The method for encoding and decoding digital motion picture signals of a frame according to
0. 11. The method for encoding digital motion picture signals of a frame according to
0. 12. The method for encoding digital motion picture signals of a frame according to
0. 13. The method for encoding digital motion picture signals of a frame according to
0. 14. The method for encoding and decoding digital motion picture signals of a frame according to
0. 15. The method for encoding digital motion picture signals of a frame according to
0. 16. The method for encoding digital motion picture signals of a frame according to
|
lacksor an error of of a portion of, or an error in, the bit stream 14 can be detected from, for example, that a decoded value exceeds a range specified in advance or an unexpected code word appears when the bit stream 14 is decoded. When the SFSC 16 is detected and synchronization of the subframe layer 12S is established, the SFNT 17 and the SFNS 18 are examined as stated above, the block layer 13S is decoded and regenerated, and the subframe 12 which is a set of the regenerated blocks 13 is placed in time and space positions instructed by the SFNT 17 and the SFNS 18.
According to the first embodiment of this invention, if a part of the bit stream 14 lacks is lacking or an error occurs in the bit stream 14, synchronization of the decoding is lost and the decoding becomes unfeasible, but correct decoding becomes possible immediately after a subframe 12 in trouble.
As having been described the above first embodiment by way of an example, it is alternatively possible that the frame 11, the subframe 12 and the block are in different sizes and shapes. A bit length of each encoded information may be different from that of the above encoded information, or the frame layer 19 may be omitted, in addition.
According to a second embodiment of this invention, description will be now made of a method for encoding digital moving picture signals which can suppress degradation of a reproduced picture to a small extent if a subframe including a picture moving in relation to time cannot be decoded. Incidentally, it is possible here to employ a decoding method similar to that of the first embodiment.
In the encoding method of this embodiment, one frame 11 of digital moving picture signals is composed of, for example, 352×288 pixels. The frame 11 is divided into blocks each composed of 16×16 pixels. In other words, one frame 11 is composed of 22 blocks×18 block lines 21. The block line 21 corresponds to the subframe 12 mentioned above.
In the encoding method of this embodiment, each block 13′ is encoded from the uppermost block line 21, as shown in
A manner of generating a bit stream 14 in the encoding method of this embodiment and a structure of a subframe layer 12S will be now described with reference to FIG. 6. When one frame is encoded, an identifier of a frame layer is encoded, and an FSC 15 is placed in a bit stream 14. Next, the identifier of the subframe layer 12S, a time number and a space number of that subframe, and a quantization characteristic of that subframe are encoded together, and code words of an SFSC 16, an SFNT 17, an SFNS 18 and an SFQUANT 19 are placed in the bit stream 14. At the same time, block coding bit number integrated value B-add is set to zero. Following that, a block 13 is encoded and encoded information of the block 13 composed of variable codes is placed in the bit stream 14. Concurrently, the coding bit number B of this block 13 is added to B-add. Namely, an equation, B-add=B-add+B, is computed. Similarly, blocks 13 are encoded successively, encoded information 20 of each block 13 is placed in the bit stream 14, and a calculation of B-add=B-add+B is repeated each time. If the B-add exceeds a subframe interval SFd when encoding of a certain block 12 is completed, an identifier of the subframe, a time number and a space number of that subframe and a quantization characteristic of that subframe are encoded, and code words of an SFSC 16, an SFNT 17, an SFNS and an SFQUANT 19 are placed in the bit stream 14. At the same time, a block coding bit integrated value B-add is set to zero. In other words, a new subframe layer 12S is started to be formed from that point.
The subframe interval SFd is set to, for example, 540 bits. Therefore, if one frame is encoded with, for example, 6400 bits in the encoding method of this embodiment, 12 subframes 12 exist in one frame since 6400/540=11.85.
In the encoding method according to this embodiment, the number of blocks 13 included in a subframe 12 is varied according to a quantity of generated information of the blocks included in one subframe, thereby varying a spatial size of the subframe 12, as stated above. More specifically, a subframe 12 including a block which is difficult to be encoded becomes small, whereas a subframe 12 including a block 13 which is easy to be encoded becomes large.
According to th e second embodiment of this invention, a subframe 12 including a block 13 which contains a motion in relation to time, and is thus difficult to be coded is made smaller in relation to space. If such subframe 12 cannot be decoded, it is possible to suppress degradation of a quality of a reproduced picture to a small extent. In a region within a frame in which no motion in relation to time exists and degradation of the picture quality is hardly detected even if the decoding is unfeasible, a size of one subframe is large in relation to space, which allows a less volume of side information such as the subframe identifier SFSC 16, subframe number SFNT 16 and subframe number SFNT 17. This can prevent an encoding efficiency from being lowered.
As having been described the second embodiment by way of an example, it is alternatively possible that the frame 11, subframe 12 and the block 13 are in different sizes and shapes. It is also possible to employ values of a quantity of codes of one frame and a subframe interval SFD different from those employed in the above example.
As obvious from the above embodiments, this invention enables correct decoding of each subframe 12 as a unit in relation to time even if a part of the bit stream 14 is missing or an error occurs therein.
Further, according to this invention, it is possible to suppress degradation of a quality of the reproduced picture to a small extent if a subframe 13 including a block which is in motion in relation to time cannot be decoded.
Still further, in a region within a frame in which no motion in relation to time exists and degradation of a quality of the reproduced picture quality is hardly detected even if the decoding is unfeasible, side information of the region is allowed to be in a small volume so that it is possible to prevent an encoding efficiency from being lowered.
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
5023710, | Dec 16 1988 | Sony Corporation | Highly efficient coding apparatus |
5060285, | May 19 1989 | Verizon Laboratories Inc | Hierarchical variable block size address-vector quantization using inter-block correlation |
5107345, | Feb 27 1990 | QUALCOMM INCORPORATED A CORPORATION OF DELAWARE | Adaptive block size image compression method and system |
5138447, | Feb 11 1991 | GENERAL INSTRUMENT CORPORATION GIC-4 | Method and apparatus for communicating compressed digital video signals using multiple processors |
5144424, | Oct 15 1991 | THOMSON CONSUMER ELECTRONICS, INC A CORPORATION OF DE | Apparatus for video data quantization control |
5173952, | Mar 20 1990 | Victor Company of Japan, Ltd. | Image filtering system performing transform coding of image data other than boundary picture elements of adjoining blocks |
5203715, | Mar 13 1991 | Yazaki Corporation | Connector |
5231384, | Aug 26 1991 | General Electric Company | Apparatus for splitting video signal between two channels |
5287178, | Jul 06 1992 | General Electric Company | Reset control network for a video signal encoder |
5557331, | Mar 11 1993 | Matsushita Electric Industrial Co., Ltd. | Image encoding method, an image encoding circuit, an image encoding apparatus, and an optical disk |
EP552049, | |||
GB2287603, | |||
JP2272851, | |||
JP7111651, | |||
JP715729, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Apr 19 2005 | Panasonic Corporation | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Date | Maintenance Schedule |
Mar 30 2013 | 4 years fee payment window open |
Sep 30 2013 | 6 months grace period start (w surcharge) |
Mar 30 2014 | patent expiry (for year 4) |
Mar 30 2016 | 2 years to revive unintentionally abandoned end. (for year 4) |
Mar 30 2017 | 8 years fee payment window open |
Sep 30 2017 | 6 months grace period start (w surcharge) |
Mar 30 2018 | patent expiry (for year 8) |
Mar 30 2020 | 2 years to revive unintentionally abandoned end. (for year 8) |
Mar 30 2021 | 12 years fee payment window open |
Sep 30 2021 | 6 months grace period start (w surcharge) |
Mar 30 2022 | patent expiry (for year 12) |
Mar 30 2024 | 2 years to revive unintentionally abandoned end. (for year 12) |