United States Patent5781561
Machida , ; et al.July 14, 1998

Title

Encoding apparatus for hierarchically encoding image signal and decoding apparatus for decoding the image signal hierarchically encoded by the encoding apparatus

Abstract

Important quantized coefficients having absolute values which are higher than a threshold value are extracted from each of quantized coefficient streams into which a digital image signal is transformed, and an important quantized coefficient stream composed of the important quantized coefficients and zero-valued quantized coefficients is produced on condition that the number of important quantized coefficients and zero-valued quantized coefficients is equal to that of quantized coefficients in each quantized coefficient stream and positions of the important quantized coefficients in the important quantized coefficient stream are the same as those in a corresponding quantized coefficient stream. Also, a lesser-important quantized coefficient stream is produced by subtracting the important quantized coefficient stream from the corresponding quantized coefficient stream. Stronger error correction codes are added to each important quantized coefficient stream and are transmitted to a decoding apparatus, and less-strong error correction codes are added to each lesser-important quantized coefficient stream and are transmitted to the decoding apparatus. Therefore, an image having a superior quality can be reproduced with a high code efficiency.


Inventors:Machida; Yutaka (Yokohama, JP), Imura; Koji  (Yokohama, JP)
Assignee:Matsushita Electric Industrial Co., Ltd. (Osaka, JP)
Appl. No.:616423
Filed:March 15, 1996
Foreign Application Priority Data

Mar 16, 1995 [JP] 7-083522
Oct 25, 1995 [JP] 7-299317

Current U.S. Class:714/752 714/779 348/408.1 
Field of Search:371/37.1,37.01,37.05 348/403,408

U.S. Patent Documents
5006931April 1991Shirota
5105442April 1992Wei
5122875June 1992Raychaudhuri et al.
5231486July 1993Acampora et al.
5524025June 1996Lawrence et al.
Foreign Patent Documents
4322591Nov., 1992JP
Other References
"Variable Bit-Rate Coding Of Video Signals For ATM Networks" by F. Kishino et al; IEEE Journal On Selected Areas In Communications. vol. 7, No. 5, Jun. 1989 pp. 801-806. .
"Design And Performance Evaluation Of A Variable Bit-Rate (VBR) Video Compensation Algorithm For ATM Networks" by K. Joseph et al; Globecom '91; pp. 0009-0015. .
"Information Technology-Generic Coding of Moving Pictures And Associated Audio Information" ITU-T Draft Rec. H 262; Tuesday 10 May 1994. .
"Performance Evaluation Of The Reed-Solomon/Convolutional Concatenated Coding Scheme And Its Application To The Satellite Communication" by M. Ohashi et al;..~
Primary Examiner: Baker; Stephen M.
Attorney, Agent or Firm:Hauptman; Lowe Gopstein & Berner

Claims


What is claimed is:
1. An image signal encoding apparatus comprising:
block extracting means for extracting a plurality of blocks respectively composed of a plurality of pixels one after another from a digital image signal;
quantized-coefficient producing means for producing a one-dimensional quantized coefficient stream composed of a plurality of quantized coefficients from each block extracted by the block extracting means;
important stream producing means for extracting one or more important quantized coefficients respectively having an absolute value higher than a threshold value and one or more lesser-important quantized coefficients respectively having an absolute value equal to or lower than the threshold value,
said important stream producing means extracting said important and lesser-important quantized coefficients from the quantized coefficients of the one-dimensional quantized coefficient stream produced by the quantized coefficient producing means, and replacing the lesser-important quantized coefficients of the one-dimensional quantized coefficient stream with one or more zero-valued quantized coefficients to produce an important quantized coefficient stream composed of the important quantized coefficients and the zero-valued quantized coefficients on condition that an arranged order of each of the important quantized coefficients in the important quantized coefficient stream agrees with that in the one-dimensional quantized coefficient stream;
high priority variable-length encoding means for encoding the important quantized coefficient stream produced by the important stream producing means to produce a high priority code stream composed of one or more variable-length codes;
lesser-important stream producing means for subtracting the important quantized coefficient stream produced by the important stream producing means from the one-dimensional quantized coefficient stream produced by the quantized coefficient producing means to produce a lesser-important quantized coefficient stream composed of the lesser-important quantized coefficients; and
low priority variable-length encoding means for encoding the lesser-important quantized coefficient stream produced by the lesser-important stream producing means to produce a low priority code stream composed of one or more variable length codes.

2. An image signal encoding apparatus according to claim 1, further comprising:
high priority error correction code adding means for adding one or more stronger type error correction codes to the high priority code stream produced by the high priority variable-length encoding means; and
low priority error correction code adding means for adding one or more less-strong type error correction codes to the low priority code stream produced by the low priority variable-length encoding means.

3. An image signal encoding apparatus comprising:
high extracting means for extracting a plurality of blocks respectively composed of a plurality of pixels one after another from a digital image signal;
quantized coefficient producing means for producing a one-dimensional quantized coefficient stream composed of a plurality of quantized coefficients from each block extracted by the block extracting means;
important stream producing means for extracting one or more important quantized coefficients respectively having an absolute value higher than a threshold value and one or more lesser-important quantized coefficients respectively having an absolute value equal to or lower than the threshold value from the quantized coefficients of the one-dimensional quantized coefficient stream produced by the quantized coefficient producing means, and replacing the lesser-important quantized coefficients of the one-dimensional quantized coefficient stream with one or more zero-valued quantized coefficients to produce an important quantized coefficient stream composed of the important quantized coefficients and the zero-valued quantized coefficients on condition that an arranged order of each of the important quantized coefficients in the important quantized coefficient stream agrees with that in the one-dimensional quantized coefficient stream;
threshold subtracting means for subtracting the threshold value from each of the important quantized coefficients of the important quantized coefficient stream produced by the important stream producing means to produce a subtracted quantized coefficient stream;
high priority variable-length encoding means for encoding the subtracted quantized coefficient stream produced by the threshold subtracting means to produce a high priority code stream composed of one or more variable-length codes; and
low priority hierarchy encoding means for encoding the lesser-important quantized coefficients extracted by the important stream producing means to produce a low priority code stream.

4. An image signal encoding apparatus according to claim 3 in which the low priority hierarchy encoding means comprises
important quantized coefficient removing means for subtracting the important quantized coefficients of the important quantized coefficient stream produced by the important stream producing means from the one-dimensional quantized coefficient stream produced by the quantized coefficient producing means to remove the important quantized coefficients from the one-dimensional quantized coefficient stream while the lesser-important quantized coefficients of the one-dimensional quantized coefficient stream are arranged close together in that order and producing a shortened lesser-important quantized coefficient stream composed of the lesser-important quantized coefficients; and
low priority variable-length encoding means for encoding the shortened lesser-important quantized coefficient stream produced by the important quantized coefficient removing means to the low priority code stream composed of one or more variable-length codes.

5. An image signal encoding apparatus comprising:
block extracting means for extracting a plurality of blocks respectively composed of a plurality of pixels one after another from a digital image signal;
quantized coefficient producing means for producing a one-dimensional quantized coefficient stream composed of a plurality of quantized coefficients from each block extracted by the block extracting means;
important stream producing means for extracting one or more important quantized coefficients respectively having an absolute value higher than a threshold value and one or more lesser-important quantized coefficients respectively having an absolute value equal to or lower than the threshold value from the quantized coefficients of the one-dimensional quantized coefficient stream produced by the quantized coefficient producing means, and producing an important quantized coefficient stream from the important quantized coefficients;
high priority variable-length encoding means for encoding the important quantized coefficient stream produced by the important stream producing means to produce a high priority code stream;
important quantized coefficient removing means for removing the important quantized coefficients extracted by the important stream producing means from the one-dimensional quantized coefficient stream produced by the quantized coefficient producing means while the lesser-important quantized coefficients of the one-dimensional quantized coefficient stream extracted by the important stream producing means are arranged close together in that order and producing a shortened lesser-important quantized coefficient stream composed of the lesser-important quantized coefficients; and
low priority variable-length encoding means for encoding the shortened lesser-important quantized coefficient stream produced by the important quantized coefficient removing means to produce a low priority code stream composed of one or more variable-length codes.

6. An image signal decoding apparatus for reproducing an image signal transformed into a plurality of one-dimensional quantized coefficient streams which each are composed of an important quantized coefficient stream composed of one or more important quantized coefficients of which absolute values are higher than a threshold value and one or more zero-valued quantized coefficients and a lesser-important quantized coefficient stream composed of one or more lesser-important quantized coefficients of which absolute values are equal to or lower than the threshold value, comprising:
demultiplexing means for dividing a high priority code stream, which is obtained by encoding both the threshold value and a subtracted quantized coefficient stream composed of one or more subtracted quantized coefficients and one or more zero-valued quantized coefficients, into an encoded subtracted quantized coefficient stream and an encoded threshold value, each of the subtracted quantized coefficients being obtained by subtracting the threshold value from one important quantized coefficient of one important quantized coefficient stream;
high priority hierarchy decoding means for decoding the encoded subtracted quantized coefficient stream demultiplexed by the demultiplexing means to reproduce the subtracted quantized coefficient stream;
threshold value decoding means for decoding the encoded threshold value demultiplexed by the demultiplexing means to reproduce the threshold value;
threshold value adding means for adding the threshold value decoded by the threshold value decoding means to each of the subtracted quantized coefficients of the subtracted quantized coefficient stream decoded by the high priority hierarchy decoding means to reproduce one important quantized coefficient stream;
low priority hierarchy decoding means for decoding a low priority code stream, which is obtained by encoding each of the lesser-important quantized coefficient streams, to reproduce one lesser-important quantized coefficient stream;
quantized coefficient stream combining means for combining the important quantized coefficient stream reproduced by the threshold value adding means and the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means to reproduce one one-dimensional quantized coefficient stream; and
image signal reproducing means for reproducing the image signal from the one-dimensional quantized coefficient streams reproduced one after another by the quantized coefficient stream combining means.

7. An image signal decoding apparatus according to claim 6, further comprising:
high priority error correcting means for correcting one or more first code errors occurring in the high priority code stream according to one or more stronger error correction codes added to the high priority code stream, the high priority code stream of which the first code errors are corrected being demultiplexed by the demultiplexing means; and
low priority error correcting means for correcting one or more second code errors occurring in the low priority code stream according to one or more less-strong error correction codes added to the low priority code stream, the low priority code stream of which the second code errors are corrected being decoded by the low priority hierarchy decoding means.

8. An image signal decoding apparatus for reproducing an image signal transformed into a plurality of one-dimensional quantized coefficient streams which each are composed of an important quantized coefficient stream composed of one or more important quantized coefficients of which absolute values are higher than a threshold value and one or more zero-valued quantized coefficients and a lesser-important quantized coefficient stream composed of one or more lesser-important quantized coefficients of which absolute values are equal to or lower than the threshold value, comprising:
high priority hierarchy decoding means for decoding a high priority code stream, which is obtained by encoding each of the important quantized coefficient streams, to reproduce one important quantized coefficient stream and producing one or more pieces of positional information indicating one or more particular positions of the important quantized coefficients of the important quantized coefficient stream;
low priority hierarchy decoding means for decoding a low priority code stream, which is obtained by encoding a shortened lesser-important quantized coefficient stream composed of one or more shortened lesser-important quantized coefficients, to reproduce one shortened lesser-important quantized coefficient stream, each of the shortened lesser-important quantized coefficients being obtained by removing all important quantized coefficients from one one-dimensional quantized coefficient stream while other lesser-important quantized coefficients of the one-dimensional quantized coefficient stream are arranged close together in that order;
lesser-important stream producing means for inserting one or more particular zero-valued quantized coefficients into the shortened lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means according to the positional information produced by the high priority hierarchy decoding means to reproduce one lesser-important quantized coefficient stream in which the particular zero-valued quantized coefficients are positioned at the particular positions indicated by the positional information as one or more lesser-important quantized coefficients and the number of lesser-important quantized coefficients of the lesser-important quantized coefficient stream is the same as that of the important quantized coefficient stream reproduced by the high priority hierarchy decoding means;
quantized coefficient stream combining means for combining the important quantized coefficient stream reproduced by the high priority hierarchy decoding means and the lesser-important quantized coefficient stream reproduced by the lesser-important stream producing means to reproduce one one-dimensional quantized coefficient stream; and
image signal reproducing means for reproducing the image signal from the one-dimensional quantized coefficient streams reproduced one after another by the quantized coefficient stream combining means.

9. An image signal decoding apparatus according to claim 8, further comprising:
high priority error correcting means for correcting one or more first code errors occurring in the high priority code stream according to one or more stronger error correction codes added to the high priority code stream, the high priority code stream of which the first code errors are corrected being decoded by the high priority hierarchy decoding means; and
low priority error correcting means for correcting one or more second code errors occurring in the low priority code stream according to one or more less-strong error correction codes added to the low priority code stream, the low priority code stream of which the second code errors are corrected being decoded by the low priority hierarchy decoding means.

10. An image signal decoding apparatus for reproducing an image signal transformed into a plurality of one-dimensional quantized coefficient streams which each are composed of an important quantized coefficient stream composed of one or more important quantized coefficients of which absolute values are higher than a threshold value and one or more zero-valued quantized coefficients and a lesser-important quantized coefficient stream composed of one or more lesser-important quantized coefficients of which absolute values are equal to or lower than the threshold value, comprising:
demultiplexing means for dividing a high priority code stream, which is obtained by encoding both the threshold value and one important quantized coefficient stream, into an encoded important quantized coefficient stream and an encoded threshold value;
high priority hierarchy decoding means for decoding the encoded important quantized coefficient stream demultiplexed by the demultiplexing means to reproduce one important quantized coefficient stream;
threshold value decoding means for decoding the encoded threshold value demultiplexed by the demultiplexing means to reproduce the threshold value;
low priority hierarchy decoding means for decoding a low priority code stream, which is obtained by encoding each of the lesser-important quantized coefficient streams, to reproduce one lesser-important quantized coefficient stream;
coefficient value comparing and judging means for judging whether each absolute value of the lesser-important quantized coefficients of the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means is higher than the threshold value decoded by the threshold value decoding means;
coefficient stream replacing means for replacing the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means with a meaningless quantized coefficient stream to output the meaningless quantized coefficient stream in cases where it is judged by the coefficient value comparing and judging means that one absolute value of one lesser-important quantized coefficient of the lesser-important quantized coefficient stream is higher than the threshold value and outputting the lesser-important quantized coefficient stream in cases where it is judged by the coefficient value comparing and judging means that the absolute values of all lesser-important quantized coefficients of the lesser-important quantized coefficient stream are equal to or lower than the threshold value;
quantized coefficient stream combining means for combining the important quantized coefficient stream reproduced by the high priority hierarchy decoding means and the lesser-important quantized coefficient stream or the meaningless quantized coefficient stream output from the coefficient stream replacing means to reproduce one one-dimensional quantized coefficient stream; and
image signal reproducing means for reproducing the image signal from the one-dimensional quantized coefficient streams reproduced one after another by the quantized coefficient stream combining means.

11. An image signal decoding apparatus according to claim 10 in which the coefficient value comparing and judging means comprises
absolute value calculating means for calculating the absolute values of the lesser-important quantized coefficients of the lesser-important quantized coefficient stream; and
error judging means for judging whether each of the absolute values calculated by the absolute value calculating means is higher than the threshold value and outputting an error detecting code in cases where one absolute value is higher than the threshold value, and the coefficient stream replacing means comprises
coefficient counting means for incrementing a counting value each time one lesser-important quantized coefficient of the lesser-important quantized coefficient stream is received and outputting a count finishing signal in cases where the counting value reaches the number of lesser-important quantized coefficients included in the lesser-important quantized coefficient stream;
control signal generating means for generating a control signal in cases where the error detecting code is output from the error judging means before the count finishing signal is output from the coefficient counting means; and
coefficient stream outputting means for outputting the meaningless quantized coefficient stream in cases where the control signal is generated by the control signal generating means and outputting the lesser-important quantized coefficient stream in cases where the control signal is not generated by the control signal generating means.

12. An image signal decoding apparatus according to claim 10 in which the meaningless quantized coefficient stream output from the coefficient stream replacing means is composed of one or more zero-valued quantized coefficients of which the number agrees with the number of important quantized coefficients of one important quantized coefficient stream.

13. An image signal decoding apparatus according to claim 10, further comprising
non-zero-valued coefficient judging means for judging whether or not one non-zero-valued lesser-important quantized coefficient of the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means is placed at the same position as that at which one non-zero-valued important quantized coefficient of the important quantized coefficient stream reproduced by the high priority hierarchy decoding means is placed, the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means being replaced with the meaningless quantized coefficient stream to output the meaningless quantized coefficient stream in cases where it is judged by the non-zero-valued coefficient judging means that one non-zero-valued lesser-important quantized coefficient of the lesser-important quantized coefficient stream is placed at the same position as that at which one non-zero-valued important quantized coefficient of the important quantized coefficient stream is placed.

14. An image signal decoding apparatus according to claim 10, further comprising:
high priority error correcting means for correcting one or more first code errors occurring in the high priority code stream according to one or more stronger error correction codes added to the high priority code stream, the high priority code stream of which the first code errors are corrected being demultiplexed by the demultiplexing means; and
low priority error correcting means for correcting one or more second code errors occurring in the low priority code stream according to one or more less-strong error correction codes added to the low priority code stream, the low priority code stream of which the second code errors are corrected being decoded by the low priority hierarchy decoding means.

15. An image signal decoding apparatus for reproducing an image signal transformed into a plurality of one-dimensional quantized coefficient streams which each are composed of an important quantized coefficient stream composed of one or more important quantized coefficients of which absolute values are higher than a threshold value and one or more zero-valued quantized coefficients and a lesser-important quantized coefficient stream composed of one or more lesser-important quantized coefficients of which absolute values are equal to or lower than the threshold value, comprising:
high priority hierarchy decoding means for decoding a high priority code stream, which is obtained by encoding each of the important quantized coefficient streams, to reproduce one important quantized coefficient stream;
low priority hierarchy decoding means for decoding a low priority code stream, which is obtained by encoding each of the lesser-important quantized coefficient streams, to reproduce one lesser-important quantized coefficient stream;
non-zero-valued coefficient judging means for judging whether or not one non-zero-valued lesser-important quantized coefficient of the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means is placed at the same position as that at which one non-zero-valued important quantized coefficient of the important quantized coefficient stream reproduced by the high priority hierarchy decoding means is placed,
coefficient stream replacing means for replacing the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means with a meaningless quantized coefficient stream to output the meaningless quantized coefficient stream in cases where it is judged by the non-zero-valued coefficient judging means that one non-zero-valued lesser-important quantized coefficient of the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means is placed at the same position as that at which one non-zero-valued important quantized coefficient of the important quantized coefficient stream reproduced by the high priority hierarchy decoding means is placed and outputting the lesser-important quantized coefficient stream in cases where it is judged by the non-zero-valued coefficient judging means that any of one or more non-zero-valued lesser-important quantized coefficients of the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means is not placed at one of one or more positions at which all of one or more non-zero-valued important quantized coefficients of the important quantized coefficient stream reproduced by the high priority hierarchy decoding means are placed;
quantized coefficient stream combining means for combining the important quantized coefficient stream reproduced by the high priority hierarchy decoding means and the lesser-important quantized coefficient stream or the meaningless quantized coefficient stream output from the coefficient stream replacing means to reproduce one one-dimensional quantized coefficient stream; and
image signal reproducing means for reproducing the image signal from the one-dimensional quantized coefficient streams reproduced one after another by the quantized coefficient stream combining means.

16. An image signal decoding apparatus according to claim 15 in which the non-zero-valued coefficient judging means comprises
high priority non-zero-valued judging means for judging whether or not each of the important quantized coefficients of the important quantized coefficient stream is a non-zero value and outputting a high priority judging code each time it is judged that one important quantized coefficient is a non-zero value;
low priority non-zero-valued judging means for judging whether or not each of the lesser-important quantized coefficients of the lesser-important quantized coefficient stream is a non-zero value and outputting a low priority judging code each time it is judged that one lesser-important quantized coefficient is a non-zero value;
error judging means for judging whether or not the high priority judging code and the low priority judging code are simultaneously output from the high priority non-zero-valued judging means and the low priority non-zero-valued judging means and outputting an error detecting code in cases where it is judged that the high priority judging code and the low priority judging code are simultaneously output, and
coefficient counting means for incrementing a counting value each time one lesser-important quantized coefficient of the lesser-important quantized coefficient stream is received and outputting a count finishing signal in cases where the counting value reaches the number of lesser-important quantized coefficients included in the lesser-important quantized coefficient stream;
control signal generating means for generating a control signal in cases where the error detecting code is output from the error judging means before the count finishing signal is output from the coefficient counting means; and
coefficient stream outputting means for outputting the meaningless quantized coefficient stream in cases where the control signal is generated by the control signal generating means and outputting the lesser-important quantized coefficient stream in cases where the control signal is not generated by the control signal generating means.

17. An image signal decoding apparatus according to claim 15 in which the meaningless quantized coefficient stream output from the coefficient stream replacing means is composed of one or more zero-valued quantized coefficients of which the number agrees with the number of important quantized coefficients of one important quantized coefficient stream.

18. An image signal decoding apparatus according to claim 15, further comprising:
high priority error correcting means for correcting one or more first code errors occurring in the high priority code stream according to one or more stronger error correction codes added to the high priority code stream, the high priority code stream of which the first code errors are corrected being decoded by the high priority hierarchy decoding means; and
low priority error correcting means for correcting one or more second code errors occurring in the low priority code stream according to one or more less-strong error correction codes added to the low priority code stream, the low priority code stream of which the second code errors are corrected being decoded by the low priority hierarchy decoding means.

Description

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates generally to encoding and decoding apparatuses for respectively encoding or decoding a digital image signal used for a visual telephone or a picturephone meeting, and more particularly to encoding and decoding apparatuses for preventing the deterioration of a quality of a decoded image signal.

2. Description of the Related Art

In a conventional image signal encoding apparatus, a digital image signal is divided into a plurality of blocks respectively composed of a plurality of pixels, and a plurality of operations such as a motion estimation, a motion compensation, an orthogonal transformation, a quantization and a variable-length encoding are performed for each of the blocks, and a variable-length code stream is output. Also, in a conventional image signal decoding apparatus, a plurality of inverse operations such as a variable-length code decoding operation, an inverse quantization, an inverse orthogonal transformation and a motion compensation are performed to reproduce each of the blocks, the blocks are rearranged, and the digital image signal is reproduced.

In the encoding and decoding apparatuses, spatial redundancy and time redundancy existing in the image signal are removed, and the image signal expressed by a small number of codes is efficiently transmitted and stored.

In this case, because a code stream output from the conventional image signal encoding apparatus is a variable-length code stream, it is generally impossible to start a decoding operation from the middle of the variable-length code stream. Therefore, in cases where a bit error (or code error) occurs in a particular code of the variable-length code stream in a transmission channel or a storing medium, it becomes impossible to correctly decode a plurality of codes following the particular code in the stream in the conventional image signal decoding apparatus.

To avoid the above drawback caused by the bit error, a unique fixed-length synchronizing word is inserted in the variable-length code stream at regular intervals. Therefore, even though a bit error (or code error) occurs in a particular code of the variable-length code stream, a plurality of codes following a particular fixed-length synchronizing word positioned after the particular code in the code stream can be correctly decoded. However, a plurality of codes positioned between the particular code (or an erred bit) and the particular fixed-length synchronizing word cannot be correctly decoded, a remarkable volume of image information is lost, and a quality of a reproduced image considerably and subjectively deteriorates. Also, in cases where an error checking and correction is performed for the variable-length code stream output from the conventional image signal encoding apparatus, an occurrence frequency of the bit error can be lowered. However, because error correction codes are added to the variable-length code stream, a transmission efficiency and a storing efficiency for the variable-length code stream are considerably lowered.

To avoid the above drawback, a hierarchically layered coding technique is proposed in a literature "Variable Bit-Rate Coding of Video Signals for ATM" IEEE Journal on Selected Areas in Communications Vol. 7, No. 5, pp. 801-806, June, 1989, a literature IEEE GLOBECOM '91, Conference Record, Vol. 1, pp. 9-15, December, 1991, and a literature ISO/IEC DIS 13818-2, pp.114-172, May, 1994. In the hierarchically layered coding technique, orthogonal transforming coefficients are divided into a group of low frequency components and a group of high frequency components, each group is changed to a variable-length code stream, a variable-length code stream relating to the group of low frequency components takes a high priority because the group of low frequency components is visually important, a variable-length code stream relating to the group of high frequency components takes a low priority because the group of high frequency components is visually lesser-important, and each of the code streams is transmitted and stored. The hierarchically layered coding technique is described in detail with reference to FIG. 1.

2.1. First Previously Proposed Art

FIG. 1 is a block diagram of a conventional image signal encoding apparatus operated according to the hierarchically layered coding technique with high and low priority.

As shown in FIG. 1, a conventional image signal encoding apparatus 701 is composed of

a block extracting circuit 702 for extracting a plurality of blocks respectively composed of 8*8 pixels one after another from each of frames of digital dynamic image signals input to the apparatus 701 one after another,

a frame memory 709 for storing a reconstructed frame which is composed of a plurality of reconstructed blocks as a reconstructed preceding frame;

a motion estimating circuit 711 for detecting a motion vector indicating a block of the reconstructed preceding frame stored in the frame memory 709 from which a current block extracted by the block extracting circuit 702 is moved,

a motion compensating circuit 710 for extracting a block of the preceding frame indicated by the motion vector detected by the motion estimating circuit 711 from the reconstructed preceding frame stored in the frame memory 709 and outputting the extracted block as a predicted block;

a subtracting circuit 703 for calculating a difference between the current block and the predicted block and outputting the difference as a predicted error block,

an orthogonal transforming circuit 704 for orthogonally transforming the predicted error block to form a coefficient block,

a quantizing circuit 705 for quantizing the coefficient block to form a quantized coefficient block,

a inverse quantizing circuit 706 for inversely quantizing the quantized coefficient block for the purpose of reconstructing the current block and outputting a reconstructed coefficient block,

a inverse orthogonal transforming circuit 707 for inversely orthogonally-transforming the reconstructed coefficient block to produce a reproduce predicted error block,

an adding circuit 708 for adding the predicted block output from the motion compensating circuit 710 and the reconstructed predicted error block to obtain a reconstructed current block and storing the reconstructed current block in the frame memory 709 as a reconstructed preceding frame renewed,

a scanning circuit 712 for transforming the quantized coefficient block quantized by the quantizing circuit 705 into a one-dimensional quantized coefficient stream for each of blocks extracted by the block extracting circuit 702,

a priority selecting circuit 713 for dividing each one-dimensional quantized coefficient stream output from the scanning circuit 712 into a high priority quantized coefficient stream allocated in a high priority hierarchy and

a low priority quantized coefficient stream allocated in a low priority hierarchy,

a first two-dimensional variable-length encoding circuit 714 for encoding the low priority quantized coefficient stream in two-dimensional variable-length to produce a low priority variable-length code stream,

a second two-dimensional variable-length encoding circuit 723 for encoding the high priority quantized coefficient stream in two-dimensional variable-length to produce a high priority variable-length code stream,

a first code stream buffer 715 for temporarily storing the low priority variable-length code stream,

a quantizing step control circuit 726 for setting a quantizing step influencing a code volume of the high priority quantized coefficient stream and a code volume of the low priority quantized coefficient stream,

a priority break point controlling circuit 727 for setting a priority break point influencing a ratio of a code volume of the high priority quantized coefficient stream to a code volume of the low priority quantized coefficient stream,

a quantizing step encoding circuit 724 for encoding the quantizing step,

a priority break point encoding circuit 718 for encoding the priority break point,

a motion vector encoding circuit 725 for encoding the motion vector detected by the motion estimating circuit 711,

a multiplexing 719 for multiplying the high priority variable-length code stream produced by the second two-dimensional variable-length encoding circuit 723 and code stream control information composed of the priority break point encoded by the priority break point encoding circuit 718, the quantizing step encoded by the quantizing step encoding circuit 724 and the motion vector encoded by the motion vector encoding circuit 725 to produce a multiplied variable-length code stream,

a second code stream buffer 720 for temporarily storing the multiplied variable-length code stream,

a first error correction code adding circuit 716 for adding a less-strong error correction code to the low priority variable-length code stream stored in the first code stream buffer 715, and

a second error correction code adding circuit 721 for adding a stronger error correction code to the multiplied variable-length code stream stored in the second code stream buffer 720.

In the above configuration, when a frame of digital dynamic image signal is input to the encoding apparatus 701 as a current frame, a plurality of blocks respectively composed of 8*8 pixels are extracted from the current frame one after another in the block extracting circuit 702, and each of the blocks is transmitted to the motion estimating circuit 711 and the subtracting circuit 703 as a current block.

In the motion estimating circuit 711, the reconstructed preceding frame stored in the frame memory 709 and the current block are compared with each other, and a motion vector is output. The motion vector indicates a block of the reconstructed preceding frame from which the current block is moved. Therefore, the motion vector indicates a degree of spatial displacement. Thereafter, the motion vector is transmitted to the motion compensating circuit 710. In the circuit 710, a block composed of 8*8 pixels indicated by the motion vector is extracted from the reconstructed preceding block stored in the frame memory 709 according to the motion, and the block is transmitted to the subtracting circuit 703 as a predicted block for the current block.

In the subtracting circuit 703, a value of each pixel of the predicted block is subtracted from a value of a corresponding pixel of the current block, and a predicted error block composed of 8*8 pixels having subtracted values. In this case, because the predicted block is very similar to the current block on condition that the detection of the motion vector is skillfully performed, pixel energy (or pixel values) of the pixels of the predicted error block is considerably lower than that of the current block.

Thereafter, the predicted error block is orthogonally transformed in the orthogonal transforming circuit 704, and a coefficient block composed of 8*8 coefficients is output. In this case, a discrete cosine transformation is used as the orthogonal transformation. In general, in cases where the discrete cosine transformation is performed for a plurality of stationary signals highly correlating to each other, energy of the coefficient block is concentrated to a small number of low-order coefficients, and entropy of the coefficient block can be reduced. In a strict meaning, the discrete cosine transformation is not a map toward a frequency axis obtained in a discrete Fourier transformation. However, low-order coefficients correspond to low spatial frequencies, and high-order coefficients correspond to high spatial frequencies.

Thereafter, the coefficient block is quantized in the quantizing circuit 705 according to a quantizing step set by the quantizing step control circuit 726, and a quantized coefficient block composed of 8*8 quantized coefficients is output. In this case, many of the quantized coefficients become a zero value.

Thereafter, a local decoding processing for obtaining a reconstructed current frame used for the prediction of a succeeding frame is performed in the circuits 706 to 708. In detail, the quantized coefficient block is inversely quantized in the inverse quantizing circuit 706 according to the same quantizing step, and a reconstructed coefficient block composed of 8*8 reconstructed coefficients is output. Thereafter, the reconstructed coefficient block is inversely orthogonal-transformed in the inverse orthogonal transforming circuit 707, and a reconstructed predicted error block is output. Thereafter, a value of each of pixels of the reconstructed predicted error block is added to a value of a corresponding pixel of the predicted block in the adding circuit 708, and a reconstructed current block composed of 8*8 reconstructed pixels having added values is produced. The production of the reconstructed current block is performed each time one of the blocks of the current frame is extracted as the current block in the block extracting circuit 702.

Thereafter, the reconstructed current blocks produced by the adding circuit 708 are stored in the frame memory 709 one after another. When all reconstructed current blocks corresponding to the current frame are stored, a reconstructed current frame is prepared in the frame memory 709 and is used for the prediction of a succeeding frame input to the block extracting circuit 702 just after the current frame.

Also, the quantized coefficient blocks produced in the quantizing circuit 705 one after another are processed in the circuits 712 to 716, 718 to 721, and 723 to 727 according to a hierarchically layered coding technique with priority. In detail, each of the quantized coefficient blocks is scanned in the scanning circuit 712. That is, as shown in FIG. 2, the scanning is performed in zigzag directions from a lowest-order quantized coefficient placed on an upper left side to a highest-order quantized coefficient placed on a lower right side, and two-dimensional quantized coefficients of each quantized coefficient block are transformed into a one-dimensional quantized coefficient stream in which a plurality of quantized coefficients are arranged in the order from a quantized coefficient corresponding to the lowest spatial frequency to a quantized coefficient corresponding to the highest spatial frequency.

Thereafter, each one-dimensional quantized coefficient stream is divided into a high priority quantized coefficient stream and a low priority quantized coefficient stream in the priority selecting circuit 713 according to a priority break point set by the priority break point controlling circuit 727. In detail, a non-zero quantized coefficient (or a level) having a non-zero value and the number of zero-valued quantized coefficients (or a zero run length) which have a zero value and are placed just before the non-zero quantized coefficient in one one-dimensional quantized coefficient stream are defined, a quantized coefficient stream composed of one non-zero quantized coefficient and the zero-valued quantized coefficients is called a two-dimensional event expressed by a set Ev=(zero run length, level). In this case, the priority break point indicates the number of two-dimensional events allocated to a high priority hierarchy. Therefore, one or more quantized coefficient streams respectively classified as the two-dimensional event are allocated to a high priority hierarchy until the number of two-dimensional events occurring in one one-dimensional quantized coefficient stream reaches the priority break point.

For example, in cases where a particular one-dimensional quantized coefficient stream {3,0,1,0,0,-2,0,0, - - - , 0,0} is input to the priority selecting circuit 713 and the priority break point indicates 2, a first quantized coefficient stream {3} is detected as a first two-dimensional event Ev=(0,3), a second quantized coefficient stream {0,1} is detected as a second two-dimensional event Ev=(1,1), and a third quantized coefficient stream {0,0,-2} is detected as a third two-dimensional event Ev=(2,-2). Therefore, a quantized coefficient stream {3,0,1} is allocated to a high priority hierarchy as a high priority quantized coefficient stream, and a remaining quantized coefficient stream {0,0,-2,0,0, - - - , 0,0} corresponding to the third two-dimensional event and a quantized coefficient stream following the third two-dimensional event is allocated to a low priority hierarchy as a low priority quantized coefficient stream.

Therefore, in cases where a plurality of one-dimensional quantized coefficient streams are input to the circuit 713 one after another, pieces of visually important information (or quantized coefficients) corresponding to the lower spatial frequencies are allocated to the high priority hierarchy, and pieces of visually lesser-important information (or quantized coefficients) corresponding to the higher spatial frequencies are allocated to the low priority hierarchy.

One or more two-dimensional events of each low priority quantized coefficient stream allocated to the low priority hierarchy are respectively encoded in two-dimensional variable-length in the first two-dimensional variable-length encoding circuit
714 to produce one or more variable-length codes composing a low priority variable-length code stream. In this case, a length of a variable-length code corresponding to a two-dimensional event is shortened as an occurrence frequency of the two-dimensional event becomes higher, so that a code volume of variable-length codes produced in the circuit 714 is reduced. In general, a code having a shortened length is set as a variable-length code corresponding to a two-dimensional event as an absolute value of the level of the two-dimensional event becomes lower, and a code having a shortened length is set as a variable-length code corresponding to a two-dimensional event as the zero run length of the two-dimensional event becomes shorter. For example, the two-dimensional event Ev=(2,-2) is encoded to a variable-length code stream "00001001". Also, an EOB code "01" is added after a final two-dimensional event occurring in one one-dimensional quantized coefficient stream to indicate the end of a block. Therefore, in cases where the particular one-dimensional quantized coefficient stream is input to the priority selecting circuit 713, a particular low priority variable-length code stream "0000100110" is output from the variable-length encoding circuit 714.

Thereafter, a plurality of low priority variable-length code streams are output from the variable-length encoding circuit 714 one after another and are temporarily stored in the first code stream buffer 715 to smooth the streams in transmission speed (or bit-rate). Thereafter, a less-strong error correction code is added to each of the low priority variable-length code streams in the first error correction code adding circuit 716. For example, a Reed-Solomon code RS(64,48) in which a encoding ratio is 3/4 is used as the less-strong error correction code. Thereafter, the low priority variable-length code streams to which the less-strong error correction codes are added are output from an output terminal 717.

Also, one or more two-dimensional events of each high priority quantized coefficient stream allocated to the high priority hierarchy in the priority selecting circuit 713 are respectively encoded in two-dimensional variable-length in the second two-dimensional variable-length encoding circuit 723 to produce one or more variable-length codes composing a high priority variable-length code stream. For example, the first two-dimensional event Ev=(0,3) is encoded to "001010", and the second two-dimensional event Ev=(1,1) is encoded to "0110". Therefore, a particular high priority variable-length code stream "0010100110" is output. In this case, because the number of two-dimensional events allocated to the high priority hierarchy is determined by the priority break point, any EOB code is not added.

Thereafter, each high priority variable-length code stream output from the encoding circuit 723 is input to the multiplexing 719. Also, code stream control information composed of the priority break point encoded by the priority break point encoding circuit 718, the quantizing step encoded by the quantizing step encoding circuit 724 and the motion vector encoded by the motion vector encoding circuit 725 are input to the multiplexing 719. In the multiplexing 719, the code stream control information and one high priority variable-length code stream are multiplied to produce a multiplied variable-length code stream allocated to the high priority hierarchy. Because the code stream control information are important to correctly decoding the high priority variable-length code stream, the multiplied variable-length code stream including the code stream control information is allocated to the high priority hierarchy.

Thereafter, a plurality of multiplied variable-length code streams are output from the multiplexing 719 one after another and are temporarily stored in the second code stream buffer 720 to smooth the code streams in transmission speed (or bit-rate). Thereafter, a stronger error correction code is added to each of the multiplied variable-length code streams in the second error correction code adding circuit 721. For example, a Reed-Solomon code RS(64,32) in which a encoding ratio is 1/2
is used as the stronger error correction code. Thereafter, the multiplied variable-length code streams to which the stronger error correction codes are added are output from an output terminal 722.

Also, a quantizing step is calculated in the quantizing step control circuit 726 according to a first code volume of the low priority variable-length code streams stored in the first code stream buffer 715 and a second code volume of the multiplied variable-length code streams stored in the second code stream buffer 720 to prevent the occurrence of an underflow or overflow in the buffers 715 and 720, and the quantizing circuit 705 and the inverse quantizing circuit 706 are controlled according to the quantizing step. In cases where a sum of the first and second code volumes are too high, the quantizing step is increased to decrease the first and second code volumes. In contrast, in cases where the sum of the first and second code volumes are too low, the quantizing step is decreased to increase the first and second code volumes.

Also, a priority break point is calculated in the priority break point control circuit 727 according to the first and second code volumes to prevent the occurrence of an underflow or overflow in the buffers 715 and 720, and the priority selecting circuit 713 is controlled according to the priority break point. In cases where the first code volume of the low priority variable-length code streams is too low as compared with the second code volume of the multiplied variable-length code streams, the priority break point is increased to increase the first code volume and decrease the second code volume.

For example, the quantizing step and the priority break point are set by the control circuits 726 and 727 to set the speed (or data-rate) of the low priority variable-length code streams output from the buffer 715 to a constant value 24 kbits per second (kbps) and set the speed of the multiplied variable-length code streams output from the buffer 720 to a constant value 16 kbps. In this case, a total speed of the low priority and multiplied variable-length code streams to which the error correction codes are added reaches 64 kbps.

The low priority and multiplied variable-length code streams output from the output terminals 717 and 722 are transmitted to another apparatus or are stored. In cases where the code streams are transmitted through a radio channel, a bit error (or code error) frequently occurs on the radio channel. However, even though a bit error rate is generally no less than 1%, in cases where the occurrence of many bit errors (or code errors) at a burst is suppressed, a bit error rate can be lowered to about 0.0001% because of the addition of the RS code (64,48) for the low priority hierarchy, and a bit error rate can be lowered to about 1*10.sup.-12 % because of the addition of the RS code (64,32) for the high priority hierarchy. This decrease of the bit error rate is described in a literature: Shingaku Giho (satellite communication), SAT8919, pp. 5-10, 1989.

2.2. Second Previously Proposed Art

Next, a conventional image signal decoding apparatus for decoding the low priority and multiplied variable-length code streams encoded according to the hierarchically layered coding technique with priority is described.

FIG. 3 is a block diagram of a conventional image signal decoding apparatus.

As shown in FIG. 3, a conventional image signal decoding apparatus 900 is composed of

a first error correcting circuit 902 for correcting one or more errors occurring in one low priority variable-length code stream transmitted from the image signal encoding apparatus 701 according to the less-strong error correction codes added to the code stream and removing the low less-strong error correction codes from the low priority variable-length code stream,

a first buffer 903 for temporarily storing the low priority variable-length code stream,

a first two-dimensional variable-length code decoding circuit 908 for decoding the low priority variable-length code stream to reproduce the low priority quantized coefficient stream,

a second error correcting circuit 905 for correcting one or more errors occurring in one multiplied variable-length code stream transmitted from the image signal encoding apparatus 701 according to the stronger error correction codes added to the code stream and removing the stronger error correction code from the multiplied variable-length code stream,

a second buffer 906 for temporarily storing the multiplied variable-length code stream,

a demultiplexing circuit 907 for dividing the multiplied variable-length code stream into the high priority variable-length code stream and the code stream control information,

a second two-dimensional variable-length code decoding circuit 909 for decoding the high priority variable-length code stream to reproduce the high priority quantized coefficient stream,

a priority break point decoding circuit 910 for decoding the encoded priority break point included in the code stream control information to reproduce the priority break point,

a quantizing step decoding circuit 911 for decoding the encoded quantizing step included in the code stream control information to reproduce the quantizing step,

a motion vector decoding circuit 912 for decoding the encoded motion vector included in the code stream control information to reproduce the motion vector,

a priority deselecting circuit 913 for deselecting the reproduced low priority quantized coefficient stream produced by the decoding circuit 908 and the reproduced high priority quantized coefficient stream produced by the decoding circuit 909
according to the priority break point to reproduce the one-dimensional quantized coefficient stream,

a inverse scanning circuit 914 for inversely scanning the reproduced one-dimensional quantized coefficient stream to reproduce the quantized coefficient block,

a inverse quantizing circuit 915 for inversely quantizing the reconstructed quantized coefficient block according to the reproduced motion vector to reproduce the coefficient block,

a inverse orthogonal transforming circuit 916 for inversely orthogonal-transforming the coefficient block to reproduce the predicted error block,

a frame memory 918 for storing a reconstructed preceding frame,

a motion compensating circuit 919 for extracting a block from the reconstructed preceding frame according to the reproduced motion vector and outputting the extracted block as a predicted block for a reconstructed current block,

an adding circuit 917 for adding the predicted error block and the predicted block to obtain the reconstructed current block and storing the reconstructed current block in the frame memory 918, and

a frame reconstructing circuit 920 for reconstructing the current frame from a plurality of reconstructed blocks respectively transmitted from the adding circuit 917 as the reconstructed current block.

In the above configuration, when a plurality of low priority variable-length code streams allocated to the low priority hierarchy are input to the first error correcting circuit 902 one after another, one or more errors occurring in each of the low priority variable-length code streams are corrected, and the error correction code is removed from each of the low priority variable-length code streams. Thereafter, each of the low priority variable-length code streams is input to the first two-dimensional variable-length code decoding circuit 908 through the first buffer 903. In the circuit 908, variable-length codes of one low priority variable-length code stream are decoded to one or more two-dimensional events, and a quantized coefficient stream corresponding to the two-dimensional events is output as a reproduced low priority quantized coefficient stream. For example, in cases where the particular low priority variable-length code stream "0000100110" is input to the circuit
908, a variable-length code stream "00001001" is decoded to the two-dimensional event Ev=(2,-2), and the EOB code "10" is decoded to an EOB sign. Thereafter, a quantized coefficient stream {0,0,-2,0,0, - - - , 0,0} is reproduced from the two-dimensional event Ev=(2,-2) and the EOB sign. Therefore, the reproduced low priority quantized coefficient stream which is allocated to the low priority hierarchy and corresponds to one quantized coefficient block can be output because the EOB code is included in the low priority variable-length code stream.

In contrast, when a plurality of multiplied variable-length code streams allocated to the high priority hierarchy are input to the second error correcting circuit 905 one after another, one or more errors occurring in each of the multiplied variable-length code streams are corrected, and the error correction code is removed from each of the multiplied variable-length code streams. Thereafter, each of the multiplied variable-length code streams is input to the demultiplexing circuit 907
through the second buffer 906. In the circuit 907, one multiplied variable-length code stream is divided into one high priority variable-length code stream, one encoded priority break point, one encoded quantizing step and one encoded motion vector. The high priority variable-length code stream is decoded to a reproduced high priority quantized coefficient stream in the second two-dimensional variable-length code decoding circuit 909. For example, the particular high priority variable-length code stream "0010100110" input to the circuit 909 is decoded to, a reproduced high priority quantized coefficient stream {3,0,1}. Because any EOB code is not included in the high priority variable-length code stream, a plurality of reproduced high priority quantized coefficient streams are successively output from the circuit 909 as a successive quantized coefficient stream when a plurality of high priority variable-length code streams are input to the circuit 909 one after another.

The encoded priority break point is decoded to a reproduced priority break point in the priority break point decoding circuit 910, the encoded quantizing step is decoded to a reproduced quantizing step in the quantizing step decoding circuit 911, and the decoded motion vector is decoded to a reproduced motion vector in the motion vector decoding circuit 912.

Thereafter, the reproduced low priority quantized coefficient stream output from the circuit 908 and the reproduced high priority quantized coefficient stream output from the circuit 909 are combined to a reproduced one-dimensional quantized coefficient stream according to the reproduced priority break point in the priority deselecting circuit 913. For example, in cases where the reproduced priority break point indicates 2, two quantized coefficient streams {3} and {0,1} corresponding to two two-dimensional events (0,3) and (1,1) are extracted from a head portion of the successive quantized coefficient stream output from the circuit 909 to obtain the-reproduced high priority quantized coefficient stream {3,0,1}, and the reproduced low priority quantized coefficient stream {0,0,-2,0,0, - - - , 0,0} is connected to a rear end of the reproduced high priority quantized coefficient stream. Therefore, a reproduced one-dimensional quantized coefficient stream {3,0,1,0,0,-2,0,0, - - - , 0,0} corresponding to one quantized coefficient block can be obtained. In this case, the number of coefficients in the reproduced one-dimensional quantized coefficient stream is 64.

In cases where an error of which the correction is impossible is detected in the error correcting circuit 902, a zero-valued code stream is connected to a rear end of the reproduced high priority quantized coefficient stream in the deselecting circuit 913. For example, a reproduced one-dimensional quantized coefficient stream {3,0,1,0,0, - - - , 0,0} is output by arranging the zero-valued code stream after the reproduced quantized coefficient stream {3,0,1}.

A plurality of quantized coefficients of the reproduced one-dimensional quantized coefficient stream output from the deselecting circuit 913 are, as shown in FIG. 2, rearranged in two-dimension in the inverse scanning circuit 914 to obtain a reconstructed quantized coefficient block composed of 8*8 quantized coefficients. Thereafter, the reconstructed quantized coefficient block is inversely quantized in the inverse quantizing circuit 915 according to the reproduced quantizing step to obtain a reconstructed coefficient block. Thereafter, the reconstructed coefficient block is inversely orthogonal-transformed in the inverse orthogonal transforming circuit 916 to obtain a reconstructed predicted error block.

Also, in the motion compensating circuit 919, a block indicated by the reproduced motion vector is extracted from the reproduced preceding frame stored in the frame memory 918, and the block is output to the adding circuit 917 as a predicted block for a reproduced current frame. In the adding circuit 917, pixel values of the reconstructed predicted error block are added to those of the predicted block in one-to-one correspondence, and a reconstructed current block is produced. Therefore, a plurality of reconstructed blocks of a reconstructed current frame are produced in the adding circuit 917 one after another, and the reconstructed blocks of the reconstructed current frame are stored in the frame memory 918 to be used for the prediction of a reconstructed succeeding frame. Also, the reconstructed current blocks of the reconstructed current frame are input to the frame reconstructing circuit 920 one after another, and the reconstructed current frame is obtained. The reconstructed current frame is output from an output terminal 921.

Accordingly, because the visually important image information (or the visually important image signal) corresponding to the lower spatial frequencies and the code stream control information required to perform a correct decoding operation in the conventional picture signal decoding apparatus 900 are allocated to the high priority hierarchy in the conventional picture signal encoding apparatus 701, the visually important image information and the code stream control information can be correctly reproduced in the decoding apparatus 900, and the deterioration of a quality of a reproduced image can be suppressed. Also, because the addition of the stronger error correction codes is limited to the visually important image information and the code stream control information allocated to the high priority hierarchy, the increase of the code volume is suppressed, and a transmission efficiency and a storing efficiency for the image information can be heightened. Also, it is applicable that the priority break point be decreased to reduce the second code volume for the high priority hierarchy. In this case, the transmission efficiency and the storing efficiency can be moreover heightened.

2.3. Problem to be Solved by the Invention

However, though one or more non-zero quantized coefficients corresponding to some lower spatial frequencies indicated by the priority break point are allocated to the high priority hierarchy to suppress the occurrence of one or more errors in the transmission or storage of the non-zero quantized coefficients corresponding to some lower spatial frequencies, non-zero quantized coefficients corresponding to high spatial frequencies are not allocated to the high priority hierarchy even though the non-zero quantized coefficients corresponding to the high spatial frequencies greatly influence a reproduced image quality because of high absolute values of the non-zero quantized coefficients corresponding to the high spatial frequencies. In particular, in cases where the motion estimation or the prediction of a current frame is not preferably performed, a quantized coefficient corresponding to a high spatial frequency has a high absolute value. In this case, because the quantized coefficient having the high absolute value is allocated to the low priority hierarchy, there is a high probability that the quantized coefficient is lost during the transmission or storage of the quantized coefficient. Therefore, the quality of the reproduced image considerably deteriorates.

Also, in cases where one or more non-zero quantized coefficients corresponding to lower spatial frequencies have low absolute values, even though the non-zero quantized coefficients are lost, the quality of the reproduced image does not deteriorate so much. However, the non-zero quantized coefficients are allocated to the high priority hierarchy in the priority selecting circuit 713 until the number of non-zero quantized coefficients reaches the priority break point. Therefore, the ratio of the quantized coefficients allocated to the high priority hierarchy to all quantized coefficients output from the scanning circuit 713 cannot be reduced, and the improvement of the transmission efficiency and storing efficiency is not enough in the conventional picture signal encoding apparatus 701.

Also, in cases where one or more errors occurring in one variable-length code stream during the transmission or storage of the variable-length code stream are not corrected in the error correcting circuit 902 or 905 of the conventional image signal decoding apparatus 900, even though the variable-length decoding operation is performed for the variable-length code stream having the errors, one reproduced quantized coefficient stream having errors is obtained, and a quality of a reproduced image considerably deteriorates. An example that an error not corrected in the decoding apparatus 900 occurs in one variable-length code stream is described.

A quantized coefficient stream {3,0,1,-1,0,-2,-1,0,0,0,0, - - - , 0} is produced in the scanning circuit 712 of the encoding apparatus 701. The quantized coefficient stream corresponds to a series of two-dimensional events (0, 3), (1,1), (0,-1), (1,-2), (0,-1) EOB. When the quantized coefficient stream is transformed in the encoding circuits 714 and 723, a variable-length code stream "001010 0110 111 0001101 111 10" is output from the output terminals 717 and 722. In cases where a code "0" of the fourth bit is erroneously changed to "1", an erred variable-length code stream "001110 0110 111 0001101 111 10" is received by the decoding apparatus 900, and the error of the fourth bit is not corrected in the error correcting circuit 902 or 905. The erred variable-length code stream corresponds to a series of two-dimensional events (3,1), (1,1), (0,-1), (1,-2), (0,-1) EOB. When the erred variable-length code stream is decoded in the decoding circuits 908 and 909, a reproduced quantized coefficient stream {0,0,0,1,0,1,-1,0,-2,-1,0, - - - , 0} is obtained. Therefore, the first, third, fourth, sixth, ninth and tenth quantized coefficients of the reproduced quantized coefficient stream are erroneously changed as compared with those of the quantized coefficient stream.

Therefore, a variable-length code stream having one or more bit errors (or code errors) is input to the decoding circuit 908 or 909, a reproduced quantized coefficient stream having errors is obtained, and a reproduced image is obtained according to the reproduced quantized coefficient stream having errors. As a result, a difference between an original image and the produced image is generated. Because the reproduced image is used for the prediction of a succeeding frame, the adverse influence of the erroneous image reproduction is exerted in a time direction, and a quality of the reproduced image considerably deteriorates.

Also, in cases where the error checking and correction is strongly performed to greatly reduce the transmission error or storing error, the volume of the error correction codes is increased, the code efficiency for the image signal is considerably decreased.

SUMMARY OF THE INVENTION

An object of the present invention is to provide, with due consideration to the drawbacks of such a conventional image signal encoding apparatus and a conventional image signal decoding apparatus, an image signal encoding apparatus in which an image signal is encoded to one or more variable-length code streams at a high code efficiency while heightening a transmission or storing efficient for the image signal on condition that the transmission or storage of one or more codes of the streams strongly influencing a quality of a reproduced image is performed at an extremely low bit error ratio and an image signal decoding apparatus in which one or more code errors occurring in the codes of the streams are reliably corrected in a simplified configuration to obtain a reproduced image having a superior image quality.

The object is achieved by the provision of an image signal encoding apparatus comprising:

block extracting means for extracting a plurality of blocks respectively composed of a plurality of pixels one after another from a digital image signal;

quantized coefficient producing means for producing a one-dimensional quantized coefficient stream composed of a plurality of quantized coefficients from each block extracted by the block extracting means;

priority hierarchy encoding means for extracting one or more important quantized coefficients of which absolute values are higher than a threshold value from the quantized coefficients of the one-dimensional quantized coefficient stream produced by the quantized coefficient producing means and encoding the important quantized coefficients to produce a high priority code stream; and

low priority hierarchy encoding means for extracting one or more lesser-important quantized coefficients of which absolute values are equal to or lower than the threshold value from the quantized coefficients of the one-dimensional quantized coefficient stream produced by the quantized coefficient producing means and encoding the lesser-important quantized coefficients to produce a low priority code stream.

In the above configuration, a plurality of blocks are extracted from a digital image signal by the block extracting means, and a quantized coefficient stream composed of a plurality of quantized coefficients is produced from each block by the quantized coefficient producing means. In this case, one quantized coefficient of which an absolute value is high greatly influences a quality of a reproduced image even though the quantized coefficient corresponds to a high spatial frequency, and one quantized coefficient of which an absolute value is sufficiently low hardly influences a quality of the reproduced image even though the quantized coefficient corresponds to a low spatial frequency.

Therefore, one or more important quantized coefficients of which absolute values are higher than a threshold value are extracted from the quantized coefficients of the quantized coefficient stream, a high priority code stream is produced from the important quantized coefficients in the priority hierarchy encoding means.

It is preferred that the image signal encoding apparatus further comprise high priority error correction code adding means for adding one or more stronger error correction codes to the high priority code stream produced by the high priority hierarchy encoding means; and low priority error correction code adding means for adding one or more less-strong error correction codes to the low priority code stream produced by the low priority hierarchy encoding means. Because one or more stronger error correction codes are added to the high priority code stream by the high priority error correction code adding means, even though one or more code errors occur in the high priority code stream, the code errors can be reliably corrected in an image signal decoding apparatus.

Accordingly, because the transmission or storage of one or more codes of the high priority code streams strongly influencing a quality of a reproduced image is performed at an extremely low bit error ratio, a reproduced image having a superior quality can be obtained in a decoding apparatus.

Also, one or more lesser-important quantized coefficients of which absolute values are equal to or lower than the threshold value are extracted from the quantized coefficients of the quantized coefficient stream, a low priority code stream is produced from the lesser-important quantized coefficients in the low priority hierarchy encoding means, and one or more less-strong error correction codes are added to the low priority code stream by the low priority error correction code adding means. Because of the addition of the less-strong error correction codes, the increase of codes caused by the addition of the less-strong error correction codes is suppressed, and a code efficiency for the high priority and low priority code streams can be heightened. Accordingly, an image signal can be encoded at a high code efficiency while heightening a transmission or storing efficient for the image signal.

Also, the object is achieved by the provision of an image signal decoding apparatus for reproducing an image signal transformed into a plurality of one-dimensional quantized coefficient streams which each are composed of an important quantized coefficient stream composed of one or more important quantized coefficients of which absolute values are higher than a threshold value and one or more zero-valued quantized coefficients and a lesser-important quantized coefficient stream composed of one or more lesser-important quantized coefficients of which absolute values are equal to or lower than the threshold value, comprising:

demultiplexing means for dividing a high priority code stream, which is obtained by encoding both the threshold value and a subtracted quantized coefficient stream composed of one or more subtracted quantized coefficients and one or more zero-valued quantized coefficients, into an encoded subtracted quantized coefficient stream and an encoded threshold value, each of the subtracted quantized coefficients being obtained by subtracting the threshold value from one important quantized coefficient of one important quantized coefficient stream;

priority hierarchy decoding means for decoding the encoded subtracted quantized coefficient stream demultiplexed by the demultiplexing means to reproduce the subtracted quantized coefficient stream;

threshold value decoding means for decoding the encoded threshold value demultiplexed by the demultiplexing means to reproduce the threshold value;

threshold value adding means for adding the threshold value decoded by the threshold value decoding means to each of the subtracted quantized coefficients of the subtracted quantized coefficient stream decoded by the priority hierarchy decoding means to reproduce one important quantized coefficient stream;

low priority hierarchy decoding means for decoding a low priority code stream, which is obtained by encoding each of the lesser-important quantized coefficient streams, to reproduce one lesser-important quantized coefficient stream;

quantized coefficient stream combining means for combining the important quantized coefficient stream reproduced by the threshold value adding means and the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means to reproduce one one-dimensional quantized coefficient stream; and

image signal reproducing means for reproducing the image signal from the one-dimensional quantized coefficient streams reproduced one after another by the quantized coefficient stream combining means.

It is preferred that the image signal decoding apparatus further comprising:

high priority error correcting means for correcting one or more first code errors occurring in the high priority code stream according to one or more stronger error correction codes added to the high priority code stream, the high priority code stream of which the first code errors are corrected being demultiplexed by the demultiplexing means; and

low priority error correcting means for correcting one or more second code errors occurring in the low priority code stream according to one or more less-strong error correction codes added to the low priority code stream, the low priority code stream of which the second code errors are corrected being decoded by the low priority hierarchy decoding means.

In the above configuration, a plurality of sets of high priority code streams and low priority code streams are transmitted from an image signal encoding apparatus to the image signal decoding apparatus. In this case, one or more first code errors occur in each high priority code stream at some probability, and one or more second code errors occur in each low priority code stream at some probability. The first code errors are corrected in the high priority error correcting means according to one or more stronger error correction codes added to the high priority code stream, and the second code errors are corrected in the low priority error correcting means according to one or more less-strong error correction codes added to the high priority code stream. In this case, because a code ratio of the stronger error correction codes to one high priority code stream is higher than another code ratio of the less-strong error correction codes to one low priority code stream, the first code errors can be more reliably corrected as compared with the correction of the second code errors.

Thereafter, each high priority code stream is divided into an encoded subtracted quantized coefficient stream and an encoded threshold value. The encoded subtracted quantized coefficient stream is decoded by the priority hierarchy decoding means to reproduce the subtracted quantized coefficient stream, the encoded threshold value is decoded by the threshold value decoding means to reproduce the threshold value, the threshold value is added to each of subtracted quantized coefficients of the subtracted quantized coefficient stream by the threshold value adding means to reproduce one important quantized coefficient stream. Also, each low priority code stream is decoded by the low priority hierarchy decoding means to reproduce one lesser-important quantized coefficient stream.

Thereafter, the important quantized coefficient stream and the lesser-important quantized coefficient stream are combined by the quantized coefficient stream combining means to reproduce one one-dimensional quantized coefficient stream, and an image signal is reproduced by the image signal reproducing means from the one-dimensional quantized coefficient streams transmitted one after another from the quantized coefficient stream combining means.

Accordingly, even though a plurality of high priority code streams respectively obtained by encoding one important quantized coefficient stream in which absolute values of one or more important quantized coefficients are higher than the threshold value and a plurality of low priority code streams respectively obtained by encoding one lesser-important quantized coefficient stream in which absolute values of one or more lesser-important quantized coefficients are equal to or lower than the threshold value are transmitted to the signal image decoding apparatus one after another, an image having a superior image quality can be reproduced in a simplified configuration because the first code errors occurring in the high priority code streams obtained by encoding the subtracted quantized coefficient streams relating to the important quantized coefficient streams are corrected according to the stronger error correction codes.

Also, even though a plurality of subtracted quantized coefficient streams are encoded one after another in the signal image encoding apparatus in place of the important quantized coefficient streams to heighten a code efficiency, because the threshold value is added to each of the subtracted quantized coefficients of the subtracted quantized coefficient streams to reproduce the important quantized coefficient streams, the image signal can be reliably reproduced, and a code efficiency can be heightened.

Also, the object is achieved by the provision of an image signal decoding apparatus for reproducing an image signal transformed into a plurality of one-dimensional quantized coefficient streams which each are composed of an important quantized coefficient stream composed of one or more important quantized coefficients of which absolute values are higher than a threshold value and one or more zero-valued quantized coefficients and a lesser-important quantized coefficient stream composed of one or more lesser-important quantized coefficients of which absolute values are equal to or lower than the threshold value, comprising:

priority hierarchy decoding means for decoding a high priority code stream, which is obtained by encoding each of the important quantized coefficient streams, to reproduce one important quantized coefficient stream and producing one or more pieces of positional information indicating one or more particular positions of the important quantized coefficients of the important quantized coefficient stream;

low priority hierarchy decoding means for decoding a low priority code stream, which is obtained by encoding a shortened lesser-important quantized coefficient stream composed of one or more shortened lesser-important quantized coefficients, to reproduce one shortened lesser-important quantized coefficient stream, each of the shortened lesser-important quantized coefficients being obtained by removing all important quantized coefficients from one one-dimensional quantized coefficient stream while other lesser-important quantized coefficients of the one-dimensional quantized coefficient stream are arranged close together in that order;

lesser-important stream producing means for inserting one or more particular zero-valued quantized coefficients into the shortened lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means according to the positional information produced by the priority hierarchy decoding means to reproduce one lesser-important quantized coefficient stream in which the particular zero-valued quantized coefficients are positioned at the particular positions indicated by the positional information as one or more lesser-important quantized coefficients and the number of lesser-important quantized coefficients of the lesser-important quantized coefficient stream is the same as that of the important quantized coefficient stream reproduced by the priority hierarchy decoding means;

quantized coefficient stream combining means for combining the important quantized coefficient stream reproduced by the priority hierarchy decoding means and the lesser-important quantized coefficient stream reproduced by the lesser-important stream producing means to reproduce one one-dimensional quantized coefficient stream; and

image signal reproducing means for reproducing the image signal from the one-dimensional quantized coefficient streams reproduced one after another by the quantized coefficient stream combining means.

In the above configuration, a plurality of shortened lesser-important quantized coefficient streams are encoded to a plurality of low priority code streams one after another in a signal image encoding apparatus in place of a plurality of lesser-important quantized coefficient streams to heighten a code efficiency. Therefore, after one or more code errors occurring in each low priority code stream are corrected and each low priority code stream is decoded to one shortened lesser-important quantized coefficient stream, one or more particular zero-valued quantized coefficients are inserted into the shortened lesser-important quantized coefficient stream by the lesser-important stream producing means to reproduce one lesser-important quantized coefficient stream. In this case, the particular zero-valued quantized coefficients are positioned at one or more particular positions indicated by the positional information produced by the priority hierarchy decoding means as one or more lesser-important quantized coefficients, and the number of lesser-important quantized coefficients of the lesser-important quantized coefficient stream is the same as that of one important quantized coefficient stream.

Also, one important quantized coefficient stream is reproduced by the priority hierarchy decoding means, and the important quantized coefficient stream and the lesser-important quantized coefficient stream are combined by the quantized coefficient stream combining means, and one one-dimensional quantized coefficient stream is reproduced.

It is preferred that the image signal decoding apparatus further comprising:

high priority error correcting means for correcting one or more first code errors occurring in the high priority code stream according to one or more stronger error correction codes added to the high priority code stream, the high priority code stream of which the first code errors are corrected being decoded by the priority hierarchy decoding means; and

low priority error correcting means for correcting one or more second code errors occurring in the low priority code stream according to one or more less-strong error correction codes added to the low priority code stream, the low priority code stream of which the second code errors are corrected being decoded by the low priority hierarchy decoding means.

Because the first code errors occurring in each high priority code stream obtained by encoding each important quantized coefficient stream are corrected according to the stronger error correction codes, an image having a superior image quality can be reproduced in a simplified configuration. Also, a code efficiency can be heightened because the low priority code streams relating to the shortened lesser-important quantized coefficient streams are decoded.

Also, the object is achieved by the provision of an image signal decoding apparatus for reproducing an image signal transformed into a plurality of one-dimensional quantized coefficient streams which each are composed of an important quantized coefficient stream composed of one or more important quantized coefficients of which absolute values are higher than a threshold value and one or more zero-valued quantized coefficients and a lesser-important quantized coefficient stream composed of one or more lesser-important quantized coefficients of which absolute values are equal to or lower than the threshold value, comprising:

demultiplexing means for dividing a high priority code stream, which is obtained by encoding both the threshold value and one important quantized coefficient stream, into an encoded important quantized coefficient stream and an encoded threshold value;

priority hierarchy decoding means for decoding the encoded important quantized coefficient stream demultiplexed by the demultiplexing means to reproduce one important quantized coefficient stream;

threshold value decoding means for decoding the encoded threshold value demultiplexed by the demultiplexing means to reproduce the threshold value;

low priority hierarchy decoding means for decoding a low priority code stream, which is obtained by encoding each of the lesser-important quantized coefficient streams, to reproduce one lesser-important quantized coefficient stream;

coefficient value comparing and judging means for judging whether each absolute value of the lesser-important quantized coefficients of the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means is higher than the threshold value decoded by the threshold value decoding means;

coefficient stream replacing means for replacing the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means with a meaningless quantized coefficient stream to output the meaningless quantized coefficient stream in cases where it is judged by the coefficient value comparing and judging means that one absolute value of one lesser-important quantized coefficient of the lesser-important quantized coefficient stream is higher than the threshold value and outputting the lesser-important quantized coefficient stream in cases where it is judged by the coefficient value comparing and judging means that the absolute values of all lesser-important quantized coefficients of the lesser-important quantized coefficient stream are equal to or lower than the threshold value;

quantized coefficient stream combining means for combining the important quantized coefficient stream reproduced by the priority hierarchy decoding means and the lesser-important quantized coefficient stream or the meaningless quantized coefficient stream output from the coefficient stream replacing means to reproduce one one-dimensional quantized coefficient stream; and

image signal reproducing means for reproducing the image signal from the one-dimensional quantized coefficient streams reproduced one after another by the quantized coefficient stream combining means.

It is preferred that the image signal decoding apparatus further comprising:

high priority error correcting means for correcting one or more first code errors occurring in the high priority code stream according to one or more stronger error correction codes added to the high priority code stream, the high priority code stream of which the first code errors are corrected being demultiplexed by the demultiplexing means; and

low priority error correcting means for correcting one or more second code errors occurring in the low priority code stream according to one or more less-strong error correction codes added to the low priority code stream, the low priority code stream of which the second code errors are corrected being decoded by the low priority hierarchy decoding means.

In the above configuration, even though the correction of one or more second code errors occurring in each of low priority code streams transmitted from an image signal encoding apparatus is performed by the high priority error correcting means, because the correction for each low priority code stream is performed according to one or more less-strong error correction codes added to the low priority code stream, there is a probability that one or more second code errors still remain in one or more low priority code streams and each low priority code stream having the second errors is decoded to a lesser-important quantized coefficient stream. In cases where any second error does not remain in a low priority code stream, each absolute value of one or more lesser-important quantized coefficients in a lesser-important quantized coefficient stream reproduced from the low priority code stream is necessarily equal to or lower than the threshold value. In contrast, in cases where one or more second code errors remain in a particular low priority code stream, an absolute value of a particular lesser-important quantized coefficient of a particular lesser-important quantized coefficient stream reproduced from the particular low priority code stream becomes generally higher than the threshold value.

Therefore, in cases where it is judged by the coefficient value comparing and judging means that one absolute value of one lesser-important quantized coefficient of the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means is higher than the threshold value, a meaningless quantized coefficient stream is output from the coefficient stream replacing means in place of the particular lesser-important quantized coefficient stream.

Thereafter, one important quantized coefficient stream and the meaningless quantized coefficient stream are combined by the quantized coefficient stream combining means to reproduce one one-dimensional quantized coefficient stream.

Accordingly, when a plurality of low priority code streams slightly influencing the reproduction of a signal image and a plurality of high priority code streams greatly influencing the reproduction of the signal image are transmitted to the image signal decoding apparatus to reproduce an image having a superior quality at a high code efficiency, even though one or more second code errors remain in the particular low priority code stream, because the meaningless quantized coefficient stream is output from the coefficient stream replacing means in place of the particular lesser-important quantized coefficient stream reproduced from the particular low priority code stream, the reproduction of the image having a superior quality can be maintained.

Also, the object is achieved by the provision of an image signal decoding apparatus for reproducing an image signal transformed into a plurality of one-dimensional quantized coefficient streams which each are composed of an important quantized coefficient stream composed of one or more important quantized coefficients of which absolute values are higher than a threshold value and one or more zero-valued quantized coefficients and a lesser-important quantized coefficient stream composed of one or more lesser-important quantized coefficients of which absolute values are equal to or lower than the threshold value, comprising:

priority hierarchy decoding means for decoding a high priority code stream, which is obtained by encoding each of the important quantized coefficient streams, to reproduce one important quantized coefficient stream;

low priority hierarchy decoding means for decoding a low priority code stream, which is obtained by encoding each of the lesser-important quantized coefficient streams, to reproduce one lesser-important quantized coefficient stream;

non-zero-valued coefficient judging means for judging whether or not one non-zero-valued lesser-important quantized coefficient of the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means is placed at the same position as that at which one non-zero-valued important quantized coefficient of the important quantized coefficient stream reproduced by the priority hierarchy decoding means is placed,

coefficient stream replacing means for replacing the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means with a meaningless quantized coefficient stream to output the meaningless quantized coefficient stream in cases where it is judged by the non-zero-valued coefficient judging means that one non-zero-valued lesser-important quantized coefficient of the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means is placed at the same position as that at which one non-zero-valued important quantized coefficient of the important quantized coefficient stream reproduced by the priority hierarchy decoding means is placed and outputting the lesser-important quantized coefficient stream in cases where it is judged by the non-zero-valued coefficient judging means that any of one or more non-zero-valued lesser-important quantized coefficients of the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means is not placed at one of one or more positions at which all of one or more non-zero-valued important quantized coefficients of the important quantized coefficient stream reproduced by the priority hierarchy decoding means are placed;

quantized coefficient stream combining means for combining the important quantized coefficient stream reproduced by the priority hierarchy decoding means and the lesser-important quantized coefficient stream or the meaningless quantized coefficient stream output from the coefficient stream replacing means to reproduce one one-dimensional quantized coefficient stream; and

image signal reproducing means for reproducing the image signal from the one-dimensional quantized coefficient streams reproduced one after another by the quantized coefficient stream combining means.

It is preferred that the image signal decoding apparatus further comprising:

high priority error correcting means for correcting one or more first code errors occurring in the high priority code stream according to one or more stronger error correction codes added to the high priority code stream, the high priority code stream of which the first code errors are corrected being decoded by the priority hierarchy decoding means; and

low priority error correcting means for correcting one or more second code errors occurring in the low priority code stream according to one or more less-strong error correction codes added to the low priority code stream, the low priority code stream of which the second code errors are corrected being decoded by the low priority hierarchy decoding means.

In the above configuration, even though the correction of one or more second code errors occurring in each of low priority code streams transmitted from an image signal encoding apparatus is performed by the high priority error correcting means, there is a probability that one or more second code errors still remain in one or more low priority code streams and each low priority code stream having the second errors is decoded to a lesser-important quantized coefficient stream.

In cases where any second error does not remain in a low priority code stream, any of one or more non-zero-valued lesser-important quantized coefficients of a lesser-important quantized coefficient stream reproduced from the low priority code stream is not placed at one of one or more positions at which all of one or more non-zero-valued important quantized coefficients of a corresponding important quantized coefficient stream are placed. In contrast, in cases where one or more second code errors remain in a particular low priority code stream, one non-zero-valued lesser-important quantized coefficient of a particular lesser-important quantized coefficient stream reproduced from the particular low priority code stream is generally placed at the same position as that at which one non-zero-valued important quantized coefficient of a particular important quantized coefficient stream corresponding to the particular lesser-important quantized coefficient stream is placed.

Therefore, in cases where it is judged by the non-zero-valued coefficient judging means that one non-zero-valued lesser-important quantized coefficient of the lesser-important quantized coefficient stream reproduced by the low priority hierarchy decoding means is placed at the same position as that at which one non-zero-valued important quantized coefficient of the important quantized coefficient stream reproduced by the priority hierarchy decoding means is placed, a meaningless quantized coefficient stream is output from the coefficient stream replacing means in place of the particular lesser-important quantized coefficient stream.

Accordingly, when a plurality of low priority code streams slightly influencing the reproduction of a signal image and a plurality of high priority code streams greatly influencing the reproduction of the signal image are transmitted to the image signal decoding apparatus to reproduce an image having a superior quality at a high code efficiency, even though one or more second code errors remain in the particular low priority code stream, because the meaningless quantized coefficient stream is output from the coefficient stream replacing means in place of the particular lesser-important quantized coefficient stream reproduced from the particular low priority code stream, the reproduction of the image having a superior quality can be maintained.

BRIEF DESCRIPTION OF THE DRAWINGS

The objects, features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which:

FIG. 1 is a block diagram of a conventional image signal encoding apparatus operated according to the hierarchically layered coding technique with high and low priority;

FIG. 2 shows a quantized coefficient block which is scanned in a scanning circuit shown in FIG. 1 in zigzag directions;

FIG. 3 is a block diagram of a conventional image signal decoding apparatus;

FIG. 4 is a block diagram of an image signal encoding apparatus according to a first embodiment of the present invention;

FIG. 5 is an explanatory view of an operation performed in the image signal encoding apparatus shown in FIG. 4;

FIG. 6 is a block diagram of an image signal encoding apparatus according to a modification of the first embodiment;

FIG. 7 is a block diagram of an image signal decoding apparatus according to the first embodiment;

FIG. 8 is a block diagram of an image signal encoding apparatus according to a second embodiment of the present invention;

FIG. 9 is an explanatory view of an operation performed in the image signal encoding apparatus shown in FIG. 8;

FIG. 10 is a block diagram of an image signal decoding apparatus according to the second embodiment;

FIG. 11 is an explanatory view of an operation performed in the image signal decoding apparatus shown in FIG. 10;

FIG. 12 is a block diagram of an image signal encoding apparatus according to a third embodiment of the present invention;

FIG. 13 is a block diagram of an image signal decoding apparatus according to the third embodiment;

FIG. 14 is an explanatory view of an operation performed in the image signal decoding apparatus shown in FIG. 13;

FIG. 15 is a block diagram of an image signal decoding apparatus according to a fourth embodiment;

FIG. 16 is an explanatory view of an operation performed in the image signal decoding apparatus shown in FIG. 15;

FIG. 17 is a block diagram of an image signal decoding apparatus according to the combination of the third and fourth embodiments; and

FIG. 18 is a block diagram of an image signal decoding apparatus according to the combination of the second, third and fourth embodiments.

DETAIL DESCRIPTION OF THE EMBODIMENTS

Preferred embodiments of an image signal encoding apparatus and an image signal decoding apparatus according to the present invention are described with reference to drawings.

FIG. 4 is a block diagram of an image signal encoding apparatus according to a first embodiment of the present invention. FIG. 5 is an explanatory view of an operation performed in the image signal encoding apparatus shown in FIG. 4.

As shown in FIG. 4, an image signal encoding apparatus 100 comprises the block extracting circuit 702, the subtracting circuit 703, the orthogonal transforming circuit 704, the quantizing circuit 705, the inverse quantizing circuit 706, the inverse orthogonal transforming circuit 707, the adding circuit 708, the frame memory 709, the motion compensating circuit 710, the motion estimating circuit 711, the scanning circuit 712,

an important stream producing circuit 101 for extracting one or more important quantized coefficients, of which absolute values are higher than a threshold value, from the one-dimensional quantized coefficient stream produced in the scanning circuit 712 and producing an important one-dimensional quantized coefficient stream from the important quantized coefficients while adding one or more zero-valued quantized coefficients on condition that an arranged order of each important quantized coefficient in the important one-dimensional quantized coefficient stream agrees with that in the one-dimensional quantized coefficient stream and the number of quantized coefficients in the important one-dimensional quantized coefficient stream agrees with that in the one-dimensional quantized coefficient stream, a lesser-important stream producing circuit 102 made of a subtracting circuit for subtracting the important one-dimensional quantized coefficient stream from the one-dimensional quantized coefficient stream produced in the scanning circuit 712 to produce a lesser-important one-dimensional quantized coefficient stream,

a second two-dimensional variable-length encoding circuit 103 for encoding the important one-dimensional quantized coefficient stream in two-dimensional variable-length to produce a high priority variable-length code stream,

the first two-dimensional variable-length encoding circuit 714 for encoding the lesser-important one-dimensional quantized coefficient stream in two-dimensional variable-length to produce a low priority variable-length code stream, the first code stream buffer 715, the quantizing step encoding circuit 724, the motion vector encoding circuit 725,

a multiplexing 104 for multiplying the high priority variable-length code stream produced by the second two-dimensional variable-length encoding circuit 103 and code stream control information composed of the quantizing step encoded by the quantizing step encoding circuit 724 and the motion vector encoded by the motion vector encoding circuit 725 to produce a multiplied variable-length code stream,

the second code stream buffer 720,

a threshold adjusting circuit 105 for adjusting the threshold value according to the speed (or data-rate) of the low priority variable-length code streams output from the buffer 715 and the speed of the multiplied variable-length code streams output from the buffer 720,

the quantizing step control circuit 726, the first error correction code adding circuit 716 and the second error correction code adding circuit 721.

In the above configuration, the operation of the image signal encoding apparatus 100 is described with reference to FIGS. 4 and 5.

As shown in FIGS. 4 and 5, a quantized coefficient block composed of 8*8 quantized coefficients is scanned in the scanning circuit 712 in zigzag directions (FIG. 2) in the same manner as in the encoding apparatus 701, and a one-dimensional quantized coefficient {3,0,1,-1,0,-2,-1,0, - - - , 0,0} is, for example, output to the important stream producing circuit 101 and the lesser-important stream producing circuit 102.

In the producing circuit 101, one or more important quantized coefficients of which absolute values are higher than a threshold value are extracted from the one-dimensional quantized coefficient stream. Because the threshold value is adjusted to
1 in the threshold adjusting circuit 105, a plurality of important quantized coefficients 3 and-2 are extracted. Thereafter, an important one-dimensional quantized coefficient stream {3,0,0,0,0,-2,0,0, - - - , 0,0} is produced from the important quantized coefficients while adding a plurality of zero-valued quantized coefficients on condition that an arranged order of each important quantized coefficient in the important one-dimensional quantized coefficient stream agrees with that in the one-dimensional quantized coefficient stream. The important one-dimensional quantized coefficient stream is allocated to the high priority hierarchy. Therefore, one or more quantized codes corresponding to one or more two-dimensional events in which one or more non-zero quantized coefficients agree with one or more important quantized coefficients are allocated to the high priority hierarchy.

Thereafter, in the second two-dimensional variable-length encoding circuit 103, the important one-dimensional quantized coefficient stream is encoded in two-dimensional variable-length for each two-dimensional event corresponding to one or more quantized coefficients of the stream, the EOB code indicating that no code corresponding to one two-dimensional event remains in the important one-dimensional quantized coefficient stream is finally added, and a high priority variable-length code stream is produced. Because the two-dimensional events (0,3) and (4,-2) correspond to the quantized coefficients of the important one-dimensional quantized coefficient stream, two variable-length code streams "001010" and "00000011111" and the EOB code "10" are arranged in series, and a high priority variable-length code stream "0010100000001111110" is produced.

Thereafter, the high priority variable-length code stream, the quantizing step encoded by the quantizing step encoding circuit 724 and the motion vector encoded by the motion vector encoding circuit 725 are multiplied in the multiplexing 104, and a multiplied variable-length code stream is produced. The multiplied variable-length code stream is output through the buffer 720 and the second error correction code adding circuit 721 in the same manner as in the encoding apparatus 701.

Also, in the producing circuit 102, the important one-dimensional quantized coefficient stream is subtracted from the one-dimensional quantized coefficient stream produced in the scanning circuit 712, and a lesser-important one-dimensional quantized coefficient stream {0,0,1,-1,0,0,-1,0, - - - , 0,0} is produced. The lesser-important one-dimensional quantized coefficient stream is allocated to the low priority hierarchy.

Thereafter, in the encoding circuit 714, the lesser-important one-dimensional quantized coefficient stream is encoded in two-dimensional variable-length for each two-dimensional event corresponding to one or more quantized coefficients of the stream, the EOB code is finally added, and a low priority variable-length code stream is produced. Because the two-dimensional events (2,1), (0,-1) and (2,-1) correspond to the quantized coefficients of the lesser-important one-dimensional quantized coefficient stream, three variable-length code streams "01010", "111" and "01011" and the EOB code "10"