Method of and system for transmitting and receiving digitally encoded video images

Abstract: Video images are encoded by transform coding, resulting in data blocks each including a DC-coefficient and a plurality of AC-coefficients. The coefficients of a number of said transform blocks are variable-length encoded and transmitted. In order to avoid a complete loss of datablocks in case of a transmission error, the most significant codewords of a group of blocks are transmitted first so as to achieve that at least the DC-level of the blocks is likely to be retained. The coefficients may also be recorded on a videorecorder. The DC-coefficients and if desired predetermined AC-coefficients of selected ones of the transform blocks are packed together to form a DC-packet to be recorded on a selected part of the track. The DC-packet is chosen such that it can be read out as a unit at various search speeds, and can be read partially at higher search speeds.

Description: FIELD OF THE INVENTION The invention relates to a method of and a system for transmitting and receiving digitally encoded video images. Transmitting and receiving digitally encoded video images are also to be understood to mean their recording and playback. The invention further relates to video recorders and, more specifically, to video recorders operated at higher than recording speed. BACKGROUND OF THE INVENTION Various methods of encoding video images are known in the art. Currently preferred encoding methods are based on Discrete Cosine Transformation (DCT) by which blocks of pixels, or blocks of differences between actual and predicted pixels, are transformed into coefficients representing spectral components of the video image. The DCT-coefficients of each block are scanned in a predetermined order corresponding to their significance. The first coefficient is the most significant one. This coefficient generally represents the DC level of the block and is further referred to as the DC coefficient. The others are AC coefficients. After quantization, the coefficients may be applied to a Variable Length Coder (VLC). When subjected to variable length coding, each block of pixels is conveyed as a sequence of codewords of variable length. In order to avoid a total loss of synchronization when a transmission error occurs, a special sync code is transmitted regularly to indicate the start of a group of blocks. A transmission error now only affects the recovery of codewords being transmitted until the next sync code. Despite the sync code, a problem of the transmission format mentioned above remains its lack of robustness against transmission errors. A single transmission error may still result in erroneous decoding of VLC-codewords up to the detection of a subsequent sync code. Consequently, a transmission error causes the loss of a number of DCT-blocks and thus affects a significant part of the video image. Similar problems arise in video recorders. When digitally encoded video images are played back at a higher than recording speed, only part of the data on each track is read out. Substantial parts of the data for an image are now not received at all. An approach to this problem is known from European Patent Application EP-A-0 448 491 and International Patent Application WO-A-91/02430. Herein, the DC coefficients of a group of blocks are transmitted prior to the AC coefficients of said group. Each DC coefficient of a group is thereby completely transmitted or recorded prior to the next DC coefficient of the group. This prior art method has the disadvantage that at high playback speeds, when only a portion of the DC information is read, the DC coefficient of some blocks is reconstructed completely whereas the DC coefficient of other blocks is lost. SUMMARY OF THE INVENTION It is an object of the invention to furnish a method of and a system for transmitting and receiving digitally encoded video images which is less sensible to loss of data. It is also an object of the invention to furnish a method of and a system for recording video images in which good picture quality is obtained during playback at higher speeds, even for images having a substantial motion content. According to the invention, there is provided a method as defined by claims 1 and 3, an apparatus as defined by claims 2 and 6 and a signal as defined by claim 7. According to the invention, the method is characterized in that the step of transmitting the DC coefficients of a group comprises transmitting one or more most significant bits of the DC coefficients of said group prior to the less significant bits of said DC coefficients. Herewith is achieved that in case of a very early transmission error, or when only a small portion of a track is read at high playback speeds, at least the one or more most significant bits of all DC coefficients of a group of blocks are received, so that at least the most significant fraction of said DC coefficients can be reconstructed. The invention is based on the following recognition. The earlier a transmission error occurs after a sync code, the more subsequent codewords are irrecoverable. Or, in other words, the later a codeword is transmitted, the higher its probability of being irrecoverable. The invention provides the possibility of first transmitting the most significant bits of all the DC coefficients of a group of data blocks so that at least the corresponding most significant portion of the DC level of each block can most likely be reconstructed upon a very early occurring transmission error or when only a very small portion of a track is read at high playback speeds BRIEF DESCRIPTION OF THE DRAWINGS Figs. 1 and 2 show known methods of transmitting digitally encoded video images. Fig. 3 shows a method of transmitting digitally encoded video images in accordance with the invention. Figs. 4A and 4B show one track of a recording medium with conventional block sequential recording. Figs. 5A and 5B show ways of partitioning an image into segments, and Fig. 5C shows a couple of tracks on the tape. Fig. 6 shows the tracks associated with fine sequential frames. Fig. 7 illustrates more in detail the recording of the information on a track, and the portion of a track readable at different multiples of the recording speed. Fig. 8 shows another recording format according to the present invention. Fig. 9 shows track shuffling according to the present invention. Fig. 10 shows an apparatus for carrying out the present invention. DESCRIPTION OF EMBODIMENTS Fig. 1 shows a known method of transmitting digitally encoded video images. The image is divided into a plurality of blocks, each block comprising, for example, 8*8 pixels. The blocks of pixels are then subjected to a discrete cosine transform (DCT). Alternatively, blocks of prediction errors (differences between actual and predicted pixels) are subjected to DCT. DCT results in a data block of 8*8 coefficients for each block of 8*8 pixels. A group of N data blocks DCT-B1, DCT-B2, .. DCT-BN is shown in Fig. 1A. Such a group constitutes, for example, a horizontal image segment having a height of eight video lines. The coefficients of each individual data block are scanned in a predetermined order corresponding to their significance. As is shown in Fig. 1A, this scanning usually takes the form of a zig-zag pattern. The 64 coefficients of each block are then subjected to variable-length-coding. In this coding operation, the coefficients having the value zero (null-coefficients) are not separately coded but they are concatenated with a non-null-coefficient. The VLC-coder thus provides, for each block, a variable number of variable-length codewords. The first codeword is indicative of the DC-level of the block of pixels. The last codeword is an EOB-code indicating the end of the block. In Fig. 1B, the first data block DCT-B1 of the group is encoded in four codewords CW1-B1, CW2-B1, CW3-B1 and CW4-B1. Each rectangle in Fig. 1B represents a single bit of the codeword. Thus, Fig. 1B indicates that the codewords of the first data block DCT-B1 have a length of 2, 6, 3 and 2 bits, respectively. The other blocks Bi are similarly encoded in codewords CW1-Bi, CW2-Bi, ... etc. The arrows interconnecting the codewords of the group of blocks in Fig. 1B show a conventional order of transmission of the codewords. The codewords CW1, CW2, ... of the first data block B1 of the group are transmitted first, then the codewords CW1, CW2, ... of the second data block B2, etc. Finally, the codewords CW1, CW2, ... of the last data block BN are transmitted. A sync code (not shown) precedes the transmission of all codewords of the group of data blocks B1, B2, ... BN. It is assumed that the sync code is always reliably detected at the receiver end. If a transmission error occurs, the codewords following the error up to the sync code of a next group of data blocks may no longer be recovered. As Fig. 1B clearly illustrates, such an error causes a number of data blocks to be lost completely. Fig. 2 shows another known method of transmitting the digital video image. The codewords are the same as in Fig. 1, but now they are shown horizontally. The arrows indicate the new order of transmission, from left to right and from top to bottom. After the sync code (not shown), the first codewords CW1-Bi of each data block DCT-Bi (i= 1..N) are now transmitted first, then the second codewords CW2-Bi of each block DCT-Bi, then the third codewords CW3-Bi, etc. If a transmission error occurs, the subsequent codewords up to the next sync code can no longer be recovered. The codewords preceding the error are unaffected. Thus, unless the error occurs in the transmission of the first N codewords, at least each first codeword CW1 (i.e. the DC level) of any block of the group is still recovered. This results in a better overall picture quality than in the prior art method where some blocks are not affected while other blocks are not received at all. The later an error occurs, the more image details of each block can be reconstructed. Fig. 3 shows an embodiment of the transmission method in accordance with the invention. As the arrows indicate, the most significant bit of the first codeword CW1 of each block is now transmitted first. Then the second bit of the first codeword of each block follows, etc. Thus, unless the error occurs in the transmission of the first N bits after the sync code, at least the most significant portion of the DC level of each block can be reconstructed. Fig. 4A shows a known method of recording information on a track of a recording medium, e.g. a tape. Again, the image is divided into a plurality of blocks, each block encompassing, for example, 8x8 pixels. These blocks are then subjected to, for example, discrete cosine transform. Resulting data is recorded on the tape. In Fig. 4A such data block is indicated DCT-Bi wherein i = 1, 2, ... N. It is now assumed that the DC coefficient and the most significant AC coefficient are recorded in a fixed format, in Fig. 4A indicated FBi, followed by the remaining AC coefficients for example in decreasing order of significance encoded in variable wordlength coding, in Fig. 4A indicated VBi. The same order is then followed for sequential blocks until the track is filled. In accordance with a preferred embodiment of the present invention, the image to be displayed is divided into segments, each segment being recorded on a track. Figures 5A and 5B show two ways in which a displayed image 10 may be divided into six segments, S1, S2, S3 etc. Fig. 5C shows three tracks 12, 14 and 16 on which segments S1, S2, S3 will, respectively, be recorded. The remaining tracks, namely those for recording segments S4, S5 and S6 are identical and therefore not illustrated. It is noted that in consumer video recorders each track is partitioned into two sub-tracks each comprising part of the information of the corresponding segment. In fig. 5C such sub-tracks are indicated by the reference numerals 12a, 12b for track 12, by 14a, 14b for track 14 etc. In order to avoid a mutual influence of the information on adjacent sub-tracks when such information is read from the tape, the well known azimuth recording is used. In fig. 5C this is indicated by the herring-bone structure. Fig. 6 illustrates the tracks associated with five sequential frames. For simplicity the tracks are drawn in a vertical direction, whereas in practice they will show an angle with the tape direction (confer fig. 5C). In this embodiment each frame has six tracks associated therewith. When playback takes place at the recording speed, the playback heads scan each track along what is, in Fig. 6, the vertical axis. This is not the case for search scans at higher than the recording speeds. Specifically, line 20 illustrates the path of the heads relative to the tape at three times the recording speed, while the lines numbered 22 illustrate the path of the heads relative to the track at six times the recording speed. Even though Fig. 6 represents simplified conditions such as linear tracks and heads having a width equal to the width of the associated tracks, it can be seen that only parts of the tracks will be read at the higher search scan speeds and that, specifically, the part of each track that is read out will decrease with an increase in the search scan speed. Specifically, it can be shown that for the above model using a scanner with two diametrical heads at 180° apart, and assuming that the signal-to-noise ratio (SNR) is allowed to drop with a factor two, then the fraction of each track which will be read out is equal to 1/[2 (p-1)] where p is the ratio of the search speed to the recording speed. The problem solved by the present invention is thus to arrange the information of the tape in such a way that reconstruction of the total image is possible at a number of search speeds higher than the recording speed, even if some degradation of the image occurs. One known way in which image defining data is recorded on a track of a recording medium is shown in Fig. 4B. There, the fixed part of the first block is followed by the fixed part of the second block, etc. until the complete fixed data for the track, namely, in the preferred embodiment, the fixed data for 1620 blocks (in general M/6 wherein M is the number of blocks of an image) has been recorded in a super fixed block SFB. Thereafter, all the variable wordlength data for block 1, the corresponding information for block 2 etc. will be recorded until all of the variable wordlength data associated with that track has been entered in a super variable block SVB. As a result, about 25% of the tracklength is taken up with the most significant DC and AC data for all blocks on the track. A possible arrangement of the data in the super fixed block of a track is illustrated in detail in Fig. 7. First the four most significant bits of the first DC coefficient are recorded. Next the four most significant digits of the second DC coefficient, and so on until the first 4 most significant digits of all N = M/6 blocks on the track have been entered. The reason that the four most significant bits of each DC coefficient are recorded together is because at least four bits of the DC coefficient are required for acceptable image quality. Next, to be entered is the fifth most significant bit of all DC coefficients, then the sixth, and so on, until all seven bits of the DC coefficients of the blocks on the tracks have been recorded. Next come the most significant bits of the AC coefficients until all most significant bits of the first AC coefficient of each block have been recorded. Also shown in Fig. 7 are lines with arrows indicating the fields of usable data read from the illustrated track at different search speeds. At a search speed equal to three times the recording speed V 0 , 25% of the total track will be read, i.e. the whole fixed wordlength part of the data will be available. At a search speed equal to six times the recording speed, 1/10 of the total track which is a substantial part of the fixed portion SFB will be read. The values continue to decrease until at a search speed equal to 24 times the recording speed only the 4 most significant bits of the DC coefficients would be read out. Though this will cause a rougher quantization of the grey-scale for the different blocks, the image thus obtained is still acceptable in that sense that the displayed image can still be recognized. At higher search speeds, however, the fraction of data read from each track becomes so small that it then becomes more desirable to use fewer blocks and to interpolate the missing ones. The recording of the fixed portion of the track for this type of processing is illustrated in Fig. 8. Here the four most significant bits of the DC coefficient of the first block are followed by those of the third block, next those of the fifth block, etc. until the most significant bits of all odd-numbered blocks have been recorded. Next follows the same data for the even-numbered blocks. At a search speed higher than 24 times the recording speed, the available DC data from the odd-numbered blocks will be used to interpolate the corresponding data for the even-numbered blocks in the playback system. Search speeds of 48 times the recording speed can thus be achieved with, of course, a deterioration in image quality. A second problem exists with regard to the recording proposed herein. Since the most significant information is contained in the first 25% to 30% of each track, it is important that this first part of each track be read. Reference to Fig. 6 shows, however, that even at a search speed of 3 times the recording speed the first part of the track is only read for tracks 1 and 4 of each recorded frame Hn. The first part of tracks two, three, five and six of recorded frame n is never scanned. A shuffling scheme is thus adopted so that parts of the SFB fields of tracks 2, 3, 5 and 6 will be read out from the subsequent recorded frames n+1 and n+2, respectively. The result of this is that during one display frame period, segment data of three recorded frames n, n+1, n+2 can be read from tape. The shuffling scheme now guarantees that the data is distributed on tape in such a way that sufficient data is collected from the tape at that search speed to reconstruct a complete image, though all data for that image does not belong to the same frame. A shuffling scheme to accomplish this purpose is illustrated in Fig. 9. It is a track shuffling scheme. In the first frame n, data is recorded in the order of track number starting at track 1. For the next frame, however, the information which would normally be recorded on track 2 is recorded on track 1. Similarly, the information recorded on the remaining tracks is that which would normally be recorded on the next track. Information which would normally be recorded on track 1 is recorded on track 6. Thus at a search speed of 3V 0 information from tracks 2 and 5 of recorded frame n+1 will be read from tape. Finally, data from tracks 3 and 6 of recorded frame n+2 is read from tape. Thus at a search speed of 3V 0 , after 3 recorded frames have passed the scanning heads, the basic data required for the reconstruction of an image is available. In Fig. 9, the circled numerals indicate the tracks from which information is read at a search equal to 12 times the recording speed V 0 , while arrows point at the tracks from which information read at a search speed equal to 24 times the recording speed V 0 . It will be noted that it is essential that the ratio of the search speed to the recording speed V 0 , p, is an integral multiple or submultiple of the number of tracks per frame. It is further necessary that during one display frame period data from in this example six different tracks becomes available after a number of recorded frames not exceeding the said ratio has passed the recording heads. Thus, as already mentioned above, at a search speed equal to 3 times the recording speed tracks 1 and 4 will be read from the recorded frame n, tracks 2 and 5 in the recorded next frame n + 1 and tracks 3 and 6 in the recorded third frame n+2. For a search speed to recording speed ratio of 6, the information from the required six different tracks will be read from the first 6 recorded frames. At a search speed equal to 12 times the recording speed the first part of every 12th track, i.e. the first part of one track per two frames will be read, while at a search speed equal to 24 times the recording speed the first part of the first track of every 4th frame will be read. It will be clear that in the last situation the six required tracks will be read from twenty-four successively recorded frames. Figure 10 shows an apparatus for carrying out the method according to the invention. An incoming video signal in analog form is converted to a digital form in an analog/digital converter 30. The digital signal at the output of stage 30 is applied to a processing stage 32 in which the line-by-line pattern of the incoming signal is converted to a block pattern of 8x8 pixels each. The resulting blocks are coded in a source coder 34 in accordance with a discrete cosine transform (DCT). At the output of stage 34 there are therefore the DC coefficient as well as the AC coefficients with attendant addresses resulting from the discrete cosine transformation. These values are stored in a memory 36. Memory 36 is sufficiently large to hold all data for a group of blocks. Preferably, the memory is twice as large as that so as to allow one group of blocks to be written in the memory while a previous group is applied to a formatter circuit 38. In the formatter circuit 38 the data is read out from memory in the required order. It is then transmitted or recorded on a tape (recording medium) via a recording head 40. Reception or playback takes place by means of a playback head 42 which applies its output to an inverse formatter circuit 44. The output of the inverse formatter circuit, which consists of the DCT coded blocks, is applied to a memory 46, the data stored therein being utilized by inverse source coder 48 to derive the original block data from the DCT coded blocks. A post-processor 50 then converts the data from blockform to the line-by-line scan required for the display. Finally, a digital/analog converter 52 furnishes an analog output suitable for display on a standard TV monitor. Although the present invention has been described with respect to a specific preferred embodiment, various changes will readily occur to one skilled in the art. For example, a different order of data within the part of the track that will be read out at any given speed may be used. A different track shuffling scheme may be devised. The invention can be used in conjunction with actuators, i.e. at speeds at which the actuators can no longer be properly controlled, etc. All these and others which will occur to one skilled in the art are intended to be encompassed in the following claims.

Claims: A method of transmitting digitally encoded images, comprising the steps of: dividing each image into blocks; transforming and encoding said blocks into encoded blocks (DCT-Bi) each comprising a DC coefficient (CW1-Bi) and a plurality of AC coefficients (CW2-Bi, CW3-Bi,..); and transmitting, for a group of blocks, the DC coefficients of said group prior to the AC coefficients of said group, characterized in that the step of transmitting the DC coefficients of a group comprises transmitting one or more most significant bits of the DC coefficients of every block of said group prior to the less significant bits of the DC coefficients of every block of said group. An apparatus for transmitting digitally encoded video images, comprising: means (32) for dividing each image into blocks; means (34) for transforming and encoding said blocks into encoded blocks each comprising a DC coefficient and a plurality of AC coefficients; and means (36,38) for transmitting, for a group of blocks, the DC coefficients of said group prior to the AC coefficients of said group, characterized in that the means (38) for transmitting the DC coefficients of a group are adapted to transmit one or more most significant bits of the DC coefficients of every block of said group prior to the less significant bits of the DC coefficients of every block of said group. A method of recording digital data defining a plurality of images on substantially parallel tracks of a recording medium, comprising the steps of: dividing each image into blocks; transforming and encoding said blocks into encoded blocks each comprising a DC coefficient and a plurality of AC coefficients; and recording groups of encoded blocks on respective tracks, thereby recording the DC coefficients of a group prior to the AC coefficients of said group, characterized in that the step of recording the DC coefficients of a group comprises recording one or more most significant bits of the DC coefficients of every block of said group prior to the less significant bits of the DC coefficients of every block of said group. A method as claimed in claim 3, wherein the one or more most significant bits of selected DC coefficients of a group of encoded blocks are recorded prior to the one or more most significant bits of the remaining DC coefficients of said group of encoded blocks. A method as claimed in claim 4, wherein the one or more most significant bits of the remaining DC coefficients are recorded immediately following the one or more most significant bits of the selected DC coefficients. A recording apparatus for recording digital data defining a plurality of images on substantially parallel tracks of a recording medium, comprising: means (32) for dividing each image into blocks; means (34) for transforming and encoding said blocks into encoded blocks each comprising a DC coefficient and a plurality of AC coefficients; and means (36,38) for recording groups of encoded blocks on respective tracks, thereby recording the DC coefficients of a group prior to the AC coefficients of said group, characterized in that the means (38) for recording the DC coefficients of a group are adapted to record one or more most significant bits of the DC coefficients of every block of said group prior to the less significant bits of the DC coefficients of every block of said group. A digital image signal, comprising a plurality of images, each image being divided into blocks which have been transformed and encoded into encoded blocks each comprising a DC coefficient and a plurality of AC coefficients, a plurality of encoded blocks being grouped to constitute a group of encoded blocks, the DC coefficients of a group preceeding the AC coefficients of said group, characterized in that one or more most significant bits of the DC coefficients of every block of a group preceed the less significant bits of the DC coefficients of every block of said group.

Inventors: DE WITH PETER HENDRIK NELIS, KEESMA GERRIT JOHAN, NIJSSEN STEPHANUS JOSEPH JOHAN, RIJCKAERT ALBERT MARIA ARNOLD, DE WITH, PETER HENDRIK NELIS, KEESMA, GERRIT JOHAN, NIJSSEN, STEPHANUS JOSEPH JOHANNES, RIJCKAERT, ALBERT MARIA ARNOLD
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 1992
Main classification: H04N7
IPC codes: H04N7, G06T9, H04N5