Video signal transmission

Abstract: A video signal transmission method for instantaneously providing a normally reproduced picture upon start of an image data transmission or in other potentially unstable states through steady processing. According to the method, the image signal of one frame is first divided into a plurality of blocks (MBLK). The image signal of the divided blocks is coded by intraframe coding and interframe coding. The intraframe-coded signal for one frame is transmitted periodically. Meanwhile, the magnitude of the correlation (DP) between two blocks is detected, one of the two blocks belonging to a given frame and corresponding to the other block belonging to the preceding frame. Then the quantization characteristic (QUAN) of the image signal to be transmitted is controlled in accordance with the detected magnitude of the correlation.

Description: The present invention relates to coding and transmitting video signals. In video signal transmitting applications such as a video telephone system, video signals to be transmitted are very large in quantity. To avoid data overflow, there have been proposed a number of circuits and methods that compress the video signals by predictive coding before they are transmitted. Predictive coding comes in two types: intraframe coding and interframe coding. Both coding methods process data in units of blocks each made of 16 pixels (horizontal) by 16 pixels (vertical). The intraframe coding method involves compressing video signal data by utilizing the auto-correlation between pixel data within the same frame before the compressed image data are transmitted. The interframe coding method finds the difference between the image data of a given frame and those of the next frame and compresses the difference data for transmission. Clearly, the image data involved are smaller in quantity under the interframe coding method than under the intraframe coding method. For predictive coding, the image data are thus first processed by the intraframe coding method as initial data and transmitted over the transmission line, followed by the interframe-coded image data that are subsequently transmitted. Fig. 5 is a schematic flow diagram of a typical prior art coder circuit. This example is pursuant to Recommendation H.261 standardized by CCITT. In the circuit of Fig. 5, an analog video signal S11 to be transmitted is first supplied to an A/D converter 12 through a terminal 11. The A/D converter 12 converts the signal S11 to a digital video signal S12. The signal S12 is fed to a CIF conversion circuit 13 for conversion to a CIF video signal S13. The signal S13 is sent to a pre-processing filter 14 for band limiting operation. The pre-processing filter 14 turns the signal S13 into a video signal S14 which is written to a frame memory 15. A circuit arrangement 20 downstream of the frame memory 15 constitutes an H.261-compatible coder circuit. For intraframe coding, switching circuits 21 and 65 are set as shown. In this setup, the signal S14 is read from the frame memory 15 as a signal S15 (= S14). The signal S15 thus retrieved is supplied through the switching circuit 21 to a DCT (discrete cosine transform) circuit 22. The DCT circuit 22 transforms the signal S15 to a DCT signal S22. The DCT signal S22 is fed to a quantization circuit 23 for re-quantization into a signal S23 with fewer bits than before. The signal S23 is sent to a VLC (variable length coding) circuit 24 for conversion to a VLC signal S24. The signal S24 is output onto a transmission line 1 at a predetermined data rate through a buffer memory 25. At this point, various parameters and data needed to decode the original video signal S11 from the signal S24 are supplied to the VLC circuit from a coding control circuit 29, to be described rater. These parameters and data are transmitted together with the signal S24 over the transmission line 1. In a local decoder 26, the signal S23 from the quantization circuit 23 is supplied to a quantization circuit 61 whose processing is complementary to that of the quantization circuit 23. The quantization circuit 62 turns the signal S23 into a signal S61 that is sent to an inverse DCT circuit 62 whose processing is again complementary to that of the DCT circuit 22. Because the circuits 61 and 62 carry out their processing in a way complementary to that of the circuits 23 and 22, the signal S61 is restored from the signal S22, and the signal S62 is restored from the signal S15. The signal S62 is fed to an adder 63, and a signal S65 from the switching circuit 65 are also sent to the adder 63. In turn, the adder 63 produces an added signal S63 based on the two signals S62 and S65. Because S65 = 0 in this case, S63 = S62. The signal S63 is written to a frame memory 64. With the circuits 22, 23, 61 and 62 taking their time for their respective processing, the signal S63 corresponds to the signal S15 that belongs to the preceding frame. Since S63 = S62 in this case, the signal S63 is a video signal restored from the signal S15. Thus the intraframe-coded video signal S24 is output onto the transmission line 1. The video signal S63 in the frame memory 64 represents the video signal S15 restored from the signal S23 equal to the signal S24. For interframe coding, the switching circuits 21 and 65 are set to the reverse state of what is shown in Fig. 5. In this setup, the signal S15 is sent from the frame memory 15 to a subtracter 27. The signal S63 in the frame memory 64 is read therefrom as the signal S64 (= S63). The signal S64 is then supplied to the subtracter 27, In turn, the subtracter 27 generates a signal S27 representing the difference between the signals S15 and S64. The signal S27 is fed to the DCT circuit 22 via the switching circuit 21. The signal S27 thus comes to represent the difference between the video signal S11 of a given frame and the video signal S11 of the preceding frame. The difference signal S27 is subjected to DCT processing and re-quantization. The result is the signal S23 that is converted to the signal S24 before it is output onto the transmission line 1. At this point, the signal S64 is read from the memory 64 and fed to the adder 63 through the switching circuit 65. The adder 63 is also fed with the signal S62 that was converted from the signal S23 via the quantization circuit 61 and inverse DCT circuit 62. Therefore, the signal S63 destined to the memory 64 is equivalent to the video signal S15 restored from the signal S64 of the preceding frame and from the signal S62. A motion vector detection circuit 28 is provided to perform motion compensation. Take for example a scene where a ball is moving against a stationary background. In that case, the image data about the ball need to be transmitted only for the first frame. From the second frame on, the data representing the vector of the ball (moving object) need only be transmitted in expressing the ball motion. This is where the motion vector detection circuit 28 comes in. The motion vector detection circuit 28 is supplied with the signal S15 from the memory 15 and with the signal S64 from, the memory 64. In turn, the circuit 28 detects the moving object as it moves across two contiguous frames, and compensates accordingly the signal S63 from the memory 64. Using the signal S22 from the DCT circuit 22, a coding control circuit 29 calculates two kinds of signal power: the power of the signal S22 at the time of intraframe coding and the power of the same at the time of interframe coding. The coding control circuit 29 selects either intraframe or interframe coding so that of the two kinds of signal S22, the one with the lower power level is fed to the quantization circuit 23. In addition, the coding control circuit 29 controls the step size of re-quantization (i.e., quantization characteristic) performed by the quantization circuit 23. The step size is controlled as per the data quantity of the signal S24 left in the buffer memory. The purpose of the control is to prevent data overflow or underflow in the buffer memory 25. What has been described above is the typical prior art example of predictive coding of video signals, notably intraframe and interface coding. In the coder circuit described, mismatch blocks can occur on the receiving side at the start of an image data transmission or upon a transmission line error. Any such block adversely affects the quality of subsequently reproduced images. This difficulty needs to be bypassed by transmitting intraframe-coded image data from time to time to update the reproduced image (the process is called forced refresh hereunder). The forced refresh stipulated under CCITT Recommendation H.261 requires transmitting at least one intraframe-coded image data block for every 132 transmitted frames. In the case of the CIF video signal S13, this requirement is equivalent to generating and transmitting three intraframe-coded data blocks per frame. The coding control circuit 29 selects intraframe coding in such a manner that appropriate block assignments will be made and carried out. Fig. 6 is a view showing how forced refresh takes place conventionally. In this case, the video signal is a CIF signal for which the picture comprises 352 pixels (horizontal) by 288 pixels (vertical). The picture is divided into 22 blocks (horizontal) by 18 blocks (vertical). Each of these blocks is called a macro block MBLK and is made of 16 pixels (horizontal) by 16 pixels (vertical). Forced refresh starts from the rightmost blocks MBLK - MBLK on lines 0, 6 and 12, and progresses leftward one block per frame as indicated by arrow. When forced refresh reaches the leftmost blocks, it again starts from the rightmost blocks one line below those refreshed and progresses leftward in like manner. Forced refresh thus continues until the entire picture is refreshed. For the entire picture, forced refresh takes about 4.4 seconds to complete (i.e., 22 blocks x 18 blocks / 3 blocks = 132 frames). This means that when an image data transmission is started or if an error occurs in the reproduced picture, it takes about 4.4 seconds to obtain a normal image. Because forced refresh is carried out periodically, the data quantity of the signal S24 in the buffer memory 25 does not fluctuate and the load on the transmission line 1 remains constant. One disadvantage of the prior art coder circuit described above is that it takes 4.4 seconds to obtain a normal image after the start of an image data transmission or after an error in the reproduced image; it is impossible instantaneously to acquire a normally reproduced image in such cases. Where a plurality of images are switched to transmit one of them, it also takes 4.4 seconds to obtain a normal picture every time one image is replaced with another. European Published Patent Application EP-A-0,444,839 discloses a video signal transmission method using intraframe and interframe coding and quantization control depending on detected correlation between blocks of adjacent frames (macro block power MBP) and including feedback from transmission buffer memory free capacity. In carrying out the invention and according to one aspect thereof, there is provided a video signal transmission method for transmitting compressed video signals via a buffer memory, comprising the steps of: (a) dividing the image signal of a frame into a plurality of blocks; (b) coding the image signal of each of the divided blocks by one of intraframe coding or interframe coding; (c) detecting the magnitude of the correlation between two blocks, one of said two blocks belonging to a given frame and corresponding to the other block belonging to the preceding frame; and (d) transmitting the coded image signal via the buffer memory; characterised by (e) periodically coding the divided blocks for one complete frame by intraframe coding; (f) controlling the quantization characteristic of the coded image signal to be transmitted in dependence upon the detected correlation and independently of the free capacity of the buffer memory. In operation, the image signal of each frame is transmitted periodically by intraframe coding. Then the magnitude of the correlation between two blocks is obtained. One of the two blocks belongs to a given frame and corresponds to the other block that belongs to the preceding frame. The quantization characteristic of the image signal to be transmitted is controlled in accordance with the magnitude of the correlation thus obtained. In this manner, a normally reproduced picture is more rapidly available at the start of an image data transmission or upon a transmission line error. Furthermore, requantization is carried out steadily even when the image data quantity left in the buffer memory fluctuates. An embodiment of the invention will now be described, by way of example only, with reference to the accompanying drawings in which: Fig. 1 is a schematic flow diagram of one preferred embodiment of the invention; Fig. 2 is a set of views used to describe the embodiment; Fig. 3 is a view showing arithmetic expressions for use with this embodiment of the invention; Fig. 4 is a view outlining an exemplary algorithm for use with the invention; Fig. 5 is a schematic flow diagram of a typical prior art coder circuit; and Fig. 6 is a view used to describe how the prior art coder circuit typically works. This preferred embodiment of the invention will now be described with reference to the accompanying drawings. As shown in Figs 1, the hardware constitution of the embodiment is substantially the same as that of the prior art coder circuit in Fig. 5. What is different is that the coding control circuit 29 in the embodiment does not detect the data quantity of the signals S24 in the buffer memory 25. That is, re-quantization of the quantization circuit 23 is not controlled in accordance with the data quantity of the signal S24 left in the buffer memory 25. Fig. 2A depicts typical reference time allocations (i.e., flow of time) in units of frame periods on the transmitting side in connection with the embodiment. In Fig. 2A, time t0 is the time at which an image data transmission is started; numbers #1, #2, #3, etc. represent the frame numbers or frame period numbers. Fig. 2B sketches the flow of the signal S24 over the transmission line 1. Fig. 2C illustrates typical reference time allocations, also in units of frame periods on the receiving side in connection with the embodiment. As shown in Fig. 2A, the transmitting side transmits periodically the intraframe-coded data signal S24 (shown shaded) representing the entire picture. The signal is output onto the transmission line 1 at predetermined intervals of frame periods. In the remaining frame periods, the interframe-coded data signal S24 is output onto the transmission line 1. In this example, the intraframe-coded signal S24 of one frame is first output in frame period #1. In each of the subsequent frame periods #2 through #15, the interframe-coded signal S24 of one frame is output. Thereafter, this signal transmission pattern is repeated. That is, the intraframe-coded signal S24 is output every 16 frames, and the interframe-coded signal S24 is output for the remaining frames. Where the intraframe-coded signal S24 and the interframe-coded signal S24 are output onto the transmission line 1 as described, the flow of these signals S24 over the transmission line 1 and the flow of frames on the receiving side take place as shown in Figs. 2B and 2C. Thus when an image data transmission is started, the receiving side can immediately obtain a normally reproduced picture. In case of a transmission line error resulting in a reproduced image error, the receiving side can restore the normal picture instantaneously. In the above setup with no further attachments, the data quantity of the intraframe-coded signal S24 becomes greater than that of the interframe-coded signal S24. This means that the data quantity of the signal S24 left in the buffer memory 25 fluctuates as shown in Fig. 2D. This can destabilize the requantization of the quantization circuit 23. To avoid the above drawback, the embodiment is arranged to control the quantization circuit 23 as follows. Two contiguous frames with a power level difference therebetween are considered. For a given block MBLK, it is assumed that (i, j) stands for the pixel coordinates in the block (i = 0 - 15, j = 0 - 15); A(i, j) represents the power level of each pixel in the currently referenced block; and B(i, j) denotes the power level of each pixel in the preceding block that corresponds to the currently referenced block. Given the assumption, the difference of power DP between a given block MBLK in a given frame and the block MBLK corresponding to that block in the preceding frame is represented by expression (1) in Fig. 3. The difference of power DP is related significantly to the correlation between images in the following two aspects: (1) If the difference of power DP is large, then the change between images is considered to be large and the correlation therebetween to be low (i.e., the difference of power DP is large because the image change is large). (2) If the difference of power DP is small, then the change between images is considered to be small and the correlation therebetween to be high (i.e., the difference of power DP is small because the image change is small). The present invention takes advantage of the relationships (1) and (2) above in controlling the step size for the quantization circuit 23. In the embodiment, the coding control circuit 29 executes illustratively the algorithm of Fig. 4 for each block MBLK in order to control the re-quantization of the quantization circuit 23. In step 81 of Fig. 4, the coding control circuit 29 compares the difference of power DP with a predetermined threshold value P TH . If DP < P TH , that means a high correlation (see relationship (2) above). Then the coding control circuit 29 goes from step 81 to step 82. In step 82, the quantization characteristic (i.e., step size) QUAN of the currently referenced block MBLK is made equal to the quantization characteristic PREQ of the same block MBLK in the preceding frame. In step 83, the value of the quantization characteristic QUAN is converged. For example, QUAN = QUAN + 1 (i.e., characteristic QUAN is fragmented by one step), or QUAN = QUAN/2 (i.e., the step size is halved). In step 84, the quantization characteristic QUAN is compared with a minimum quantization characteristic MINQ. If QUAN ≧, step 84 is followed by step 85. In step 85, the quantization characteristic QUAN obtained in step 83 is set unchanged to the quantization circuit 23. In step 86, PREQ = QUAN in preparation for step 82 for the next frame period. Then the processing comes to an end. If QUAN < MINQ in step 84, step 84 is followed by step 87. In step 87, the quantization characteristic QUAN is made equal to the minimum quantization characteristic MINQ. Step 87 is followed by step 85 in which the quantization characteristic QUAN is set to the quantization circuit 23. As described, steps 82 through 87 set the quantization circuit 23 for the minimum quantization characteristic MINQ or for the quantization characteristic QUAN greater than MINQ where there exists a high correlation between a block MBLK in a given frame and the corresponding block MBLK in the preceding frame. If DP ≧ P TH in step 81, that means there exists a low correlation (see relationship (1) above), In that case, step 81 is followed by step 88 in which the quantization characteristic QUAN is made equal to a maximum quantization characteristic MAXQ. Step 88 is followed by step 85 in which the quantization circuit 23 is set for the quantization characteristic QUAN. Thus steps 88 and 85 set the quantization circuit 23 for the maximum quantization characteristic MAXQ where there exists a low correlation between a block MBLK in a given frame and the corresponding block MBLK in the preceding frame. The processing above is repeated for each block MBLK. The quantization characteristic of the quantization circuit 23 is thus determined for each block MBLK. Although the difference of power DP is obtained using expression (1) of Fig. 3 with the above embodiment, expression (2) of the same figure may also be used alternatively for the same purpose. As described, the intraframe-coded signal S24 representing the entire picture is transmitted periodically to the receiving side. This arrangement provides more rapidly a normally reproduced picture when an image data transmission is started, when any one of a plurality of images is selected and transmitted, or when a transmission line error has caused a reproduced image error. In addition, the magnitude of the correlation between a block MBLK in a frame and the corresponding block MBLK in the preceding frame is obtained, and the quantization characteristic of the quantization circuit 23 is established according to that magnitude of the correlation. This allows the quantization circuit 23 to provide steady re-quantization even when the data quantity of the signal S24 left in the buffer memory 25 fluctuates. At least preferred embodiments of the invention provide: a video signal transmission method whereby a normally reproduced picture is more rapidly available at the time of, say, the start of an image data transmission; and a video signal transmission method for resolving, without disturbing the reproduced image, the data quantity fluctuation occurring in the buffer memory when the above feature is accomplished. Although a preferred embodiment of the invention has been described using specific terms, such description is for illustrative purposes only, and it is to be understood that changes and variations may be made without departing from the scope of the following claims.

Claims: A video signal transmission method for transmitting compressed video signals via a buffer memory, comprising the steps of: (a) dividing the image signal of a frame into a plurality of blocks (MBLK); (b) coding the image signal of each of the divided blocks by one of intraframe coding or interframe coding; (c) detecting the magnitude of the correlation between two blocks, one of said two blocks belonging to a given frame and corresponding to the other block belonging to the preceding frame; and (d) transmitting the coded image signal via the buffer memory; characterised by (e) periodically coding the divided blocks for one complete frame by intraframe coding; (f) controlling the quantization characteristic of the coded image signal to be transmitted in dependence upon the detected correlation and independently of the free capacity of the buffer memory. A video signal transmission method according to claim 1, wherein the step of controlling said quantization characteristic includes control of a quantization width. A video signal transmission method according to claim 2, wherein the step of finding the magnitude of said correlation includes detection of the difference of power between two corresponding blocks. A video signal transmission method as claimed in claim 1, wherein said video signal transmission method is a video telephone signal transmission method for transmitting compressed video signals over telephone lines, comprising the steps of: (a) converting the image signal of one frame to a digital signal and then dividing said digital signal into a plurality of blocks; (b) storing the image signal of the divided blocks into a memory; (c) intraframe-coding and inter-frame coding image signals based on the signal output from said memory; (d) subjecting selectively any one of said intraframe-coded and interframe-coded image signals to orthogonal transformation; (e) quantizing the orthogonally transformed image signal; (f) detecting the difference of power between two orthogonally transformed blocks, one of the two blocks belonging to a given frame and corresponding to the other block belonging to the preceding frame; (g) varying, in accordance with the detected difference of power, the quantization width in effect when said orthogonally transformed image signal is quantized; and (h) transmitting the quantized image signal through the buffer memory A video telephone signal transmission method according to claim 4, wherein said step of detecting said difference of power includes the step of: (a) comparing said difference of power with a predetermined value. A video telephone signal transmission method according to claim 5, wherein said step of varying said quantization width includes the steps of: (a) increasing said quantization width when said difference of power is larger than said predetermined value; and (b) reducing said quantization width when said difference of power is smaller than said predetermined value. A video telephone for transmitting a video signal including means for carrying out each step of the video signal transmission method of any one of the preceding claims.

Inventors: TAHARA KATSUMI, TAHARA, KATSUMI, Tahara, Katsumi, c/o Patents Division
Applicants: SONY CORP, SONY CORPORATION
Application year: 1993
Main classification: H04N7
IPC codes: H04N7, G06T9