Image coding and decoding system

Abstract: In an image coding and decoding device, input digital image signals are divided into blocks of prescribed size, and coding processing is performed to differential signal taken between the input block signal and interframe forcasting signal thereby transmission recording is performed.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an image coding and decoding device, and more particularly to an image coding and decoding device which can efficiently code and decode the motion image signals so as to transmit and record the signals by the interframe coding. Description of the Prior Art FIG. 5 is a block diagram which shows a composition example of a transmission section of an interframe coding device disclosed, for example, in the Technical Report of the Institute of Electronics and Communication Engineers of Japan IE84-1 ('84). In FIG. 5, numeral 201 designates the digitalized motion image signal system, numeral 207 designates a subtractor for obtaining the interframe differential signals, numeral 208 designates the interframe predicting signals formed from the past time frame which already finished coding, numeral 209 designates the interframe differential signal system, numeral 210 designates a block discrimination section which quantizes the interframe differential signals 209 of the predicting error to naught, and discriminates block by block whether the naught, and discriminates block by block whether the coding at the next stage needs or not, numeral 211 designates the threshold value for the block discrimination, numeral 212 a coding control section which decides the threshold value 211, numeral 213 designates a coding and decoding section which encodes and decodes the blocks judges as the significant predicting errors (they are called as the significant blocks or the blocks whose predicting errors are regarded as naught are called ineffective blocks) in the block discriminating section 210, numeral 214 designates the decoded predicting error signals obtained in the coding and decoding section 213, numeral 215 designates an adder which adds the predicting signals 208 to the decoded predicting error signals 214, numeral 216 designates the decoding image signal system, numeral 217 designates a frame memory which forms the interframe predicting signals 208 using the decoded image signal series 216, numeral 218 designates the coded data obtained in the coding and decoding section 213, numeral 219 designates a variable length coding section which encodes the coded data 218 in variable length, numeral 220 designates a buffer for smoothing where the variable length coding data system processes in the variable length coding section 219 is transmitted at the constant transmitting speed, numeral 221 designates the data that count the variable length coding data system per frame (the amount of the generated information per frame), numeral 222 designates a line interface (I/F) section for transmitting the smoothed data system by the buffer 220 into the transmission line, and numeral 223 designates the transmission signals. FIG. 6 is a block diagram showing a composition example of the coding control section 212 in FIG. 5. In FIG. 6, numeral 232 designates a register for delaying the threshold value 211 in frame period, numeral 233 designates the threshold value delayed by the register 232, and numeral 234 designates a table ROM. FIG. 7 is a diagram which explains the characteristics to be written in the table RAM 234. The operation of the device will be described. The digitalized image signal system 201 is converted into the interframe differential signals 209 through the subtraction between the interframe predicting signal 208 by the subtractor 207. The interframe predicting signals 208 are formed using the reconstruction image signal system of the past time frame which has finished coding and local decoding in the transmission section, therein some other methods like the motion compensation are sometimes applied. The interframe differential signals 209 come near to naught in the case of no change or movement in a subject, and the block discrimination section 210 discriminates the significant blocks or the insignificant blocks so as to transmit only the data making the insignificant blocks recognized as they are, resulting in compressing the amount of the information. In order to discriminate blocks, the sum of the absolute value of the blocked interframe differential signal system is found and compared with the threshold value 211. Let the blocked interframe differential signal system be ε j (j = 1, 2, ..., k) and the threshold value be T n , then the discrimination of the blocks is executed as follows: if then insignificant block significant block Where with respect to the blocks recognized as significant, the interframe differential signals 209 are encoded. The coding and decoding section 213 encodes the significant blocks and then decodes them so as to output the decoded predicting error signals 214 and the coded data 218. There are various coding and decoding methods, but they have little relationship to the invention and the detailed description shall be omitted here. The decoded predicting error signals 214 are added by the adder 215 to the interframe predicting signals 208 so as to form the decoding image signal system 216. The decoding image signal system 216 is stored in the frame memory 217, and used for forming the interframe predicting signals in the next frame and so forth. On the other hand, the coded words are assigned to the coded data 218 in the variable length coding section 219 corresponding to generation frequency of each data. The buffer 220 smoothes the speed so as to transmit the variable length coding data system at the constant transmitting speed, and counts the variable length coding data system per frame and outputs them as the information amount 221 per frame to the coding control section 212. The line interface section 222 transmits the speed smoothed variable length coded data as the transmission signals 223 into the transmission line. The coding control section 212, referring to the table ROM 234 by using the threshold value 221 given the frame delay by the register 232 and the amount of information, outputs the new threshold value 211. Let the previous threshold value 233 be T n-1 and the information amount 221 in the encoded frame using this T n-1 be B n-1 , then the new threshold value T n (211) is obtained as shown in FIG. 7. Between the threshold value and the information amount, there is a hyperbolic relation as shown in FIG. 7. In FIG. 7, there are four curves written, which vary according to the width of the movement of a subject. When B n-1 and T n-1 are given, the most suitable curve is chosen among the plural curves stored in the table ROM 234. Then the point B* of the amount of information is looked for along the chosen curve. Where B* is the information amount admitted to one frame in accordance with the transmission speed. When the point of the amount of information becoming B* is decided on the chosen curve, the threshold value at the point is read as T n . In other words, according to the relation between the threshold value T n-1 of the frame which finishes the coding and the information amount B n-1 , the characteristic curve corresponding to the amount of motion is decided and controlled so as to obtain the necessary threshold value to attain the aimed information amount as the new threshold value T n from the curve. Since the interframe coding device is constituted as above described, delay is always produced in controlling the threshold value for smoothing the amount of the information. Accordingly it is disadvantageous in that when the subject is transferred from the static state to the dynamic state or from the dynamic state to the static state, the extreme time lapse may be produced or the focusing of the picture quality is likely to delay. The paper "An Interframe Coding System For Video Teleconferencing Signal Transmission at 1.5 Mbit/s Rate" (IEEE Transactions on Communications VOL. COM-32, No. 3, March 1984) discloses an interframe coding system used for transmission of NTSC color television signals. Input signals are first converted by an A/D converter into PCM signals. Noise contained in the original signal is removed by a prefiltering circuit. The signals are encoded by a predictive coding circuit. The signal output from the predictive coding circuit is led into a buffer memory. Signals stored in the buffer memory are then read out at a fixed rate. After error correction and error detection code bits are added, they are sent out through the frame constructing circuit. Then, the signal is converted into alternate mark inversion (AMI) codes and sent out on a 1.5 Mbit/s transmission line. At the receiving side, the signal is decoded back to analog television signals through the reverse of the operation described above. The UK patent application GB 2 128 847 A discloses a motion-compensated interframe coding system provided for transmission of coded television picture signal. The television signal is coded under the compensation of a coded signal in response to the variation of a television picture, which is caused by the motion thereof, on account of the motion vector representing the shift of the picture between adjacent frames thereof. Regarding the detection of motion vectors, interframe correlation referred to accumulated logarithms of absolute values of interframe differential picture element signals is examined. Regarding the compensation of predicted picture motion, a coding threshold level is changed in response to picture motion. A circuit arrangement is disclosed wherein an input picture signal is supplied to a substractor to form a differential signal from a preceding frame picture signal derived from a frame memory. This interframe differential picture signal is applied to a threshold circuit to derive only the significant interframe differential picture element signals therefrom which have signal levels exceeding the threshold level derived from a threshold controller. The significant interframe differential picture element signals are written in a buffer memory and than read out therefrom at a constant speed, to be transmitted and applied to an adder and added to the preceding frame picture element signals respectively. The amount of information to be transmitted, which is indicated by the state of storage of the significant picture element signals in the buffer memory, is applied to a transmitting information amount calculator. The calculated result thereof being applied to a threshold controller to vary the threshold level to be applied to the threshold circuit. As a result, when the rate of the appearance of the significant interframe differential picture element signals is increased, the threshold level is raised to lower the rate of the appearance of significant interframe differential picture element signals. SUMMARY OF THE INVENTION In order to eliminate the above-mentioned disadvantages in the prior art. An object of the invention is to provide an interframe coding device which can give the interframe coding by always using the suitable threshold value without delaying in controlling the threshold value. The object of the present invention, as defined in appended claim 1, is achieved by an interframe motion image encoder including: a first frame memory capable of storing at least one frame of motion image signals; a first subtracter forming first interframe differential signals from motion image signals and first interframe prediction signals read out of the first frame memory; a discriminator discriminating between significant blocks and insignificant blocks of the interframe differential signals according to relations between the interframe differential signals and a threshold value; a coder and decoder coding the discriminated first interframe differential signals in the significant block and decoding the coded discriminated first interframe differential signals, the coder and decoder transmitting the coded discriminated first interframe differential signals for obtaining an amount of generated information, the coder and decoder further transmitting the decoded signals to the first frame memory for forming the interframe prediction signals of subsequent frames; and a coding controller outputting the threshold value in accordance with the amount of generated information; further comprising: a second frame memory capable of storing at least one frame of motion image signals, the second frame memory memorising the motion image signals before being coded; a second subtracter forming second interframe differential signals from inputted motion image signals and second interframe predicting signals read out of the second frame memory; a non-linear weighting circuit for providing non-linear weights to said second interframe differential signals formed by said second subtracter and outputting non-linearly weighted interframe differential signals, transmitting the signals provided by said non-linear weighting circuit to said second frame memory for forming said second interframe predicting signals of subsequent frames, said first subtracter receiving the motion image signals from the second frame memory; and an estimator obtaining estimated amounts of movements from said non-linearly weighted interframe differential signals, the estimator transmitting the estimated amounts of movements to said coding controller, whereby said coding controller determines the threshold value on a basis of the estimated amounts of movements and said amount of generated information. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram illustrating composition of a transmitting section of an interframe coding device in an embodiment of the invention; FIG. 2 is a block diagram illustrating composition of the temporal filter in FIG. 1; FIG. 3 is a block diagram illustrating composition of the coding control section in FIG. 1; FIG. 4 is a diagram illustrating operation of coding control in this embodiment; FIG. 5 is a block diagram illustrating composition of a transmitting section of an interframe coding device in the prior art; FIG. 6 is a block diagram illustrating composition of the coding control section in FIG. 5 ; FIG. 7 is a diagram illustrating operation of coding control in the interframe coding device in FIG. 5; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 1 is a block diagram illustrating composition of a transmitting section of an interframe coding device in a third embodiment of the invention. In FIG. 1, numeral 201 designates a digitalized motion image signal system, numeral 202 designates a temporal filter, numeral 203 designates interframe differential signals obtained in the temporal filter 202 and subjected to the non-linear weighting, numeral 204 designates a motion amount estimation section, numeral 205 designates estimated motion amount obtained in the motion amount estimation section 204, numeral 206 designates motion image signal system which is processed by the temporal filter 202 and subjected to conversion of the resolving power or the speed, numeral 207 designates a subtractor for obtaining interframe differential signals, numeral 208 designates interframe predicting signals formed from the past-time frame after finishing the coding already, numeral 209 designates interframe differential signal series, numeral 210 designates a block discrimination section which quantizes the interframe differential signal 209 being the predicting error as zero, and discriminates whether the coding processing at the next stage must be performed or not block by block unit, numeral 211 designates threshold value for the block discrimination, numeral 212 designates a coding control section which determines the threshold value, numeral 213 designates a coding and decoding section which encodes and decodes a block discriminated to have the significant predicting error in the block discrimination section 210, i.e., significant block, numeral 214 designates decoded predicting error signals obtained in the coding and decoding section 213, numeral 215 designates an adder which adds the predicting signals 208 and the decoded predicting error signals 214, numeral 216 designates decoded image signals, numeral 217 designates a frame memory which forms the interframe predicting signals 208 using the decoded image signals 216, numeral 218 designates coded data obtained in the coding and decoding section 213, numeral 219 designates a variable length coding section which gives the variable length coding to the coded data 218, numeral 220 designates a buffer where the data series subjected to the variable length coding in the variable length coding section 219 is transmitted at the definite transmission speed, numeral 221 designates data by counting the variable length coded data per each frame (information amount per frame), numeral 222 designates a line interface where the data system smoothed in the buffer 220 is transmitted to the transmission line, and numeral 223 designates transmitting signals. FIG. 2 is a block diagram illustrating composition of the temporal filter 202 in FIG. 1. In FIG. 2, numeral 224 designates a subtractor which finds difference between frames, numeral 225 designates image signals of the past-time frame, numeral 226 designates interframe differential signals, numeral 227 designates a non-linear weighting circuit which provides weight to the interframe differential signals 226, numeral 228 designates an adder which adds the interframe differential signals 203 weighted and the image signals 225 of the past-time frame, numeral 229 designates temporal filter output signals obtained by the adder 228, and numeral 230 designates a frame memory which performs frame delay, resolving power conversion or speed conversion. FIG. 3 is a block diagram illustrating composition of the coding control section 212 in FIG. 1. In FIG. 3, numeral 231 designates a table ROM, numeral 232 designates a register which delays the threshold value 211 at the frame period, and numeral 233 designates threshold value delayed by the register 232. FIG. 4 is a diagram illustrating characteristics to be written in the table ROM 231. The operation of the device will be described. The digitalized image signal system 201 is first inputted to the temporal filter 202. In the temporal filter 202, subtraction to the previous frame signal 225 is performed by the subtractor 224 and the output is converted into the interframe differential signal 226. The interframe differential signal 226 is made the weighted signal 203 by the non-linear weighting circuit 227, and added to the previous frame signal 225 by the adder 228 into signal 229 subjected to the temporal filter processing. The signal 229 is stored in the frame memory 230, and used in the filter processing of next frame. The frame memory 230 not only gives the frame delay for the temporal filter, but also has function of converting the resolving power or the speed to meet the specification of the coding section or the transmission speed and reading it as the coding input image signals 206. When the transmission speed is low, the coding frames are thinned out, i.e., so-called frame cutting is performed. Then only the frames for coding are read from the frame memory 230, and other frames removed by the frame cutting are overwritten on the memory. Consequently, the time relation between the image signal series 201 and the previous frame signal 225 becomes relation of "frames which are encoded continuously". The weighted interframe differential signal 203 is integrated by one frame in the motion amount estimation section 204, and used as the estimated motion amount 205 for determining the threshold value as hereinafter described. The signal 206 read from the frame memory 230 is subjected to subtraction to the interframe predicting signal 208 by the subtractor 207, and converted into the interframe differential signal 209. The interframe predicting signal 208 is formed using the reconstruction image signals of the past-time frame after finishing the coding and the local decoding in the transmitting section already, and method of the motion compensation or the like may be used in this case. Since the interframe differential signal 209 gets quite close to 0 when the subject has no variation or motion, the significant block and the insignificant block are discriminated in the block discrimination section 210 as above described, and regarding the insignificant block the data indicating it as insignificant only are transmitted thereby the information amount can be compressed. In order to discriminate blocks, the absolute value sum of the interframe differential signal system formed in blocks is estimated, and then compared with the threshold value 211. Let the interframe differential signal series in blocks be ε j (j = 1, 2, ..., k), and the threshold value be T n , then the block discrimination is performed as follows: if insignificant block if significant block Regarding the block discriminated as a significant block, further the interframe differential signal 209 is encoded. In the coding and decoding section 213, the significant block is encoded and then decoded, and the decoded predicting error signal 204 and the coded data 218 are outputted. There are various sorts of the coding and decoding methods. However, since these have no direct relation to the essence of the invention, the detailed description shall be omitted here. The decoding predicting error signal 214 is added to the interframe predicting signal 208 by the adder 215 so that the decoded image signals 216 is formed. The decoding image signals 216 are stored in the frame memory 217, and used to form the interframe predicting signal in the next frame and so forth. On the other hand, the coded data 218 is assigned with code words corresponding to the frequency of each data in the variable length coding section 219. In the buffer 220, the speed is smoothed so that the coded data series subjected to the variable length coding is transmitted at the constant transmission speed, and the coded data series in variable length coding is counted per each frame and outputted as the information amount 221 per frame to the coding control section 212. The line interface 222 transmits the variable length coded data with speed smoothed as the transmitting signals 223 to the transmission line. In the coding control section 212, using the estimated motion amount 205, the information amount 221 and the threshold value 233 supplied with the frame delay by the register 232 and referring to the table ROM 234, the new threshold value 211 is transmitted. Let the estimated motion amount 205 be M n , the past threshold value 233 be T n-1 , and the information amount 221 in the frame coded using T n-1 be B n-1 , then the new threshold value T n (211) is obtained as shown in FIG. 4. Between the threshold value and the information amount, there is hyperbolic relation as shown by four curves in FIG. 4. The four characteristic curves show an example, and vary depending on whether the motion of the subject is large or small. First, from B n-1 and T n-1 , one characteristic curve is selected among a plurality of curves stored in the table ROM 231. The characteristic curve indicates what degree of the motion is included in the frame which is encoded using the threshold value T n-1 and generates the information of B n-1 . Since the estimated motion amount M n (205) estimates the motion amount of the frame to be encoded hereafter, the motion characteristic curve is suitably transferred using M n . If M n is large, the curve is transferred to the characteristics with large motion; if M n is small, the curve is transferred to that with small motion. Subsequently the point with the information amount being B* is searched along the determined curve. In this case, B* is the information amount allowed per one frame corresponding to the transmission speed. If the point with the information amount being B* is determined on the selected curve, the threshold value on the point is read as T n . That is, the characteristic curve corresponding to the motion amount is selected from relation between the threshold value T n-1 of the frame after finishing the coding and the information amount B n-1 . Regarding the frame to be coded hereafter, the characteristic curve is corrected using the estimated motion amount, and control is performed so that the threshold value required to attain the intended information amount is obtained as the new threshold value T n from the curve. In this embodiment, although the temporal filter processing or the frame delay by the frame memory 230 to convert the resolving power and the speed is used as means for obtaining the interframe differential signal 203 being the reference signal to estimate the motion amount, of course, the frame memory may be prepared only for estimating the motion amount.

Claims: An interframe motion image encoder including: a first frame memory (217) capable of storing at least one frame of motion image signals (216); a first subtracter (207) forming first interframe differential signals (209) from motion image signals (206) and first interframe prediction signals (208) read out of the first frame memory (217); a discriminator (210) discriminating between significant blocks and insignificant blocks of the interframe differential signals according to relations between the interframe differential signals (209) and a threshold value (211); a coder and decoder (213) coding the discriminated first interframe differential signals in the significant block and decoding the coded discriminated first interframe differential signals, the coder and decoder transmitting the coded discriminated first interframe differential signals (218) for obtaining an amount of generated information (221), the coder and decoder further transmitting the decoded signals (214) to the first frame memory (217) for forming the interframe prediction signals (208) of subsequent frames; and a coding controller (212) outputting the threshold value (211) in accordance with the amount of generated information (221); characterized by: a second frame memory (230) capable of storing at least one frame of motion image signals (229), the second frame memory (230) memorising the motion image signals (201) before being coded; a second subtracter (224) forming second interframe differential signals (226) from inputted motion image signals (201) and second interframe predicting signals (225) read out of the second frame memory (230); a non-linear weighting circuit (227) for providing non-linear weights to said second interframe differential signals (226) formed by said second subtracter (224) and outputting non-linearly weighted interframe differential signals (203), transmitting the signals provided by said non-linear weighting circuit (227) to said second frame memory (230) for forming said second interframe predicting signals (225) of subsequent frames, said first subtracter (207) receiving the motion image signals (206) from the second frame memory (230); and an estimator (204) obtaining estimated amounts of movements (205) from said non-linearly weighted interframe differential signals (203), the estimator (204) transmitting the estimated amounts of movements (205) to said coding controller (212), whereby said coding controller (212) determines the threshold value (211) on a basis of the estimated amounts of movements (205) and said amount of generated information (221).

Inventors: ASAI KOHTARO, ASANO KENICHI, ITOH ATSUSHI, KINJO NAOTO, MURAKAMI TOKUMICHI, NISHIDA MASAMI, ASAI, KOHTARO, ASANO, KENICHI, ITOH, ATSUSHI, KINJO, NAOTO, MURAKAMI, TOKUMICHI, NISHIDA, MASAMI, ASAI, KOHTARO, C/O MITSUBISHI DENKI K.K., ASANO, KENICHI, C/O MITSUBISHI DENKI K.K., ITOH, ATSUSHI, C/O MITSUBISHI DENKI K.K., KINJO, NAOTO, C/O MITSUBISHI DENKI K.K., MURAKAMI, TOKUMICHI, C/O MITSUBISHI DENKI K.K., NISHIDA, MASAMI, C/O MITSUBISHI DENKI K.K.
Applicants: MITSUBISHI ELECTRIC CORP, MITSUBISHI DENKI KABUSHIKI KAISHA
Application year: 1988
Main classification: H04N7
IPC codes: H04N7, H03M7, G06T9