CA1207888A - Adaptive predictive coding apparatus of television signal - Google Patents

Adaptive predictive coding apparatus of television signal

Info

Publication number
CA1207888A
CA1207888A CA000428118A CA428118A CA1207888A CA 1207888 A CA1207888 A CA 1207888A CA 000428118 A CA000428118 A CA 000428118A CA 428118 A CA428118 A CA 428118A CA 1207888 A CA1207888 A CA 1207888A
Authority
CA
Canada
Prior art keywords
prediction
signal
data
coding
prediction function
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
Application number
CA000428118A
Other languages
French (fr)
Inventor
Toshio Koga
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Application granted granted Critical
Publication of CA1207888A publication Critical patent/CA1207888A/en
Expired legal-status Critical Current

Links

Classifications

    • 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
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/567Motion estimation based on rate distortion criteria
    • 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/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
    • H04N19/152Data rate or code amount at the encoder output by measuring the fullness of the transmission buffer
    • 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
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • 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
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • 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

Abstract

Abstract of the Disclosure In an adaptive predictive coding apparatus for coding an input television signal so as to perform predictive coding by determining an optimum prediction function among a plurality of prediction functions for each of a plurality of blocks obtained by dividing up a frame of the input television signal, each of the blocks having a plurality of picture elements, and to perform selection of quantizing characteristic and coding control such as subline and subsample coding, data necessary for representing a given prediction function of the plurality of prediction functions and data necessary for representing a prediction error amount per the block for the given prediction function are evaluated. Sums of evaluated data are compared to produce, on a block by block basis, one of the prediction functions which provides a minimal sum as an optimum prediction function.

Description

8~

Specification Title of the Invention Adaptive Predictive Coding Apparatus of Television Signal Background of the Invention I. Field of the Invention The present invention relates to a predictive coding apparatus of a television signal. More particularly, the present invention relat~s to an adaptive predictive coding system wherein a differential signal ~i.e., prediction error signal) between a signal to be transmitted and a prediction signal is encoded to decrease the number of bits of data to be transmitted, and an optimum prediction function among a plurality of predictive functions is selected to provide a minimum data quantity for transmission.
II~ Descript~on of the Prior Art Conventionally, in an interframe coding system, a prediction error signal having a large amplitude does not often occur in a still image or a quasi-still image with little motion, so that a total amount of data is small.
Howev~r, the total amount of data is increased in a moving picture. A picture having little motion can be effectively transmitted by a small amount of data, whereas a moving picture must be transmitted with a great amount of data. An attempt has been made to improve tran~mission 1 -- . ,, -efficiency of a moving picture. For example, movements of a picture which are indicated by television signals are often regarded as translational displacements. Therefore, an interframe prediction (motion-compensated interframe prediction) method is proposed to compensate for the motion in accordance with the translational displacement of an object on the screen. This system is the most effect~ve method of achieving a high coding efficiency for a moving picture.
In the motion-compensated interframe prediction system of this type, a plurality of prediction functions are used to keep coding efficiency high with respect to various types of motion. The plurality of prediction functions, which correspond to motion at various speeds and in various directions, are prepared, and the most suitable prediction function for an actual motion is defined as an optimum prediction function. In general, the optimum prediction function minimi~es a predi~tion error. In this sense, the optimum prediction function is referred to as a motion vector hereinafterO ThereEore, the motion-compensated interframe prediction system can be regarded as an optimum predictive coding system for determining the optimum prediction function Imo~ion vector) among a plurality of prediction functions.
Conventionally, a considerably high transmission rate is adopted, so that motion vector data occupies only a slight portion of data to be transmitted and can be ~2~'78~B

neglected. It has been considered that optimum prediction can be performed to decrease a total amount oE
transmission data by detecting the motion vector for minimizing the prediction error data amount. However, when the transmission rate is decreased, the motion vector data occupies a relatively large portion of the data to be transmitted and can no longer be neglected.
Furthermore, in the conventional practical coding apparatus, various types of coding or digitizing operations are performed to suppress rapid change of the amount of data generated even if the picture contents of the input television signals ~hange. For example, a television signal to be coded is subsampled or subline coded. A plurality of quantization characteristics which comprise either a great number of quantization levels or a small number thereof are adaptively selected in accordance with the picture contents. In this case, the relationship between the prediction errors occurring in respective coding control modes and required amounts of data varies in the respective coding control modes~ As a result, the proper amount of data cannot be calculated, thus impairing detection of correct motion vector.
Summary of the Invention It is, therefore, an ob~ect of the present invention to provide an adaptive predictive coding apparatus for coding a television signal with a high coding efficiency, wherein prediction function data and 7~

prediction erro:r data obtained by the prediction function data are used to detect a motion vector, thereby minimizing a total amount of the prediction function and prediction error data to be transmitted, which sum changes in accordance with a given coding control mode.
In order to achieve the above object of the present invention, there is provided an adaptive predictive coding apparatus for coding an input television signal so as to perform predictive coding by determining an optimum prediction function among a pluralit~ of prediction functions for each of a plurality of blocks obtained by dividing up a frame of the input television signal, each of the blocks having a plurality of picture elements, comprising: first evaluating means for evaluating data necessary for representing a given prediction function of the plurality of prediction functions, second evaluating means responsive to a coding control, for evaluating data necessary for representing a prediction error amount per the block for the given prediction function;
optimum prediction function output means comparing sums of evaluated data produced from the first and second evaluating means, in respect of at least a portion of the plurality of prediction functions, for producing and selecting, on a block by block basis, one of the prediction functions which provides a minimal sum of evaluated data quantity to be transmitted as an optimum prediction funct.ion; predicti.on coding means for effecting predictive coding in accordance with the optimum prediction function to produce a prediction error; compressor means for compression coding at least a ' r~ \., .

~'7~

data containing the data representative of the optimum prediction function and data representative of the prediction error produced from the prediction coding means in accordance with the optimum predicLion function; buffer memory means for temporarily storing the compression coded data and then transmitting them to a transmission line so as to match the input rate thereof with a transmission rate of the trans-mission line; and coding control means responsive to a current status of the buffer memory means for supplying with control signals to the first and second evaluating means, the optimum prediction function output means, the prediction coding means, and the compressor means.
According to the present invention, a required amount of data which indicates a given prediction function so as to obtain the corresponding prediction error using the given prediction function can be expressed by a code length. Furthermore, an amount of data in a block which includes the prediction error with respec-t to the given prediction function can also be expressed by a code length.
Therefore, the motion vector can be detected on the basis of the code lengths.
When a picture is subsampled ox a line to be coded is subline coded, the amount of data of the prediction error is evaluated only for the pixel coded accordingly.
Alternatively, when a plurality of quanti~ation character-istics are used, a relationship between a prediction error corresponding to each characteristic and a code length required for expressing ~ ~3~

the prediction error is properly d~termined in accordance with a select~d one of the plurality of quantization characteristics. A sum of the amount of the prediction error data (code length) and the code length required for expressing the corresponding prediction function is defined as a total amount of data reguired at the time when this prediction function is used.
A sum of the code lengths for any other prediction function can be obtained in the same manner as described above. The sum of the code lengths of one prediction function and its corresponding prediction error is compared with that of another prediction function. If the sum of the code lengths of one prediction function and its corresponding prediction error has a minimum value, this prediction function is defined as the motion vector.
The amount of data reguired to be transmitted in consideration of the motion vector can be properly determined, unlike in the conventional prediction system wherein the motion vector can be determined only by the prediction error signal. Furthermore, the motion vector is determined such that the sum data is minimized, so that the total amount of data required for transmission is always minimized~
As may be apparent from the above description, since the prediction function data and the prediction error data are used to determine the motion vector according to the present inventionJ the coding efficiency ~2~7~

can be increased when the data transmission rate is low~
Therefore, the present invention is very effective in the case whPrein the television signal is compressed, coded and -transmitted at a low transmission rate.
Brief Description of the Drawings Fig. 1 is a schematic view showing the principle of "motion compensation" in a motion-compensated interframe prediction system;
Fig. 2 is a block diagram of an adaptive iO predictive coding apparatus according to an embodiment of the present invention;
Fig. 3 is a block diagram of a motion vector output circuit 14 shown in Fig. 2;
Fig. 4 is a block ~iagram of a prediction error data amount generator 141 snown in Fig. 3;
~ igs.~ 5 and 6 are tables for explaining the operation of the generator shown in Fig. 4; and Fig. 7 is a block diagram of a predictive decoding apparatus to which data is transmitted from the adaptive predictive coding apparatus of the present invention .
Detail2d Descriptiorl of the Preferred Embodiment . . .
In order to best understand the present invention, the principle and application of motion compensation will be described b fore a preferred embodiment of the present invention is described.
First, the principle of motion comp2nsation will ~e briefly described. As shown in Fig. 1, a figure located in the vicinity of point (~0, yO) at time tO is displaced to point (xl, yl) at time tO ~ t (where ~ is one frame period). In this case, according to a simple correlation between two adjacent frames (simple interframe prediction), an immediately preceding frame picture element or pixel is used as a prediction signal, so that a picture element of the figure in the vicinity of point (xO, yO) at time tO is used to predict a corresponding picture element of the figure in the vicinity of point (xO, yO) at time tO + ~ . Therefore, as may be apparent from Fig. 1, a prediction error which is not substantially zero occurs when the figure is displaced from point (xO, yO) to (xl, yl) at time tO + r.
Now assume that a displacement of the figure from point (xO, yO) to point (xl, yl) is detected by a given technique. The location of the figure in the vicinity of poînt (xl, yl) at time tO ~ ~ can be predicted using the figure located in the vicinity of point (xO, yO) at time tO, thereby greatly decreasing the total amount of data.
This is the principle of motion compensation.
As a system for detecting the displacement (i.e., an optimum prediction system), a motion-compensated interframe coding system is disclosed in U.S.P. No.
4~307,420 by Ninomiya et al~ filed on June 2, 1980.
According to this system, prediction errors obtained by various prediction functions respectively corresponding to 7~

various shift vectors are compared on a block by block basis. A shif~ vectvr corresponding to a given prediction function indicatiny a minimum prediction error is regarded as a motion vector (optimum prediction function). If motion compensation or correction is applied to the motion of a picture, the total amount of data required for coding is decreased or compressed to be half of that when the interframe coding system is applied.
According to the present invention, at least the motion vector data and the corresponding prediction error data are transmitted. In other words, at least the motion vector data and the prediction error data obtained by performing motion compensation in accordance with the motion vector data are transmitted.
The ratio of code data which is required to express the motion vector (i.e., motion vector data) to the total transmission data greatly varies in accordance with the transmission rate of a transmission line~ The motion vector data ratio is very small with respect to the total transmis~ion data when the transmission rate is very high and several bits can b~ assiyned to each picture element. ~owever, when the transmission rate is low, 50%, for example, of the total transmissîon data may be motion vector data. Hirano et al. reported in "Study on Block Siæe in ~otion-Compensated Interframe Codin~", Lecture No~
&97 of National ~eeting of the Field of the Institute of Electronics and Communications Engineers of Japan, 1980, _ g _ :~0~8~3 that the amount of motion vector data may be measured for individual picture elements. Accordillg to this report, the entropy of the motion vector which is used as a criterion for the motion vector data is measured to be 0.1 bit/pixel when a block having a plurality of picture elements or pixels comprises a size of 4 lines x 8 pixels. This value is obtained when the sampling frequPncy is ~ MHz, so that the motion vector data occurs at a rate of 0.8 Mbit/sec. For example, if the television signal is transmitted at a transmission rate of 1.5 Mbits/sec, more than 50~ of the total transmission data comprises the motion vector data.
As previously described, when the preceding motion vector data and the corresponding prediction error data are used to determine the present motion vector data, the coding efficiency is greatly improved.
An adaptive predictive coding apparatus according to an embodiment of the present invention will now be described with reference to the accompanying drawings.
Fig. 2 is a block diagram of the adaptive predictive coding apparatus according tv the embodiment of the present invention. ~eferring to Fig. 2, an analog television signal supplied to an input line IN is supplied to an analog-to-digital converter (to be referred to as an A/D converter) ll. The analog signal is converted by the A/D converter ll to a digital signal. The picture elements indicated by the digitl television signal are respectively assigned by a scan converter 12 to a plurality of blocks obtained by dividing up one frame, such that that each block comprises a plurality of picture elements. The scan converter is detailed in U.S.P. No.
4,371,895 by Koga filed on Jan. 15, 19~1. If the block comprises a one--dimensional block along the horizontal scanning line, the scan converter 12 need not be used.
However, if the block comprises a two-dimensional block which extends along both horizontal and vertical scanning lines, the scan converter 12 cannot be omitted. In this embcdiment, the two-dimensional block is employed. The television signal which is scanned and converted (to be referred to as a picture signal hereinafter) is supplied to ~ delay circuit 13 and a motion vector output circuit (optimum prediction function output circuit) 14 through a signal line 1201. The motion vector output circuit 14 receives the picture signal (to be coded) supplied from the signal line 1201 and also an about one-frame delayed picture signal supplied from a frame memory 15 thereto through a signal line 1501. The motion vector output circuit 14 then detects a motion vector indicating the optimum prediction function for each block based on these input signals. The operation of the motion vector output circuit 14 will be described in detail later~ The detected motion vector signal is then supplied to a code compressor 20 and a variable delay circuit 16 through a signal line 1401. The variable delay circuit 16 is also detailed in U~S.P. No. 4,371,8950 The variable delay circuit 16 produces a predic~ion signal in accordance with the motion vector signal supplied through the signal line 1401 and the picture signal from the frame memory 15 supplied through the signal line 1501. The prediction signal is then supplied to a subtractor 17 and an adder 18. The delay circuit 13 delays the picture signal appearing on the signal line 1201 by a period required for detecting the motion vector signal in the motion vector output circuit 14 and generating the prediction signal.
The subtractor 17 subtracts the prediction si~nal from the output signal from the delay circuit 13 and produces a prediction error signal correspondiny to a difference between the prediction signal and the delayed signal. The prediction error signal is quantized by a quantizer 19 whi~h has a plurality of ~uantization cbaracteristics, so that the level of the digiti~ed prediction error signal is appropriately limited. The quantizer 19 comprises a read-only memory ~ROM)~ The selection of the quanti2ation characteristic is performed in accordance with a selection signal supplied to the quantizer 19 through a signal line 1019. The output signal from the quantizer 19 is supplied to a gate 21. The gate 21 performs subsample coding of a pictuxe element or subline coding of a scanning line along the horizontal or vertical scanning direction in response to a gate signal supplied thereto through a signal line 1021. An output signal from the gate 21 is supplied to 7~

the adder 18 and the code compressor 20. The adder 18 adds the guantized prediction error signal and the output signal (prediction signal) from the variable delay circuit 16 and produces a local decoding signalO
~he local decoding signal is supplied to an interpolator 22. The interpolator 22 interpolates the picture element or scanning line when subsample or subline coding is specified by a signal on the line 1021.
Otherwise, the interpolator 22 does not perform interpolation. An output signal from the interpolator 22 is supplied to the frame memory 15 which then delays the signal by about one frame. When the motion vector iis zero, the sum of delay amounts of the frame memory 15 and the variable delay circuit 16 is exactly e~ual to one frame. The delay by the frame memory 15 is thus slightly smaller than one frame. As desoribed above r the about one-frame delayed signal is supplied to the motion vector output circuit 14 and the variable delay circuit 16. The code compressor 20 comprises, for example, a variable length encoder. The code compressor 20 effectively compresses and encodes the quantiz~d prediction error signal and the motion vector signal in ac~ordance with variable length coding~
Codes of the coding control mode which indicate an operating state of the selection signal supplied through the line 1019 and the gate signal supplied through the line 1021 and of the horizontal and vertical sync ~z~

signals are added b~ the code compressor 20. The picture signal compressed by the code compressor 20 is supplied to a buffer memory 100. The buffer memory 100 serves to match an input rate of the picture signals irregularly generated from the code compressor 20 with a transmission rate of the picture signal onto the transmission line.
The matched output signal from the buffer memory 100 is transmitted to the transmission line or a recording medium through an output line OUT. The selection of subsample, subline, and guantization characteristic is performed in accordance with the amount of data stored in the buffer memory 100 (i.e., occupancy of the buffer memory 100).
The coding control circuit 101 continually supervises the occupancy of the buffer memory 100. The occupancy is comp~ted by a difference between counts of the read and write counters. A signal representative of the occupancy is fed via line 1001 to the coding control circuit 101.
The selection signal and the gate signal are generated to control coding in accordance with the relationship between a predetermined occupancy of the buffer memory and the coding control mode.
The operation of Lhe motion vector output circuit 14 will be described in detail with reference to Fig. 3.
The picture signal from the signal line 1201 and the about one-frame delayed picture signal from the signal line 1501 are supplied to a prediction error data amount generator 141. The prediction error data amount generator (i.e., :~L207~

second evaluating means) 1~1 receives various prediction function data (to be simply referred to as the prediction function hereinaEter) supplied from a sequencer 142 through a signal line 1421. The sequencer comprised of a counter and a ROM, for example, produces vector outputs in predetermined sequence. The prediction error data amount generator 141 generates the amount of prediction error da~a for the block which corresponds to the given prediction function in response to the selection signal and the gate signal. The selection signal and the gate signal are supplied to the prediction error data amount generator 141 through the lines 1019 and lQ21, respectively. The prediction error data amount signal is then supplied to an adder 143 through a signal line 1411.
The prediction error data amount generator 141 will be described in detail later. The prediction function produced from the sequencer 14~ is also supplied to a selector 144 and a vector code length generator (first evaluating means) 145 as well as to the prediction error data amount generator 141. The vector code length generator 145 produces predetermined code length data to the adder l43 so as to express the supplied prediction function.
A vector code length is described in detail hereinafter. In general, the motion vector is most frequently obtained corresponding to a simple interframe prediction si~nal, so that the motion vector data is ~'7~

defined as the shortest code (code length of 1) showing no movement. Variable length coding such as modified Huffman coding is applied to a shortest code string (i.e~ run), the mean code length per motion vector being far smaller than that per one picture element. Therefore, the code length for the prediction function which indicates the simple interframe prediction is approximately zero in the vector code length generator 145. A longer code is used to express a prediction function except for interframe prediction when the prediction function greatly differs from interframe prediction. For example, a 4-bit code is assigned to a prediction function whose picture element is spatially offset by one picture element from the corresponding picture element of the interframe prediction signal in any one of the four directions (i.e., up, down, left, right). A 5-bit code is assigned to a prediction function whose picture element is spatially offset by one picture element from the corresponding picture element of the interframe prediction signal in both an upper or lower direction and a right or left direction. A 6-bit code is assigned to a prediction function whose picture element is spatially offset by two picture elements from the corresponding picture element of the interframe prediction signal in any one of the four directions. The longer ~5 codes are thus assigned to correspondiny prediction functions, respectively~
Tbe adder 143 adds the code length data representative of a prediction function and the data am~unt of prediction error data of a block at the time when this prediction function is used. Sum data is then supplied from the adder 143 to the selector 144. The selector 144 comprises a register and a comparator. The selector 144 compares the present sum data with preceding sum data. If the present sum data is determined by the selector 144 to be minimum, the selector 144 holds as the present optimum prediction function (motion vector~ the prediction function supplied through the signal line 1421. However, if the present sum is not determined to be minimum, the preceding sum data is held as the present optimum prediction function which is contantly supplied to a vector output register 146. The vector output register 146 supplies the present optimum prediction function (i.e.
motion vector) onto the signal line 1401 in accordance with a timing signal which is supplied from the sequencer 142 through the signal line 1422 at the termination of a block. The motion vector thus determined is the output signal from the motion vector output circuit 14.
The prediction error data amount generator 141 will be described in detail with reference to Fig. 4. The picture signal scanned and converted by the scan converter 12 is supplied to a parallel output circuit 41 through the line 1201. The parallel output circuit 41 simultaneously produces picture element data included in one block.
Assume that a given block comprises 8 picture elements (=

3'7~

4 picture elements x 2 lines) before conversion is peformed, as shown in Fig. 5. In this condition, picture elements a, b, c, d, e, f, g and h are simultaneously supplied to subtractors 61 to 68 through signal lines 4101 to 4108, respectively. Eight variable delay circuits 51 to 58 produce outputs in response to the prediction function corresponding to all the picture Plements in the given block, respectively, in accordance with the prediction function supplied through the signal line 1421. Assume that this prediction function is defined as V as shown in Fig. 6. The pic~ure elements in this block are offset from those (indicated by the hatcbed portion) of the interfra~e prediction signal by one picture element to the right and thre picture elements upward. The prediction signals are subject to quantization noises and expressed as a, b, c, d, e, f, g and h in accordance with the prediction function V. When the variable delay circuits Sl to 54 and 5S to 58 produce the prediction signals corresponding to the picture elements rom the upper left corner to the upper right corner and from the lower left corner to the lower right corner, respectively, they produce prediction signals a to d and e to h with respect to the prediction function V, respectively. The about one-frame delayed picture signal from the frame memory 15 through the signal line lS01 and the prediction function supplied from the sequencer 142 through the line 1421 are commonly supplied to the variable delay circuits - lB -l~q.3~7~

51 to 58. The subtractors perform subtractions (a - â) to (h - h). The obtained difference signals are then supplied to code length generators 71 to 78, respectively. The difference signals are then converted to code length signals, respectively.
The relationship between the difference and the code length mainly depends on the quantization characteristics for the difference (i.e., on the number of quantization levels). Therefore, when a plurality of quantization characteristics having different quantization levels are provided and when a set of code lengths is predetermined corresponding to each characteristic, and a proper set of code lengths is selected in accordance with the ~uantization characteristic selected by the quantizer 19, the amount of code length data can always be converted to a proper total code length. T~is selection can be performed by the selection signal which is used to select a proper quantization characteristic and which is supplied through th~ signal line 1019.
The addition of the code length data is performed by an adder B0. The output code length data are not always added to each other. ~or example, if such thin-out as subsample or subline coding is performed by a switching circuit 21, the amount of the sum data of all the picture elements in the block apparently differs from the actual amount of the sum data of picture elements~ This subsample or subline coding is performed in response to ~'~53'~

the gate signal supplied through the signal line 1021.
The adder 80 determines whether or not all of the output signals from the code length generators 71 to 78 are added using the gate signal. Therefore, even if subsample or subline coding is performed, the proper data amount can be computed. The sum data corresponds to the amount of prediction error data per block and is supplied to the adder 143 through the signal line 1411.
The relationship between input and output signals with respect to the code length generators 71 to 78 will now be described. The difference signal is used as the input signal and the code length data or data approximately indicating the code length is used as the output data for illustrative convenience. If the code length is approximately measured, an output signal value is zero when a difference signal value falls within a range between 0 and 3. Similarly, an output signal value is 1 when a difference signal value falls within a range between 4 and 7; an output signal is 2 when a difference signal falls within a range between 8 and 11; an output signal is 3 wh~n a difference signal falls within a range between 12 and 16; an output signal is 4 when a difference signal falls within a range between 17 and 22; an output signal value is 5 when a difference signal value falls within a range between 23 and 28; an output signal value is 6 when a difference signal value falls within a range between 29 and 34; and an output signal value is 7 when a '7~

difference signal value is not less than 35. It should be noted that the difference signal value indicates a negative or positive value when a unit level is 1/256, and that an O~ltput signal value is designated in units of bits. The relationship between the difference signal and the code length data can be determined for any other quanti~ation characteristic in the same manner as described above.
The block has 8 picture elements (4 picture elements x ~ lines) with reference to Fig. 4. However, the number of picture elements of the block may not be limited r In general, a block may have m x n picture elements ~m picture elements x n scanning lines). In this case, m x n variable delay circuits, m x n subtractors and m x n code length generators are required.
A decoding apparatus which receives the transmitted data from the adaptive predictive coding apparatus will now be described according to the embodiment of the present invention with reference to Fig.
7.
The compressed coded data transmitted through a transmission line is supplied to a buffer memory 200 from an input line IN'. The buffer memory 200 is arranged to match the transmission rate and the decoding rate of the transmitted data. Data read out from the buffer memory 200 includes at least motion vector data, prediction error data, horizontal and vertical sync signals, and coding ~2~

control mode data. An expande 31 expands and separates the data into the motion vector data and the corresponding prediction error data in accordance with the horizontal and vertical sync signals and the coding control mode data. The prediction error data is supplied to an adder 32 through a signal line 3101, and the motion vector data is supplied to a variable delay circuit 33 through a signal line 3102. The variable delay circuit 33 generates the prediction signal in response to the motion vector data. The adder 32 adds the prediction signal and the expanded prediction error data, and generates a decoded picture signa]. The decoded picture signal is supplied via an imterpolator 37 to a scan inverter 34 and a frame memory 35. The scan inverter 34 has a function opposite to that of the scan converter 1 of the coding apparatus (Fig. 2) and generates a television signal to be normally scanned. The output signal from the scan inverter 34 is supplied to a digital-to-analog converter 36. The D/A
converter 36 converts the digital television signal to an analog television signal. The analog television signal is displayed on a television monitor through an output line OUT'. The variable delay circuit 33 and the frame memory 35 have the same arrangements as the variable delay circuit 16 and the frame memory 15 of the coding apparatus, respectively.
In case of determining the motion vector in the adaptive predictive coding apparatus, if the prediction
- 2~ -'7~

function is produced in one direction from the sequencer 142 shown in Fig. 3, it is assumed that all the prediction functions are used. However, another method can also be utilized. In particular, since similar motion vectors correspond to the optimum prediction function between two adjacent blocks, an output signal from the vector outp~t register 146 may be supplied through the signal line 1401 and at the same time to the sequencer 142. The sequencer 142 then produces as a prediction function a signal which does not greatly differ from the motion vector, thereby decreasing the number of times of computation.
Furthermore, still another method which re~embles the above may be propo~ed, An output signal fro~ the selector 144 may be supplied to the sequencer 142, and the sequen~er 142 can ~then determine the prediction function to be produced in accordance with the output signal from the selector 144.
These modifications can be readily performed with a slight change in the circuit arrangement shown in Fig.
3. Predictive coding is performed for the motion vector data supplied through the line 1401; the process of obtaining this motion vector data does not limit the arrangement of the adaptive predictive coding apparatus of the present invention. Therefore, the arrangement of the apparatus need not be modified.
~ n the above embodiment, the code length data which indicates the prediction function and the code - ~3 -~Z~

length da~a which indicates the prediction error data corresponding to this prediction function are added with respect to the picture elements in the block so as to detect the motion vector. However, the code lengths need not be precise but may be determined by an approximation.
In summary, the prediction function data and the predictive error data corresponding to this prediction function data are used to detect the motion vector (i.e., optimum prediction function) in the motion-compensated interframe prediction coding apparatus. The coding efficiency i5 greatly improved, thus providing a great advantage in a variety of practical applioations.

Claims (3)

THE EMBODIMENTS OF THE INVENTION IN WHICH AN EXCLUSIVE
PROPERTY OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS:
1. An adaptive predictive coding apparatus for coding an input television signal so as to perform predictive coding by determining an optimum prediction function among a plurality of prediction functions for each of a plurality of blocks obtained by dividing up a frame of the input television signal, each of the blocks having a plurality of picture elements, comprising:
first evaluating means for evaluating data necessary for representing a given prediction function of said plurality of prediction functions;
second evaluating means responsive to a coding control, for evaluating data necessary for representing a prediction error amount per the block for the given prediction function;
optimum prediction function output means comparing sums of evaluated data produced from said first and second evaluating means, in respect of at least a portion of said plurality of prediction functions, for producing and selecting, on a block by block basis, one of the prediction functions which provides a minimal sum of evaluated data quantity to be transmitted as an optimum prediction function;
prediction coding means for effecting predictive coding in accordance with the optimum prediction function to produce a prediction error;
compressor means for compression coding at least a data containing the data representative of said optimum prediction function and data representative of the prediction error produced from said prediction coding means in accordance with said optimum prediction function;
buffer memory means for temporarily storing the compression coded data and then transmitting them to a trans-mission line so as to match the input rate thereof with a transmission rate of the transmission line; and coding control means responsive to a current status of said buffer memory means for supplying with control signals to said first and second evaluating means, said optimum prediction function output means, said prediction coding means, and said compressor means.
2. An adaptive predictive coding apparatus according to claim 1 wherein said second evaluating means comprises:
a parallel output circuit for receiving a picture signal;
a plurality of variable delay circuits each of which receives the prediction function data and the about one-frame delayed picture signal of a corresponding picture element and which produces the prediction signal of the corresponding picture element;
a plurality of subtractors respectively connected to said plurality of variable delay circuits and commonly connected to said parallel output circuit, each of said subtractors receiving the prediction signal of the corres-ponding picture element and picture element data corresponding thereto and producing a subtracted signal obtained by sub-tracting the prediction signal of the corresponding picture element from the picture element data;

a plurality of code length generators respectively connected to said plurality of subtractors, each of said code length generators receiving the subtracted signal from a corresponding one of said subtractors and the selection signal and producing a code length data; and an adder, commonly connected to said plurality of code length generators so as to receive code length data therefrom, for producing the prediction error amount code in response to the gate signal.
3. An adaptive predictive coding apparatus according to claim 1 wherein said second evaluating means includes a gate means supplied with a quantized prediction error signal for performing a subsample coding or subline coding in response to the control signal.
CA000428118A 1982-05-14 1983-05-13 Adaptive predictive coding apparatus of television signal Expired CA1207888A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP80923/'82 1982-05-14
JP57080923A JPS58197984A (en) 1982-05-14 1982-05-14 Adaptive forecasting encoding device of television signal

Publications (1)

Publication Number Publication Date
CA1207888A true CA1207888A (en) 1986-07-15

Family

ID=13731941

Family Applications (1)

Application Number Title Priority Date Filing Date
CA000428118A Expired CA1207888A (en) 1982-05-14 1983-05-13 Adaptive predictive coding apparatus of television signal

Country Status (3)

Country Link
US (1) US4562468A (en)
JP (1) JPS58197984A (en)
CA (1) CA1207888A (en)

Families Citing this family (53)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1277416C (en) * 1984-08-13 1990-12-04 Akihiro Furukawa Inter-frame predictive coding apparatus for video signal
JPS61114678A (en) * 1984-11-09 1986-06-02 Nec Corp Prediction coding device for image signal
JPS61118085A (en) * 1984-11-14 1986-06-05 Nec Corp Coding system and device for picture signal
JPS61200789A (en) * 1985-03-04 1986-09-05 Kokusai Denshin Denwa Co Ltd <Kdd> System for detecting dynamic vector of object on picture plane
DE3571731D1 (en) * 1985-04-03 1989-08-24 Itt Ind Gmbh Deutsche Circuit for compressing data for digital video signals with a difference pulse code modulator
JPS6278979A (en) * 1985-10-02 1987-04-11 Toshiba Corp Picture processor
JP2506332B2 (en) * 1986-03-04 1996-06-12 国際電信電話株式会社 High-efficiency coding method for moving image signals
US5007102A (en) * 1986-03-20 1991-04-09 At&T Bell Laboratories Data compression using block list transform
JPS62230281A (en) * 1986-03-31 1987-10-08 Toshiba Corp Picture transmission system
EP0242413B1 (en) * 1986-04-19 1991-05-29 Deutsche ITT Industries GmbH Data reducing circuit with a differential pulse code modulator for video signals
KR910000707B1 (en) * 1986-05-26 1991-01-31 미쓰비시덴기 가부시기가이샤 Method and apparatus for encoding transmitting
DE3629472A1 (en) * 1986-08-29 1988-03-03 Licentia Gmbh METHOD FOR MOTION-COMPENSATED PICTURE-TO-PICTURE PREDICTION CODING
US4949391A (en) * 1986-09-26 1990-08-14 Everex Ti Corporation Adaptive image acquisition system
US4691233A (en) * 1986-09-30 1987-09-01 Rca Corporation Rate buffer control of difference signal decimation and interpolation for adaptive differential pulse code modulator
US4700226A (en) * 1986-10-17 1987-10-13 Rca Corporation Rate buffer control of predicted signal decimation and interpolation for adaptive differential pulse code modulator
US4706260A (en) * 1986-11-07 1987-11-10 Rca Corporation DPCM system with rate-of-fill control of buffer occupancy
DE3721074A1 (en) * 1986-12-24 1988-07-07 Licentia Gmbh CIRCUIT ARRANGEMENT FOR SHIFTING VECTOR SEARCH IN DIGITAL IMAGE ANALYSIS
GB8703354D0 (en) * 1987-02-13 1987-03-18 British Telecomm Coder
JPS63201878A (en) * 1987-02-18 1988-08-19 Hitachi Ltd Image compressing system
JPH0752953B2 (en) * 1987-02-25 1995-06-05 日本電信電話株式会社 Motion vector evaluation method in motion compensation coding
US4745474A (en) * 1987-04-17 1988-05-17 General Electric Company Two resolution level DPCM system
US4882629A (en) * 1987-05-08 1989-11-21 Everex Ti Corporation Adaptive exposure control system
JP2508439B2 (en) * 1987-05-29 1996-06-19 ソニー株式会社 High efficiency encoder
US4780760A (en) * 1987-06-05 1988-10-25 General Electric Company DPCM system with interframe motion indicator signal
JPH0771292B2 (en) * 1987-07-30 1995-07-31 富士通株式会社 Image adaptive quantization coding method
US4897855A (en) * 1987-12-01 1990-01-30 General Electric Company DPCM system with adaptive quantizer having unchanging bin number ensemble
US4813056A (en) * 1987-12-08 1989-03-14 General Electric Company Modified statistical coding of digital signals
US4984076A (en) * 1988-07-27 1991-01-08 Kabushiki Kaisha Toshiba Image compression coding system
DE3834476A1 (en) * 1988-10-11 1990-04-12 Bosch Gmbh Robert DEVICE FOR CODING A VIDEO SIGNAL
EP0397206B1 (en) * 1989-05-12 1997-07-30 Nec Corporation Adaptive interframe prediction coded video communications system
JP2830111B2 (en) * 1989-07-21 1998-12-02 ソニー株式会社 High efficiency coding device
JP3159309B2 (en) * 1989-09-27 2001-04-23 ソニー株式会社 Video signal encoding method and video signal encoding device
JPH03129987A (en) * 1989-10-14 1991-06-03 Sony Corp Method for coding video signal
JP2586666B2 (en) * 1990-01-16 1997-03-05 日本電気株式会社 Predictive decoding circuit
JPH04207788A (en) * 1990-11-30 1992-07-29 Sony Corp Band compression device
US5136377A (en) * 1990-12-11 1992-08-04 At&T Bell Laboratories Adaptive non-linear quantizer
WO1992017032A1 (en) * 1991-03-12 1992-10-01 Zenith Electronics Corporation Television signal transmission system with two sets of channel symbols
US5285276A (en) * 1991-03-12 1994-02-08 Zenith Electronics Corp. Bi-rate high definition television signal transmission system
US5210605A (en) * 1991-06-11 1993-05-11 Trustees Of Princeton University Method and apparatus for determining motion vectors for image sequences
US5418617A (en) * 1991-08-08 1995-05-23 Matsushita Electric Corporation Of America Motion compensation using minimum bits per motion block as criterion for block matching
US6487362B1 (en) 1991-08-19 2002-11-26 Index Systems, Inc. Enhancing operations of video tape cassette players
US6091884A (en) * 1991-08-19 2000-07-18 Index Systems, Inc. Enhancing operations of video tape cassette players
JP2868045B2 (en) * 1991-10-25 1999-03-10 日本電気株式会社 Video signal encoding device
JPH05308630A (en) * 1992-04-28 1993-11-19 Victor Co Of Japan Ltd Motion vector detecting method
KR0152013B1 (en) * 1992-05-08 1998-10-15 강진구 Moving estimation device considering variable length coding
DE69334116T2 (en) * 1992-06-09 2007-08-30 Canon K.K. coding device
JPH06209466A (en) * 1992-10-07 1994-07-26 Canon Inc Motion vector detector
US5398068A (en) * 1993-09-02 1995-03-14 Trustees Of Princeton University Method and apparatus for determining motion vectors for image sequences
US5452009A (en) * 1993-12-29 1995-09-19 Zenith Electronics Corp. Digital transmission system with data rate optimized for noise in transmission medium
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
US8625665B2 (en) * 1996-09-20 2014-01-07 At&T Intellectual Property Ii, L.P. Video coder providing implicit coefficient prediction and scan adaptation for image coding and intra coding of video
GB2363484A (en) * 2000-06-16 2001-12-19 Sony Uk Ltd Adaptive pre/post processing of data for compression/decompression
DE10133934A1 (en) * 2001-07-12 2003-01-30 Infineon Technologies Ag Coding device and decoding device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4023199A (en) * 1976-03-09 1977-05-10 Bell Telephone Laboratories, Incorporated Method and apparatus for encoding color video signals
US4141034A (en) * 1977-08-19 1979-02-20 Bell Telephone Laboratories, Incorporated Digital encoding of color video signals
GB2050752B (en) * 1979-06-07 1984-05-31 Japan Broadcasting Corp Motion compensated interframe coding system
US4371895A (en) * 1980-01-18 1983-02-01 Nippon Electric Co., Ltd. Coded video signal transmitting and receiving system
JPS58101581A (en) * 1981-12-12 1983-06-16 Nec Corp Estimate coder for television signal
US4491953A (en) * 1982-09-09 1985-01-01 At&T Bell Laboratories Dual mode coding

Also Published As

Publication number Publication date
JPS58197984A (en) 1983-11-17
US4562468A (en) 1985-12-31

Similar Documents

Publication Publication Date Title
CA1207888A (en) Adaptive predictive coding apparatus of television signal
US4437119A (en) Inter-frame adaptive prediction system for television signals
US5576767A (en) Interframe video encoding and decoding system
US5155594A (en) Hierarchical encoding method and apparatus employing background references for efficiently communicating image sequences
US4460923A (en) Predictive coding system for television signals
CA2327489C (en) Image signal coding system
US4816914A (en) Method and apparatus for efficiently encoding and decoding image sequences
US4546386A (en) Adaptive predictive coding system for television signals
CN1117482C (en) Method for encoding video signal using feature point based motion estimation
US5886743A (en) Object-by information coding apparatus and method thereof for MPEG-4 picture instrument
EP0249086B1 (en) Method and apparatus for encoding/transmitting image
CA1278381C (en) Data compression using orthogonal transform and vector quantization
US4488175A (en) DPCM Video signal processing technique with spatial subsampling
KR100325492B1 (en) Hierarchical Encoding / Decoding Apparatus and Method of Digital Image Signal
JPH0723422A (en) Video signal band compression equipment of digital vtr
JPH01253382A (en) Method of encoding digital video signal and encoder and its decoder
CA1203910A (en) Method and apparatus for adaptive predictive encoding/decoding of multi-level picture signals
JPH11510989A (en) Method and apparatus for decoding an encoded digital video signal
US4656511A (en) Video signal compressing and coding apparatus
JPH0457156B2 (en)
JPS58137379A (en) Interframe/interfield encoding device with motion compensation
US6724821B1 (en) Picture coding apparatus with coding efficiency improved
JPS5885684A (en) Forecasting encoding device of television signal
US5394190A (en) Video signal encoding apparatus
EP0577418A2 (en) Apparatus for motion compensation coding of digital video signal

Legal Events

Date Code Title Description
MKEX Expiry