US5870434A - Apparatus and method for quantizing a digital signal based on quantizing steps including odd-numbered steps - Google Patents

Apparatus and method for quantizing a digital signal based on quantizing steps including odd-numbered steps Download PDF

Info

Publication number
US5870434A
US5870434A US08/576,315 US57631595A US5870434A US 5870434 A US5870434 A US 5870434A US 57631595 A US57631595 A US 57631595A US 5870434 A US5870434 A US 5870434A
Authority
US
United States
Prior art keywords
quantizing
steps
digital signal
data
input digital
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
US08/576,315
Inventor
Tetsujiro Kondo
Yasuhiro Fujimori
Kenji Takahashi
Kunio Kawaguchi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Assigned to SONY CORPORATION reassignment SONY CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: KAWAGUCHI, KUNIO, TAKAHASHI, KENJI, FUJIMORI, TASUHIRO, KONDO, TETSUJIRO
Priority to US09/074,342 priority Critical patent/US6072837A/en
Application granted granted Critical
Publication of US5870434A publication Critical patent/US5870434A/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/98Adaptive-dynamic-range coding [ADRC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/115Selection of the code volume for a coding unit prior to coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output

Definitions

  • the present invention relates to a quantizing apparatus and method for quantizing the difference between an input signal (such as a digital audio signal or a digital picture signal) and a predicted value generated therefrom.
  • a prediction encoding method for compressing the transmission information amount of a digital audio signal, a digital picture signal, and so forth is known.
  • the difference between an input sample value and a predicted value is formed in time direction.
  • the difference between an input sample value and a predicted value is formed in spatial direction. Since a digital information signal has a correlation in time direction and in spatial direction, the difference concentrates on around 0. Thus, the difference signal can be quantized with the number of bits smaller than the number of quantizing bits. Consequently, the information amount can be reduced.
  • the variable length encoding process is performed using the characteristic of the concentration of the distribution of the difference signal, the information amount can be more reduced.
  • the quantizing step width at around 0 is finely designated. As the level becomes large, the quantizing step width is coarsely designated.
  • This quantizing apparatus is referred to as a non-linear quantizing apparatus.
  • all possible levels of the difference signal are quantized. For example, when one sample (one pixel) of a digital picture signal is quantized with eight bits, the values of the difference signal range from -255 to +255. In the conventional quantizing apparatus, all the range is used for the quantizing process.
  • the number of quantizing steps is restricted to even numbers so as to represent quantized values in binary notation.
  • the number of quantizing steps is restricted to even numbers, when difference data is quantized with 0 as a decoded value, the quantized values are not symmetrical with respect to 0.
  • the number of quantizing steps is 2n-1, since 2n should be used as the number of quantizing steps, there is a loss.
  • the number of quantizing steps largely varies corresponding to the number of quantizing bits. This means that the variation of the number of quantizing bits for keeping the transmission data amount constant causes the quantizing step width to largely vary, thereby largely changing the restored picture quality.
  • An object of the present invention is to provide a quantizing apparatus and method that is regardless of whether the number of quantizing steps is an odd number or an even number and that suppresses the variation of the number of quantizing steps.
  • a quantizing apparatus comprising, a device for receiving an input digital signal and quantizing circuit for quantizing the input digital signal corresponding to the number of quantizing steps including an odd step number so as to determine a quantized code and for matching a variable-length code with the quantized code so as to generate a quantized value.
  • the present invention further includes a memory for receiving the quantized code and having a code converting table for outputting a variable-length quantized value corresponding to the quantized code, wherein the quantized value is transmitted.
  • a quantizing method comprising the steps of, receiving an input digital signal, and quantizing the input digital signal corresponding to the number of quantizing steps including an odd step number so as to determine a quantized code and matching a variable-length code with the quantized code so as to generate a quantized value.
  • the difference data (difference signal) is quantized, even if 0 is included in a decoded value, the difference data can be symmetrically quantized with respect to 0.
  • the difference data can be quantized with the optimum number of quantizing steps.
  • FIGS. 1A and 1B are block diagrams showing a prediction code encoder according to the present invention.
  • FIG. 2 is a block diagram showing a prediction code decoder according to the present invention.
  • FIG. 3 is a schematic diagram for explaining an example of prediction encoding process
  • FIG. 4 is a block diagram showing a quantizing apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram for explaining the number of quantizing steps
  • FIG. 6 is a schematic diagram for explaining a variable length encoding process according to the present invention.
  • FIG. 7 is a schematic diagram for explaining an example of a hierarchical encoding process according to the present invention.
  • FIG. 8 is a schematic diagram for explaining an example of a the hierarchical encoding process
  • FIG. 9 is a block diagram showing an example of the construction of an encode side of the hierarchical encoding process.
  • FIG. 10 is a block diagram showing an example of the construction of a decode side of the hierarchical encoding process.
  • FIGS. 1A and 1B show examples of a prediction code encoder that generates a difference signal.
  • a digital picture signal is supplied to an input terminal 11.
  • the digital picture signal is supplied to a predicting portion 12 and a subtraction device 13.
  • the subtraction device 13 subtracts a predicted value generated by the predicting portion 12 from each pixel value and generates a difference signal as an output signal.
  • the difference signal is supplied to a quantizing portion 15 through a block segmenting circuit 14.
  • the quantizing portion 15 quantizes the difference signal with the number of quantizing bits smaller than the original number of quantizing bits.
  • the present invention is applied for the quantizing portion 15 and an embodiment thereof is shown in FIG. 4.
  • the quantizing portion 15 generates a quantized output (quantized value) and side information.
  • the quantized value is obtained from an output terminal 16.
  • the side information is obtained from an output terminal 17.
  • the output signal of the subtraction device 13 is supplied to a local decoding device 12'.
  • a decoded output signal is supplied from the local decoding device 12' to the subtraction device 13.
  • FIG. 2 shows a decoder corresponding to the encoder shown in FIGS. 1A and 1B.
  • a quantized value and side information are supplied to input terminals 21 and 22, respectively.
  • the quantized value and the side information are supplied to a dequantizing portion 24.
  • the dequantizing portion 24 dequantizes the quantized value to a dequantized value (representative value).
  • the dequantized value is supplied from the dequantizing portion 24 to an addition device 25.
  • An output signal of the addition device 25 is supplied to an output terminal 27 and a predicting portion 26.
  • the predicting portion 26 generates a predicted value and supplies it to the addition device 25.
  • the addition device 25 supplies the dequantized value to the output terminal 27 without performing the addition.
  • FIG. 3 shows a part of one screen for explaining an example of the prediction.
  • a to h represent locally decoded pixel values.
  • a to P represent pixel values that have not been encoded.
  • a predicted value A' corresponding to the pixel value A is formed of adjacent locally-decoded pixel values.
  • a predicted value of the pixel value B is formed of a locally decoded value by the similar arithmetic operations.
  • a predicted value for example, A'
  • a real pixel value for example, A
  • the difference ⁇ a is formed.
  • the difference is block segmented into a block composed of 4 pixels ⁇ 4 pixels by the block segmenting circuit 14.
  • a predicate value is formed in time direction and thereby a block of a one-dimensional difference signal is formed.
  • FIG. 4 shows a detailed construction of the quantizing portion 15 according to the embodiment.
  • a difference signal supplied from the subtraction device 13 is supplied to the quantizing portion 15.
  • the quantizing portion 15 includes a ROM 32, a quantizing device 34 and an activity detecting circuit 33.
  • the block segmenting circuit 14 segments the difference signal into a block composed of 4 pixels ⁇ 4 pixels.
  • the block-segmented data is supplied to the activity detecting circuit 33 and the quantizing device 34.
  • a dynamic range is used. Besides the dynamic range, it is possible to use the sum of the absolute values of the differences against the average value, the absolute values of the standard deviation, and so forth as activities.
  • the activity detecting circuit 33 determines a quantizing characteristic corresponding to the detected activity.
  • the activity detecting circuit 33 determines the number of quantizing steps and supplies a control signal that represents the number of quantizing steps to the quantizing device 34 and t he ROM 32.
  • the quantizing device 34 quantizes the data of the block-segmented difference signal with the number of the quantizing steps.
  • An ID that represents the number of quantizing steps as side information is supplied from the activity detecting circuit 33 to the output terminal 17.
  • a quantized code and the ID are supplied to the ROM 32 as its address.
  • a variable length code is read out from the ROM 32, and the code is supplied to an output terminal 35.
  • the quantizing portion 15 is constituted so as to integrate the quantizing device 34 and the ROM 32 for variable length coding, unlike with a conventional even number of quantizing steps, an odd number of quantizing steps can be used. In other words, the quantized value of the variable length code process is transmitted or recorded. Thus, before this process, the number of quantizing steps can be freely selected. Consequently, when the variable length code converting table stored in the ROM 32 is properly designed, the information amount to be transmitted can be suppressed from increasing. Next, an example of the code converting table will be described. In this example, the number of quantizing steps is 3 for simple explanation. In FIG.
  • the number of quantizing steps is designated to 1.
  • the number of quantizing steps is designated to 3.
  • the number of quantizing steps is designated to 5.
  • the detected dynamic range DR is in the range from 192 to 255, the number of quantizing steps is designated to 7.
  • the quantizing step width ⁇ is designated corresponding to the odd number of quantizing steps.
  • the table shown in FIG. 6 is stored in the ROM 32. This table defines the relation among the number of quantizing steps, the quantizing code, and the Huffman code as an example of variable length code.
  • the quantizing code is 1 and the Huffman code is 0.
  • the quantizing code is 1, 2, or 3.
  • the quantizing code is 1, the Huffman code is 10.
  • the quantizing code is 2
  • the Huffman code is 0.
  • the quantizing code is 3.
  • the Huffman code is 11.
  • the number of quantizing steps is 5, the quantizing code is 1, 2, 3, 4, or 5.
  • the quantizing code is 1, the Huffman code is 1100.
  • the quantizing code is 2, the Huffman code is 100.
  • the quantizing code is 3, the Huffman code is 0.
  • the quantizing code is 4, the Huffman code is 101.
  • the quantizing code is 5, the Huffman code is 1101.
  • the quantizing code is 1, 2, 3, 4, 5, 6, or 7.
  • the quantizing code is 1, the Huffman code is 00100.
  • the quantizing code is 2
  • the Huffman code is 000.
  • the quantizing code is 3, the Huffman code is 01.
  • the quantizing code is 4, the Huffman code is 10.
  • the quantizing code is 5,
  • the Huffman code is 11.
  • the quantizing code is 6, the Huffman code 0011.
  • the quantizing code is 7, the Huffman code is 00101.
  • a small number of bits are designated to a quantizing code corresponding to level 0 that has a large occurrence frequency.
  • a large number of bits are designated to a quantizing code that has a small occurrence frequency. Consequently, the number of bits to be transmitted can be totally reduced.
  • the selection of the number of quantizing steps and the variable length code table are only examples. Thus, it should be noted that another quantizing characteristic and another variable length code can be used.
  • the present invention can be applied for a quantizing apparatus for a hierarchical code encoder that will be described later as well as the prediction code encoder shown in FIG. 1.
  • predications are performed between hierarchical levels.
  • FIG. 7 is a schematic diagram showing that the first hierarchical level is the lowest hierarchical level (original picture) and the fourth hierarchical level is the highest hierarchical level.
  • the higher hierarchical level data generating method when an averaging method for averaging four spatially corresponding pixels in a lower hierarchical level is used, assuming that the higher hierarchical data is denoted by M and the lower hierarchical pixel values are denoted by x 0 , x 1 , x 2 , and x 3 , the number of pixels to be transmitted is still 4, not increases.
  • the not-transmitted pixel x 3 can be easily restored by the following simple arithmetic expression.
  • Each hierarchical data is generated by averaging the four pixels in the lower hierarchical level. Thus, even if data of the hatched portions in the drawing, all data can be restored corresponding to the formula (1).
  • FIG. 8 shows an example of the structure of five hierarchical levels of hierarchical data formed by the averaging method.
  • the first hierarchical level is the level with the resolution of the input picture.
  • data is composed in a block size (1 ⁇ 1).
  • the second hierarchical level data is composed by averaging four pixels in the first hierarchical level.
  • data X 2 (0) in the second hierarchical level is generated by the average value of data X 1 (0) to X 1 (3) in the first hierarchical level.
  • Data X 2 (1) to X 2 (3) adjacent to X 2 (0) in the second hierarchical level are generated by averaging respective four pixels in the first hierarchical level.
  • data is composed in a block size (1/2 ⁇ 1/2).
  • Data in the third hierarchical level is generated by averaging spatially corresponding four pixels in the second hierarchical level.
  • data the third hierarchical level is composed in block size (1/4 ⁇ 1/4).
  • data in the fourth hierarchical level is controlled corresponding to data in the third hierarchical level.
  • Data in the third hierarchical level is composed in a block size (1/8 ⁇ 1/8).
  • Data X 5 (0) in the fifth hierarchical level which is the highest hierarchical level, is generated by averaging data X 4 (0) to X 4 (3) in the fourth hierarchical level.
  • Data in the fifth hierarchical is composed in a block size (1/16 ⁇ 1/16).
  • FIG. 9 shows an example of the construction of the hierarchical code encoder.
  • Data d0 in the first hierarchical level is supplied as input picture data d0 to an averaging circuit 72 and a subtraction device 76 through an.input terminal 71.
  • the data in the first hierarchical level is picture data with the original resolution.
  • the averaging circuit 72 performs a 1/4 averaging process of a (2 pixels ⁇ 2 pixels) block shown in FIG. 8 for the input pixel data d0 and generates hierarchical data d1.
  • the hierarchical data d1 accords with data in the second hierarchical level shown in FIG. 8.
  • the hierarchical data d1 is supplied to an averaging circuit 73 and a subtraction device 77.
  • the averaging circuit 73 performs the same process as the averaging circuit 72 for the hierarchical data d1.
  • the hierarchical data d2 accords with data in the third hierarchical level.
  • the generated hierarchical data d2 is supplied to an averaging circuit 74 and a subtraction device 78.
  • the averaging circuit 74 performs the same process as the averaging circuits 72 and 73 for the hierarchical data d2 and generates the hierarchical data d3.
  • the hierarchical data d3 accords with data in the fourth hierarchical level.
  • the generated hierarchical data d3 is supplied to an averaging circuit 75 and a subtraction device 79.
  • the averaging circuit 75 performs the same process as the averaging circuits 72, 73, and 74 for the hierarchical data d3 and generates the hierarchical data d4.
  • the hierarchical data d4 accords with data in the fifth hierarchical level.
  • the generated hierarchical data d4 is supplied to a quantizing device 84.
  • Data in five hierarchical levels is predicted between each hierarchical level.
  • the quantizing portion 84 performs the quantizing process for compressing data.
  • Output data d21 of the quantizing portion 84 is supplied a dequantizing portion 88.
  • Output data of the quantizing portion 84 is obtained as data in the fifth hierarchical level to an output terminal 106.
  • Output data d16 of the dequantizing portion 88 is supplied to a class categorizing adaptive predicting circuit 92.
  • the class categorizing adaptive predicting circuit 92 performs the predicting process for the data d16 and generates a predicted value d12 of the data in the fourth hierarchical level.
  • the predicted value d12 is supplied to a subtraction device 79.
  • the subtraction device 79 obtains the difference between the hierarchical data d3 supplied from the averaging circuit 74 and the predicted value d12 and supplies a difference value d8 to a quantizing portion 83.
  • the quantizing portion 83 performs the same compressing process as the quantizing portion 84.
  • Output data of the quantizing portion 83 is supplied to an arithmetic operation device 96 and a dequantizing portion 87.
  • the arithmetic operation device 96 decimates one pixel from four pixels.
  • Data d20 from the arithmetic operation device 96 is obtained as data in the fourth hierarchical level from an output terminal 105.
  • Output data d15 of the dequantizing portion 87 is supplied to a class categorizing adaptive predicting circuit 91.
  • the class categorizing adaptive predicting circuit 91 performs the predicting process for the data d15 and generates a predicted value d11 of the data in the third hierarchical level.
  • the predicted data d11 is supplied to the subtraction device 78.
  • the subtraction device 78 obtains the difference between the data d2 supplied from the averaging circuit 3 and the predicted value d11 and supplies a difference value d7 to a quantizing portion 82.
  • Output data of the quantizing portion 82 is supplied to an arithmetic operation device 95 and a dequantizing portion 86.
  • the arithmetic operation device 95 decimates one pixel from fourth pixels.
  • Data d19 in the third hierarchical level from the arithmetic operation device 95 is obtained as data in the third hierarchical level from an output terminal 104.
  • Output data dl4 of the dequantizing portion 86 is supplied to a class categorizing adaptive predicting circuit 90.
  • the class categorizing adaptive predicting circuit 90 performs the predicting process for the data d14 and generates a predicted value d10 of data in the second hierarchical level.
  • the predicted value d10 is supplied to the subtraction device 77.
  • the subtraction device 77 obtains the difference between the data d1 supplied from the averaging circuit 72 and the predicted value d10 and supplies a difference value d6 to a quantizing portion 81.
  • Output data of the quantizing portion 81 is supplied to an arithmetic operation device 94 and a dequantizing portion 85.
  • the arithmetic operation device 94 decimates one pixel from four pixels.
  • Data d18 in the second hierarchical level from the arithmetic operation device 94 is obtained as data in the second hierarchical level from an output terminal 103.
  • Output data d13 of the dequantizing portion 85 is supplied to a class categorizing adaptive predicting circuit 89.
  • the class categorizing adaptive predicting circuit 89 performs the predicting process for the data d13 and generates a predicted value d9 of data in the first hierarchical level.
  • the predicted value d9 is supplied to the subtraction device 76.
  • the subtraction device 76 obtains the difference between the input pixel data d0 supplied from the input terminal 71 and the predicted value d9 and supplies a difference value d5 to a quantizing portion 80.
  • Output data of the quantizing portion 80 is supplied to an arithmetic operation device 93.
  • the arithmetic operation device 93 decimates one pixel from four pixels.
  • Data d17 in the first hierarchical level from the arithmetic operation device 93 is obtained as data in the first hierarchical level from an output terminal 102.
  • the quantizing portions 80 to 84 have same constitutions as shown in FIG. 4, respectively. That is, the quantizing portion can quantize the data of the block-segmented difference by the odd number of quantizing steps defined in response to the detected activity, and has the ROM for variable length coding.
  • the dequantizing portions convert the equantized value having variable length to the quantized code, and then convert the quantized code to the representative value, respectively.
  • the class categorizing adaptive predicting circuits 89, 90, 91, and 92 categorizes classes of pixels in lower hierarchical levels to be predicted corresponding to the level distribution of a plurality of spatially adjacent pixels (included in the higher hierarchical levels).
  • a table for predicted coefficients corresponding to individual classes or predicted values that have been learnt is stored in memory.
  • a plurality of predicted coefficients for individual classes or one predicted value is read from the memory. The predicted value is used as it is.
  • Predicted coefficients and a plurality of pixels are linearly combined so as to generate a predicted value.
  • Such a class categorizing adaptive predicting method has been disclosed in Japanese Patent Application No. HEI 4-155719 by the applicant of the present invention.
  • FIG. 10 shows an example of the construction of a hierarchical code decoder corresponding to the encoder.
  • Data in individual hierarchical levels generated by the encoder is input as d30 to d34 to terminals 131, 132, 133, 134 and 135.
  • the data of each hierarchical level is supplied to dequantizing portion 146, 147, 148, 149, and 150, respectively.
  • the dequantizing portion 150 performs the decoding process for the input data d34 in the fifth hierarchical level and generates picture data d39.
  • the picture data d39 is supplied to a class categorizing adaptive predicting circuit 162 and an arithmetic operation device 158.
  • the picture data d39 is obtained as picture output data in the fifth hierarchical level from an output terminal 167.
  • the class categorizing adaptive predicting circuit 162 performs the class categorizing adaptive predicting process for picture data in the fourth hierarchical level and generates a predicted value d47 of data in the fourth hierarchical level.
  • An addition device 154 adds data d38 (namely, a difference value) supplied from the dequantizing portion 149 and the predicted value d47 and supplies picture data d43 to the arithmetic operation device 158.
  • the arithmetic operation device 158 performs the arithmetic operation of the formula (1).
  • all pixel values in the fourth hierarchical level are restored from the picture data d39 supplied from the dequantizing portion 150 and from the picture data d43.
  • All the pixel values restored by the arithmetic operation device 158 are supplied as picture data d51 to a class categorizing adaptive predicting circuit 161 and an arithmetic operation device 157.
  • the picture data d51 is output as output data in the fourth hierarchical level from an output terminal 166.
  • the class categorizing adaptive predicting circuit 161 performs the class categorizing adaptive predicting process for the picture data in the third hierarchical level in the same manner as described above and generates a predicted value d46 in the third hierarchical level.
  • An addition device 153 adds data d37 supplied from the dequantizing portion 148 and the predicted value d46.
  • Picture data d42 of the addition device 153 is supplied to the arithmetic operation device 157.
  • the arithmetic operation device 157 performs the arithmetic operation of the formula (1).
  • all pixel values in the third hierarchical level are restored from the picture data d51 supplied from the arithmetic operation device 158 and from the picture data d42.
  • All the restored pixel values are supplied as picture data d50 to a class categorizing adaptive predicting circuit 160 and an arithmetic operation device 156.
  • the picture data d50 is obtained as output data in the third hierarchical level from an output terminal 165.
  • the class categorizing adaptive predicting circuit 160 performs the class categorizing adaptive predicting process for picture data in the second hierarchical level in the same manner as described above and generates a predicted value d45 of data in the second hierarchical level.
  • An addition device 152 adds data d36 supplied from the dequantizing portion 147 and the predicted value d45.
  • Picture data d41 is output from the addition device 152 and supplied to the arithmetic operation device 156.
  • the arithmetic operation device 156 performs the arithmetic operation of the formula (1).
  • all pixel values in the second hierarchical level are restored from the picture data d50 supplied from the arithmetic operation device 157 and from the picture data d41.
  • All the restored pixel values are supplied as picture data d49 to a class categorizing adaptive predicting circuit 159 and an arithmetic operation device 155.
  • the picture data d49 is obtained as output data in the second hierarchical level from an output terminal 164.
  • the class categorizing adaptive predicting circuit 159 performs the class categorizing adaptive predicting process for picture data in the first hierarchical level in the same manner as described above and generates a predicted value d44 of data in the first hierarchical level.
  • An addition device 151 adds data d35 supplied from the dequantizing portion 146 and the predicted value d44.
  • Picture data d40 is output from the addition device 151 and supplied to an arithmetic operation device 155.
  • the arithmetic operation device 155 performs the arithmetic operation of the formula (1).
  • all pixel values in the first hierarchical level are restored from the picture data d49 supplied from the arithmetic operation device 156 and the picture data d40.
  • All the restored pixel values are supplied as picture data d48 from the arithmetic operation device 155 and obtained as output data in the first hierarchical level from an output terminal 163.
  • the encoding efficiency can be improved.
  • data in the lowest hierarchical level namely, data in the first hierarchical level (original picture)
  • data in the second hierarchical level is reproduction data with a standard resolution
  • Data in the highest hierarchical level namely data in the fifth hierarchical level, is reproduction data with a low resolution for high speed data retrieval.
  • the average value may be obtained by a simple averaging method or a weighted averaging method.
  • the present invention can be applied for the quantizing process of the difference signal generated by other than the above-described prediction encoding process.
  • the present invention can be applied for a system having a buffering construction for controlling a quantizing step width ⁇ so as to control the generated data amount.
  • the quantizing characteristic has a symmetry with respect to 0.
  • the degree of freedom of designing a quantizing apparatus is increased and thereby the encoding efficiency can be improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Color Television Systems (AREA)

Abstract

A subtraction device subtracts a predicted value generated by a predicting portion from a digital picture signal supplied through an input terminal. The subtraction device generates a difference signal as an output signal. A quantizing portion detects an activity of the difference signal, designates the number of quantizing steps corresponding to the activity, and quantizes the difference signal with the number of quantizing steps. The quantizing portion outputs side information to an output terminal.

Description

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a quantizing apparatus and method for quantizing the difference between an input signal (such as a digital audio signal or a digital picture signal) and a predicted value generated therefrom.
2. Description of the Related Art
A prediction encoding method for compressing the transmission information amount of a digital audio signal, a digital picture signal, and so forth is known. For example, in one-dimensional DPCM, the difference between an input sample value and a predicted value is formed in time direction. On the other hand, in two-dimensional DPCM, the difference between an input sample value and a predicted value is formed in spatial direction. Since a digital information signal has a correlation in time direction and in spatial direction, the difference concentrates on around 0. Thus, the difference signal can be quantized with the number of bits smaller than the number of quantizing bits. Consequently, the information amount can be reduced. In addition, when the variable length encoding process is performed using the characteristic of the concentration of the distribution of the difference signal, the information amount can be more reduced.
In the distribution of the frequency of the difference signal, values concentrate on around 0. Thus, in a conventional quantizing apparatus that deals with the difference signal, the quantizing step width at around 0 is finely designated. As the level becomes large, the quantizing step width is coarsely designated. This quantizing apparatus is referred to as a non-linear quantizing apparatus. In the conventional quantizing apparatus including the non-linear quantizing apparatus, all possible levels of the difference signal are quantized. For example, when one sample (one pixel) of a digital picture signal is quantized with eight bits, the values of the difference signal range from -255 to +255. In the conventional quantizing apparatus, all the range is used for the quantizing process.
In the conventional quantizing apparatus, the number of quantizing steps is restricted to even numbers so as to represent quantized values in binary notation. In the case that the number of quantizing steps is restricted to even numbers, when difference data is quantized with 0 as a decoded value, the quantized values are not symmetrical with respect to 0. Alternatively, even if the number of quantizing steps is 2n-1, since 2n should be used as the number of quantizing steps, there is a loss.
When the number of quantizing bits is changed from 2 to 3, the number of quantizing steps is increased from 4 to 8. Thus, as this example shows, the number of quantizing steps largely varies corresponding to the number of quantizing bits. This means that the variation of the number of quantizing bits for keeping the transmission data amount constant causes the quantizing step width to largely vary, thereby largely changing the restored picture quality.
OBJECTS AND SUMMARY OF THE INVENTION
An object of the present invention is to provide a quantizing apparatus and method that is regardless of whether the number of quantizing steps is an odd number or an even number and that suppresses the variation of the number of quantizing steps.
According to an aspect of the present invention, there is provided a quantizing apparatus, comprising, a device for receiving an input digital signal and quantizing circuit for quantizing the input digital signal corresponding to the number of quantizing steps including an odd step number so as to determine a quantized code and for matching a variable-length code with the quantized code so as to generate a quantized value.
The present invention further includes a memory for receiving the quantized code and having a code converting table for outputting a variable-length quantized value corresponding to the quantized code, wherein the quantized value is transmitted.
According to another aspect of the invention, there is provided a quantizing method, comprising the steps of, receiving an input digital signal, and quantizing the input digital signal corresponding to the number of quantizing steps including an odd step number so as to determine a quantized code and matching a variable-length code with the quantized code so as to generate a quantized value.
When the difference data (difference signal) is quantized, even if 0 is included in a decoded value, the difference data can be symmetrically quantized with respect to 0. When the optimum number of quantizing steps is 2n-1, the difference data can be quantized with the optimum number of quantizing steps.
The above, and other, objects, features and advantage of the present invention will become readily apparent from the following detailed description thereof which is to be read in connection with the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIGS. 1A and 1B are block diagrams showing a prediction code encoder according to the present invention;
FIG. 2 is a block diagram showing a prediction code decoder according to the present invention;
FIG. 3 is a schematic diagram for explaining an example of prediction encoding process;
FIG. 4 is a block diagram showing a quantizing apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic diagram for explaining the number of quantizing steps;
FIG. 6 is a schematic diagram for explaining a variable length encoding process according to the present invention;
FIG. 7 is a schematic diagram for explaining an example of a hierarchical encoding process according to the present invention;
FIG. 8 is a schematic diagram for explaining an example of a the hierarchical encoding process;
FIG. 9 is a block diagram showing an example of the construction of an encode side of the hierarchical encoding process; and
FIG. 10 is a block diagram showing an example of the construction of a decode side of the hierarchical encoding process.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
Next, with reference to the accompanying drawings, an embodiment of the present invention will be described. FIGS. 1A and 1B show examples of a prediction code encoder that generates a difference signal. In FIG. 1A, for example a digital picture signal is supplied to an input terminal 11. The digital picture signal is supplied to a predicting portion 12 and a subtraction device 13. The subtraction device 13 subtracts a predicted value generated by the predicting portion 12 from each pixel value and generates a difference signal as an output signal.
The difference signal is supplied to a quantizing portion 15 through a block segmenting circuit 14. The quantizing portion 15 quantizes the difference signal with the number of quantizing bits smaller than the original number of quantizing bits. The present invention is applied for the quantizing portion 15 and an embodiment thereof is shown in FIG. 4. The quantizing portion 15 generates a quantized output (quantized value) and side information. The quantized value is obtained from an output terminal 16. The side information is obtained from an output terminal 17. In reality, as shown in FIG. 1B, the output signal of the subtraction device 13 is supplied to a local decoding device 12'. A decoded output signal is supplied from the local decoding device 12' to the subtraction device 13.
FIG. 2 shows a decoder corresponding to the encoder shown in FIGS. 1A and 1B. A quantized value and side information are supplied to input terminals 21 and 22, respectively. The quantized value and the side information are supplied to a dequantizing portion 24. The dequantizing portion 24 dequantizes the quantized value to a dequantized value (representative value).
The dequantized value is supplied from the dequantizing portion 24 to an addition device 25. An output signal of the addition device 25 is supplied to an output terminal 27 and a predicting portion 26. The predicting portion 26 generates a predicted value and supplies it to the addition device 25. When a sample value for refreshing is periodically inserted for preventing errors of the encoder from being cumulated, the addition device 25 supplies the dequantized value to the output terminal 27 without performing the addition.
FIG. 3 shows a part of one screen for explaining an example of the prediction. In FIG. 3, a to h represent locally decoded pixel values. A to P represent pixel values that have not been encoded. A predicted value A' corresponding to the pixel value A is formed of adjacent locally-decoded pixel values. A predicated value of the pixel value A is formed of for example A'=4c-3(b-f), A'=f+c-d, and so forth. A predicted value of the pixel value B is formed of a locally decoded value by the similar arithmetic operations.
For example, a predicted value (for example, A') is subtracted from a real pixel value (for example, A). (Namely, Δa=A-A' is calculated). Thus, the difference Δa is formed. As shown in FIG. 3, the difference is block segmented into a block composed of 4 pixels×4 pixels by the block segmenting circuit 14. When a digital audio signal is handled, a predicate value is formed in time direction and thereby a block of a one-dimensional difference signal is formed.
FIG. 4 shows a detailed construction of the quantizing portion 15 according to the embodiment. A difference signal supplied from the subtraction device 13 is supplied to the quantizing portion 15. The quantizing portion 15 includes a ROM 32, a quantizing device 34 and an activity detecting circuit 33. As described above, the block segmenting circuit 14 segments the difference signal into a block composed of 4 pixels×4 pixels. The block-segmented data is supplied to the activity detecting circuit 33 and the quantizing device 34.
As an example of an activity determining method performed by the activity detecting circuit 33, a dynamic range is used. Besides the dynamic range, it is possible to use the sum of the absolute values of the differences against the average value, the absolute values of the standard deviation, and so forth as activities.
The activity detecting circuit 33 determines a quantizing characteristic corresponding to the detected activity. In this example, the activity detecting circuit 33 determines the number of quantizing steps and supplies a control signal that represents the number of quantizing steps to the quantizing device 34 and t he ROM 32. The quantizing device 34 quantizes the data of the block-segmented difference signal with the number of the quantizing steps. An ID that represents the number of quantizing steps as side information is supplied from the activity detecting circuit 33 to the output terminal 17. A quantized code and the ID are supplied to the ROM 32 as its address. A variable length code is read out from the ROM 32, and the code is supplied to an output terminal 35.
Since the quantizing portion 15 is constituted so as to integrate the quantizing device 34 and the ROM 32 for variable length coding, unlike with a conventional even number of quantizing steps, an odd number of quantizing steps can be used. In other words, the quantized value of the variable length code process is transmitted or recorded. Thus, before this process, the number of quantizing steps can be freely selected. Consequently, when the variable length code converting table stored in the ROM 32 is properly designed, the information amount to be transmitted can be suppressed from increasing. Next, an example of the code converting table will be described. In this example, the number of quantizing steps is 3 for simple explanation. In FIG. 5, the relation between input values (quantized codes from the quantizing device 34) (-255 to +255) and output values read out from the ROM 32 (-255 to +255) are shown. When the number of quantizing steps is an odd number (3), the representative value of one quantizing code is always 0. In addition, a quantizing step width Δ can be symmetrically designated with respect to zero.
The activity detecting circuit 33 detects the maximum values MAX and the minimum value MIN of the level distribution of the difference signal of the block and calculates the dynamic range DR (=MAX-MIN) in the above-descried manner. When the detected dynamic range DR is in the range from 0 to 63, the number of quantizing steps is designated to 1. When the detected dynamic range DR is in the range from 64 to 128, the number of quantizing steps is designated to 3. When the detected dynamic range DR is in the range from 129 to 191, the number of quantizing steps is designated to 5. When the detected dynamic range DR is in the range from 192 to 255, the number of quantizing steps is designated to 7. The quantizing step width Δ is designated corresponding to the odd number of quantizing steps.
The table shown in FIG. 6 is stored in the ROM 32. This table defines the relation among the number of quantizing steps, the quantizing code, and the Huffman code as an example of variable length code. As shown in FIG. 6, when the number of quantizing steps is 1, the quantizing code is 1 and the Huffman code is 0. When the number of quantizing steps is 3, the quantizing code is 1, 2, or 3. When the quantizing code is 1, the Huffman code is 10. When the quantizing code is 2, the Huffman code is 0. When the quantizing code is 3, the Huffman code is 11. When the number of quantizing steps is 5, the quantizing code is 1, 2, 3, 4, or 5. When the quantizing code is 1, the Huffman code is 1100. When the quantizing code is 2, the Huffman code is 100. When the quantizing code is 3, the Huffman code is 0. When the quantizing code is 4, the Huffman code is 101. When the quantizing code is 5, the Huffman code is 1101.
When the number of quantizing steps is 7, the quantizing code is 1, 2, 3, 4, 5, 6, or 7. When the quantizing code is 1, the Huffman code is 00100. When the quantizing code is 2, the Huffman code is 000. When the quantizing code is 3, the Huffman code is 01. When the quantizing code is 4, the Huffman code is 10. When the quantizing code is 5, the Huffman code is 11. When the quantizing code is 6, the Huffman code 0011. When the quantizing code is 7, the Huffman code is 00101. Thus, a small number of bits are designated to a quantizing code corresponding to level 0 that has a large occurrence frequency. In contrast, a large number of bits are designated to a quantizing code that has a small occurrence frequency. Consequently, the number of bits to be transmitted can be totally reduced. The selection of the number of quantizing steps and the variable length code table are only examples. Thus, it should be noted that another quantizing characteristic and another variable length code can be used.
The present invention can be applied for a quantizing apparatus for a hierarchical code encoder that will be described later as well as the prediction code encoder shown in FIG. 1. In the following hierarchical encoding apparatus, predications are performed between hierarchical levels. By using simple arithmetic expressions for the hierarchical data, the number of pixels to be encoded can be prevented from increasing.
Next, with reference to FIG. 7, the hierarchical encoding method will be described. FIG. 7 is a schematic diagram showing that the first hierarchical level is the lowest hierarchical level (original picture) and the fourth hierarchical level is the highest hierarchical level. For example, as a higher hierarchical level data generating method, when an averaging method for averaging four spatially corresponding pixels in a lower hierarchical level is used, assuming that the higher hierarchical data is denoted by M and the lower hierarchical pixel values are denoted by x0, x1, x2, and x3, the number of pixels to be transmitted is still 4, not increases.
In other words, using M, X0, X1, and X2, the not-transmitted pixel x3 can be easily restored by the following simple arithmetic expression.
X.sub.3 =4·M-(X.sub.0 +X.sub.1 +X.sub.2)          (1)
Each hierarchical data is generated by averaging the four pixels in the lower hierarchical level. Thus, even if data of the hatched portions in the drawing, all data can be restored corresponding to the formula (1).
FIG. 8 shows an example of the structure of five hierarchical levels of hierarchical data formed by the averaging method. It is assumed that the first hierarchical level is the level with the resolution of the input picture. In the first hierarchical level, data is composed in a block size (1×1). In the second hierarchical level, data is composed by averaging four pixels in the first hierarchical level. In this example, data X2 (0) in the second hierarchical level is generated by the average value of data X1 (0) to X1 (3) in the first hierarchical level. Data X2 (1) to X2 (3) adjacent to X2 (0) in the second hierarchical level are generated by averaging respective four pixels in the first hierarchical level. In the second hierarchical level, data is composed in a block size (1/2×1/2).
Data in the third hierarchical level is generated by averaging spatially corresponding four pixels in the second hierarchical level. Likewise, data the third hierarchical level is composed in block size (1/4×1/4). Likewise, data in the fourth hierarchical level is controlled corresponding to data in the third hierarchical level. Data in the third hierarchical level is composed in a block size (1/8×1/8). Data X5 (0) in the fifth hierarchical level, which is the highest hierarchical level, is generated by averaging data X4 (0) to X4 (3) in the fourth hierarchical level. Data in the fifth hierarchical is composed in a block size (1/16×1/16).
By applying a class categorizing adaptive predicting process for data in a higher hierarchical level, data in a lower hierarchical level can be predicted. By generating the difference between the data in the lower hierarchical level and the predicted value (namely, the difference signal), the signal power can be reduced. Next, an example of the construction for reducing the signal power will be described with reference to a block diagram shown in FIG. 9. FIG. 9 shows an example of the construction of the hierarchical code encoder. Data d0 in the first hierarchical level is supplied as input picture data d0 to an averaging circuit 72 and a subtraction device 76 through an.input terminal 71. The data in the first hierarchical level is picture data with the original resolution.
The averaging circuit 72 performs a 1/4 averaging process of a (2 pixels×2 pixels) block shown in FIG. 8 for the input pixel data d0 and generates hierarchical data d1. The hierarchical data d1 accords with data in the second hierarchical level shown in FIG. 8. The hierarchical data d1 is supplied to an averaging circuit 73 and a subtraction device 77.
The averaging circuit 73 performs the same process as the averaging circuit 72 for the hierarchical data d1. The hierarchical data d2 accords with data in the third hierarchical level. The generated hierarchical data d2 is supplied to an averaging circuit 74 and a subtraction device 78. The averaging circuit 74 performs the same process as the averaging circuits 72 and 73 for the hierarchical data d2 and generates the hierarchical data d3. The hierarchical data d3 accords with data in the fourth hierarchical level. The generated hierarchical data d3 is supplied to an averaging circuit 75 and a subtraction device 79. The averaging circuit 75 performs the same process as the averaging circuits 72, 73, and 74 for the hierarchical data d3 and generates the hierarchical data d4. The hierarchical data d4 accords with data in the fifth hierarchical level. The generated hierarchical data d4 is supplied to a quantizing device 84.
Data in five hierarchical levels is predicted between each hierarchical level. In the fifth hierarchical level, the quantizing portion 84 performs the quantizing process for compressing data. Output data d21 of the quantizing portion 84 is supplied a dequantizing portion 88. Output data of the quantizing portion 84 is obtained as data in the fifth hierarchical level to an output terminal 106. Output data d16 of the dequantizing portion 88 is supplied to a class categorizing adaptive predicting circuit 92.
The class categorizing adaptive predicting circuit 92 performs the predicting process for the data d16 and generates a predicted value d12 of the data in the fourth hierarchical level. The predicted value d12 is supplied to a subtraction device 79. The subtraction device 79 obtains the difference between the hierarchical data d3 supplied from the averaging circuit 74 and the predicted value d12 and supplies a difference value d8 to a quantizing portion 83.
The quantizing portion 83 performs the same compressing process as the quantizing portion 84. Output data of the quantizing portion 83 is supplied to an arithmetic operation device 96 and a dequantizing portion 87. The arithmetic operation device 96 decimates one pixel from four pixels. Data d20 from the arithmetic operation device 96 is obtained as data in the fourth hierarchical level from an output terminal 105.
Output data d15 of the dequantizing portion 87 is supplied to a class categorizing adaptive predicting circuit 91. The class categorizing adaptive predicting circuit 91 performs the predicting process for the data d15 and generates a predicted value d11 of the data in the third hierarchical level. The predicted data d11 is supplied to the subtraction device 78. The subtraction device 78 obtains the difference between the data d2 supplied from the averaging circuit 3 and the predicted value d11 and supplies a difference value d7 to a quantizing portion 82.
Output data of the quantizing portion 82 is supplied to an arithmetic operation device 95 and a dequantizing portion 86. The arithmetic operation device 95 decimates one pixel from fourth pixels. Data d19 in the third hierarchical level from the arithmetic operation device 95 is obtained as data in the third hierarchical level from an output terminal 104.
Output data dl4 of the dequantizing portion 86 is supplied to a class categorizing adaptive predicting circuit 90. The class categorizing adaptive predicting circuit 90 performs the predicting process for the data d14 and generates a predicted value d10 of data in the second hierarchical level. The predicted value d10 is supplied to the subtraction device 77. The subtraction device 77 obtains the difference between the data d1 supplied from the averaging circuit 72 and the predicted value d10 and supplies a difference value d6 to a quantizing portion 81.
Output data of the quantizing portion 81 is supplied to an arithmetic operation device 94 and a dequantizing portion 85. The arithmetic operation device 94 decimates one pixel from four pixels. Data d18 in the second hierarchical level from the arithmetic operation device 94 is obtained as data in the second hierarchical level from an output terminal 103.
Output data d13 of the dequantizing portion 85 is supplied to a class categorizing adaptive predicting circuit 89. The class categorizing adaptive predicting circuit 89 performs the predicting process for the data d13 and generates a predicted value d9 of data in the first hierarchical level. The predicted value d9 is supplied to the subtraction device 76. The subtraction device 76 obtains the difference between the input pixel data d0 supplied from the input terminal 71 and the predicted value d9 and supplies a difference value d5 to a quantizing portion 80.
Output data of the quantizing portion 80 is supplied to an arithmetic operation device 93. The arithmetic operation device 93 decimates one pixel from four pixels. Data d17 in the first hierarchical level from the arithmetic operation device 93 is obtained as data in the first hierarchical level from an output terminal 102.
The quantizing portions 80 to 84 have same constitutions as shown in FIG. 4, respectively. That is, the quantizing portion can quantize the data of the block-segmented difference by the odd number of quantizing steps defined in response to the detected activity, and has the ROM for variable length coding. The dequantizing portions convert the equantized value having variable length to the quantized code, and then convert the quantized code to the representative value, respectively.
The class categorizing adaptive predicting circuits 89, 90, 91, and 92 categorizes classes of pixels in lower hierarchical levels to be predicted corresponding to the level distribution of a plurality of spatially adjacent pixels (included in the higher hierarchical levels). A table for predicted coefficients corresponding to individual classes or predicted values that have been learnt is stored in memory. A plurality of predicted coefficients for individual classes or one predicted value is read from the memory. The predicted value is used as it is. Predicted coefficients and a plurality of pixels are linearly combined so as to generate a predicted value. Such a class categorizing adaptive predicting method has been disclosed in Japanese Patent Application No. HEI 4-155719 by the applicant of the present invention.
FIG. 10 shows an example of the construction of a hierarchical code decoder corresponding to the encoder. Data in individual hierarchical levels generated by the encoder is input as d30 to d34 to terminals 131, 132, 133, 134 and 135. The data of each hierarchical level is supplied to dequantizing portion 146, 147, 148, 149, and 150, respectively.
The dequantizing portion 150 performs the decoding process for the input data d34 in the fifth hierarchical level and generates picture data d39. The picture data d39 is supplied to a class categorizing adaptive predicting circuit 162 and an arithmetic operation device 158. In addition, the picture data d39 is obtained as picture output data in the fifth hierarchical level from an output terminal 167.
The class categorizing adaptive predicting circuit 162 performs the class categorizing adaptive predicting process for picture data in the fourth hierarchical level and generates a predicted value d47 of data in the fourth hierarchical level. An addition device 154 adds data d38 (namely, a difference value) supplied from the dequantizing portion 149 and the predicted value d47 and supplies picture data d43 to the arithmetic operation device 158. The arithmetic operation device 158 performs the arithmetic operation of the formula (1). Thus, all pixel values in the fourth hierarchical level are restored from the picture data d39 supplied from the dequantizing portion 150 and from the picture data d43. All the pixel values restored by the arithmetic operation device 158 are supplied as picture data d51 to a class categorizing adaptive predicting circuit 161 and an arithmetic operation device 157. In addition, the picture data d51 is output as output data in the fourth hierarchical level from an output terminal 166.
The class categorizing adaptive predicting circuit 161 performs the class categorizing adaptive predicting process for the picture data in the third hierarchical level in the same manner as described above and generates a predicted value d46 in the third hierarchical level. An addition device 153 adds data d37 supplied from the dequantizing portion 148 and the predicted value d46. Picture data d42 of the addition device 153 is supplied to the arithmetic operation device 157. The arithmetic operation device 157 performs the arithmetic operation of the formula (1). Thus, all pixel values in the third hierarchical level are restored from the picture data d51 supplied from the arithmetic operation device 158 and from the picture data d42. All the restored pixel values are supplied as picture data d50 to a class categorizing adaptive predicting circuit 160 and an arithmetic operation device 156. In addition, the picture data d50 is obtained as output data in the third hierarchical level from an output terminal 165.
The class categorizing adaptive predicting circuit 160 performs the class categorizing adaptive predicting process for picture data in the second hierarchical level in the same manner as described above and generates a predicted value d45 of data in the second hierarchical level. An addition device 152 adds data d36 supplied from the dequantizing portion 147 and the predicted value d45. Picture data d41 is output from the addition device 152 and supplied to the arithmetic operation device 156. The arithmetic operation device 156 performs the arithmetic operation of the formula (1). Thus, all pixel values in the second hierarchical level are restored from the picture data d50 supplied from the arithmetic operation device 157 and from the picture data d41. All the restored pixel values are supplied as picture data d49 to a class categorizing adaptive predicting circuit 159 and an arithmetic operation device 155. In addition, the picture data d49 is obtained as output data in the second hierarchical level from an output terminal 164.
The class categorizing adaptive predicting circuit 159 performs the class categorizing adaptive predicting process for picture data in the first hierarchical level in the same manner as described above and generates a predicted value d44 of data in the first hierarchical level. An addition device 151 adds data d35 supplied from the dequantizing portion 146 and the predicted value d44. Picture data d40 is output from the addition device 151 and supplied to an arithmetic operation device 155. The arithmetic operation device 155 performs the arithmetic operation of the formula (1). Thus, all pixel values in the first hierarchical level are restored from the picture data d49 supplied from the arithmetic operation device 156 and the picture data d40. All the restored pixel values are supplied as picture data d48 from the arithmetic operation device 155 and obtained as output data in the first hierarchical level from an output terminal 163. In the hierarchical encoding method for preventing the number of pixels to be encoded from increasing, the encoding efficiency can be improved.
As a real application example of the above-described hierarchical encoding system, when a high-vision TV still picture database is constructed, data in the lowest hierarchical level, namely, data in the first hierarchical level (original picture), is reproduction data with a high-vision resolution. Data in the second hierarchical level is reproduction data with a standard resolution. Data in the highest hierarchical level, namely data in the fifth hierarchical level, is reproduction data with a low resolution for high speed data retrieval.
When a compression encoding process is used for reducing the information amount, reproduction picture data obtained by the decoding apparatus does not always accord with the input original picture data. However, the deterioration of the picture quality can be suppressed so that it cannot be visually detected. In addition, the average value may be obtained by a simple averaging method or a weighted averaging method.
The present invention can be applied for the quantizing process of the difference signal generated by other than the above-described prediction encoding process. In addition, the present invention can be applied for a system having a buffering construction for controlling a quantizing step width Δ so as to control the generated data amount.
Having described specific preferred embodiments of the present invention with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope or the spirit of the invention as defined in the appended claims.
According to the present invention, as the number of quantizing steps, an odd number can be used. In addition, according to the present invention, when difference data (difference signal) is quantized with 0 as a decoded value, the quantizing characteristic has a symmetry with respect to 0. Moreover, according to the present invention, the degree of freedom of designing a quantizing apparatus is increased and thereby the encoding efficiency can be improved.

Claims (8)

What is claimed is:
1. A quantizing apparatus for quantizing an input digital signal based on a plurality of quantizing steps, comprising:
a receiving portion for receiving said input digital signal;
a quantizing portion for determining the quantizing steps for the received input digital signal and for obtaining a quantizing code by quantizing the received input digital signal in response to each of the determined quantizing steps including odd-numbered steps, said quantizing portion including a converting table for storing a respective variable-length quantized value in correspondence with a respective number of quantizing steps and a respective quantizing code such that said quantizing portion produces a variable-length quantized value of said input digital signal based on the corresponding number of quantizing steps and the corresponding quantizing code; and
an output portion for outputting said variable-length quantized value.
2. The apparatus according to claim 1, further comprising a first signal representing a plurality of sample values and a second signal representing a plurality of predicted values corresponding to said sample values, and wherein said input digital signal represents a difference between said first and second signals.
3. A quantizing apparatus for quantizing an input digital signal, comprising:
a receiving portion for receiving said input digital signal;
a detecting portion for detecting a local characteristic of the received input digital signal and for selecting a plurality of quantizing steps including odd-numbered steps based on the detected local characteristic;
a quantizing portion for obtaining a quantizing code by quantizing the received input digital signal in response to each of the selected quantizing steps, said quantizing portion including a converting table for storing a respective variable-length quantized value in correspondence with a respective number of quantizing steps and a respective quantizing code such that said quantizing portion produces a variable-length quantized value of the received input digital signal based on the corresponding number of quantizing steps and the corresponding quantizing code; and
an output portion for outputting said variable-length quantized value with the corresponding quantizing step.
4. The apparatus according to claim 3, further comprising a first signal representing a plurality of sample values and a second signal representing a plurality of predicted values corresponding to said sample values, and wherein said input digital signal represents a difference between said first and second signals.
5. A quantizing method for quantizing an input digital signal based on a plurality of quantizing steps, said method comprising the steps of:
receiving said input digital signal;
determining the quantizing steps for the received input digital signal;
obtaining a quantizing code by quantizing the received input digital signal in response to each of the determined quantizing steps including odd-number steps using a converting table, said converting table storing a respective variable-length quantized value in correspondence with a respective number of quantizing steps and a respective quantizing code so as to produce a variable-length quantized value of said input digital signal based on the corresponding number of quantizing steps and the corresponding quantizing code; and
outputting said variable-length quantized value.
6. The method according to claim 5, further comprising receiving a first signal representing a plurality of sample values and receiving a second signal representing a plurality of predicted values corresponding to said sample values, and wherein said input digital signal represents a difference between the received first and second signals.
7. A method for quantizing an input digital signal, said method comprising the steps of:
receiving an input digital signal;
detecting a local characteristic of the received input digital signal;
selecting a plurality of quantizing steps including odd-numbered steps based on the detected local characteristic;
obtaining a quantizing code by quantizing the received input digital signal in response to each of the selected quantizing steps using a converting table, said converting table storing a respective variable-length quantized value in correspondence with a respective number of quantizing steps and a respective quantizing code so as to produce a variable-length quantized value of the received input digital signal based on the corresponding number of quantizing steps and the corresponding quantizing code; and
outputting said variable-length quantized value with the corresponding quantizing step.
8. The method according to claim 7, further comprising receiving a first signal representing a plurality of sample values and receiving a second signal representing a plurality of predicted values corresponding to said sample values, and wherein said input digital signal represents a difference between the received first and second signals.
US08/576,315 1994-12-29 1995-12-21 Apparatus and method for quantizing a digital signal based on quantizing steps including odd-numbered steps Expired - Lifetime US5870434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US09/074,342 US6072837A (en) 1994-12-29 1998-05-07 Quantizing apparatus and quantizing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP6-338553 1994-12-29
JP33855394 1994-12-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US09/074,342 Continuation US6072837A (en) 1994-12-29 1998-05-07 Quantizing apparatus and quantizing method

Publications (1)

Publication Number Publication Date
US5870434A true US5870434A (en) 1999-02-09

Family

ID=18319263

Family Applications (2)

Application Number Title Priority Date Filing Date
US08/576,315 Expired - Lifetime US5870434A (en) 1994-12-29 1995-12-21 Apparatus and method for quantizing a digital signal based on quantizing steps including odd-numbered steps
US09/074,342 Expired - Lifetime US6072837A (en) 1994-12-29 1998-05-07 Quantizing apparatus and quantizing method

Family Applications After (1)

Application Number Title Priority Date Filing Date
US09/074,342 Expired - Lifetime US6072837A (en) 1994-12-29 1998-05-07 Quantizing apparatus and quantizing method

Country Status (4)

Country Link
US (2) US5870434A (en)
EP (1) EP0720376B1 (en)
KR (1) KR100444931B1 (en)
DE (1) DE69523550T2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6072837A (en) * 1994-12-29 2000-06-06 Sony Corporation Quantizing apparatus and quantizing method
US6192076B1 (en) 1996-07-17 2001-02-20 Sony Corporation Image coding and decoding using mapping coefficients corresponding to class information of pixel blocks
US6198770B1 (en) * 1996-07-17 2001-03-06 Sony Corporation Image coding and decoding using mapping coefficients corresponding to class information of pixel blocks
US6292591B1 (en) 1996-07-17 2001-09-18 Sony Coporation Image coding and decoding using mapping coefficients corresponding to class information of pixel blocks
US6381369B1 (en) 1996-07-17 2002-04-30 Sony Corporation Image coding apparatus, image coding method, image decoding method, image decoding apparatus, image data transmitting method and recording medium
US6438267B1 (en) 1997-12-19 2002-08-20 Sony Corporation Image compression method
US6477278B1 (en) 1996-07-17 2002-11-05 Sony Corporation Image coding apparatus, image coding method, image decoding method, image decoding apparatus, image data transmitting method and recording medium
US20050196056A1 (en) * 2004-03-02 2005-09-08 Lg Electronics Inc. Image coding and decoding method
US9930469B2 (en) 2015-09-09 2018-03-27 Gibson Innovations Belgium N.V. System and method for enhancing virtual audio height perception

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6529551B1 (en) * 1996-12-10 2003-03-04 Thomson Licensing S.A. Data efficient quantization table for a digital video signal processor
GB2351407B (en) * 1999-06-21 2003-06-11 Sony Uk Ltd Video data compression
US6771694B1 (en) * 2000-07-12 2004-08-03 International Business Machines Corporation Speed negotiation for serial transceivers

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1988010544A1 (en) * 1987-06-22 1988-12-29 Eastman Kodak Company Block adaptive linear predictive coding with adaptive gain and bias
EP0470773A2 (en) * 1990-08-06 1992-02-12 Matsushita Electric Industrial Co., Ltd. Orthogonal transform coding apparatus
EP0479510A2 (en) * 1990-09-29 1992-04-08 Victor Company Of Japan, Ltd. Image signal coding/decoding system using adaptive quantization
US5136615A (en) * 1990-01-16 1992-08-04 Nec Corporation Predictive decoder
US5291286A (en) * 1988-02-29 1994-03-01 Mitsubishi Denki Kabushiki Kaisha Multimedia data transmission system
DE4308263A1 (en) * 1993-03-16 1994-09-29 Bosch Gmbh Robert Method for the adaptive quantisation in digital sub-band coding
EP0627859A2 (en) * 1993-05-31 1994-12-07 Sony Corporation Hierarchical encoding and/or decoding of digital video signals
US5555273A (en) * 1993-12-24 1996-09-10 Nec Corporation Audio coder
US5587708A (en) * 1994-01-19 1996-12-24 Industrial Technology Research Institute Division technique unified quantizer-dequantizer

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5231484A (en) * 1991-11-08 1993-07-27 International Business Machines Corporation Motion video compression system with adaptive bit allocation and quantization
DE69523550T2 (en) * 1994-12-29 2002-05-08 Sony Corp., Tokio/Tokyo Setup and method for quantization

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1988010544A1 (en) * 1987-06-22 1988-12-29 Eastman Kodak Company Block adaptive linear predictive coding with adaptive gain and bias
US5291286A (en) * 1988-02-29 1994-03-01 Mitsubishi Denki Kabushiki Kaisha Multimedia data transmission system
US5136615A (en) * 1990-01-16 1992-08-04 Nec Corporation Predictive decoder
EP0470773A2 (en) * 1990-08-06 1992-02-12 Matsushita Electric Industrial Co., Ltd. Orthogonal transform coding apparatus
EP0479510A2 (en) * 1990-09-29 1992-04-08 Victor Company Of Japan, Ltd. Image signal coding/decoding system using adaptive quantization
DE4308263A1 (en) * 1993-03-16 1994-09-29 Bosch Gmbh Robert Method for the adaptive quantisation in digital sub-band coding
EP0627859A2 (en) * 1993-05-31 1994-12-07 Sony Corporation Hierarchical encoding and/or decoding of digital video signals
US5555273A (en) * 1993-12-24 1996-09-10 Nec Corporation Audio coder
US5587708A (en) * 1994-01-19 1996-12-24 Industrial Technology Research Institute Division technique unified quantizer-dequantizer

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Burt, Peter J. and Adelson, Edward H.: "The Laplacian Pyramid as a Compact Image Code", IEEE Transactions on Communications, vol. COM-31, No. 4, Apr. 1983, pp. 532-540, XP000570701.
Burt, Peter J. and Adelson, Edward H.: The Laplacian Pyramid as a Compact Image Code , IEEE Transactions on Communications, vol. COM 31, No. 4, Apr. 1983, pp. 532 540, XP000570701. *
Zetterberg, L. H.; Ericsson, S.; Couturier, C.: "DPCM Picture Coding with Two-Dimensional Control of Adaptive Quantization", IEEE Transactions on Communications, vol. COM-32, No. 4, Apr. 1983, pp. 457-462, XP002055655.
Zetterberg, L. H.; Ericsson, S.; Couturier, C.: DPCM Picture Coding with Two Dimensional Control of Adaptive Quantization , IEEE Transactions on Communications, vol. COM 32, No. 4, Apr. 1983, pp. 457 462, XP002055655. *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6072837A (en) * 1994-12-29 2000-06-06 Sony Corporation Quantizing apparatus and quantizing method
US6192076B1 (en) 1996-07-17 2001-02-20 Sony Corporation Image coding and decoding using mapping coefficients corresponding to class information of pixel blocks
US6198770B1 (en) * 1996-07-17 2001-03-06 Sony Corporation Image coding and decoding using mapping coefficients corresponding to class information of pixel blocks
US6292591B1 (en) 1996-07-17 2001-09-18 Sony Coporation Image coding and decoding using mapping coefficients corresponding to class information of pixel blocks
US6381369B1 (en) 1996-07-17 2002-04-30 Sony Corporation Image coding apparatus, image coding method, image decoding method, image decoding apparatus, image data transmitting method and recording medium
US6477278B1 (en) 1996-07-17 2002-11-05 Sony Corporation Image coding apparatus, image coding method, image decoding method, image decoding apparatus, image data transmitting method and recording medium
US6970508B1 (en) 1996-07-17 2005-11-29 Sony Corporation Image coding and decoding using mapping coefficients corresponding to class information of pixel blocks
US6438267B1 (en) 1997-12-19 2002-08-20 Sony Corporation Image compression method
US20050196056A1 (en) * 2004-03-02 2005-09-08 Lg Electronics Inc. Image coding and decoding method
US9930469B2 (en) 2015-09-09 2018-03-27 Gibson Innovations Belgium N.V. System and method for enhancing virtual audio height perception

Also Published As

Publication number Publication date
KR100444931B1 (en) 2004-11-08
DE69523550T2 (en) 2002-05-08
US6072837A (en) 2000-06-06
EP0720376A2 (en) 1996-07-03
EP0720376B1 (en) 2001-10-31
DE69523550D1 (en) 2001-12-06
EP0720376A3 (en) 1998-04-15

Similar Documents

Publication Publication Date Title
FI98421C (en) Adaptive quantization encoder / decoder
EP1033036B1 (en) Adaptive entropy coding in adaptive quantization framework for video signal coding systems and processes
JP2783534B2 (en) Encoding device
US5602549A (en) System for variable length decoding digital transmission data which has been compressed by selecting a scanning pattern
US8718146B2 (en) Method, medium, and system encoding/decoding video data using bitrate adaptive binary arithmetic coding
US6654419B1 (en) Block-based, adaptive, lossless video coder
US6275527B1 (en) Pre-quantization in motion compensated video coding
JP3888597B2 (en) Motion compensation coding apparatus and motion compensation coding / decoding method
US5767909A (en) Apparatus for encoding a digital video signal using an adaptive scanning technique
US10027962B2 (en) System, method and computer-readable medium for encoding a signal into macroblocks
US5703652A (en) Information signal encoding system and method for adaptively encoding an information signal
KR20020026242A (en) Bit-plane dependent signal compression
US5870434A (en) Apparatus and method for quantizing a digital signal based on quantizing steps including odd-numbered steps
US5825313A (en) Information signal encoding apparatus, encoding method thereof, information signal decoding method, and information signal record medium thereof
US6205254B1 (en) Image coding apparatus and method, and image decoding apparatus and method
US5822000A (en) Video encoding using rearrangement of transform coefficients and inter-block correlation
US5706009A (en) Quantizing apparatus and quantizing method
KR100242635B1 (en) A system for variable-length-coding and variable-length-decoding digital data
US5825422A (en) Method and apparatus for encoding a video signal based on inter-block redundancies
JP3629826B2 (en) Information signal encoding apparatus, encoding method, and information signal decoding method
JP3496402B2 (en) Information signal encoding apparatus, encoding method, and information signal decoding method
KR100220583B1 (en) Image encoder having adaptive encoder
EP0998818B1 (en) A method in compression coding
JP3509346B2 (en) Encoding device and encoding method
JP3948442B2 (en) Motion compensation decoding apparatus

Legal Events

Date Code Title Description
AS Assignment

Owner name: SONY CORPORATION, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KONDO, TETSUJIRO;FUJIMORI, TASUHIRO;TAKAHASHI, KENJI;AND OTHERS;REEL/FRAME:008055/0005;SIGNING DATES FROM 19960612 TO 19960613

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

REMI Maintenance fee reminder mailed
FPAY Fee payment

Year of fee payment: 8

FEPP Fee payment procedure

Free format text: PAYER NUMBER DE-ASSIGNED (ORIGINAL EVENT CODE: RMPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 12