Image coding 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. 2 shows an example of an image coding method in the prior art. In FIG. 2, the side A indicates the transmitting side and the side B indicates the receiving side. In FIG. 2, numeral 601 designates an input buffer which inputs the digitized image signals and outputs them suitably to the coding section at the next stage, numeral 603 designates a frame memory which stores the image signals after coding and decoding before the present image signals by one frame, numeral 602 designates a subtractor which carries out the subtraction between the output of the input buffer 601 and the output of the frame memory 603, numeral 604 designates a quantization coding device which gives the quantization and coding to the output of the frame memory 603, numeral 605 designates a quantization decoding device which decodes the signals after the quantization coding, numeral 606 designates an interframe adder which adds the quantization decoding output and the output of the frame memory 603, and writes the result to the frame memory 603, numeral 607 designates a variable length coding device which assigns the variable length code to the quantization coding output corresponding to the generating frequency of each code, numeral 608 designates a transmitting buffer which stores the variable length coding output, numeral 609 designates a transmitting buffer control section which monitors the control of writing and reading in the transmitting buffer 608 and the storage amount of the transmitting buffer and then transmits the monitoring result to the input buffer 601, numeral 610 designates a dummy data adding section which adds the dummy data to the output of the transmitting buffer, and numeral 611 designates a line interface section. Numeral 612 designates a line interface section on the receiving side, numeral 613 designates a dummy separating section which deletes the added dummy data, numeral 614 designates a variable length decoding section which decodes the variable length code, numeral 615 designates a receiving buffer which stores the signals after the variable length decoding, numeral 605' is a quantization decoding section which gives the quantization decoding to the output of the receiving buffer 615, numeral 603' designates a frame memory which stores the decoded image signals before the present image signals by one frame, and numeral 606' designates an interframe adder which adds the output of the quantization decoding section 605' and the output of the frame memory 603' and then writes the result to the frame memory 603'. The operation of the device will be described. The inputted image signals 701 are written to the input buffer 601. The input buffer performs writing and reading by the unit of the image frame, but it has the composition of double buffer because reading may be performed during writing. The coded and decoded image signals 702 before the present image signals by one frame are outputted from the frame memory 603. In the interframe subtractor 602, the interframe differential signals 703 are obtained by subtracting between the present image signals 701' read from the input buffer and the image signals 702. The interframe differential signals 703 are encoded by the quantization coding device 604, and become the quantization coded signals 704. FIG. 3 shows an example of characteristics of the quantization coding device. The quantization coded signals 704 are inputted in the variable length coding device 707, and transformed into the variable length code 706 corresponding to the frequency of each coded signal. At the same time, the quantization coding signals 704 are inputted in the quantization decoding device 605, and then are outputted as the coded and decoded differential signals 705. FIG. 4 shows an example of characteristics of the quantization decoding device. The coded and decoded differential signals 705 are inputted together with the image signals 702 into the interframe adder 606, and become the coded and decoded image signals 702' and are written to the frame memory 603 for the coding to the next frame. On the other hand, the variable length codes 706 are inputted in the transmitting buffer 608. The transmitting buffer outputs the data in accordance with the requirement from the transmission line side after storing the variable length codes over the definite amount, and has the composition of double buffer (buffer #1, buffer #2) because writing and reading must be performed at the same time. The transmitting buffer control section 609 controls writing and reading of the transmitting buffer. For example, when the buffer #1 is at writing operation and the buffer #2 is at reading operation, the transmitting buffer control section 609 monitors the storage amount of the buffer #1, and if the storage amount becomes more than the prescribed set value, the transmitting buffer control section 609 demands ceasing of output of the data to the input buffer 601. Receiving the demands, the input buffer 601 ceases the output of the data to the next stage. The transmitting buffer control section 609 detects the pause of the input data to the transmitting buffer 608, and ceases writing to the buffer #1 and makes the situation of waiting for reading. The buffer #2 during reading ceases reading if the residual amount becomes less than the prescribed set value, and it waits for the buffer #1 to be in the situation of waiting for reading. When the buffer #1 is in the situation of waiting for reading, the buffer #2 and the buffer #1 are read out continuously. The buffer #2 is in the situation of waiting for writing when the residual amount becomes zero. When the buffer #2 is in the situation of waiting for writing, the transmitting buffer control section 609 demands to start the output of the data to the input buffer 608. In this process, before the buffer #1 gets in the situation of waiting for reading, there becomes the situation that the transmitting buffer 608 cannot output any data. The dummy data adding section 610 outputs the data with the dummy data added thereto so as to continue the transmission of the data to the transmission line without break while the transmitting buffer 608 cannot output the data. The data with the dummy data added thereto are subjected to conversion of electric level in the transmission line interface section 611 so as to meet the characteristics of the transmission line, and then outputted to the transmission line. On the receiving side, the signals inputted through the transmission line are subjected to phase conversion of electric level in the transmission line interface section 612, and the dummy data added in the dummy data adding section 610 are cleared in the dummy separate section 613 thereby only the data about the images are outputted. The output is processed in the variable length decoding section 614 by the reverse treatment with respect to that in the variable length coding section 607, and then inputted in the form of the quantization coded signals 704 into the receiving buffer 615. The receiving buffer has the composition of double buffer, because writing and reading are performed at the same time. In the receiving buffer, the stored data are variable in amount so as to take matching with respect to time between the signal speed inputted from the transmission line side and the speed of the image decoding section at the rear stage. For example, if the processing speed of the image decoding section at the next stage is low, the stored amount of the receiving buffer is increased. On the contrary, if the processing speed is high, the receiving buffer acts at the small stored amount. The quantization coded signals 704 are decoded by the quantization decoding device 605' and outputted as the coded and decoded differential signals 705' in similar manner to the transmitting side. The coded and decoded image signals 702' before the present decoding image by one frame are outputted from the frame memory 603', and are added to the coded and decoded differential signals 705' in the interframe adder 606', and the resulted signals are written as the coded and decoded image signals to the frame memory 603' and also outputted to outside. Let the necessary time to decode one image memory on the receiving side be T D , and let the average time to encode one image memory on the transmitting side be T c , and unless T D ≤ T c , the data are accumulated one after another in the receiving buffer resulting in overflowing. Since the transmitting side transmits the variable length coding data, the number of the data transmitted by one frame is not kept constant. In other words, the time interval T B at which the code corresponding to the lead of the image frame can be T B < T D once in a while. Accordingly, unless T D < min T B on the receiving side, it causes the overflowing of the receiving buffer. Since the image coding device in the prior art is constituted as above described, one frame decoding time T D on the receiving side is inevitably set to a small value so that T D ≤ min T B . As a result, the scale of the device on the receiving side becomes much larger than that on the transmitting side. An image coding transmission system is disclosed in a paper on "Standard Type Digital Facsimile" (Review of the Electrical Communication Laboratories, Vol. 33, No. 2, 1985). Therein, at the transmitting side, a digitalized image signal is inputted, coded and then transmitted, and, at the receiving side, a transmitted signal is decoded and outputted as image signal. Figure 2 of said paper shows a block diagram of a transmitting/receiving means comprised in the image coding transmission system. The transmitting means comprises a scanning unit which is connected to a line interface by a coder unit, a communication control, and a network control. The receiving means comprises a recording unit, which is connected to a line interface by a network control, a communication control, and a decoder unit. The transmission between the transmitter and the receiver is controlled by a control sequence which uses the step of negotiate equipment capabilities to prepare the handshake in the next step. The disadvantage of this image coding transmission system resides in that a buffer overflow may happen in case the device scale on the receiving side is small while the necessary time to decode one image memory on the receiving side is comparatively large. 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 image coding method which can communicate normally without the buffer overflowing even in case that the device scale on the receiving side is small while T D is comparatively large. The object of the present invention is achieved by an image coding transmission system comprising a first side station as a local station and a second side station as a remote station, each of which being equipped with a transmitting means and a receiving means, wherein the receiving means in said first station performs decoding of digitized image signals transmitted from the transmitting means of said second station, and wherein that the transmitting means in said first station generates and transmits time information indicating the time necessary for the receiving means in said first station to perform decoding of the signals transmitted from the transmitting means in said second station, wherein said signals are controlled, before being transmitted to said first station, by the receiving means in said second station so as to be coded and transmitted in accordance with said time information. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of image coding transmission system according to the invention; FIG. 2 is a block diagram of image coding transmission system in the prior art; FIG. 3 is a diagram illustrating an example of characteristics of the quantization coding device; FIG. 4 is a diagram illustrating an example of characteristics of the quantization decoding device; and FIG. 5 is a diagram illustrating operation state of the transmitting buffer. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the invention will be described referring to FIG. 1. FIG. 1 is a block constitution diagram of an image coding transmission system according to the invention. In FIG. 1, the side A ○ indicates the transmitting side, and the side B ○ indicates the receiving side. In FIG. 1, numeral 601 designates an input buffer which inputs the digitized image signals and outputs them suitably to the coding section at the next stage, numeral 603 designates a frame memory which stores the image signals after coding and decoding before the present image signals by one frame, numeral 602 designates a subtractor which carries out the subtraction between the output of the input buffer 601 and the output of the frame memory 603, numeral 604 designates a quantization coding device which gives the quantization and coding to the output of the frame memory 603, numeral 605 designates a quantization decoding device which decodes the signals after the quantization coding, numeral 606 designates an interframe adder which adds the quantization decoded output and the output of the frame memory 603, and writes the result to the frame memory 603, numeral 607 designates a variable length coding device which assigns the variable length code to the quantization coded output corresponding to the frequency of each code, numeral 608 designates a transmitting buffer which stores the variable length coding output, numeral 609 designates a transmitting buffer control section which monitors the control of writing and reading in the transmitting buffer 608 and the storage amount of the transmitting buffer and then transmits the monitoring result to the input buffer 601, numeral 610 designates a dummy data adding section which adds the dummy data to the output of the transmitting buffer, numeral 616 designates a local decoding capability information generation section which generates information indicating time capability of decoding processing at the local receiving side, numeral 617 designates a multiplexing section which multiplies the output of the dummy adding section by the local decoding capability information generated in the section 616, and numeral 611 designates a line interface section. Numeral 612 designates a line interface section on the receiving side, numeral 619 designates a separate section which separates remote decoding capability information from the receiving data, numeral 618 designates a transmitting operation control- section which determines the local transmitting operation from the remote decoding capability information and transmits it to the transmitting side, numeral 613 designates a dummy separate section which deletes the added dummy data, numeral 614 designates a variable length decoding section which decodes the variable length code, numeral 615 designates a receiving buffer which stores the signals after the variable length decoding, numeral 605' designates a quantization decoding section which gives the quantization decoding to the output of the receiving buffer 615, numeral 603' designates a frame memory which stores the decoded image signals before the present image signals by one frame, and numeral 606' designates an interframe adder which adds the output of the quantization decoding section 605' and the output of the frame memory 603' and then writes the result to the frame memory 603'. The operation of the device will be described. The inputted image signals 701 are written to the input buffer 601. The input buffer performs writing and reading by the unit of the image frame, but it has the composition of double buffer because reading may be performed during writing. The coded and decoded image signals 702 before the present image signals by one frame are outputted from the frame memory 603. In the interframe subtractor 602, the interframe differentialsignals 703 are obtained by subtracting between the present image signals 701' read from the image buffer and the image signals 702. The interframe differential signals 703 are encoded by the quantization coding device 604, and become the quantization coding signals 704. FIG. 3 shows an example of characteristics of the quantization coding device. The quantization coded signals 704 are inputted in the variable length coding device 607, and transmitted into the variable length code 706 corresponding to the frequency of each coding signal. At the same time, the quantization coded signals 704 are inputted in the quantization decoding device 605, and then are outputted as the coded and decoded differential signals 705. FIG. 4 shows an example of characteristics of the quantization decoding device. The coded and decoded differential signals 705 are inputted together with the image signals 702 into the interframe adder 606, and become the coded and decoded image signals 702' and are written to the frame memory 603 for the coding to the next frame. On the other hand, the variable length codes 706 are inputted in the transmitting buffer 608. The transmitting buffer outputs the data in accordance with the requirement from the transmission line side after storing the variable length codes over the definite amount, and has the composition of double buffer (buffer #1, buffer #2) because writing and reading must be performed at the same time. The transmitting buffer control section 609 controls writing and reading of the transmitting buffer. For example, when the buffer #1 is at writing operation and the buffer #2 is at reading operation, the transmitting buffer control section 609 monitors the storage amount of the buffer #1, and if the storage amount becomes more than the prescribed set value, the transmitting buffer control section 609 demands ceasing of output of the data to the input buffer 601. Receiving the demands, the input buffer 601 ceases the output of the data to the rear stage. The transmitting buffer control section 609 detects the pause of the input data to the transmitting buffer 608, and ceases writing to the buffer #1 and makes the situation of waiting for reading. The buffer #2 during reading ceases reading if the residual amount becomes less than the prescribed set value, and it waits for the buffer #1 to be in the situation of waiting for reading. When the buffer #1 is in the situation of waiting for reading, the buffer #2 and the buffer #1 are read out continuously. The buffer #2 is in the situation of waiting for writing when the residual amount becomes zero. When the buffer #2 is in the situation of waiting for writing, the transmitting buffer control section 609 demands to start the output of the data to the input buffer 608. In this process, before the buffer #1 gets in the situation of waiting for reading, there becomes the situation that the transmitting buffer 608 cannot output any data. The dummy data adding section 610 outputs the data with the dummy data added thereto so as to continue the transmission of the data to the transmission line without break while the transmitting buffer 608 cannot output the data. In the local decoding capability information generation section, the information 707 indicating time capability of decoding processing at local receiving side, for example, information indicating time T D ' required for processing one image frame is generated. This information is multiplied in the multiplexing section 617 into that combined with the image dummy data. The signal after multiplexing is converted in the line interface section 611 so that the electric level is matched to characteristics of the transmission line, and then outputted to the transmission line. At the receiving side, signal inputted through the transmission line is subjected to reverse conversion of the electric level in the line interface section 612, and information 707' indicating time capability of the remote decoding processing is separated from the signal in the separate section 619 and transmitted to the transmitting operation control section 618, and other data are transmitted to the dummy separate section 613. In the dummy separate section 613, the dummy data added in the dummy adding section 610 are cleared thereby only the data about the image are outputted. The output is processed in the variable length decoding section 614 by the reverse treatment with respect to that in the variable length coding section 607, and then inputted in the form of the quantization coded signals 704 into the receiving buffer 615. The receiving buffer has the composition of double buffer, because writing and reading are performed at the same time. In the receiving buffer, the stored data are variable in amount so as to take matching with respect to time between the signal speed inputted from the transmission line side and the speed of the image decoding section at the rear stage. For example, if the processing speed of the image decoding section at the next stage is low, the stored amount of the receiving buffer is increased. On the contrary, if the processing speed is high, the receiving buffer acts at the small stored amount. The quantization coded signals 704' are decoded by the quantization decoding device 605' and outputted as the coded and decoded differential signals 705' in similar manner to the transmitting side. The coded and decoded image signals 702' before the present decoding image by one frame are outputted from the frame memory 603', and are added to the coded and decoded differential signals 705' in the interframe adder 606', and the resulted signals are written as the coded and decoded image signals to the frame memory 603' and also outputted to outside. On the other hand, at the transmitting operation control section 618, based on the information 707', discrimination is performed regarding what degree of the coding capability at the local transmitting side enables the decoding processing without overflowing of the receiving buffer at the remote station. For example, if time T D ' is required to decode one frame as the information 707', command is issued so that the interval to transmit the code corresponding to the lead of each image frame from the transmitting buffer is always made T D ' or more. Operation of the transmitting buffer control section 609 receiving the code will now be described in detail. FIG. 5 shows state of the transmitting buffer control section typically when the buffer #1 is at reading state and the buffer #2 finishes the writing and is waiting for reading. In usual, if the transmitting buffer stores data more than the prescribed set value (Th2 in FIG. 5) during writing, stoppage of data output is demanded to the input buffer 601. In FIG. 5, the buffer #2 stops the writing at the storage amount M. On the other hand, reading from the transmitting buffer is performed at a burst in the N data unit, and when the residual amount of the buffer during reading becomes less than N, reading is performed only the buffer at reverse side is at waiting for reading, and reading is stopped at other cases. When command is issued from the transmitting operation control section 618 that transmitting interval of the code corresponding to the lead of the image frame is made T D ' or more, output of data corresponding to the lead of the image frame from the transmitting buffer is checked. Once the corresponding data is outputted, the timer is set to the time T D ' and supervision is performed so that next corresponding data is not outputted before the timer becomes time out. If it is recognized that the corresponding data exists in the N data to be subsequently transmitted before the time out, next reading is inhibited. The longer the read inhibiting time, the longer the time of output stop command for data to'the input buffer 601. Consequently, the image frame number which can be encoded per unit time is decreased. Since the dummy data are transmitted to the transmission line during read inhibiting of the transmitting buffer, data of only image after the dummy data separation at the receiving side is intermittent in time, thereby longer time can be used for the decoding processing at the receiving side. Consequently, even at the image coding device having the receiving side of large T D ', since transmission at the remote transmitting side is performed in matching with the local capability (limiting the capability at the transmitting side), although the image frame number is small and quality as the motion picture image is deteriorated, the device at the receiving side is made small size and low cost. In this embodiment, in order that the transmission image frame number at the transmitting side is drawn to the limit of the capability at the receiving side, output of the data corresponding to the lead of the image from the transmitting buffer is limited. However, if the operation is allowed at considerably lower level than the capability at the receiving side, above-mentioned effect can be obtained when the image frame number outputted from the input buffer 601 per unit time is varied. Also in this embodiment, although the information 707 indicating the time capability of the decoding processing and the image data are multiplied on one transmission line and transmitted, similar effect can be obtained when the information 707 is transmitted through other transmission line. Still further according to the invention, since the time capability of the decoding processing at the receiving side is transmitted together with the image data to the remote station, and the time interval of data transmission at the transmitting side is controlled based on the information at the receiving side, normal image communication can be realized even using the device of low cost and small size having low decoding processing capability at the receiving side.

Claims: An image coding transmission system comprising a first side station as a local station and a second side station as a remote station, each of which being equipped with a transmitting means and a receiving means, wherein the receiving means in said first station performs decoding of digitized image signals transmitted from the transmitting means of said second station, and characterized in that the transmitting means in said first station generates and transmits time information indicating the time necessary for the receiving means in said first station to perform decoding of the signals transmitted from the transmitting means in said second station, wherein said signals are controlled, before being transmitted to said first station, by the receiving means in said second station so as to be coded and transmitted in accordance with said time information. An image coding transmission system as set forth in claim 1, characterized in that the receiving means in said second station controls the number of image frames to be coded by unit time based on said time information. An image coding transmission system as set forth in claim 1, characterized in that the receiving means in said second station controls the number of image frames to be transmitted by unit time. An image coding transmission system as set forth in claim 1, characterized in that the receiving means in said second station controls the time interval between the transmitting of the code corresponding to the lead of each image frame.

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, MURAKAMI, TOKUMICHI, 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