Transformation coding device

Abstract: Disclosed is a transformation coding device which applies high efficient coding to a digital image signal, and in which a plurality of quantization characteristics are prepared and one quantization characteristic is adaptively selected in accordance with a predicted distortion for an input signal and a sequence of transformation coefficients, thereby allowing the quantization in accordance with statistical properties of an input signal to be implemented, and at the same time, allowing a signal to be efficiently compressed.

Description: BACKGROUND OF THE INVENTION Field of the Invention This invention relates to a transformation coding device which applies a highly efficient coding to a digital image signal. Description of the Prior Art Fig. 1 is a block connection diagram showing a conventional transformation coding device described in, for example, the paper entitled "A proposal of a coding control method in a MC-DCT coding system" by Kato et al., at the National Conference on Information and System Dept. (1-204) of the Institute of Electronics, Information and Communication Engineers, 1987. A similar device is known from US-A-4 821 119. In Fig. 1, reference numeral 11 is a subtractor which performs subtraction between an input signal 101 as a digital image input signal series and a prediction signal 102 between movement compensating frames, 1 is an orthogonal transformation unit which performs orthogonal transformation for a difference signal 103 between frames, 2b is a quantization unit which applies a threshold processing to a transformation coefficient 104 obtained by the orthogonal transformation in accordance with an amount of data storage in a buffer and then outputs a quantization index 106, 3b is a quantization decoding unit which applies a quantization decoding to the quantization index 106 and outputs a quantization transformation coefficient 107, 4 is an inverse orthogonal transformation unit which applies inverse orthogonal transformation to the quantization transformation coefficient 107 and produces a difference signal 108 between decoding frames, 12 is an adder, 5 is a frame memory which produces the prediction signal 102 between movement compensating frames, 6 is a movement compensating unit, 7 is a variable length coding unit, 111 is coded data, 8 is a buffer for transmission, and 113 is transmitted data. Next, the operation will be described. The difference between the input signal 101 and the prediction signal 102 between movement compensating frames is obtained using the subtractor 11 to produce the difference signal 103 between frames from which redundant components are removed. In the orthogonal transformation unit 1, the difference signal 103 between frames is transformed into a spatial frequency region using orthogonal transformation to produce the transformation coefficient 104. In the quantization unit 2b, the transformation coefficient 104 is subjected to the following threshold processing based on an amount of buffer data storage described later. An amount of buffer storage: Large ⇒ Threshold value Th: Large An amount of buffer storage: Small ⇒ Threshold value Th: Small Ci ≦ Th ⇒ Ci: Insignificant coefficient Ci > Th ⇒ Ci: Significant coefficient where Ci: transformation coefficient The transformation coefficient 104 which is a significant coefficient as the result of the threshold processing is quantized in the quantization unit 2b and output as a corresponding quantization index 106. On the other hand, the transformation coefficient 104 which is an insignificant coefficient is output as the quantization index 106 corresponding to zero. The quantization index 106 is subjected to a variable length coding together with a movement vector 105 described later and output as a coded data 111 from the variable length coding unit 7. On the other hand, the quantization index 106 is simultaneously transformed into the quantization transformation coefficient 107 as the result of quantization decoding in the quantization decoding unit 3b. In the inverse orthogonal transformation unit 4, the quantization transformation coefficient 107 is transformed into the difference signal 108 between decoding frames. Subsequently, in the adder 12, the difference signal 108 between decoding frames and the above-mentioned prediction signal 102 between movement compensating frames are added to produce a decoded signal 109. The decoded signal 109 is temporarily stored in the frame memory 5 to produce the prediction signal 102 between movement compensating frames as the result of the movement compensation. Also, in the movement compensating unit 6, after the input signal 101 is divided into a plurality of blocks, displacement between the most similar portions, defined by the sum of the absolute value of the difference between two blocks or the sum of squares of the difference etc. is calculated using a preceding frame demodulated signal 110 located at the spatially same position or in the vicinity for each block, portions which provide the minimum displacement are detected from image signal 110 of the preceding frame, and the minimum amount of spatial displacement is output as the movement vector 105. The above-mentioned coded data 111 is temporarily stored in the buffer 8 for transmission, output as transmitted data 113 with a fixed bit rate, and at the same time, an amount of buffer data storage is outputted as a feedback signal 112 in order to prevent buffer overflow. Since the conventional transformation coding device is constituted as described above and a selection of quantization characteristics is performed by using only an amount of buffer data storage for transmission, there is a defect that it is difficult to carry out adaptive quantization in accordance with statistical properties of an input signal such as power and frequency characteristics, and it is impossible to compress a signal efficiently. SUMMARY OF THE INVENTION This invention is devised in order to solve such problems, and it is an object of this invention to obtain a transformation coding device capable of quantizing a signal efficiently in accordance with statistical properties of the input signal. In order to achieve the above-mentioned objectives, a transformation coding device related to this invention prepares a plurality of quantization characteristics, and selects one quantization characteristic adaptively in accordance with a predicted distortion for an input signal and a sequence of transformation coefficients. In other words, the conversion coding device in this invention selects one quantization characteristic from among a plurality of quantization characteristics prepared in accordance with a predicted distortion for an input signal and a sequence of transformation coefficients and functions so as to quantize the transformation coefficient. The above-mentioned and other objects and features of this invention will become clearer from the following detailed description in conjunction with the accompanying diagrams. The drawings are provided for purposes of explanation only and do not limit the scope of this invention. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block connection diagram showing a conventional transformation coding device; Fig. 2 is a block diagram showing the constitution of a transformation coding device according to an embodiment of this invention; and Fig. 3 is an explanatory diagram showing the relationship among the transformation coefficient sequence, the magnitude of a movement compensating predicted distortion, and the quantization characteristic employed in the case where three kinds of quantization characteristics having different quantization step sizes in this invention are prepared. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Hereinafter, an embodiment according to this invention will be described with reference to the drawings. In Fig. 2, reference numerals 2a and 3a are an adaptive quantization unit and an adaptive quantization decoding unit respectively both of which select an appropriate one from among a plurality of quantization characteristics and use it in accordance with spatial frequencies corresponding to a movement compensating predicted distortion signal 114 at the time of a input signal 101 and a sequence of transformation coefficients 104, respectively. Incidentally, the same blocks and signals as those shown in Fig. 1 are identified by the same numerals, and the duplicated-description is omitted. Next, the operation will be described. In general, it is difficult to visually recognize distortion which occur on portions changed with time rapidly as a movement region, and which have a high spatial frequency. Further, a portion of large movement compensating predicted distortion is frequently the movement region and the dynamic-range for signals is broad. In an allocation of coding words of the quantization index a short coding word is allocated to the quantization index corresponding to a quantization central value in the vicinity of zero. Accordingly, in the case where a movement compensating predicted distortion is large and a sequence of transformation coefficients is high, the quantization is performed in a large step-size of quantization so that a highly efficient coding is obtained by holding the subjective image quality deterioration small. Also, in a portion of small predicted distortion, even if the quantization output is rendered zero, there are not many problems for visual sensation and highly efficient coding is obtained, therefore a large quantization step size is selected. Fig. 3 shows a relationship among the sequence of transformation coefficients the magnitude of a movement compensating predicted distortion, and the quantization characteristic employed in the case where three kinds of quantization characteristics are developed. Further, a classification for the sequence of transformation coefficients and the predicted distortion is performed by threshold processing through setting the threshold value. A transformation coefficient 104 and a movement compensating predicted distortion signal 114 at the time of movement compensation both obtained by a processing similar to the conventional processing are input into the adaptive quantization unit 2a. In the adaptive quantization unit 2a, as shown in Fig. 3, an appropriate quantization characteristic is selected in accordance with a sequence of the transformation coefficient 104 and the magnitude of the movement compensating predicted distortion signal 114 and the unit 2a applies quantization to the transformation coefficient 104 which was significant as the result of threshold processing based on an amount of buffer data storage. On the other hand, in the adaptive quantization decoding unit 3a, like the adaptive quantization unit 2a, an appropriate quantization characteristic is selected in accordance with a sequence of the transformation coefficient 104 and the magnitude of the movement compensating predicted distortion signal 114, thereby performing quantization decoding. In order to make the quantization characteristic on the coding side coincide with that on the decoding side, the movement compensating predicted distortion signal 114 is subjected to variable length coding in the variable length coding unit 7, and then sent to the decoding side. The other portions are subjected to the same processing as the conventional one. Incidentally, in the above-mentioned embodiment, there is shown the case where a quantization characteristic is changed over in accordance with a spatial frequency component corresponding to a sequence of the transformation coefficient 104 and the magnitude of a movement compensating predicted distortion signal 114. But in the case where the movement compensating predicted distortion signal 114 is smaller than an arbitrarily determined threshold value, if control is effected so as to block all sequences of the transformation coefficient, there is an effect that noises in the time direction are reduced. As described above, according to this invention, since a plurality of quantization characteristics are prepared, and these quantization characteristics are used properly in accordance with the sequence of the transformation coefficient and the magnitude of the distortion at the time of movement compensating prediction, there can be obtained such a transformation coding device that the quantization in accordance with statistical properties of an input signal is implemented, and at the same time, a signal can be compressed efficiently.

Claims: A transformation coding device comprising: a movement compensating unit (6) which divides a digital image input signal series (101) into a plurality of blocks, and thereafter compares respective blocks with corresponding preceding frame image signals (110) located at the same spatial positions or in the vicinity of said positions, detects the most similar portions of said blocks from among said preceding frame image signals (110), and outputs a spatial amount of displacement between said blocks and the similar portions of said preceding frame image signals as a movement vector (105); a subtractor (11) which subtracts a frame prediction signal (102) produced in accordance with said movement vector from said digital image input signal and generates a difference signal (103) corresponding to the result of said subtraction; an orthogonal transformation unit (1) which applies orthogonal transformation to said difference signal (103) and outputs a transformation coefficient (104); an adaptive quantization unit (2a) which selects one quantization characteristic from among a plurality of predetermined quantization characteristics in accordance with both the magnitude of the movement compensating predicted distortion signal (114) for said block digital image signal series and a sequence of said transformation coefficient (104) and applies quantization to said transformation coefficient (104) according to the selected quantization characteristic to produce a quantization index (106); an adaptive quantization decoding unit (3a) which selects one quantization characteristic from among a plurality of predetermined quantization characteristics corresponding to both the magnitude of the movement compensating predicted distortion signal and the sequence of said transformation coefficient (104), and applies quantization decoding to the quantization index (106) to produce a quantization transformation coefficient (107); an inverse orthogonal transformation unit which applies inverse orthogonal transformation to the quantization transformation coefficient (107) to produce a difference signal (108) between decoded frames; an adder (12) which adds said decoded difference signal (108) and said frame prediction signal to produce a decoded image signal (109); a frame memory (5) which stores said decoded image signal (109) temporarily to output said frame prediction signal (102) in accordance with said movement vector; a variable length coding unit (7) which applies variable length coding to said quantization index (106) and said movement vector (105) and said movement compensating predicted distortion signal (114) and outputs the result as coded data (111); and a transmitting buffer (8) which stores said coded data temporarily, outputs them with a fixed bit rate, and at the same time, outputs an amount of buffer data storage as a feedback signal (112) to said adaptive quantization unit (26) in order to prevent buffer overflow. The transformation coding device according to claim 1, wherein, in said adaptive quantization unit (2a), there is further produced a threshold value based on said feedback signal (112) which is output correspondingly to the magnitude of an amount of buffer storage from said buffer for transmission (8), threshold processing is applied to a transformation coefficient (104) from said orthogonal transformation unit (1), and thereafter only a transformation coefficient above said threshold is quantized. The transformation coding device according to claim 1 or claim 2, wherein the movement compensating predicted distortion signal (114) which is output from said movement compensating unit (6) is input into said variable length coding unit (7) and applied with variable length coding, and thereafter inputted into said adaptive quantization decoding unit (3a) to make the quantization characteristic on the coding side coincide with that on the decoding side. The transformation coding device according to claim 3, wherein, in said adaptive quantization unit (2a), all of sequences of said transformation coefficients (104) are blocked in the case where the degree of similarity of said movement compensating predicted distortion signal (114) is smaller than an arbitrarily fixed threshold value.

Inventors: ASAI KOHTARO C O MITSUBISHI DE, MATSUZAKI KAZUHIRO C O MITSUBI, MURAKAMI TOKUMICHI C O MITSUBI, ASAI, KOHTARO, C/O MITSUBISHI DENKI K.K., MATSUZAKI, KAZUHIRO, C/O MITSUBISHI DENKI K.K., MURAKAMI, TOKUMICHI, C/O MITSUBISHI DENKI K.K.
Applicants: MITSUBISHI ELECTRIC CORP, MITSUBISHI DENKI KABUSHIKI KAISHA
Application year: 1990
Main classification: H04N7
IPC codes: H04N7, H04N1, G06T9, H03M7