EP0798928A2 - Method and system for three-dimensional compression of digital video signals - Google Patents

Method and system for three-dimensional compression of digital video signals Download PDF

Info

Publication number
EP0798928A2
EP0798928A2 EP97100607A EP97100607A EP0798928A2 EP 0798928 A2 EP0798928 A2 EP 0798928A2 EP 97100607 A EP97100607 A EP 97100607A EP 97100607 A EP97100607 A EP 97100607A EP 0798928 A2 EP0798928 A2 EP 0798928A2
Authority
EP
European Patent Office
Prior art keywords
data
video signal
temporal
spatial
dimensional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
EP97100607A
Other languages
German (de)
French (fr)
Other versions
EP0798928A3 (en
Inventor
Joseph W. Niesen
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Northrop Grumman Space and Mission Systems Corp
Original Assignee
TRW Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TRW Inc filed Critical TRW Inc
Publication of EP0798928A2 publication Critical patent/EP0798928A2/en
Publication of EP0798928A3 publication Critical patent/EP0798928A3/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/649Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding the transform being applied to non rectangular image segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • H04N19/126Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/147Data rate or code amount at the encoder output according to rate distortion criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/62Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding by frequency transforming in three dimensions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation

Definitions

  • This invention relates generally to digital video signal compression, and more particularly to methods of three-dimensional digital video signal compression that exhibit a high compression ratio, minimal signal distortion and a low transmission rate.
  • the uncompressed data bit rates for monochrome digital video such as VCR-grade video (SIF), broadcast television video (CCIR-601) and high definition television (HDTV) are 16Mbps, 67Mbps, and 240Mbps, respectively.
  • SIF VCR-grade video
  • CCIR-601 broadcast television video
  • HDTV high definition television
  • these data bit rates are too high to allow such video signals to be transmitted and processed in a commercially feasible manner. Therefore, in order to process such video signals in a practical manner, such video signals must be compressed prior to being transmitted.
  • MPEG has to date defined two syntaxes widely used in the digital videos industry.
  • a syntax known as MPEG-1 was defined to be applicable to a wide range of bit rates and sample rates. Particularly, MPEG-1 is suitable for use in CD/ROM applications and other non-interlaced video applications having transmission rates of about 1.5 Mb/s.
  • a second syntax known as MPEG-2 was defined for representation of broadcast video, and other video signal applications having coded bit rates of between 4 and 9 Mb/s. MPEG-2 syntax is also applicable to applications such as HDTV and other applications requiring efficient coding of interlaced video.
  • MPEG-1 and MPEG-2 syntaxes exhibit adequate performance characteristics
  • the ongoing evolution of digital video dictates the need for further advancement in the art, as the present MPEG video syntax definitions do have associated limitations.
  • temporal redundancy a phenomenon which can be used to enhance video compression by minimizing data bit rate transmission for temporarily non-changing video pixels, is an efficient method of maximizing video signal compression.
  • MPEG-1 and 2 data compression-based methods utilize temporal compression.
  • the MPEG-1 and 2-based temporal compression is based on a frame by frame judgement basis so that the methods do not take full advantage of temporal compression.
  • commercially standard MPEG-1 and MPEG-2 syntaxes partially only utilize temporal redundancy.
  • present MPEG syntax requires numerous optimization options (such as predictive frame, bi-linear frame and intraframe variables) to be calculated, transmitted and then decoded by MPEG signal decompressors.
  • optimization options such as predictive frame, bi-linear frame and intraframe variables
  • the use of these numerous variables adds both computational time and complexity to the data compression.
  • many current MPEG implemented syntaxes exhibit an associated bit rate compression of as high as 30:1, increasingly complex and data-intensive video applications require higher compression rates for real-time processing.
  • data compression methods claiming compression ratios as high as 200:1 do exist, such methods subsample an array of pixels in a video frame sequence (i.e., throw away every other pixel) and utilize other shortcuts to achieve high compression.
  • two methods of compressing a digital video signal are provided. Both methods exhibit higher compression ratios than current MPEG standards, while at the same time are less computationally intensive.
  • the video signal compression methods of the present invention utilize a temporal dimension quantization vector in addition to the standard MPEG two-dimensional spatial quantization matrix to optimize the compression rate with an associated signal distortion that is unobservable to the human eye. Both methods may be adapted for use in an MPEG compatible format, thereby allowing the methods to be used with current digital video signal applications.
  • a first method for compressing a digital video signal.
  • the method includes the step of providing a compressor for performing video signal data compression operations.
  • a video signal is received at the compressor and includes spatial and temporal data from a plurality of video signal frames.
  • the compressor conditions the spatial and temporal data for data quantization and then quantizes the conditioned data such that the transformed spatial data is associated with the transformed temporal data.
  • An optimal transmission rate and signal distortion level is then determined from the quantized data.
  • the transformed spatial data is subsequently disassociated from its ordering to the transformed temporal data before the mix of transformed spatial and temporal data is formatted into a matrix in a zig-zag configuration block for data transmission.
  • a second method of data compression is also provided.
  • the second method provides a signal compressor for performing video compression operations.
  • Video signal data including a plurality of video frames is input into the signal compressor.
  • the compressor performs three-dimensional transformation of the video signal data from spatial and temporal position domains to a three-dimensional frequency domain.
  • the compressor then creates a plurality of three-dimensional quantization matrices, with each matrix containing quantization coefficients corresponding to transform data from one temporal frequency in the video signal.
  • Each of the plurality of quantization matrices includes a third dimension in which, for each temporal frequency, a temporal quantization vector component is associated with each of the quantization coefficients.
  • the compressor calculates maximum transmission rate and optimal signal distortion parameters for the video frame from the data in the quantization matrices.
  • the optimally quantized data is dequantized in the temporal dimension and inverse temporally transformed (one-dimensional transform).
  • the resulting spatial transform is zig-zag ordered and transmitted per MPEG convention.
  • FIGS. 1a-1b a system in which the preferred embodiment of the present invention is implemented as shown generally at 10a and 10b.
  • one of the high compression data methods according to the present invention may be implemented.
  • These data compression methods utilize temporal compression implemented through use of a three-dimensional quantization matrix.
  • the methods of the present invention add a third temporal dimension to the two-dimensional spatial quantization matrix.
  • a temporal quantization vector multiplies the coefficients in the MPEG two-dimensional spatial matrix representing a frame of data.
  • the video signal is generated at a video signal source 12.
  • this video signal source could be any source of a digital video signal, or an analog video signal that may be later converted to digital through means such as an analog-to-digital video frame grabber 14.
  • a video signal source may include, but is not limited to, a video cassette recorder (VCR), a CD ROM, broadcast television signal generator, a high definition television signal generator, or any type of computer network application or other real-time digital video source.
  • VCR video cassette recorder
  • CD ROM Compact Disc
  • broadcast television signal generator broadcast television signal generator
  • high definition television signal generator or any type of computer network application or other real-time digital video source.
  • the digital video signal generated from the video signal source 12 and/or the video frame grabber 14 is then input into a signal compressor, indicated generally at 16.
  • the signal compressor includes a processor 18, a memory 20, and a power source 22.
  • an external storage medium such as a central hard drive 24, may be operatively connected to the CPU to add further computation and memory capabilities
  • the above described signal compressor is implemented via a Sun Sparc 10 Workstation.
  • other computers such as an IBM or IBM compatible personal computer having a Intel Pentium® processor chip or any other processing unit having equivalent processing capabilities can also be utilized to implement the data compression methods of the present invention.
  • the methods of the present invention may be implemented using ANSI C programming language.
  • any other computer language capable of implementing the present methods may be used.
  • the signal compressor also includes an application specific integrated circuit (ASIC) 30 for performing discrete cosine transforms (DCT) in accordance with the preferred methods of the present invention as will be described below. Additionally, the signal compressor 18 also includes a histogram chip 32 for forming histograms for data transmission purposes, as will also be described in detail below.
  • ASIC application specific integrated circuit
  • DCT discrete cosine transforms
  • a signal receiver is shown generally at 10b.
  • the signal receiver includes a signal decompressor, shown generally at 40.
  • the decompressor may be a Sun Sparc 10 Workstation, an IBM personal computer with an Intel Pentium® processor, or any other processing unit having similar processing capabilities. It should be appreciated that the compressor and the decompressor may in fact be the same processing unit.
  • the decompressor includes a processor 42 for performing inverse transforms to reconstruct the compressed video frames transmitted from the signal compressor 16. Specifically, an ASIC 44 is implemented to perform these inverse transforms.
  • the processor 42 also includes a memory 46 and a power supply 48, of the type well known in the art.
  • a video monitor 50 is also connected to the processor 42 for displaying the transmitted, reconstructed video frames.
  • the video monitor is of the type well known in the art and may be a television, a computer display, or any other commercially available pixel-based video screen.
  • a sequential group of video frames generated by the video signal source 12 is shown generally at 52.
  • pixel data contained in each video frame is transformed, through a two-dimensional discrete cosine transform (DCT) function by the ASIC from a spatial position domain to a spatial frequency domain.
  • DCT discrete cosine transform
  • the coefficients are quantized as described below.
  • the discrete cosine transform function is desirable for implementation in the methods of the present invention in that it closely approximates the ideal transform known as the Karhunen Loeve transform, which is known in the signal processing art as the ideal transform for a random process with known correlation coefficients between the terms in the random process, thereby calculating answers in a mathematical optimization manner.
  • the two-dimensional spatial DCT of the plurality of video frames is indexed by the time tag " index t.
  • N is the number of pixels on one side of a pixel block
  • D ( u ) 2 2 N for u > o
  • D ( v ) 2 2 N for v > o
  • the resulting data for each video frame is quantized in a three-dimensional quantization matrix, shown generally at 58.
  • Each of the resulting matrices includes eight coefficients per row, as indicated by the arrow U at 59 in FIG. 4, eight coefficients per column, as indicated by the arrow V at 60 and temporal quantization vectors associated with each spatial coefficient in the direction represented by arrow W at 61.
  • the three-dimensional quantization matrix is formed by multiplying the 64 C UV quantization coefficients from the MPEG two-dimensional spatial matrix by a temporal scaling term represented by the temporal vector elements and derived from the one-dimensional discrete cosine transform.
  • each matrix representing a particular video frame in the eight frame sequence includes sixty-four three-dimensional coefficients, each presented generally by the term c ⁇ uvw as shown generally in the matrix at 58.
  • the DC value is the 0,0 term in the spatial domain and represents the average of intensities of pixels in the video frame in question.
  • the remaining 63 coefficients, or AC values, are related to the difference between pixels in temporally successive frames.
  • a preferred method of implementing a first data compression method according to a first embodiment of the present invention is shown generally at 62 and will now be described.
  • the original sequence of video frames is input into the compressor 16.
  • the sequence of frames is then subjected to motion compensation analysis at step 64, as is done with conventional MPEG syntax and is as well known in the art.
  • the general mathematical representation of the motion compensation is as follows.
  • a two-dimensional discrete cosine transform as described above is performed on the data contained within the frames to transform the data from the spatial position domain to the spatial frequency domain.
  • a one-dimensional discrete cosine transform is performed on the data in the video frames as described above in the temporal dimension to thereby produce coefficients in the temporal frequency domain.
  • the three-dimensional discrete cosine transform group of transform coefficients are ordered as a group of eight by eight matrices, with the number of matrices equaling the number of frames used in the group of frames being processed.
  • the processor at step 70 adaptively creates a three-dimensional quantization matrix for each group of frames of video data in the memory 20 by determining the temporal quantization vector component that optimizes the rate at each temporal frequency.
  • the method calculates the optimal distortion, or error, for the particular sequence of video frames being transmitted.
  • the optimal transmission bit rate is also calculated, as will be described in detail below.
  • the method dequantizes the coefficients in the matrices formed and created at step 70 by removing the temporal scaling factor c w from the coefficients.
  • the method performs an inverse one-dimensional DCT to remove the coefficients from the temporal domain, thereby reverting the matrix back to a two-dimensional MPEG matrix with coefficients representing the spatial position of signal data.
  • the compression method according to the present invention dequantizes the three-dimensional matrix and performs the inverse one-dimensional DCT function on the coefficients subsequent to transmission to both take advantage of the temporal compression of the three-dimensional DCT and to transmit the data in such a manner that the signal decompressor receives the intraframe coded frames in MPEG compatible form.
  • the processor determines the probability of each coefficient being zero for the particular processed group of frames and arranges the coefficients accordingly in a zig-zag transmission block order utilized in conventional MPEG data compression methods. Subsequent to the coefficients being arranged in the above-described zig-zag order transmission block, the data is transmitted at step 78 to the signal decompressor 42. Subsequent to being transmitted, the zig-zag ordered block of data is reformatted at step 80 by the signal decompressor back into the two-dimensional MPEG spatial position coefficient matrix.
  • the method removes the motion compensation weighting from the data.
  • the reconstructed video frames are produced and output on the video monitor 26.
  • the method may be implemented with present MPEG compatible video systems to achieve a compression rate of about 40:1, which is a significant increase when compared to the typical 30:1 compression rate of present MPEG-2 syntax.
  • the above described three-dimensional DCT based method temporally compresses four to eight frames of video and thus has more compression potential than the commercial standard MPEG-1 and 2 syntaxes, which typically utilize less than eight frames for optimizing temporal redundancy and uses temporal compression for only two frames at a time.
  • the MPEG compatible algorithm uncompresses the temporal dimension before data transmission, leaving a two dimensional data format that is compatible with MPEG. Transmission and compression rates are thus determined after temporal uncompression, or dequantization and inverse transformation, has been performed.
  • the temporal scaling parameter can be chosen either to set all temporal frequency distortions at the same value or to minimize distortion for a given target rate allocated to each temporal frequency.
  • a second method of data compression is illustrated through the flow diagram shown generally at 90.
  • This second data compression method attacks the transmission order optimization after video frame coefficients have been transformed three-dimensionally, rather than use MPEG zig-zag order after the inverse temporal transformation implemented in the first data compression method DCT at step 64.
  • the original video frames are input into the compressor from the video signal source 12.
  • the processor 18 initially performs motion compensation the frames at step 94.
  • the method performs two-dimensional spatial and one-dimensional temporal DCT transforms, respectively, on the video data, as with the above described first decompression method.
  • three-dimensional quantization matrices are adaptively created, as in the earlier described first method.
  • the second method differs in that at step 101, the histogram chip 32 creates a histogram of the quantized coefficients in the three-dimensional matrices such that the method may adaptively create a three-dimensional coefficient transmission order (i.e., a three-dimensional zig-zag order) block.
  • the histogram chip generates a histogram that is used by the compressor to transform one three-dimensional matrix into another three-dimensional matrix based on the information the histogram collects.
  • An ordering based on increasing spatio-temporal frequency, i.e., u 2 + v 2 + w 2 would be an expression of the MPEG approach to transmission order.
  • the compressed bit stream thus includes an ordering with the coefficient having the least probability of being zero being first transmitted, with the coefficients having the least probability of being zero being transmitted in increasing probability order.
  • the first row of the first matrix of dequantized coefficients is the column from the processed group of frames with the least number of zeros.
  • the second row of the first matrix of the dequantized coefficients is the column from the processed group of frames with the second least number of zeros.
  • the remaining rows of the first matrix are filled out with similar ordering regarding number of zero coefficients in a column.
  • Rows of the second matrix are filled if there are any remaining columns with non-zero coefficients.
  • An end of block character is transmitted after the last row in the new matrix system having a non-zero coefficient is transmitted. This minimizes the amount of data transmitted having no energy and being represented by coefficients having a zero value.
  • the decompressor at the other end subsequently fills in zeros to the rest of the transmitted bit stream before the decompressor starts data decompression.
  • the MPEG-like ordering with increasing spatio-temporal frequency is lost upon data transmission due to the three-dimensional zig-zag block being transmitted, as the block must be reordered before the inverse one-dimensional transform may be performed.
  • the zero run length is increased in two different directions, thereby giving about a fivefold increase in compression over the MPEG compatible method.
  • the matrix coefficients are transmitted at step 102.
  • the method undoes the three-dimensional zig-zag transmission order block at step 104 before the inverse one-dimensional and inverse two-dimensional DCT transforms can be performed at steps 106 and 108, respectively.
  • motion compensation is removed, and the video frames are reconstructed and output to the video monitor 26 at steps 110 and 112.
  • the transmission rate is calculated using entropy calculations based on pseudo-probability distribution of coefficients, and not on the actual MPEG syntax calculations.
  • the entropy calculations slightly overestimate the transmission rate.
  • the entropy calculation accounts for all quantized coefficients, whereas the MPEG method truncates coefficients if the coefficients exceed certain minimum or maximum limits defined by the MPEG standard.
  • p is the probability vector for non-zero transform coefficients
  • L i is the zero run length plus one
  • p i is the probability of a sum of i zeros.
  • MPEG software which is publicly available on the Internet, could be used instead of the entropy calculations.
  • step 122 video signal data is input. This data correlates to the three-dimensional quantization coefficients that fill the three-dimensional quantization matrices performed at steps 60 and 98, respectively, of the above described first and second methods.
  • the quantizer is stepped up gradually in small increments. At each temporal frequency, a temporal quantizer scaling term is determined from optimizing rate-distortion performance at that temporal frequency.
  • the distortion rate R ⁇ is calculated. The optimal R ⁇ is calculated by plotting transmission rate versus temporal quantization component q w . Such a plot results in the generation of a curve with a minimum rate value, as indicated generally at 127 in FIG. 9.
  • the processor determines if the minimum value for R ⁇ has been found by successively choosing points on the generated curve 127.
  • the method determines if the processor has found the minimum value of R ⁇ . If the processor has found the minimum value, the value q w is set to minimize the value R ⁇ (q w ).
  • R ⁇ is an approximation to the average rate for the group of frames, which is usually the rate for the first frame of a group of frames. Use of one frame to represent the rate for a group of frames is typically sufficient for rate optimization. If the minimum value is not found, the method returns to step 128 to continue searching for the minimum value of R ⁇ .
  • step 130 the method increments to step 132, where steps 124-132 are repeated for q w1 , q w2 , ... until the overall transmission rate for each R ⁇ (q w ) has been computed for q w7 .
  • step 134 the method determines if the next value for q w equals q w8 . If so, the method ends until the next group of frames is compressed. If q w8 has not been computed, the method returns to step 124 for further transmission rate computations.
  • the preferred method of implementing a signal distortion optimization calculation is shown at 150.
  • the scaling factor q w is incremented.
  • the distortion rate D is calculated in parallel to the transmission rate calculation at the processor 18, as is indicated at step 154.
  • the distortion rate is the square of the difference between the coefficients with and without temporal quantization vector weighing factor. The sum of each of the individual error contributions for a particular coefficient gives the total distortion error due to quantization.
  • R ⁇ is an estimate to the true compressed rate; it is a performance metric used to set the terms in the temporal quantization vector during rate optimization procedure.
  • R ⁇ is calculated in the following way. A set of quantized coefficients at a q w value is made, and the three-dimensional quantized coefficients are temporally dequantized and inverse one-dimensional DCT transformed. The rate for a frame is then determined and set equal to R ⁇ . This process repeats until the minimum R ⁇ is set for each temporal frequency.
  • the method determines if D (q w ) is above the threshold of the human visual system. If the distortion is above the threshold, the method returns to step 152 and the distortion is calculated until the value of D(q w ) is above the threshold of human visualization. When the value is such, the q w iteration is stopped as indicated at step 158.
  • the distortion rate for the next spatial transmission matrix for the next video frame is calculated.
  • the values for q w2 through q w7 could be set at default values to further simplify the above-described data compression methods. It should also be appreciated that the rate/distortion sequence of the compression methods of the present invention could be enhanced by optimizing both the DC and AC coefficients separately. The rate/distortion optimization method could also be enhanced by using the Lagrange multiplier method.
  • the video signal compression methods of the present invention provide methods for compressing digital video signals in a manner that achieves high bit rate transmission with minimal detected distortion.
  • the methods of the present invention maximize use of temporal compression through temporal redundancy and thereby minimize the number of quantization variables required for data compression and thus the complexity of the data compression operation.
  • the data compression methods of the present invention exhibit increased compression ratios when compared to present MPEG-1 and MPEG-2 based data compression methods while at the same time minimize data compression complexity.

Abstract

Methods for compressing digital video signals that fully utilize temporal compression techniques. Each of the methods disclosed compresses digital video signals not only in the spatial domain, as with current implemented MPEG compression methods, but also in the temporal domain. A group of video signals is input to a signal compressor (16). The signal compressor (16) performs discrete cosine transforms in both the spatial and temporal domain. The transformed data is then input into a three-dimensional quantization matrix (18), where rate and distortion optimization parameters are calculated for compression purposes. In a first method, rate-distortion performance and transmission order are optimized for the quantized, three-dimensional transform coefficients. In a second method, rate-distortion performance is optimized for the quantized, three-dimensional transform coefficients. Temporal dequantization and inverse transform are performed before transmitting the two-dimensional transform coefficients in MPEG-compatible intraframe format. The data is transmitted to a signal decompressor (40).

Description

    BACKGROUND OF THE INVENTION 1. Technical Field
  • This invention relates generally to digital video signal compression, and more particularly to methods of three-dimensional digital video signal compression that exhibit a high compression ratio, minimal signal distortion and a low transmission rate.
  • 2. Discussion
  • Present video applications require large amounts of data to be transmitted at high bit rates and with a minimal amount of signal distortion. For example, the uncompressed data bit rates for monochrome digital video, such as VCR-grade video (SIF), broadcast television video (CCIR-601) and high definition television (HDTV) are 16Mbps, 67Mbps, and 240Mbps, respectively. In an uncompressed state, these data bit rates are too high to allow such video signals to be transmitted and processed in a commercially feasible manner. Therefore, in order to process such video signals in a practical manner, such video signals must be compressed prior to being transmitted.
  • In response to the proliferation of video based applications and products, an industry wide need for creation of a standard video signal compression syntax arose. A group under the International Standards Organization (ISO), known informally as the Moving Pictures Experts Group (MPEG), was formed to define standards for digital video and audio compression. Subsequently, the MPEG has created a standardized syntax by defining the content of a compressed video signal bit stream and the method of decompressing the bit stream subsequent to its transmission. The methods of compression, however, have not been defined, thus allowing individual manufacturers to develop various methods of actually compressing the data bit stream within the defined standards.
  • MPEG has to date defined two syntaxes widely used in the digital videos industry. A syntax known as MPEG-1 was defined to be applicable to a wide range of bit rates and sample rates. Particularly, MPEG-1 is suitable for use in CD/ROM applications and other non-interlaced video applications having transmission rates of about 1.5 Mb/s. A second syntax known as MPEG-2 was defined for representation of broadcast video, and other video signal applications having coded bit rates of between 4 and 9 Mb/s. MPEG-2 syntax is also applicable to applications such as HDTV and other applications requiring efficient coding of interlaced video.
  • While the above discussed MPEG-1 and MPEG-2 syntaxes exhibit adequate performance characteristics, the ongoing evolution of digital video dictates the need for further advancement in the art, as the present MPEG video syntax definitions do have associated limitations. For example, temporal redundancy, a phenomenon which can be used to enhance video compression by minimizing data bit rate transmission for temporarily non-changing video pixels, is an efficient method of maximizing video signal compression. Present MPEG-1 and 2 data compression-based methods utilize temporal compression. However, the MPEG-1 and 2-based temporal compression is based on a frame by frame judgement basis so that the methods do not take full advantage of temporal compression. In particular, commercially standard MPEG-1 and MPEG-2 syntaxes partially only utilize temporal redundancy. In addition, present MPEG syntax requires numerous optimization options (such as predictive frame, bi-linear frame and intraframe variables) to be calculated, transmitted and then decoded by MPEG signal decompressors. The use of these numerous variables adds both computational time and complexity to the data compression. Also, while many current MPEG implemented syntaxes exhibit an associated bit rate compression of as high as 30:1, increasingly complex and data-intensive video applications require higher compression rates for real-time processing. Although data compression methods claiming compression ratios as high as 200:1 do exist, such methods subsample an array of pixels in a video frame sequence (i.e., throw away every other pixel) and utilize other shortcuts to achieve high compression.
  • With the ever increasing need to achieve higher bit rate transmission, there is a need for a video signal data compression method that exhibits a lower transmission rate than present MPEG-1 or MPEG-2 standards by achieving a higher compression ratio through more complete utilization of temporal redundancy than is presently utilized by MPEG 1 and 2-based standards. At the same time there is a need for a data compression method that is less computationally complex than current methods and that is compatible with currently implemented video systems conforming to MPEG-1 and MPEG-2 standards.
  • SUMMARY OF THE INVENTION
  • In accordance with the teachings of the present invention, two methods of compressing a digital video signal are provided. Both methods exhibit higher compression ratios than current MPEG standards, while at the same time are less computationally intensive. In particular, the video signal compression methods of the present invention utilize a temporal dimension quantization vector in addition to the standard MPEG two-dimensional spatial quantization matrix to optimize the compression rate with an associated signal distortion that is unobservable to the human eye. Both methods may be adapted for use in an MPEG compatible format, thereby allowing the methods to be used with current digital video signal applications.
  • In the inventive approach, a first method is provided for compressing a digital video signal. The method includes the step of providing a compressor for performing video signal data compression operations. A video signal is received at the compressor and includes spatial and temporal data from a plurality of video signal frames. The compressor conditions the spatial and temporal data for data quantization and then quantizes the conditioned data such that the transformed spatial data is associated with the transformed temporal data. An optimal transmission rate and signal distortion level is then determined from the quantized data. The transformed spatial data is subsequently disassociated from its ordering to the transformed temporal data before the mix of transformed spatial and temporal data is formatted into a matrix in a zig-zag configuration block for data transmission.
  • A second method of data compression is also provided. The second method provides a signal compressor for performing video compression operations. Video signal data including a plurality of video frames is input into the signal compressor. The compressor performs three-dimensional transformation of the video signal data from spatial and temporal position domains to a three-dimensional frequency domain. The compressor then creates a plurality of three-dimensional quantization matrices, with each matrix containing quantization coefficients corresponding to transform data from one temporal frequency in the video signal. Each of the plurality of quantization matrices includes a third dimension in which, for each temporal frequency, a temporal quantization vector component is associated with each of the quantization coefficients. The compressor then calculates maximum transmission rate and optimal signal distortion parameters for the video frame from the data in the quantization matrices. The optimally quantized data is dequantized in the temporal dimension and inverse temporally transformed (one-dimensional transform). The resulting spatial transform is zig-zag ordered and transmitted per MPEG convention.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • Other objects and advantages of the invention will become apparent upon reading the following detailed description and upon reference to the drawings, in which:
    • FIGS. 1a and 1b are block diagrams for the signal compressor and decompressor, respectively, in which the signal compression methods of the present invention are implemented;
    • FIG. 2 illustrates a group of video frames in sequence containing data to be compressed by the data compression methods of the present invention;
    • FIG. 3 illustrates a sequence of two-dimensional transform frames subsequent to a discrete cosine transform being performed on the data contained in the video frames of FIG. 2;
    • FIG. 4 illustrates a three-dimensional quantization matrix containing three-dimensional coefficients subsequent to a one-dimensional discrete cosine transform being performed on the data contained in the video frames of FIG. 2;
    • FIG. 5 is a flow diagram illustrating the preferred method of implementation of a first compression method of the present invention;
    • FIG. 6 is a flow diagram illustrating the preferred method of implementation of a second data compression method of the present invention;
    • FIG. 7 is a flow diagram illustrating a preferred method of calculating the optimal transmission rate for use with the data compression methods of the present invention;
    • FIG. 8 is a flow diagram illustrating a preferred method of calculating the optimal distortion rate for use with the data compression methods of the present invention; and
    • FIG. 9 is a graphical analysis of data transmission rate versus temporal frequency quantization vector weighting factor.
    DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
  • Referring generally to FIGS. 1a-1b, a system in which the preferred embodiment of the present invention is implemented as shown generally at 10a and 10b. In this system, one of the high compression data methods according to the present invention may be implemented. These data compression methods utilize temporal compression implemented through use of a three-dimensional quantization matrix. The methods of the present invention add a third temporal dimension to the two-dimensional spatial quantization matrix. A temporal quantization vector multiplies the coefficients in the MPEG two-dimensional spatial matrix representing a frame of data. By adding a temporal domain dimension to the MPEG spatial coefficient matrix, the variables associated with rate/distortion optimization calculations in previously mentioned MPEG-based data compression methods, such as predictive, bi-linear, and intraframe variables, are eliminated, as the temporal quantization value is the only variable necessary for calculating rate/distortion optimization parameters in the compression method of the present invention. As a result, compression method and system complexity is greatly reduced and the data compression ratio is greatly increased when compared to present MPEG-based data compression methods.
  • Referring in particular to FIG. 1a, the video signal is generated at a video signal source 12. It is contemplated that this video signal source could be any source of a digital video signal, or an analog video signal that may be later converted to digital through means such as an analog-to-digital video frame grabber 14. Such a video signal source may include, but is not limited to, a video cassette recorder (VCR), a CD ROM, broadcast television signal generator, a high definition television signal generator, or any type of computer network application or other real-time digital video source. The digital video signal generated from the video signal source 12 and/or the video frame grabber 14 is then input into a signal compressor, indicated generally at 16. The signal compressor includes a processor 18, a memory 20, and a power source 22. Also, an external storage medium, such as a central hard drive 24, may be operatively connected to the CPU to add further computation and memory capabilities to the compressor.
  • Preferably, the above described signal compressor is implemented via a Sun Sparc 10 Workstation. However, it should be appreciated that other computers, such as an IBM or IBM compatible personal computer having a Intel Pentium® processor chip or any other processing unit having equivalent processing capabilities can also be utilized to implement the data compression methods of the present invention. The methods of the present invention may be implemented using ANSI C programming language. However, it should also be appreciated that any other computer language capable of implementing the present methods may be used.
  • In addition to the processor 18, the signal compressor also includes an application specific integrated circuit (ASIC) 30 for performing discrete cosine transforms (DCT) in accordance with the preferred methods of the present invention as will be described below. Additionally, the signal compressor 18 also includes a histogram chip 32 for forming histograms for data transmission purposes, as will also be described in detail below.
  • Referring to FIG. 1b, a signal receiver is shown generally at 10b. The signal receiver includes a signal decompressor, shown generally at 40. As with the signal compressor, the decompressor may be a Sun Sparc 10 Workstation, an IBM personal computer with an Intel Pentium® processor, or any other processing unit having similar processing capabilities. It should be appreciated that the compressor and the decompressor may in fact be the same processing unit. The decompressor includes a processor 42 for performing inverse transforms to reconstruct the compressed video frames transmitted from the signal compressor 16. Specifically, an ASIC 44 is implemented to perform these inverse transforms. The processor 42 also includes a memory 46 and a power supply 48, of the type well known in the art. A video monitor 50 is also connected to the processor 42 for displaying the transmitted, reconstructed video frames. The video monitor is of the type well known in the art and may be a television, a computer display, or any other commercially available pixel-based video screen.
  • Referring to FIG. 2, a sequential group of video frames generated by the video signal source 12 is shown generally at 52. Each of the video frames represents a temporally successive arrangement of pixels, as indicated by the time designations T=0, T=1, etc. at 54 and as is well known in the art. In accordance with the methods of the present invention, pixel data contained in each video frame is transformed, through a two-dimensional discrete cosine transform (DCT) function by the ASIC from a spatial position domain to a spatial frequency domain.
  • Additionally, a one-dimensional DCT is performed by the ASIC 30 on the two-dimensionally transformed spatial data to effectively produce a "temporal frequency tag" for each of the spatial transform coefficients, thereby resulting in the coefficient transforms of the video frame data shown generally in FIG. 3 at 56 and labeled w=1, w=2, etc. at 57, with w designating a discrete temporal frequency domain increment. The coefficients are quantized as described below. The discrete cosine transform function is desirable for implementation in the methods of the present invention in that it closely approximates the ideal transform known as the Karhunen Loeve transform, which is known in the signal processing art as the ideal transform for a random process with known correlation coefficients between the terms in the random process, thereby calculating answers in a mathematical optimization manner. The two-dimensional spatial DCT of the plurality of video frames is indexed by the
    Figure imgb0001
    time tag" index t. c uvt = D ( u ) 2 D ( v ) 2 y = o N -1 x = o N -1 s ( x , y , t )cos (2 X +1) u π 2 N cos (2 y +1) v π 2 N
    Figure imgb0002
    where N is the number of pixels on one side of a pixel block, and: D ( u ) = 2 N for u = o ; D ( v ) = 2 N for v = o ; D ( u ) = 2 2 N for u > o ;
    Figure imgb0003
    and D ( v ) = 2 2 N for v > o
    Figure imgb0004
  • As shown in FIG. 4, after the one and two-dimensional transforms are performed by the ASIC 30, the resulting data for each video frame is quantized in a three-dimensional quantization matrix, shown generally at 58. Each of the resulting matrices includes eight coefficients per row, as indicated by the arrow U at 59 in FIG. 4, eight coefficients per column, as indicated by the arrow V at 60 and temporal quantization vectors associated with each spatial coefficient in the direction represented by arrow W at 61. The three-dimensional quantization matrix is formed by multiplying the 64 CUV quantization coefficients from the MPEG two-dimensional spatial matrix by a temporal scaling term represented by the temporal vector elements and derived from the one-dimensional discrete cosine transform. The formula is represented as follows: Q 3 D = q w Q MPEG
    Figure imgb0005
    where qw = (qw0, qw1,..., qw7) is the temporal scaling term derived from the rate-distortion optimization methods described below. Thus, each matrix representing a particular video frame in the eight frame sequence includes sixty-four three-dimensional coefficients, each presented generally by the term c̃uvw as shown generally in the matrix at 58. For the two-dimensional DCT, the DC value is the 0,0 term in the spatial domain and represents the average of intensities of pixels in the video frame in question. The remaining 63 coefficients, or AC values, are related to the difference between pixels in temporally successive frames.
  • Referring to FIG. 5, a preferred method of implementing a first data compression method according to a first embodiment of the present invention is shown generally at 62 and will now be described. As shown at 63, the original sequence of video frames is input into the compressor 16. The sequence of frames is then subjected to motion compensation analysis at step 64, as is done with conventional MPEG syntax and is as well known in the art. The general mathematical representation of the motion compensation is as follows. The displacements Δxn and Δyn for motion compensation of a macroblock (16-by-16 pixels) in frame n (sn) with respect to a macroblock from frame O (SO) are: minimum y = o 15 x = o 15 | S O ( x x n y y n )- S n ( x , y )| z
    Figure imgb0006
    over all possible Δxn, Δyn within a window of pixels in frame SO.
  • At step 66, a two-dimensional discrete cosine transform (DCT) as described above is performed on the data contained within the frames to transform the data from the spatial position domain to the spatial frequency domain. At step 68, a one-dimensional discrete cosine transform is performed on the data in the video frames as described above in the temporal dimension to thereby produce coefficients in the temporal frequency domain. The three-dimensional discrete cosine transform group of transform coefficients are ordered as a group of eight by eight matrices, with the number of matrices equaling the number of frames used in the group of frames being processed.
  • Subsequent to the above discrete cosine transformations in the spatial and temporal domains being performed on the data, the processor at step 70 adaptively creates a three-dimensional quantization matrix for each group of frames of video data in the memory 20 by determining the temporal quantization vector component that optimizes the rate at each temporal frequency.
  • Also at step 70, the method calculates the optimal distortion, or error, for the particular sequence of video frames being transmitted. In addition, at step 70, the optimal transmission bit rate is also calculated, as will be described in detail below. Subsequent to the optimal distortion and bit rate transmission calculations, at step 72 the method dequantizes the coefficients in the matrices formed and created at step 70 by removing the temporal scaling factor cw from the coefficients. At step 74, the method performs an inverse one-dimensional DCT to remove the coefficients from the temporal domain, thereby reverting the matrix back to a two-dimensional MPEG matrix with coefficients representing the spatial position of signal data. The compression method according to the present invention dequantizes the three-dimensional matrix and performs the inverse one-dimensional DCT function on the coefficients subsequent to transmission to both take advantage of the temporal compression of the three-dimensional DCT and to transmit the data in such a manner that the signal decompressor receives the intraframe coded frames in MPEG compatible form.
  • At step 76, the processor determines the probability of each coefficient being zero for the particular processed group of frames and arranges the coefficients accordingly in a zig-zag transmission block order utilized in conventional MPEG data compression methods. Subsequent to the coefficients being arranged in the above-described zig-zag order transmission block, the data is transmitted at step 78 to the signal decompressor 42. Subsequent to being transmitted, the zig-zag ordered block of data is reformatted at step 80 by the signal decompressor back into the two-dimensional MPEG spatial position coefficient matrix. Subsequently, at step 82, the signal decompressor processor 42 performs an inverse two-dimensional discrete cosine transform to revert the video data in the spatial frequency domain Cuvt back to the patial position domain s ^ ( x , y , t ), s ^ ( x , y , t ) = u = o n -1 D ( u ) 2 v = o N -1 D ( v ) 2 . C uvt cos (2 x +1) u Π 2 N cos (2 y +1) v Π 2 N
    Figure imgb0007
    where N is 8, the size of one side of the block of pixels, and D(u) and D(v) have been previously defined. At step 83, the method removes the motion compensation weighting from the data. At step 84, the reconstructed video frames are produced and output on the video monitor 26.
  • In the compression method above, it has been shown that the method may be implemented with present MPEG compatible video systems to achieve a compression rate of about 40:1, which is a significant increase when compared to the typical 30:1 compression rate of present MPEG-2 syntax. The above described three-dimensional DCT based method temporally compresses four to eight frames of video and thus has more compression potential than the commercial standard MPEG-1 and 2 syntaxes, which typically utilize less than eight frames for optimizing temporal redundancy and uses temporal compression for only two frames at a time. After optimizing temporal compression, the MPEG compatible algorithm uncompresses the temporal dimension before data transmission, leaving a two dimensional data format that is compatible with MPEG. Transmission and compression rates are thus determined after temporal uncompression, or dequantization and inverse transformation, has been performed.
  • It should be appreciated at this point that, in the above method, the temporal scaling parameter can be chosen either to set all temporal frequency distortions at the same value or to minimize distortion for a given target rate allocated to each temporal frequency.
  • Referring to FIG. 6, a second method of data compression according to a preferred embodiment of the present invention is illustrated through the flow diagram shown generally at 90. This second data compression method attacks the transmission order optimization after video frame coefficients have been transformed three-dimensionally, rather than use MPEG zig-zag order after the inverse temporal transformation implemented in the first data compression method DCT at step 64. At step 92, the original video frames are input into the compressor from the video signal source 12. The processor 18 initially performs motion compensation the frames at step 94. At steps 96 and 98, the method performs two-dimensional spatial and one-dimensional temporal DCT transforms, respectively, on the video data, as with the above described first decompression method. Also, at step 100, three-dimensional quantization matrices are adaptively created, as in the earlier described first method.
  • However, the second method differs in that at step 101, the histogram chip 32 creates a histogram of the quantized coefficients in the three-dimensional matrices such that the method may adaptively create a three-dimensional coefficient transmission order (i.e., a three-dimensional zig-zag order) block. Thus, the histogram chip generates a histogram that is used by the compressor to transform one three-dimensional matrix into another three-dimensional matrix based on the information the histogram collects. An ordering based on increasing spatio-temporal frequency, i.e., u 2 + v 2 + w 2
    Figure imgb0008
    would be an expression of the MPEG approach to transmission order. The data compression method of the present invention improves on the MPEG method by adapting the transmission order to the probability C ˜ uvw = o
    Figure imgb0009
    and thus optimizing the three-dimensional zero run length for each group of frames. The compressed bit stream thus includes an ordering with the coefficient having the least probability of being zero being first transmitted, with the coefficients having the least probability of being zero being transmitted in increasing probability order. In the zig-zag order, the first row of the first matrix of dequantized coefficients is the column from the processed group of frames with the least number of zeros. The second row of the first matrix of the dequantized coefficients is the column from the processed group of frames with the second least number of zeros. The remaining rows of the first matrix are filled out with similar ordering regarding number of zero coefficients in a column. Rows of the second matrix are filled if there are any remaining columns with non-zero coefficients. An end of block character is transmitted after the last row in the new matrix system having a non-zero coefficient is transmitted. This minimizes the amount of data transmitted having no energy and being represented by coefficients having a zero value. The decompressor at the other end subsequently fills in zeros to the rest of the transmitted bit stream before the decompressor starts data decompression.
  • The MPEG-like ordering with increasing spatio-temporal frequency is lost upon data transmission due to the three-dimensional zig-zag block being transmitted, as the block must be reordered before the inverse one-dimensional transform may be performed. However, by truncating the number of zeros being transmitted in the high compression method and transmitting the data in a three-dimensional block, the zero run length is increased in two different directions, thereby giving about a fivefold increase in compression over the MPEG compatible method.
  • Subsequent to the three-dimensional zig-zag order block being implemented, the matrix coefficients are transmitted at step 102. After transmitting the signal data, the method undoes the three-dimensional zig-zag transmission order block at step 104 before the inverse one-dimensional and inverse two-dimensional DCT transforms can be performed at steps 106 and 108, respectively. Subsequently, motion compensation is removed, and the video frames are reconstructed and output to the video monitor 26 at steps 110 and 112.
  • It should be appreciated from the foregoing that, in general, utilization of the temporal dimension quantization matrix in both the above described methods allows the compression ratio to be optimized, while at the same time maintains the amount of signal distortion at a level that is not observable to the human eye. Signal compression is thus maximized while computational complexity is minimized.
  • Referring now to FIG. 7, a flow diagram illustrating the transmission rate calculations performed by the above data compression methods are illustrated generally at 120. The transmission rate is calculated using entropy calculations based on pseudo-probability distribution of coefficients, and not on the actual MPEG syntax calculations. The entropy calculations slightly overestimate the transmission rate. The entropy calculation accounts for all quantized coefficients, whereas the MPEG method truncates coefficients if the coefficients exceed certain minimum or maximum limits defined by the MPEG standard. The equation for rate determination using Huffman coding is: Rate H ( p ̲ ) + i H ( p i ) L i
    Figure imgb0010
    where p is the probability vector for non-zero transform coefficients, Li is the zero run length plus one and pi is the probability of a sum of i zeros. MPEG software, which is publicly available on the Internet, could be used instead of the entropy calculations.
  • As shown in step 122, video signal data is input. This data correlates to the three-dimensional quantization coefficients that fill the three-dimensional quantization matrices performed at steps 60 and 98, respectively, of the above described first and second methods. At step 124, the quantizer is stepped up gradually in small increments. At each temporal frequency, a temporal quantizer scaling term is determined from optimizing rate-distortion performance at that temporal frequency. At step 126, the distortion rate R ¯
    Figure imgb0011
    is calculated. The optimal R ¯
    Figure imgb0012
    is calculated by plotting transmission rate versus temporal quantization component qw. Such a plot results in the generation of a curve with a minimum rate value, as indicated generally at 127 in FIG. 9. At step 128, the processor determines if the minimum value for R ¯
    Figure imgb0013
    has been found by successively choosing points on the generated curve 127. At step 130, the method determines if the processor has found the minimum value of R ¯
    Figure imgb0014
    . If the processor has found the minimum value, the value qw is set to minimize the value R ¯
    Figure imgb0015
    (qw). R ¯
    Figure imgb0016
    is an approximation to the average rate for the group of frames, which is usually the rate for the first frame of a group of frames. Use of one frame to represent the rate for a group of frames is typically sufficient for rate optimization. If the minimum value is not found, the method returns to step 128 to continue searching for the minimum value of R ¯
    Figure imgb0017
    . Subsequent to step 130, the method increments to step 132, where steps 124-132 are repeated for qw1, qw2, ... until the overall transmission rate for each R ¯
    Figure imgb0018
    (qw) has been computed for qw7. At step 134, the method determines if the next value for qw equals qw8. If so, the method ends until the next group of frames is compressed. If qw8 has not been computed, the method returns to step 124 for further transmission rate computations.
  • Similarly, as shown in FIG. 8, the preferred method of implementing a signal distortion optimization calculation is shown at 150. At step 152, the scaling factor qw is incremented. The distortion rate D is calculated in parallel to the transmission rate calculation at the processor 18, as is indicated at step 154. The distortion rate is calculated as: D = u , v , w ( c uvw - c ˜ uvw ) 2
    Figure imgb0019
    As shown, the distortion rate is the square of the difference between the coefficients with and without temporal quantization vector weighing factor. The sum of each of the individual error contributions for a particular coefficient gives the total distortion error due to quantization. R ¯
    Figure imgb0020
    is an estimate to the true compressed rate; it is a performance metric used to set the terms in the temporal quantization vector during rate optimization procedure. R ¯
    Figure imgb0021
    is calculated in the following way. A set of quantized coefficients at a qw value is made, and the three-dimensional quantized coefficients are temporally dequantized and inverse one-dimensional DCT transformed. The rate for a frame is then determined and set equal to R ¯
    Figure imgb0022
    . This process repeats until the minimum R ¯
    Figure imgb0023
    is set for each temporal frequency.
  • At step 156, the method determines if D (qw) is above the threshold of the human visual system. If the distortion is above the threshold, the method returns to step 152 and the distortion is calculated until the value of D(qw) is above the threshold of human visualization. When the value is such, the qw iteration is stopped as indicated at step 158.
  • At step 160, the distortion rate for the next spatial transmission matrix for the next video frame is calculated. At step 162 the method determines if D (qw) has been computed for all values of w from w=0 to w=7 assuming that a group consisting of eight video frames is being compressed. If the method is finished, the method ends until the data from the next group of frames is entered for processing. If the method is not finished, the method returns to step 152 to continue calculating the distortion rate for the next qw.
  • It should be appreciated at this point that it has been observed that typically only qw0 and qw1 actually have a measurable effect on the distortion rate and bit rate transmission calculations for the methods of the present invention. Thus, the values for qw2 through qw7 could be set at default values to further simplify the above-described data compression methods. It should also be appreciated that the rate/distortion sequence of the compression methods of the present invention could be enhanced by optimizing both the DC and AC coefficients separately. The rate/distortion optimization method could also be enhanced by using the Lagrange multiplier method.
  • From the foregoing explanation, it should be appreciated that the video signal compression methods of the present invention provide methods for compressing digital video signals in a manner that achieves high bit rate transmission with minimal detected distortion. The methods of the present invention maximize use of temporal compression through temporal redundancy and thereby minimize the number of quantization variables required for data compression and thus the complexity of the data compression operation. The data compression methods of the present invention exhibit increased compression ratios when compared to present MPEG-1 and MPEG-2 based data compression methods while at the same time minimize data compression complexity.
  • Various other advantages of the present invention will become apparent to those skilled in the art after having the benefit of studying the foregoing text and drawings, taken in conjunction with the followings claims.

Claims (14)

  1. A method of compressing video signal data, comprising:
    providing a signal compressor for performing video signal data compression operations;
    receiving a video signal at said signal compressor, said video signal including spatial and temporal data from a plurality of video signal frames;
    conditioning said spatial and temporal data for data quantization;
    quantizing said conditioned spatial and temporal data such that said conditioned spatial data is associated with said conditioned temporal data;
    determining an optimum transmission rate and signal distortion level from said conditioned quantized spatial and temporal data;
    dequantizing said conditioned quantized spatial and temporal data to disassociate said conditioned temporal data from said conditioned spatial data; and
    formatting said conditioned spatial data into a matrix in a zig-zag configuration block for data transmission.
  2. The method of Claim 1, wherein said step of conditioning said spatial and temporal data comprises the steps of:
    transforming said spatial data from a spatial location domain to a spatial frequency domain; and
    transforming said temporal data from a temporal location domain to a temporal frequency domain to maximize video signal transmission rate and to minimize video signal distortion.
  3. The method of Claim 1, further comprising the steps of:
    transmitting said zig-zag configuration block to a signal decompressor; and
    reconstructing said video signal data from said transmitted zig-zag configuration block.
  4. The method of Claim 3, wherein said step of reconstructing said video signal data comprises the steps of:
    undoing said zig-zag configuration block of said conditioned spatial data; and
    performing an inverse transform on said conditioned spatial data to reconstruct said video signal frames.
  5. The method of Claim 1, wherein said step of conditioning said spatial data comprises performing a two-dimensional discrete cosine transform of said data, and said step of conditioning said temporal data comprises performing a one-dimensional discrete cosine transform of said data.
  6. A system for transmitting video signal data, comprising:
    a signal input for receiving a video signal containing a plurality of frames of video data;
    a video signal compressor, comprising:
    a processor for transforming spatial domain data to frequency domain data and for transforming temporal domain data to frequency domain data to scale said transformed spatial data;
    said processor loading said transformed spatial and temporal data into quantization matrices in an associated memory and performing signal distortion and transmission rate optimization calculations based on said data in said quantization matrices;
    said processor dequantizing said temporal data and performing an inverse transformation function on said temporal data subsequent to performing said signal distortion and transmission rate optimization calculations;
    said processor subsequently configuring said quantized spatial data in a zig-zag transmission order block before transmitting said data;
    a transmitter for transmitting said compressed video signal data from said processor; and
    a signal decompressor for receiving said data transmitted from said processor and reconfiguring said data from said zig-zag transmission order before performing an inverse transformation of said data to reconstruct said video data frames.
  7. A method of compressing video signal data, comprising the steps of:
    providing a signal compressor for performing video compression operations;
    inputting video signal data including a plurality of video frames into said signal compressor;
    performing a three-dimensional transformation of said video signal data from spatial and temporal position domains to a frequency domain;
    creating a plurality of three-dimensional quantization matrices, each matrix containing two-dimensional quantization coefficients corresponding to data from one of said video frames in said video signal, each of said plurality of matrices including a third dimension in which a temporal quantization vector is associated with each of said two-dimensional quantization coefficients;
    calculating maximum transmission rate and optimal signal distortion parameters for each of said plurality of video frames from said quantization matrices; and
    creating a three-dimensional zig-zag order transmission block from said data in said quantization matrices for data transmission.
  8. The method of Claim 7, further comprising the steps of:
    transmitting said zig-zag order transmission block;
    undoing said zig-zag order transmission block; and
    reconstructing said original video frames from said transmitted data.
  9. The method of Claim 8, wherein said step of reconstructing said video frames comprises performing inverse transformations of said spatial and said temporal video signal data to reconstruct said video signal data into said original plurality of video frames.
  10. The method of Claim 7, wherein said step of performing three-dimensional transformation of said video signal data comprises:
    performing a two-dimensional transformation of video signal data in a spatial location domain to a spatial frequency domain; and
    performing a one-dimensional transformation of video signal data in a temporal location domain to scale said video signal data in said temporal domain.
  11. A system for transmitting video signal data, comprising:
    a signal generator for generating video signals;
    a signal input for receiving a video signal containing a plurality of frames of video data from said signal generator;
    a video signal compressor, comprising:
    a processor for performing both a two-dimensional discrete cosine transform of spatial location data to spatial frequency data and a one-dimensional discrete cosine transform of temporal location data to temporal frequency data;
    said processor having an associated memory, said processor loading said transformed data into quantization matrices in said memory and performing signal distortion and transmission rate optimization calculations based on said transformed data in said quantization matrices;
    said processor subsequently formatting said transformed, quantized data into a three-dimensional zig-zag order block for transmission subsequent to performing said signal distortion and transmission rate optimization calculations;
    a transmitter for transmitting said three dimensional zig-zag order block; and
    a signal decompressor for receiving said zig-zag order block from said transmitter and for reconstructing said original video frames from said zig-zag order block.
  12. A method of transmitting a digital video signal, comprising the steps of:
    spatially and temporally transforming video signal information;
    quantizing said spatially and temporally transformed digital video signal information to calculate optimal transmission and signal distortion rates;
    dequantizing said quantized, temporally transformed digital signal information;
    inverse transforming said temporally transformed digital video signal information;
    entropy coding said spatially transformed, quantized digital video signal information;
    transmitting said entropy coded spatially transformed, quantized digital video signal information; and
    reconstructing said original digital video signal information from said transmitted entropy coded spatially transformed quantized digital video signal information.
  13. A method of transmitting a digital video signal, comprising the steps of:
    spatially and temporally transforming digital video signal information;
    quantizing said spatially and temporally transformed digital video signal information to calculate optimal transmission and signal distortion rates;
    entropy coding said three-dimensional quantized video signal information;
    transmitting said entropy coded three-dimensional quantized digital video signal information; and
    reconstructing said original digital video signal information from said transmitted entropy-coded three-dimensional quantized digital video signal information.
  14. The method of Claim 13, wherein said step of reconstructing said original video signal information comprises the steps of:
    subsequent to said step of transmitting said quantized information, dequantizing said information; and
    inverse transforming said spatially transformed information.
EP97100607A 1996-03-25 1997-01-16 Method and system for three-dimensional compression of digital video signals Withdrawn EP0798928A3 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US62185596A 1996-03-25 1996-03-25
US621855 1996-03-25

Publications (2)

Publication Number Publication Date
EP0798928A2 true EP0798928A2 (en) 1997-10-01
EP0798928A3 EP0798928A3 (en) 1997-12-29

Family

ID=24491933

Family Applications (1)

Application Number Title Priority Date Filing Date
EP97100607A Withdrawn EP0798928A3 (en) 1996-03-25 1997-01-16 Method and system for three-dimensional compression of digital video signals

Country Status (5)

Country Link
US (2) US5936669A (en)
EP (1) EP0798928A3 (en)
JP (1) JP3445919B2 (en)
KR (1) KR100262236B1 (en)
TW (1) TW364107B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0866622A2 (en) * 1997-03-21 1998-09-23 Trw Inc. Video data compression method
WO1999025121A1 (en) * 1997-11-07 1999-05-20 Pipe Dream, Inc. Method for compressing and decompressing motion video
US6909746B2 (en) 2001-03-30 2005-06-21 Koninklijke Philips Electronics N.V. Fast robust data compression method and system

Families Citing this family (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3518717B2 (en) * 1996-09-20 2004-04-12 ソニー株式会社 Moving picture coding apparatus and method, and moving picture decoding apparatus and method
US6272175B1 (en) * 1997-02-13 2001-08-07 Conexant Systems, Inc. Video signal coding systems and processes using adaptive quantization
US6111914A (en) * 1997-12-01 2000-08-29 Conexant Systems, Inc. Adaptive entropy coding in adaptive quantization framework for video signal coding systems and processes
US6118822A (en) * 1997-12-01 2000-09-12 Conexant Systems, Inc. Adaptive entropy coding in adaptive quantization framework for video signal coding systems and processes
US6728313B1 (en) * 1998-01-08 2004-04-27 Intel Corporation Method and apparatus for performing MPEG II dequantization and IDCT
US7209519B2 (en) * 2001-04-16 2007-04-24 Mitsubishi Electric Research Laboratories, Inc. Encoding a video with a variable frame-rate while minimizing total average distortion
US6628300B2 (en) * 2001-11-30 2003-09-30 International Business Machines Corporation Transcoding proxy and method for transcoding encoded streams
US10277656B2 (en) * 2002-01-29 2019-04-30 FiveOpenBooks, LLC Method and system for delivering media data
US9350782B2 (en) * 2002-01-29 2016-05-24 Antonio Ortega Method and system for delivering media data
US20090064242A1 (en) * 2004-12-23 2009-03-05 Bitband Technologies Ltd. Fast channel switching for digital tv
KR100703799B1 (en) * 2005-07-19 2007-04-06 삼성전자주식회사 unquantization method, unqauntization apparatus, method and apparatus for video decoding using the unquantization method
US8605797B2 (en) * 2006-02-15 2013-12-10 Samsung Electronics Co., Ltd. Method and system for partitioning and encoding of uncompressed video for transmission over wireless medium
WO2007102147A2 (en) * 2006-03-07 2007-09-13 Bitband Technologies Ltd. Personalized insertion of advertisements in streaming media
CA2636512C (en) * 2007-06-29 2011-08-30 Abl Ip Holding, Llc Led lighting assemblies for display cases
US8842739B2 (en) * 2007-07-20 2014-09-23 Samsung Electronics Co., Ltd. Method and system for communication of uncompressed video information in wireless systems
US8243823B2 (en) 2007-08-29 2012-08-14 Samsung Electronics Co., Ltd. Method and system for wireless communication of uncompressed video information
US8700792B2 (en) * 2008-01-31 2014-04-15 General Instrument Corporation Method and apparatus for expediting delivery of programming content over a broadband network
CN101521819B (en) * 2008-02-27 2010-12-01 深圳市融创天下科技发展有限公司 Method for optimizing rate distortion in video image compression
US8752092B2 (en) * 2008-06-27 2014-06-10 General Instrument Corporation Method and apparatus for providing low resolution images in a broadcast system
WO2010033151A1 (en) * 2008-09-18 2010-03-25 Thomson Licensing Methods and apparatus for video imaging pruning
US9369759B2 (en) * 2009-04-15 2016-06-14 Samsung Electronics Co., Ltd. Method and system for progressive rate adaptation for uncompressed video communication in wireless systems
US20120215788A1 (en) * 2009-11-18 2012-08-23 Nokia Corporation Data Processing
US20120275510A1 (en) * 2009-11-25 2012-11-01 Massachusetts Institute Of Technology Scaling signal quality with channel quality
JP5625342B2 (en) * 2009-12-10 2014-11-19 ソニー株式会社 Image processing method, image processing apparatus, and program
JP5428886B2 (en) * 2010-01-19 2014-02-26 ソニー株式会社 Information processing apparatus, information processing method, and program thereof
US8525835B1 (en) 2010-02-24 2013-09-03 The Boeing Company Spatial data compression using implicit geometry
US9357244B2 (en) * 2010-03-11 2016-05-31 Arris Enterprises, Inc. Method and system for inhibiting audio-video synchronization delay
JP5703781B2 (en) * 2010-09-03 2015-04-22 ソニー株式会社 Image processing apparatus and method
JP2012209673A (en) * 2011-03-29 2012-10-25 Sony Corp Information processing apparatus, information processing method, image provision system, image provision method, and program
WO2012166512A2 (en) 2011-05-31 2012-12-06 Dolby Laboratories Licensing Corporation Video compression implementing resolution tradeoffs and optimization
US20140328406A1 (en) 2013-05-01 2014-11-06 Raymond John Westwater Method and Apparatus to Perform Optimal Visually-Weighed Quantization of Time-Varying Visual Sequences in Transform Space
US20160360237A1 (en) * 2013-12-22 2016-12-08 Lg Electronics Inc. Method and apparatus for encoding, decoding a video signal using additional control of quantizaton error
RU2557449C1 (en) * 2014-04-07 2015-07-20 Федеральное государственное казенное военное образовательное учреждение высшего профессионального образования "Военная академия связи имени Маршала Советского Союза С.М. Буденного" Министерства Обороны Российской Федерации (Минобороны России) Video encoding and decoding method based on three-dimensional discrete cosine transform
US10553015B2 (en) 2017-03-31 2020-02-04 Google Llc Implicit view-dependent quantization

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4933763A (en) * 1988-02-29 1990-06-12 U.S. Philips Corporation Method of and arrangement for coding digital video signals and corresponding decoding arrangement
US4999705A (en) * 1990-05-03 1991-03-12 At&T Bell Laboratories Three dimensional motion compensated video coding

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2252002B (en) * 1991-01-11 1995-01-04 Sony Broadcast & Communication Compression of video signals
US5293434A (en) * 1991-04-10 1994-03-08 International Business Machines Corporation Technique for use in a transform coder for imparting robustness to compressed image data through use of global block transformations
JP2924430B2 (en) * 1991-04-12 1999-07-26 三菱電機株式会社 Motion compensated predictive coding apparatus and motion compensated predictive decoding apparatus
AU658432B2 (en) * 1991-06-04 1995-04-13 Qualcomm Incorporated Adaptive block size image compression method and system
US5227878A (en) * 1991-11-15 1993-07-13 At&T Bell Laboratories Adaptive coding and decoding of frames and fields of video
US5367629A (en) * 1992-12-18 1994-11-22 Sharevision Technology, Inc. Digital video compression system utilizing vector adaptive transform
US5530661A (en) * 1994-10-05 1996-06-25 Winnov Data bit-slicing apparatus and method for computing convolutions

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4933763A (en) * 1988-02-29 1990-06-12 U.S. Philips Corporation Method of and arrangement for coding digital video signals and corresponding decoding arrangement
US4999705A (en) * 1990-05-03 1991-03-12 At&T Bell Laboratories Three dimensional motion compensated video coding

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
CHAN Y -L ET AL: "A NEW ADAPTIVE INTERFRAME TRANSFORM CODING USING DIRECTIONAL CLASSIFICATION" PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (IC, AUSTIN, NOV. 13 - 16, 1994, vol. 2 OF 3, 13 November 1994, INSTITUTE OF ELECTRICAL AND ELECTRONICS ENGINEERS, pages 977-981, XP000522761 *
J.-R. OHM: "Digitale Bildcodierung - Repr{sentation, Kompression und ]bertragung von Bildsignalen" 1995 , SPRINGER-VERLAG , BERLIN HEIDELBERG NEW YORK XP002044352 * page 336 - page 361; figure 16.5 * *
JONG WON KIM ET AL: "ON THE ADAPTIVE THREE-DIMENSIONAL TRANSFORM CODING TECHNIQUES FOR MOVING IMAGES" SIGNAL PROCESSING. IMAGE COMMUNICATION, vol. 6, no. 6, 1 February 1995, pages 525-543, XP000491859 *
OHM J -R: "Three-dimensional subband coding with motion compensation" IEEE TRANSACTIONS ON IMAGE PROCESSING, SEPT. 1994, USA, vol. 3, no. 5, ISSN 1057-7149, pages 559-571, XP000476832 *
ROESE J A ET AL: "INTERFRAME COSINE TRANSFORM IMAGE CODING" IEEE TRANSACTIONS ON COMMUNICATIONS, vol. 25, no. 11, November 1977, pages 1329-1339, XP000615130 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0866622A2 (en) * 1997-03-21 1998-09-23 Trw Inc. Video data compression method
EP0866622A3 (en) * 1997-03-21 2001-03-14 Trw Inc. Video data compression method
WO1999025121A1 (en) * 1997-11-07 1999-05-20 Pipe Dream, Inc. Method for compressing and decompressing motion video
US6909746B2 (en) 2001-03-30 2005-06-21 Koninklijke Philips Electronics N.V. Fast robust data compression method and system

Also Published As

Publication number Publication date
JPH1075446A (en) 1998-03-17
US5936669A (en) 1999-08-10
TW364107B (en) 1999-07-11
KR100262236B1 (en) 2000-07-15
EP0798928A3 (en) 1997-12-29
US5933193A (en) 1999-08-03
JP3445919B2 (en) 2003-09-16

Similar Documents

Publication Publication Date Title
US5933193A (en) Method and system for three-dimensional compression of digital video signals
US7003168B1 (en) Image compression and decompression based on an integer wavelet transform using a lifting scheme and a correction method
US5786856A (en) Method for adaptive quantization by multiplication of luminance pixel blocks by a modified, frequency ordered hadamard matrix
US5426512A (en) Image data compression having minimum perceptual error
US8024389B2 (en) Inverse discrete cosine transform supporting multiple decoding processes
EP0584741A2 (en) Image signal encoding device
EP0734164B1 (en) Video signal encoding method and apparatus having a classification device
US7634148B2 (en) Image signal transforming and inverse-transforming method and computer program product with pre-encoding filtering features
AU6347890A (en) Improved image compression method and apparatus
US20050213836A1 (en) Method and apparatus for optimizing a JPEG image using regionally variable compression levels
US6888891B2 (en) Wavelet domain half-pixel motion compensation
US6014172A (en) Optimized video compression from a single process step
US7099523B2 (en) Method and system for scaling a signal sample rate
Nicoulin et al. Image sequence coding using motion compensated subband decomposition
Kuo et al. Multiresolution video coding based on Kalman filtering motion estimation
JPH0711832B2 (en) High-efficiency image coding device
Elmourssi et al. A PERFORMANCE STUDY OF TWO JPEG COMPRESSION APPROACHES
Nadu Removing coding and inter pixel redundancy in high intensity part of image
EP1376379A2 (en) Apparatus and method to perform an inverse discrete cosine transform for multiple decoding processes
Gershikov et al. On a Probabilistic Approach to Rate Control for Optimal Color Image Compression and Video Transmission
JPH05347708A (en) Image converter
Sampson et al. Image and video compression for multimedia applications
JPH07203432A (en) Image compressor and image expander
Kuo et al. Image compression based on pyramid sub-band filtering
Hoffman Image quality measures for evaluation of data compression methods

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

AK Designated contracting states

Kind code of ref document: A2

Designated state(s): DE FR GB

PUAL Search report despatched

Free format text: ORIGINAL CODE: 0009013

AK Designated contracting states

Kind code of ref document: A3

Designated state(s): DE FR GB

17P Request for examination filed

Effective date: 19980121

17Q First examination report despatched

Effective date: 20000316

GRAG Despatch of communication of intention to grant

Free format text: ORIGINAL CODE: EPIDOS AGRA

GRAG Despatch of communication of intention to grant

Free format text: ORIGINAL CODE: EPIDOS AGRA

GRAH Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOS IGRA

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20020426