METHOD OF MULTICHANNEL DATA COMPRESSION

Abstract: A method for compressing multiple channels using an MPEG-compatible technique (Fig.: block 96). The method encodes differences between frames within and among each channel (Fig.: blocks C1, C2, and CN). Some frames are predicted and some are skipped. Differences between the current and predicted frames for each channel are compared to a threshold E0 for each successive group of frames, after each group of each channel is encoded. If for any of the groups of frames, the difference between the current and predicted frames of any of the channels reaches the threshold, the method inserts an I-frame into the sequence of encoded frames, to restart encoding. Computing the differences and encoding I-frames is implemented for both intra- and inter-channel differences. The encoded frames are transmitted to a decoder for display. The method uses artificial intelligence or fuzzy logic.

Description: METHOD OF MULTICHANNEL DATA COMPRESSION 1. Field of the Invention The present invention relates to video compression systems, and in particular systems that utilize a motion estimation method to compress video data. 2. Background of the Invention Image compression reduces the amount of data necessary to represent a digital image by eliminating spatial and/or temporal redundancies in the image information. Compression is necessary in order to efficiently store and transmit video image information, e.g. , over the internet. Without compression, most applications in which image information is stored and/or transmitted would be rendered impractical or impossible. A few seconds worth of raw video data could easily fill up and overwhelm an average PC's hard drive. In the art, single channel video compression can be accomplished by taking an initial frame of a video in uncompressed form, and using that frame as a reference frame for encoding video information pertaining to subsequent frames. Rather than encoding and transmitting the entire video content of each frame, the frames are compressed by initially determining the differences between predetermined frames in a sequence, including an initial frame and a predicted frame, and then transmitting only these differences to a decoder. The decoder then reconstructs at least some of the frames of the video based on these differences. Such motion estimation systems also "skip" a number of frames (intermediate frames) which can be readily estimated because they typically include relatively few motion changes from the previous frame. As a result, the actual video content of only a certain number of frames, e.g. , every fourth frame, is analyzed. To accommodate the resultant gaps, the intermediate frames are predicted based on the relationships between the predetermined frames and the differences between them. By utilizing such motion estimation methods, an entire video can be transmitted and reconstructed with high image quality and relatively low transmission bandwidth, which are critical features for transmitting video data. For instance, considering that if one assumes 512 2 number of pixels, 8-bit gray level, and 30Hz full-motion video rate, a bandwidth of 60Mbps is required. To compress the video data into the required data rate of 128 kpbs from a full video uncompressed bandwidth of 60 Mbps, a 468: 1 image compression rate is required. And, for VGA full motion video, this compression rate requirement is quadrupled. Another necessary feature of video compression concerns accounting for large motion changes in the sequence of frames. For example, MPEG video compression is capable of accounting for such changes, in a single channel of video, by asynchronously sending an "I frame" (essentially a new reference frame). However, the I-frames are inserted every 15 frames regardless of video content. By introducing I-frames asynchronously into the encoded video bit stream, such systems inefficiently increase signal bandwidth. For example, when an I-frame is inserted into a series of encoded frames not containing significant motion, bandwidth is unnecessarily used because transmission of an entire new frame is unnecessary. To the contrary, when an I-frame is not inserted in the video bitstream when the sequence of frames includes a lot of motion, significant errors and artifacts are created. The single channel compression method discussed in general terms immediately above will hereinafter be more specifically described in conjunction with the appended figures. As shown in Fig. 1, a method 10 for forming a compressed video data stream for a single channel of video includes taking an initial frame S, from a single source, e.g., a video camera, and typically compressing frame S, with standard compression techniques. Next, method 10 skips or ignores a predetermined number of subsequent frames, e.g., the two frames shown in phantom in Fig. 1, and predicts the next frame, P, 1 . Then, the error or difference Δ, 1 between frame S, and the predicted frame (and in this case third subsequent frame) P, 1 . Method 10 next computes and encodes "filler" frames, B, 1 and B 2 \ which are predicted forms of the skipped frames, the second and third frames in Fig. 1. The predicted B frames are derived based on the Sj frame and the P, 1 frame (as shown by the two-headed arrows in phantom in Fig. 1) and the differences, Δ, 1 , between them, using known techniques. By compressing the frames in this fashion, the encoder encodes only the differences Δ, 1 , along with the full video content of initial frame S, (in compressed form), thus providing sufficient information to reconstruct S, and P, 1 . A highly encoded skeletal portion of the intermediate predicted frames B, 1 and B 2 ! may also be encoded; notably, however, when transmitted, this information does not significantly affect the signal bandwidth. As mentioned above, an additional encoding step involves accounting for significant changes in motion between successive frames by either asynchronously inserting an I-frame into the video data bitstream or, as shown and described in the above-referenced application No. 08/901,832, determining, with specially designed "smart" software, whether inserting an I-frame is warranted by motion changes in the sequence of frames. The latter approach typically involves segmenting the frames into search blocks and accumulating the error between corresponding blocks of the initial S-frames and their corresponding P-frames, i.e. , the predicted third subsequent frames. When the accumulated error exceeds a predetermined threshold value, a new I-frame is substituted as the next subsequent frame, and the encoding begins as described above by computing the differences between the new reference initial frame, I,, and the next predicted P frame, the third subsequent frame thereafter. With the I-frame as the new reference initial frame, the encoder determines the motion differences, A 2 between frame I,, and the next predicted P frame, P 2 \ while the intermediate frames B, 1 ' and B 2 1; are computed in accordance with known techniques, as discussed previously. If the error does not reach the threshold, meaning that the image correlation between the subject frames is above the threshold value, the existing P frame signal is retained for the beginning of what is the second successive group of frames to be encoded. In this case, the P, 1 frame becomes the reference initial frame for the next group of frames. The system continues to encode the frames in such successive groupings to provide a compressed data bitstream representing the entire video. Referring next to Fig. 2, the encoded signals can be transmitted in a sequence 12 (representing only a portion of the frames of the video) to a decoder. Note that the series of signals of the transmission sequence shown in Fig. 2 does not reflect any occurrence of high motion in the sequence of frames, i.e., no I- frames have been encoded. Initially, in Step 14, the encoder transmits the first group of encoded signals, Group I, to the decoder. These signals include the encoded initial reference frame Sj and the Δ, 1 signal, and typically the B-frames, typically transmitted in that order. Next, the encoder in Step 16 transmits the second group of signals (Group II) which, when an I-frame is not encoded in the sequence, includes only the Δ 2 ! signal followed by, when appropriate, the intermediate B, 1 ' and B^' frames. Unlike the Group I signals which included a compressed form of reference initial frame S l5 the reference initial frame corresponding to Group II, which is Pi 1 , does not need to be sent because the decoder already decoded and stored the Pj 1 frame in memory when it decoded the Group I signals. In sum, when an I-frame is not encoded, the new reference frame for the next group of signals will not have to be sent because the new reference frame will be the decoded and stored P frame from the previous Group. The encoder then proceeds to send the Group III signals which include the A 3 signal followed by signals indicative of the compressed skeletal forms of the B, 1 " frame and the B 2 ! " frame in Step 18. Similarly, method 10 then transmits subsequent groups of signals until all encoded frames of the video are transmitted. Note that sequence 12 is presented for illustrative purposes only and that, in reality, video usually exhibits at least some significant motion changes which will be reflected by the insertion of encoded I-frames in the compressed video data stream. The receiver/decoder then executes a method 24, as depicted in Fig. 3, to re-create the sequence of frames of the single channel of video. (Note that the symbolic representation {x, y} → w indicates that signals "x" and "y" are combined in a preprogrammed manner by specially designed algorithms to produce the signal "w".) After receiving the encoded signals of Group I in Step 26, method 24, in Step 28, decompresses reference initial frame Sj. Thereafter, method 24 performs Step 30 by decompressing Δj 1 , the signal which represents the motion difference between the reference initial frame, S 1; and the predicted P frame, P, 1 , for Group I. The decompression performed by the method in Steps 28 and 30 is standard decompression of the corresponding signals that were compressed using standard compression techniques in the encoding process; for example, as mentioned previously MPEG, compression/decompression can be used. Then, in Step 32, method 24 combines Group I signals S, and Δ, 1 to recreate frame P, 1 , which is thereafter used in combination with S, and Δ, 1 in Step 34 to re-create predicted frames Bj 1 and B 2 \ With the S, frame restored in this manner, and the P, 1 frame re-created, the decoder can transmit the signals indicative of these frames to a display unit (not shown), as depicted in Step 36, in the sequence indicated, i.e. , S,, B^, B 2 * and finally Pj 1 . Next, method 24 executes Step 38 to determine whether an I-frame was encoded into the video bitstream of the second group of frames (Group II). Again, in standard video compression an I-frame is inserted into the video bitstream every 15 frames regardless of the video content, while the method in the above-referenced pending application, incorporated herein, only inserts an I-frame when high motion content is present. The latter method is preferred. In the event that an I-frame is not encoded (as in the examples described in connection with Figs. 1 and 2), method 24 executes Step 40 by decompressing A 2 using, for example, MPEG decompression algorithms. Using A 2 method 24 recreates the next P frame, P 2 \ in Step 42 by combining Δ 2 ! with the reference initial frame for Group II, P, 1 (stored in memory when the Group I signals were decoded in Step 32). After creating the P frame P 2 \ method 24 combines the new reference initial frame, the P frame of Group I, P, 1 , along with the just created P frame (the reference predicted frame), P 2 \ and the motion difference signal A 2 X to create B frames B, 1 ' and B^' in Step 44. Once the aforementioned signals have been created, the decoder transmits the decoded signals to the display unit in the sequence shown in Step 46, i.e., Bj 1 ', followed by B 2 ' and finally followed by P 2 ' (representing, in this example, the seventh frame of the video). This re-creation, transmission and display of the groups of signals is re-executed until the entire video is displayed (Step 48). In the event that an I frame is encoded into the video bitstream as the next subsequent frame, the decoder substitutes Ij for Sj and executes the Steps of method 24 from the beginning. In particular, the method 24 decompresses I] in Step 50, using standard decompression algorithms and then, in Step 52, decompresses the encoded signal relating to the differences between Ij and the P frame, P ι(new Λ associated with I,, A,^-, 1 . Then, P^^ 1 is reconstructed by combining I,, with Δ 1(new) ' (Step 54). Then, the highly encoded B frames, B 1(nev/) l and B 2(new) 1 , are reconstructed in accordance with algorithms that combine I,, Δi (new) 1 and P^ w , 1 in a pre-programmed fashion (Step 56). In Step 58, the decoder transmits the decoded signals I 1 ( B^^ 1 , B 2(new) 1 and P.^ ) 1 to the display unit for display in that order. Although the above-described system provides advantages relating to efficient use of bandwidth without sacrificing video quality in a single channel system, the art of video signal compression is in need of a system that can provide data compression of multiple sources of video. A system is desired which not only can determine differences among frames within a channel, but can cross correlate frames from multiple sources. Such a system would be particularly beneficial with regard to applications in which there is a high degree of similarity between the information obtained by each source, wherein entire video content does not need to be transmitted to recreate the video from each source. There are a variety of such multiple-channel applications. For instance, stereoscopic data consists of multiple channels of input, typically two sources looking at an object from two points of view, for forming a 3-D image. Clearly, there is a significant amount of redundant information between the two sources. Another quite common application is capturing video in a "look-around" environment where multiple cameras are utilized to look at a range of scenery or a designated object, with each camera accounting for one channel of data representing a particular view of the designated object or scene, e.g, from a variety of angles. In either of these situations, it would be desirable to coordinate the multiple sources such that the redundant information between the sources would not have to be encoded and transmitted to re-create the entire video of each source, thus tending to maximize the throughput of data and conserve signal bandwidth. In yet another application, a single camera may be used to look at a spectral image whereby the signal obtained is divided into separate channels based upon narrow bandwidth windows using filters. When looking at such images, hundreds of channels can be realized within a few nanometers. Notably, the image data in each such channel contains a tremendous amount of correlated data vis-a-vis adjacent channels, each channel corresponding to a slightly different bandwidth. It is very inefficient to transmit full video content of each of these channels. In still another application, data captured by a single source at different times may have a significant amount of correlated data, as may be the case when using a video phone from a particular environment to send information over the internet. For example, if the user transmits a video phone message over the internet on a subsequent day from the same place as on a previous day, much of the surrounding information will stay the same, and only certain aspects of the transmission will change, e.g., the face expressions of the user. Due to the amount of similar data from each of the transmissions, it is inefficient to encode and transmit all the information contained in each message. In each of these applications, all of the captured information does not need to be encoded because there is a relatively high degree of similar information gathered by each of the sources. Therefore, a system is desired that, in conjunction with standard compression techniques, takes advantage of this redundant information. SUMMARY OF THE INVENTION The present invention provides an efficient method of data compression for multiple channels of, preferably, video. The present system takes advantage of the significant amount of redundant information that is present in a variety of video applications by encoding only the differences between the frames of each channel (intra-channel compression) and the differences among corresponding frames of separate channels (inter-channel compression). According to the preferred embodiment of the present invention, a method for compressing a plurality of channels of video includes the steps of taking an initial frame of each channel and predicting a plurality of subsequent frames, wherein each of the predicted frames corresponds to one of the initial frames. Thereafter, the method computes the difference between each of the initial frames and its corresponding predicted frame, and compares the differences to a predetermined threshold value. In the event that any difference between the initial frame and its corresponding predicted frame reaches the threshold value, the method inserts an I-frame as the next subsequent frame of each channel in the sequence of encoded video signals. According to a further aspect of the invention, for each channel, each of the initial frames and each of the corresponding predicted frames are divided into search blocks. Thereafter, the differences between each block of the initial frame and a corresponding block of the corresponding predicted frame is determined. The block differences for each channel are accumulated and the accumulated block differences are compared to a threshold value. If any accumulated block difference reaches said threshold, the method inserts an I-frame as the next subsequent frame either for all of the channels or for that particular channel only. According to a still further aspect of the invention, the method includes encoding a group of video frames including a predetermined number of consecutive frames of each channel. In particular, encoding the video frames includes taking an initial frame of each channel, including a reference channel having a reference initial frame and then predicting a subsequent frame, including a reference predicted frame, of each channel wherein each of the predicted frames corresponds to one of the initial frames. Thereafter, the method determines, for each channel an intra-channel difference between each of the initial frames and its corresponding predicted frame. In addition, the method determines an initial inter- channel difference between the reference initial frame and each of the initial frames of the remaining channels. The method then determines a predicted inter- channel difference between the reference predicted frame and each of the predicted frames of the remaining channels. If any intra-channel difference, initial inter- channel difference or predicted inter-channel difference exceeds a corresponding predetermined threshold, the method encodes an I-frame having full video content that restarts the encoding process. For both of the inter-channel difference determinations, the method generates a signal indicative of the respective inter- channel difference. According to a still further aspect of the invention, the compression method includes transmitting and reconstructing the frames of each of the channels of video in a decoder. Initially, the method decompresses the reference initial frame of the reference channel, encoded with its full video content using standard decompression techniques using information from the frame itself such as MPEG intra-frame decompression. Thereafter, each of the initial frames is reconstructed from the reference initial frame and a corresponding one of the initial inter- channel difference signals. Thereafter, the reference predicted frame is reconstructed from the reference initial frame and a corresponding one of the intra-channel difference signals. Finally, the method reconstructs each of the predicted frames, except the reference predicted frame, by processing the reconstructed reference predicted frame and a corresponding one of the predicted inter-channel difference signals. This decoding process is repeated for each successive group of encoded frames, which may include one or more I-frames that restarts the encoding process. As such, the decoder can then transmit the decoded signals to a display unit for display in a proper sequence. These and other features, advantages and objects of the present invention will be further appreciated by those skilled in the art by reference to the following specification, claims and appended drawings. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram illustrating a method of compressing frames of a single channel of video data; FIG. 2 is a flow diagram illustrating a sequence for transmitting the data encoded in FIG. 1; FIG. 3 is a flow diagram illustrating a method of decoding the data transmitted as shown in FIG. 2, further illustrating the method Steps for decoding an I frame; FIG. 4 is a block diagram illustrating a system of the present invention for encoding, transmitting, decoding, and displaying a plurality of channels of video data; FIGS. 5-10 are schematic diagrams illustrating Steps of a method for encoding multiple channels of video data with the system shown in FIG. 4, in the case that no high motion content is encoded in the sequence; FIG. 11 is a flow diagram illustrating a transmission sequence according to the present invention for transmitting data encoded as shown in FIGS. 5-10; and FIG. 12 is a flow diagram illustrating a method of decoding the video data transmitted as shown in FIG. 11, further illustrating the Steps of the decoding method when an I frame is encoded and transmitted. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to FIG. 4, a system 70 for encoding multiple channels of video data according to the present invention is shown. System 70 includes an encoder 74 that has multiple inputs for receiving video data signals, S, , S 2 , . . . S N from multiple sources or channels 72. Encoder 74 processes the video data signals input from channels 72, preferably in groups comprising a predetermined number of frames from each channel, with system firmware 76. Firmware 76 is preferably artificial intelligence (Al) fuzzy logic software that controls the encoding process, including determining when I-frames should be inserted. The Al/fuzzy logic software achieves high throughput, and consequently higher resolution of the video signals. Encoder 74 also includes software 78 for further compressing particular portions of the encoded video data in accordance with standard video compression techniques, such as MPEG intra-frame video data compression. This additional level of data compression enhances efficient use of available bandwidth without sacrificing video quality. In certain applications, after encoding at least a portion of the video data from each channel, encoder 74 transmits the resultant signals, in an appropriate sequence, to a receiver/decoder 80 that includes firmware 77 to re-create the video images. After reconstructing the video images of each channel 72 based on the encoded, transmitted signals, decoder 80 transmits the decoded signals to a display unit 82 for viewing by the user. Turning to FIGS. 5-10, a novel method of encoding multiple channels of video data using a motion estimation technique is shown. In Fig. 5, the encoding method of the preferred embodiment includes a first Step 84 for determining an initial inter-channel motion difference S 21 , S 31 . . . S N1 between the initial frames (Sj . . . , S N ) of each channel C,, . . ., C N . In particular, the initial frame S, of source C, (C, being the reference source) is a reference frame from which the differences between it and the first frames S 2 -S N of each of the other sources C C N are computed. For instance, the differences between the initial frame S 2 of source C 2 and the reference initial frame Sj are computed, the differences being designated S 21 . Similarly, the differences are computed for each of the other sources up to the Nth source, wherein the differences between the first frame S N of the Nth source C N and the reference frame S, is designated S N1 . Because the particular applications contemplated by the present invention utilize multiple sources that provide video data signals that contain a relatively large amount of redundant material, the only information that needs to be transmitted to decoder 80 (Fig. 4) to reconstruct the first frames of all channels is the full video content of reference frame S, and the differences between that frame (Si) and each of the remaining initial frames S 2 -S N . In other words, in the motion estimation method of the present invention, the redundant material among channels does not need to be encoded to reproduce high quality video images. For example, as described in further detail below, decoder 80 can reconstruct these initial images by adding the computed differences S 21 to the reference frame S, (both of which are preferably further compressed with standard compression techniques such as MPEG intra-frame decompression) to obtain the first frame S 2 of source C 2 . Turning to FIG. 6, a second Step 86 in the encoding method of the preferred embodiment includes determining an intra-channel motion difference (Δ,\ . . . , Δj N ) between the initial frame S,-S N of each channel C r C N and a subsequent corresponding frame which are actual frames at the encoding end of the system, identified as a "P" frame. This step is similar to the computation made for single channel compression described in the Background. To wit, for reference channel C,, Δ, 1 is computed by determining the differences between reference initial frame S, and reference predicted frame Pj 1 . By computing the motion difference between the initial frame of each of the sources and its associated P frame, only the intra-channel difference has to be encoded because it can be readily added to the initial frame to reconstruct the P frame. Specifically, when decoded, the differences Δ^-Δ, 1,1 are added to the corresponding initial frame S r S N of each of the sources to produce the P frames without ever having to encode the entire video content of each P frame. Notably, the difference signals Δ^-Δ^ are preferably further compressed using standard compression techniques, such as MPEG intra-frame compression. Note that, similar to standard single channel video compression using motion estimation, the method of the preferred embodiment skips a predetermined number of frames 88 of each channel, thus further reducing the data to be encoded. The number of skipped frames 88 is typically dependent upon the type of video being compressed such that for a high action video, wherein the differences between successive frames of each channel are relatively many, fewer frames should be skipped because there is a higher risk that significant data may be lost which may compromise video quality. As shown in FIG. 6, two frames 88 are skipped in each channel S r S N such that the P frame is the third subsequent frame after the initial frame (the four frames comprising a "Group"). After determining, in succession, each intra-channel difference (Δ } ! - Δ, N ) between the initial frame and an associated P frame for each of the sources (Step 86), the encoder of system 70 executes Step 90, shown in FIG. 7, by determining a predicted inter-channel motion difference (δ 1 ^, . . . , δ l m ) between the reference predicted frame P, 1 of the reference channel C, and each of the P frames P 1 2 -P 1 N of the other channels C 2 -C N . As a result, motion estimation compression is realized between the channels by encoding only the differences δ 1 ^- δ l m between the P frames, and not the entire frames. From these predicted inter- channel differences, along with reference predicted frame P, 1 (which must first be reconstructed itself), frames P, 2 -P, N can be re-created. Next, turning to Fig. 8, the encoder executes Step 92 by computing a number of predicted "B" frames for each channel C r C N corresponding to the number of skipped frames 88, the "B" frames being estimated "filler" frames for skipped frames 88. As indicated by the double arrows shown in phantom in FIG. 8, the video data pertaining to the reference frame S, and the associated P frame, P, 1 , is used to create B frames, B, 1 and B 2 ' of channel C,. In particular, based on the relationship of the video data of initial reference frame S,, the associated frame P, 1 , and the differences between these two frames Δ, 1 , the first pair of B frames corresponding to the reference channel can be computed. Although they are entirely predicted, the B-frames correlate to skipped frames 88 with a reasonable degree of accuracy. The more particular details of encoding the B frames are known by those skilled in the art and do not require further discussion here. Also, as discussed previously, if transmitted, only highly encoded skeletal forms of the B frames are sent, thus eliminating the need to encode any significant data pertaining to skipped frames 88. In Step 92, the encoder successively computes these B frames B, 1 B 2 ', . . . , B, N B 2 N for each source thus completing the initial encoding of the first group of frames. When encoded, the P frames are approximately ten times more compressed than the reference initial frame (10: 1 compression ratio), and the B frames are approximately twenty times more compressed than the reference initial frame. (20: 1 compression ratio). Note that the initial group of frames, shown in FIGS. 6- 8, including initial frames S r S N , the skipped frames and the P frames P 1 1 -P, N of each respective channel collectively comprise the first sequence of frames (Group I), and will hereinafter be referred to as such. After the Group I frames have been encoded as shown in FIGS. 5-8, encoder 74 utilizes firmware 76 (FIG. 4) to determine whether any of the series of frames of the first group for each channel exhibit a significant amount of motion, i.e. , whether the difference between the P frames P 1 1 -P 1 N and the initial frames S r S N for any channel C r C N reaches or exceeds a predetermined threshold E 0 (as described in the above-referenced pending application which has been incorporated by reference herein), thus calling for an I-frame to be encoded, and the encoding process to be restarted beginning with Step 84. On the other hand, if E 0 is not exceeded by any intra-channel difference, then the intra-channel differences for Group II, (Δ 2 '-Δ 2 N ), are encoded and the encoding process continues for each Group, as described above, until E 0 is exceeded by any subsequent intra-channel difference. Notably, the threshold E 0 is preset depending upon the content or type of the video such as action, or nature. For example, due to significant differences in subsequent frames in an action video, if the threshold E 0 is set too high and a new I-frame is not encoded in the signal sequence as a result (i.e., even though the situation demands it), significant data may be lost in the encoding of only predicted frames (P or B), which by definition include less than a full frame of information. In another embodiment of the invention, not only can an intra-frame difference Δ x trigger the encoding of an I-frame but an initial inter-frame difference S ^ , or a predicted inter-frame difference δ x xx can trigger the insertion of an I-frame. When an initial inter-frame difference reaches a second predetermined threshold E 0 ', or when a predicted inter-frame difference reaches a third predetermined threshold E 0 ", then an I-frame can be encoded in the sequence. Also, as mentioned previously, firmware 76 of encoder 74 (FIG. 4) is preferably implemented using artificial intelligence (AI)/fuzzy logic software to provide a smart system of I-frame insertion. Note that, as described in the incorporated application, the S and P frames can be segmented into search blocks or segments and an intra-channel difference can be computed for corresponding blocks of the S & P frames of each channel. The intra-channel block differences (block differences), each corresponding to a particular channel can then be accumulated for that channel and compared to E 0 to determine whether to encode an I-frame for either each of the channels or for that channel only. According to a further aspect of the invention, a "spatial distribution of error" method may be implemented with specially designed algorithms in the firmware 76 to determine the position of the blocks in the frames. If frames are located in an unimportant area of the frame, the encoding process will continue without inserting an I-frame, even though the intra-channel difference associated with that particular channel warrants the insertion of an I-frame. Using one method, the search blocks can be assigned a predetermined weighted value which will be used to determine whether its associated intra-channel difference is significant. If so, the method will accumulate the significant intra-channel block differences to determine, for that channel, whether an I-frame should be inserted. The method of determining the spatial distribution of differences is preferably implemented with Al or fuzzy logic and provides precise tuning of I-frame insertion. In the event that threshold E 0 is not exceeded by the accumulated error (i.e., an I-frame is not encoded), the encoding method executes Step 94 shown in FIG. 9 to begin encoding the Group II frames, including using the predicted reference frame P, 1 of Group I as the reference initial frame of Group II. More specifically, because in this case an entire new I-frame does not need to be sent by encoder 74, the existing P frame signals P 1 1 -P 1 N for each respective channel C r C N are retained, and take the place of the initial frames S r S N of Group I (FIGS. 5-8) in the encoding process. Further, the third subsequent frame of reference channel Ci, which now is the seventh frame, is predicted according to known methods and becomes the Group II reference predicted frame P 2 *. The difference between the encoding process for the Group II frames and that described above with respect to encoding the Group I frames is that Step 84, shown in FIG. 5 is no longer performed because the initial frames of Group II are the P frames P 1 '-P, N of Group I (described below). In other words, the differences between the P, 1 frame of the reference channel and each of the P frames of the remaining channels will have been encoded and saved in memory (for example, in decoder memory). As a result, P 1 1 -P 1 N will be accessible when reconstructing the Group II frames. The execution of the remaining steps of the encoding process shown in FIG. 6 (Step 86), FIG. 7 (Step 90), and FIG. 8 (Step 92) are collectively shown in FIG.10 as Step 96 wherein the new initial reference frame from channel C, is frame P, 1 and the new P frames are P 2 \ . . . P 2 N , preferably the seventh frames of each channel C 2 -C N . From these frames, new intra-channel motion differences Δ 2 \ . . . , Δ 2 N as well as new inter-channel motion differences δ 2 21 , . . . , δ 2 N1 can be determined and encoded. In addition, the B frames associated with Group II are also created as fillers for skipped frames 95 (FIG. 9). (Note that the notation convention used in FIGS. 9 and 10 comprising a dashed horizontal line and upwardly and perpendicularly extending arrows disposed on either end of the dashed horizontal line indicates that the information generally surrounded thereby does not have to be encoded because it was encoded in the immediately preceding group.) This encoding process continues as set forth above in Steps 84-86 for each Group which, in this case, consists of N channels having four frames each. In each respective Group, the P frames, and the differences between them, encoded as described above, serve as the initial reference frames for the next successive Group as long as the difference does not exceed the preset threshold E 0 . When system firmware 76 of encoder 74 (FIG. 4) determines that the image correlation falls below the threshold value E 0 , i.e., when firmware 76 determines that the successive frames exhibit a sufficient amount of motion, an I-frame is inserted. If image correlation remains above threshold E 0 , each of the current frames of sources C r C N is retained and the encoding of the frames restarts at Step 84 (FIG. 5). Turning to FIG. 11, once the video data is encoded as described above, the encoded signals can be transmitted to the decoder (at least partially) in a sequence 100. Specifically, Group I is transmitted including, initially, the reference channel data signals. More specifically, the encoder transmits a signal indicative of the entire video content of the initial reference frame S l5 along with the differences Δ, 1 between Sj and its associated P frame Pj 1 (FIGS. 6-8) and highly encoded signals (typically, skeletal forms) representative of the predicted B frames, Bi 1 and B 2 '. Note that because Pj 1 can be recreated from Si and Δ] 1 it does not have to be sent. However, to lessen the number of differences computations, P, 1 can be transmitted in its entirety without significantly increasing the bandwidth of the sequence signal. Nevertheless, in the preferred embodiment, the P j 1 frame is not transmitted in its full form because it can be readily recreated from information (Si and Δi 1 ) that must be sent anyway without compromising video quality. Thereafter, the remaining encoded channels of Group I are transmitted to the decoder. For example, encoded information for channel two is transmitted including S 21 Δj 2 δ 1 ^ Bi 2 B 2 2 which will be used to re-create initial frame S 2 , and frames B, 2 , B 2 2 and P, 2 . The transmission of Group I signals continues for each of the N channels whereby the final sequence transmitted is S N ! Δι N δ x N1 B ι N B 2 N . Note that the encoder /transmitter 74 of FIG. 4 preferably utilizes parallel processing such that while earlier encoded channels of data are being transmitted, the subsequent channels of video data are being encoded. Further, although the method has been described as encoding and transmitting one channel of data at a time, depending upon the application, channels (C r C N ) can be encoded/transmitted in pairs to increase throughput. Thereafter, Groups II and III, 108 and 110 respectively, are transmitted to the decoder in the same way as Group I. Of course, there are many more Groups of video data that will make up the entire video, and each is encoded/ transmitted as described above including, of course, the insertion of I-frames when necessary. Turning to FIG. 12, a flow chart depicting the Steps of a method 114 utilized by receiver/decoder 80 (FIG. 4) to recreate the video for each of the multiple channels is shown. After receiving the signals (Step 116), method 114 executes Step 118 to initially decompress the initial frame S l s i.e. , the reference initial frame (including its full video content as discussed earlier). Note that, except for the signals indicative of the B frames, the encoder typically compresses the signals with standard video compression techniques used in MPEG intra-frame compression (FIG. 4 at 78), prior to the transmission. This data compression is in addition to the novel compression methods of the present invention. In Step 118, therefore, method 114 utilizes corresponding standard decompression techniques. Next, the encoded intra-channel difference between the S ! and Pj 1 frames, i.e. , signal Δ, 1 , is decompressed according to standard decompression methods in Step 120. Thereafter, method 114 proceeds to re-create, in Step 122, the P frame associated with the first channel of Group I, P] 1 , by utilizing the decompressed versions of Sj and Δ, 1 ; more specifically, by summing Δi 1 and S,. Alternatively, as mentioned above, the entire P^ frame can be compressed using conventional compression methods, transmitted in encoded form, and decompressed accordingly. Nevertheless, the former method of reconstructing P is preferred. Thereafter, method 114 re-creates predicted frames, Bj 1 and B 2 ! in Step 124 using the relationships between S A t and P, 1 . In Step 126, method 114 transmits reference frames SI, and re-created frames P , Bj 1 , B 2 ! to the display unit 82 (FIG. 4) for displaying frames in the order indicated, i.e. , Sj B 1 B 2 P^. Continuing with the Group I sequence, method 114 decompresses the encoded information for channel 2, including the δ l 2] , A } 2 and S 21 signals in Step 128 using, e.g. , standard MPEG decompression techniques. (Note that the δ, Δ, and S may also be referred to as a collection of signals). Then, in Step 130, reference initial frame Si and the initial inter-channel difference between S, and S 2 (S 2] ), are used to re-create the initial frame S 2 of the second channel. In this novel fashion, method 114 re-creates S 2 without having to send the entire video content of the S 2 frame. Again, this is possible and advantageous because there is a significant amount of redundant information among the data of corresponding frames of the various channels. Then, the predicted reference frame for Group I, Pj 1 , and the inter-channel difference δ ! 2! between it and the P frame for channel 2 (Pi 2 ), are used to re-create the P frame (P t 2 ) for channel two in Step 132. By using decompressed Δi 2 (representing the intra-channel difference between the S and P frames of the second channel in Group I), in conjunction with decoded frames S 2 and Pj 2 , method 114 recreates predicted frames Bj 2 , B 2 2 in Step 134. S 2 Bi 2 B 2 2 Pj 2 are then transmitted in Step 136 to the display unit. This process continues for each of the channels up to the Nth channel, whereby, in Step 137, method 114 decompresses δ x m , S N1 , and Δ, N using standard decompression techniques, and creates S N using both Si and the encoded differences between S N and S 1} S N] , in Step 138. Thereafter, the P frame of the Nth channel, Pj N is created in Step 140 by summing the predicted inter-channel difference δ l m with Pj 1 . Then, method 114 combines δ m l and the just created frames, S N and P, N , to create B, N and B 2 N in Step 142. To complete decoding of the Group I signals, method 114 transmits, in Step 144, the signals to the display unit such that the signals may be displayed in the following order: S N B^ B 2 N Pj N . In sum, the present invention allows corresponding frames of subsequent channels to be reconstructed from encoded frames of a reference channel and associated encoded inter-channel and intra-channel differences without having to encode and transmit full video content of the frames. Once the Group I frames have been decoded, method 114 executes a particular sequence of steps depending on whether the accumulated error between the current frame and the next predicted frame exceeds the preset threshold E 0 , i.e. , depending upon whether an I-frame was encoded and sent. (Step 146 in FIG. 12B) Turning to FIG. 12B, in the event that an I-frame was not encoded and sent, the P frame of the first group, P^, is the new initial reference frame for channel 1. Unlike the initial reference frame (Si) of Group I, the P, 1 signal representing the new initial reference does not need to be decoded and displayed because it was stored in memory when the Group I signals (including predicted reference frame Pi 1 ) were decoded. In Group II, the P, 1 frame is only used as a reference frame for corresponding frames, i.e., it is not displayed again. Method 114 next reconstructs the new predicted frame, P 2 . Because two frames are skipped, the new P frame is the seventh frame. Method 114 decompresses Δ 2 in Step 148 and then, in Step 150, creates P 2 * by combining the new reference initial frame P^ with the A 2 signal. P 2 ! is then combined with P and Δ 2 : in Step 152 to create the new predicted frames B, 1 ' B^'. Method 114 then transmits the new reconstructed P frame, P 2 ! , and the predicted frames B^' and B 2 ] ' to the display unit in Step 154 to display the frames of the reference channel as follows: B x v B 2 ? 2 . These frames are the fifth, sixth and seventh frames of channel one, C λ . In Step 156, the frames of subsequent channels, up to and including the Nth channel, are decoded as in Steps 128-144. Finally, in Step 158, method 114 continues to decode subsequent Groups of encoded video data as described above, determining first whether I frames were encoded for that Group (Step 146). On the other hand, in the event that an I-frame was encoded and sent for each channel (which will occur if an intra-channel accumulated difference for any channel reaches or exceeds the preset threshold E 0 and, in the case where the spatial distribution of error method is implemented, considering the weighted value of the blocks), method 114 initially decompresses the I frame, Ij (the new reference initial frame - typically the full video content of which is encoded), of reference channel C, with standard decompression techniques in Step 160 of FIG. 12C. Similarly, method 114, in Step 162, decompresses A Ujm/) l , the differences between the new reference predicted frame and the new reference initial frame, l λ . Then, method 114, in Step 164, creates P^ w by combining I,, and Δ K -.^ 1 . Next, in Step 168, the method combines l λ , Δ 1(new) l and P 1(new) 1 to recreate predicted frames B : (new) l and B 2 (new) l . Method 114 then transmits the decoded signals to the display unit in Step 166 to display the frames in the following order: Ij B 1(new) l B 2(new) x P 1(new) l . Method 114 thereafter continues decoding subsequent channels up to the Nth channel as in Steps 128-144. And, in Step 172, method 114 continues to decode subsequent groups of incoming video data determining first whether I frames were encoded for that Group or whether the previously created P frames should be the new initial frames for each channel (Step 146). Although the methods of the present invention have been described in conjunction with compressing video data, the techniques described herein could be used to compress other types of signals. For example, multi-language versions of motion pictures could include multiple of channels of data, each corresponding to a different language version of the movie. It is possible to cross correlate the information of each such channel using the techniques of the present invention to compress the data for storage or transmission. Various modes of carrying out the invention are contemplated as being within the scope of the following claims, which particularly point out and distinctly claim the subject matter which is regarded as the invention.

Claims: CLAIMS 1. A method of compressing a plurality of channels of video, said method comprising the steps of: encoding a group of video frames including a predetermined number of consecutive frames of each channel, said encoding step including the substeps; (a) taking an initial frame of each channel, including a reference initial frame of a reference channel; (b) predicting a subsequent frame of each channel including a reference predicted frame, each said predicted frame corresponding to one said initial frame; (c) determining an intra-channel difference between each said initial frame and said corresponding predicted frame; (d) determining an initial inter-channel difference between said reference initial frame and each said initial frame of the other channels; and (e) determining a predicted inter-channel difference between said reference predicted frame and each said predicted frame of the other channels. 2. The method of claim 1, said encoding step further including the substeps: (f) comparing each said intra-channel difference to a predetermined threshold; and (g) if any said intra-channel difference reaches said threshold, inserting an I-frame as the next subsequent frame of the channel associated with that intra-channel difference. 3. The method of claim 1, said encoding step further including the substeps: (f) comparing each said intra-channel difference to a predetermined threshold; and (g) if any said intra-channel difference reaches said threshold, inserting an I-frame as the next subsequent frame of each channel. 4. The method of claim 3, said encoding step further including the substeps: (h) comparing each said initial inter-channel difference to a second threshold value; (i) comparing each said predicted inter-channel difference to a third threshold value; and (j) inserting an I-frame as the next subsequent frame of each channel if any said initial inter-channel difference reaches said second threshold, or if any said predicted inter-channel difference reaches said third threshold value. 5. The method of claim 4, further including the step of repeating said encoding steps (b)-(j) for encoding a plurality of said group of frames, said groups being subsequent to one another. 6. The method of claim 5, wherein said number is four, and the fourth frame is said predicted frame. 7. The method of claim 1, further including the steps of: generating a signal indicative of said reference initial frame, and a signal indicative of said intra-channel difference for said reference channel; generating a collection of signals, for each channel, except said reference channel, including a signal indicative of a corresponding initial inter-channel difference, a signal indicative of a corresponding intra-channel difference, and a signal indicative of a corresponding predicted inter-channel difference; and transmitting said reference initial frame signal, said reference intra-channel difference signal and each said collection of signals to a decoder. 8. The method of claim 6, further including the step of compressing said reference initial frame signal, said reference intra-channel difference signal and each said collection of signals with standard MPEG compression techniques prior to said transmission step. 9. The method of claim 8, wherein said predicted frames are ten times more compressed than said reference initial frame. 10. The method of claim 7, further including the steps of: reconstructing in said decoder: (1) said reference initial frame from said reference initial frame signal; (2) each said initial frame, except said reference initial frame, from said reference initial frame and a corresponding one of said initial inter- channel difference signals; (3) said reference predicted frame from said reference initial frame and said reference intra-channel difference signal; and (4) each said predicted frame, except said reference predicted frame, from said reconstructed reference predicted frame and a corresponding one of said predicted inter-channel difference signals. 11. The method of claim 10, further including the steps of: transmitting said reference initial frame and each said reconstructed frame to a display unit; and displaying said reference initial frame and said reconstructed frames. 12. The method of claim 4, wherein said encoding steps (a)-(j) are implemented with artificial intelligence or fuzzy logic software. 13. The method of claim 10, wherein said reconstructing step is implemented with artificial intelligence or fuzzy logic software. 14. A method of compressing a plurality of channels of video, including a reference channel, said method comprising the steps of: encoding a group of video frames, said group including a predetermined number of frames of each channel, said encoding step including the sub- steps of: (a) taking an initial frame of each channel; (b) predicting a subsequent frame of each channel, each said predicted frame corresponding to one said initial frame; (c) determining an intra-channel difference between each said initial frame and said corresponding predicted frame; (d) comparing each said intra-channel difference to a threshold value; and (e) inserting an I-frame as the next subsequent frame of each channel if any said intra-channel difference reaches said threshold value. 15. The method of claim 14, further including the step of segmenting each said initial frame and each said corresponding predicted frame into search blocks. 16. The method of claim 15, further including the step of: determining a block difference between each block of said initial frame and a corresponding block of said corresponding predicted frame. 17. The method of claim 16, further including the steps of: accumulating, for each channel, each said block difference corresponding to that channel; comparing each said accumulated block difference to a threshold value; and inserting an I-frame as the next subsequent frame of each channel if any of said accumulated block difference reaches said threshold value. 18. The method of claim 16, further including the step of assigning a weighted value to each said block difference. 19. The method of claim 18, further including the steps of: determining, based on said weighted value associated with each said block difference, whether each said block difference is significant; accumulating, for each channel, each said significant block difference; comparing each said accumulated block difference to a threshold value; and if any accumulated block difference reaches said threshold, inserting an I-frame as the next subsequent frame for that channel. 20. The method of claim 18, further including the steps of: determining, based on said weighted value associated with each said block difference, whether each said block difference is significant; accumulating, for each channel, each said significant block difference; comparing each said accumulated block difference to a threshold value; and if any accumulated block difference reaches said threshold, inserting an I-frame as the next subsequent frame for each channel. 21. The method of claim 14, wherein said number equals four, and the fourth frame is said predicted frame. 22. The method of claim 14, further including the steps of: repeating steps (b)-(e) of said encoding step for encoding a plurality of said group of frames, said groups being subsequent to one another. 23. A method of encoding a plurality of channels of video, each channel having a plurality of successive frames, the method comprising the steps of: taking an initial frame of each channel, including a reference channel; predicting a subsequent frame of each channel, each said predicted frame corresponding to one of said initial frames; determining an intra-channel difference between each said initial frame and said corresponding predicted frame; determining an initial inter-channel difference between said reference initial frame and each of the other initial frames; determining a predicted inter-channel difference between a reference predicted frame of said reference channel and each said predicted frame of the other channels; transmitting each said intra-channel difference and each said initial inter- channel difference, each said predicted inter-channel difference, and said initial reference frame to a decoder for reconstructing the video. 24. A method of compressing a plurality of channels of video, said method comprising the steps of: determining an intra-channel difference between a current frame and a predicted frame of each channel; inserting an I-frame as the next subsequent frame after the current frame in each channel if any said intra-channel difference reaches a predetermined threshold. 25. A method of compressed video transmission for a plurality of video channels, the method comprising the steps of: taking an initial frame of each channel; segmenting each said initial frame into blocks; predicting a corresponding frame P subsequent to each said initial frame; segmenting each said corresponding frame P into blocks; determining an intra-channel difference between each block in each said initial frame and each block in each said corresponding predicted frame P; accumulating, for each channel, said intra-channel difference of each block; comparing each said accumulated intra-channel difference to a threshold; if any said accumulated intra-channel difference reaches said threshold, inserting an I-frame as the next subsequent frame of each channel. 26. A method of video compression of a plurality of channels of video utilizing motion estimation comprising the steps of: (a) comparing, for each channel, a segment of a current frame to be encoded to a corresponding segment of a previous frame to arrive at an intra- channel difference; (b) repeating the comparison of step (a) until said intra-channel difference has been determined for all segments of said current frame of each channel; (c) summing, for each channel, said intra-channel differences to arrive at a cumulative intra-channel difference for each channel; (d) comparing said cumulative intra-channel difference of each channel to a threshold to determine whether a new I-frame should be inserted as the next subsequent frame to be encoded. 27. A method of compressing a plurality of channels of video, including a reference channel, said method comprising the steps of: encoding a group of frames, said group including a predetermined number of frames of each channel, said encoding step including the sub-steps of: (a) taking a pair of initial frames of a pair of channels; (b) predicting a pair of subsequent frames of each said pair of channels, each said pair of predicted frames corresponding to one said pair of initial frames; (c) determining an intra-channel difference between each said initial frame and said corresponding predicted frame; (d) comparing each said intra-channel difference to a threshold value; and (e) inserting an I-frame as the next subsequent frame of each channel if any said intra-channel difference reaches said threshold value.

Inventors: KOSTRZEWSKI ANDREW A, PILIAVIN MICHAEL A, KOSTRZEWSKI, ANDREW, A., PILIAVIN, MICHAEL, A.
Applicants: PHYSICAL OPTICS CORP, PHYSICAL OPTICS CORPORATION
Application year: 1999
Main classification: G06K9
IPC codes: G06T9, H03M7, H04N7, H04N13