WO2004104930A2 - Hybrid video compression method - Google Patents

Hybrid video compression method Download PDF

Info

Publication number
WO2004104930A2
WO2004104930A2 PCT/HU2004/000055 HU2004000055W WO2004104930A2 WO 2004104930 A2 WO2004104930 A2 WO 2004104930A2 HU 2004000055 W HU2004000055 W HU 2004000055W WO 2004104930 A2 WO2004104930 A2 WO 2004104930A2
Authority
WO
WIPO (PCT)
Prior art keywords
block
blocks
coded
sub
frame
Prior art date
Application number
PCT/HU2004/000055
Other languages
French (fr)
Other versions
WO2004104930A3 (en
Inventor
Peter Toth
József KÁROLY
Original Assignee
Amt Advanced Multimedia Technology Ab
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 Amt Advanced Multimedia Technology Ab filed Critical Amt Advanced Multimedia Technology Ab
Priority to JP2006530613A priority Critical patent/JP2007503784A/en
Priority to CA002526450A priority patent/CA2526450A1/en
Priority to US10/557,440 priority patent/US8086052B2/en
Priority to EP04734055A priority patent/EP1629437A2/en
Priority to CN2004800209079A priority patent/CN1857001B/en
Publication of WO2004104930A2 publication Critical patent/WO2004104930A2/en
Priority to NO20055660A priority patent/NO20055660L/en
Publication of WO2004104930A3 publication Critical patent/WO2004104930A3/en

Links

Classifications

    • 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/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/523Motion estimation or motion compensation with sub-pixel accuracy
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent
    • 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
    • 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/149Data rate or code amount at the encoder output by estimating the code amount by means of a model, e.g. mathematical model or statistical model
    • 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/154Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion
    • 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/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • H04N19/517Processing of motion vectors by encoding
    • H04N19/52Processing of motion vectors by encoding by predictive encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • 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/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/96Tree coding, e.g. quad-tree coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/048Activation functions

Definitions

  • the invention relates to video compression, more particularly to a method, and apparatus for compressing a video frame sequence.
  • Digital video images moving images
  • the amount of information contained in digital video calls for the improvement of the transfer bandwidth of digital video systems and for higher-capacity storage devices.
  • An evidence of progress in the latter field is the rocketing increase of the capacity of Flash-type semiconductor memory modules in recent years.
  • the information content of digital video is extremely high, which makes it practically impossible or at least very expensive to use semiconductor memory for storing video digital data.
  • a single minute of full-resolution (Dl) digital video needs 1,866 Gbyte storage capacity without compression.
  • the bandwidth may reach 248 000 kbit/s.
  • the video encoding system known as MPEG1 appeared, which was capable of reducing the amount of digital video data to approx 1/30 th of the original. Due to quality issues, this system was improved, and the video encoder known as MPEG2 was born. This is applied primarily in DVD and DVB systems.
  • An improved variety of the system, MPEG4 has been designed for the purposes of Internet-oriented, so-called streaming media.
  • the object of the present invention is a high-efficiency video data compression system.
  • the proposed system makes it possible to store video data in semiconductor memory modules, permitting the application of low-cost RAM memory modules for storing video data, such RAM modules being widespread on the computer market,.
  • Such a non-mechanic storage system i. e. a storage system that does not contain moving parts
  • the coding system applying the inventive compression method can be ⁇ used for replacing the mechanical tape recording system of conventional video cameras, storing digital video data e.g. in Flash memory.
  • the proposed Hybrid Video Compression coding system enables the bandwidth of the digital data stream to be decreased to 300-600 kbit/s, while preserving good video quality, which means that for two hours of video only 4-500 Mbyte storage space is needed.
  • the amount of coded data is changing dynamically within minimum and maximum limits in order to maintain the desired quality and desired total data length.
  • known software programs perform compression control in accordance with the average coded frame length calculated for a sequence consisting of x frames. If the average length exceeds the previous average length value, the compression will be stronger (the compression ratio is increased). If the average length is smaller than the previous value, the compression ratio is decreased within specified minimum and maximum limit values.
  • the compression ratio is usually increased by selecting "stronger” quantization (a “rounding off operation performed during transformations, see below). That causes higher error rate and noise. Errors are often visually conspicuous and disturbing, especially under 1 Mbit/s. Since compressibility changes from frame to frame, in case of a constant expected quality it is usually difficult to maintain the desired average frame length. The minimum and maximum length values usually cannot be set too high, because that would result in the control range becoming too wide and the coded length varying over too large a scale. It is often the case that the specified minimum value cannot provide the desired quality so it would be necessary to further increase the compression ratio.
  • the MPEG method One of the most widespread and known methods for compressing video ⁇ be regarded a hybrid coding method, as it unites the compression based on spatial redundancy and the compression based on temporal redundancy.
  • the method based on spatial redundancy either reduces the information content of the frame by reducing details, or by recognizing and exploiting recurring features in the frame.
  • the compression method relying on temporal redundancy uses preceding and subsequent frames, and encodes only these changes.
  • JPEG One of the known methods for still image compression is JPEG.
  • the method is also based on crizosia.
  • the image to be. compressed is divided into blocks, and the . , information content of the blocks is reduced using discrete cosine transformation. .. ⁇ • ⁇ .
  • Received blocks to be compressed are passed to selector 2 through input line 1.
  • the selector 2 decides if the given block is an intra-, inter-, or predicted block, and treats it accordingly.
  • the block having passed the DCT (discrete cosine transform) module 3 and quantization module 4, is coded in the entropy coding module 13 and is written out through video multiplexer 14 onto output 15, into the compressed output data stream which is to be transmitted or stored.
  • Transformed data of intra/inter blocks are reconstructed by inverse quantization module 5, IDCT (inverse cosine transform) module 6 and selector 7, and these data are finally written into reference frame store 8.
  • the quantization module 4 essentially divides the elements of the DCT transformed block (the DCT coefficients) with the quantization factor. Coefficients are reconstructed by the inverse quantization module 5, in practice by multiplying them with the quantization factor. In other words, the inverse quantization module attempts to restore the original values of DCT coefficients, at least to the extent possible, allowed by the errors arising from the integer division. This is done with the intention of immediately decoding each frame or each block within a frame. The immediate decoding is necessary because the method uses the decoded frame as reference for coding the next frame.
  • This procedure does not include entropy coding(decoding), because it would be superfluous, considering that entropy coding does not cause information loss which should be taken into account in the decoded reference frame.
  • the first frame has no reference, which means that it is always a so- ⁇ frame). Thus, with the first frame the above procedure is repeated until the entire I-type frame is processed. Frames or blocks that use the previous or subsequent frame as reference are called respectively P- and B-type frames/blocks.
  • Blocks of the next received frame are fed into the motion estimation module 10 that attempts to find a reference block for the block to be coded in the reference frame stored in reference frame store 8.
  • the motion estimation module 10 performs motion compensation using the found, reference block, then the (original) block to be coded is subtracted from the reference block by prediction module 9, with the difference being passed , on to the modules carrying out the above transformations: to selector 2, DCT transformation module 3 and quantization module 4, then to entropy coding module 13, and finally to multiplexer 14.
  • the motion vector (MV) produced as the result of motion compensation, is coded by the entropy coding module 12 and is passed on to the multiplexer 14, which inserts the motion vector into the output data stream 15.
  • the 7 module is a selector/sum module that leaves data of I-type blocks unchanged, while in case of P- and B-type blocks adds the found reference block to the inverse transformed differences. The block thus reconstructed is subsequently written into the reference frame store.
  • Positions found during the search are converted into vectors and coded by the entropy coding module 12.
  • Compression systems relying on temporal redundancy encode only the changed portions of consecutive frames. In practice, this is done by dividing the frames into blocks and comparing individual blocks pixel by pixel with pixels located in a search range of the previous or the subsequent frame.
  • the procedure is illustrated in Fig. 2, showing that a reference block best matching a given block 20 of a frame 17 is being searched for in the sea in the previous frame 16 or in the search range 19 of the subsequent frame 18.
  • the reference block can be located anywhere, it need not coincide with the search ranges (shown in grey) designated in the reference frames 16 or 18. It may of course happen that in such cases the reference search is unsuccessful in the given reference frame(s).
  • the reference frames 17, 18 are not divided into blocks for the reference search, the blocks are shown in Fig. 2 only for the sake of better overview.
  • MSE(k,l ;u,v) (I n (k + i,l + j) - I n _ j (k + i+ u,l + j + v) ) z -
  • MSE is the so-called Mean Square Error, quantifying in essence the comparison of individual pixels of the block to be coded and the sought reference block, the comparison being performed pixel by pixel
  • indices k,l are indices determining the position of the block to be coded
  • indices u,v are indices pointing to the search range located in the reference frame
  • M, N are the horizontal and vertical size of the block.
  • Frames located consecutively before and after the frame containing the block to be coded are uniformly called reference frames.
  • a search range with a typical size of -32/32 pixels is set up in the reference frame.
  • the position of the current block to be coded will be designated as the centre of the search range. That is, if the coding process is currently at position 10, 10 then this position will be the centre of the search range in the reference frame.
  • the range is scanned step-by-step with the current block and the error (the above specified MSE value) is calculated in each step.
  • the best reference candidate will be the position where the search gives the smallest error, that is, the block best matching the current block to be coded. Based on the error value, it can be determined whether the search can be regarded successful or not. In case of a successful search the sought reference block position is obtained in full resolution mode.
  • the noise and other disturbing factors should be filtered.
  • the filters perform the damping of high-frequency components depending on the predetermined sampling frequency, and are thereby able to suppress picture noise to some extent.
  • Filters usually compensate errors by averaging each pixel with pixels located beside or above it, or with both. For instance, the so-called 1/2 pixel-resolution reference frame is produced by inserting a pixel between every two neighbouring pixels of the original frame, with the average value of the two neighbouring pixels. The result is substantially the same if a new pixel is created from the average values of every two neighbouring pixels, using the new pixels to create a new frame with a resolution identical with the original. This frame is practically shifted l pixel left relative to the original in case it was interpolated horizontally, and Vi pixel up in case it was interpolated vertically.
  • bilinear filters For error compensation, usually bilinear filters are proposed. Bilinear filtering involves creating three interpolated (filtered) reference frames, namely one with vertical, one with horizontal, and one with both vertical and horizontal interpolation. It should be remembered that a reference frame is the decoded (reconstructed) variety of a coded intra (or inter) frame. This is done in order to prevent further frames, which are based on the given reference frame, from being further deteriorated by the quantization error present in the decoded reference frame.
  • the search is canied on with l A pixel resolution (that is, it is continued in the filtered reference frame).
  • a new search range is established with limits -1/+1, -1/+1, i.e. at (x +(-l/+l),y + ( - 1/+1)) , with the position of the best block, found in the first search phase (the search in the non-filtered reference), set as the centre of the range. Now the search is repeated using the new range.
  • the selector picks the required interpolated reference frame according to the positions and also the particular block in the frame that is determined by the positions, and calculates the squared error relative to the current block. At the end of the search the position where the error was the smallest is retained. So, pixels of the current block will be subtracted from pixels of the block that was pointed to by the selector - when the error was smallest. This is illustrated in Fig., 3.
  • a block similar to or identical with block 24 of the frame 22 to be coded is sought in -the reference frame 23. When the best matching block 25 is found, the contents thereof are fed into the Sad/Sub (comparison).. module.
  • Fig. 4 shows the schematic block diagram of the coding process for an intra frame.
  • the input frame 31 has Y, UV format where Y contains the luma information and UV contains the colour difference (chroma) information.
  • the frame 31 comprises e.g. 8x8-pixel sized blocks.
  • individual blocks are 8x8 matrices, with separate Y and UV blocks associated to a ⁇ given frame.
  • Y and UV blocks are coded similarly, so they are generally represented in Fig. 4 by the matrix f(i,j).
  • the result of.ther DCT transformation performed in step 31 on a given block is the matrix denoted F(u,v), also comprising 8x8 elements.
  • Fig. 5 shows the coding of a matched and compensated P-type block. It is sought to find a reference block 43 for the block 42 to be coded. The block 42 is located in its original position 40, betw the current frame to be coded. The reference block 43 may be located in the position indicated with the reference numeral 41. The search is performed by stepping the block 42 to be coded through the search range 39 of the reference frame. If the best match is found, the block 42 to be coded is subtracted from the reference block 43 (or the other way round) to generate the error between the block 42 to be coded and the matched reference block 43. In this manner, the luminance 44 and chrominance 45 components of the error are obtained. These components are subjected to DCT transformation, quantization, and run-length coding in step 46, and finally, in step 47 the run-length coded data undergo further entropy coding. . • .
  • the matched reference block is added to the inverse transformed block, and the inverse transformed block is written to the current position of the current frame. Because the frame obtained in this step will serve as a reference for the next frame, all blocks of the current frame are updated.
  • Block classification data are needed for the decoder, because they indicate how the block was generated during the coding process. Frames are classified according to the same principle.
  • the entire frame is transformed using DCT and is classified as an I-frame. If a frame uses only the preceding frame as reference, it is classified as a P-frame, while in case the frame uses both the preceding and the subsequent frames as reference, it is categorized as a B-frame.
  • Fig. 6 illustrates that for a B-frame, the coding system searches for a refei C to be coded in both the preceding frame 48 and the subsequent frame 50, finally keeping as reference either the one that produced the smallest error or the linearly interpolated average of the two.
  • MSE is also calculated for blocks F and C.
  • the system calculates MSE for the block generated by the expression 0.5 * (P + F) and the block C, and the alternative yielding the smallest MSE is finally coded. That is, in case MSE of the block C was best relative o the preceding frame 48, then the block P of said frame 48 becomes the reference block for, the block C. In case the best result was produced by the frame 50 following frame 49, then the block F of the frame 50 becomes the reference of C, and if the best result is obtained with the average of F, and P, then both these blocks are used as references for C. If none of the results were. ood enough, then . the block is coded as an intra block. The block descriptor structure must always show the source of the reference, that is, how the block C was coded.
  • the established reference positions are converted to vectors and the vectors are coded.
  • the vectors specify the magnitude and the direction of the displacement of the block to be coded relative to the reference.
  • the inverse DCT transformation is capable of reconstructing the original block data with a very good approximation.
  • the question may arise: why use DCT when it is only a variety of FFT? The answer is that there is empirical evidence that DCT gives better function approximation for video encoding than FFT. This is illustrated with some concrete values shown as examples in Fig. 7.
  • the FFT coefficients 52 and DCT coefficients 53 are produced by performing, respectively, FFT and DCT transformations on the input data 51. After quantization (that is, after discarding or truncating coefficients) the truncated FFT coefficients 54 and truncated DCT coefficients 55 are obtained. Following the inverse transformations the IFFT reconstructed data 56 and the IDCT reconstructed data 57 are obtained. Plotting the reconstructed dat and 59 it is seen that FFT is more sensitive to coefficient truncation.
  • DC delta code
  • the general objective of the invention is to improve the compression efficiency of the known method presented above, or more particularly, to provide efficient compression with relatively low computational load. This aim has been achieved with the inventive methods described in the independent claims attached to this description
  • Fig. 1 shows a schematic block diagram of prior art MPEG encoding
  • Fig. 2 illustrates the method of finding inter frames
  • Fig. 3 illustrates the method for comparing the reference block and the block to be coded
  • Fig. 4 shows the steps of the DCT transformation, quantization, and subsequent entropy coding
  • Fig. 5 illustrates the method of subtracting the block to be coded from the reference block
  • Fig. 6 illustrates the process of searching for reference frames among previous or subsequent frames
  • Fig. 7 shows differences between the DCT and FFT methods
  • Fig. 8 is a schematic functional diagram of the inventive hybrid video encoder
  • Fig. 9 illustrates the prediction modes of intra blocks
  • Fig. 10 illustrates how the prediction mode is selected from possible prediction modes
  • Fig. 11 shows an embodiment of the encoding of the block partitioning
  • Fig. 12 shows possible block partitionings that use sub-blocks of different sizes
  • Fig. 13 illustrates the partitioning that comprises three different block sizes
  • Fig. 14 illustrates the partitioning comprising two different block sizes
  • Figs. 15a-c show search modes applicable with P and B frames
  • Fig. 16 illustrates the reference search method that uses reduced samples, showing block sizes and block patterns used during the search process
  • Fig. 17 shows how the interpolated reference frames used in the method according to the invention are generated
  • Fig. 18a illustrates the selection (addressing) of neurons in the neural arithmetic coding unit according to the invention, and also shows the layout of unions within the address range,
  • Fig. 18b shows the schematic diagram of the neural network applicable for an embodiment of the neural bandwidth control system according to the invention.
  • ⁇ - ⁇ -
  • Fig. 18c shows the schematic diagram of the neural network-applicable for another embodiment of the neural bandwidth control system according to the invention, .
  • Fig. 19- shows the modification of the data path of the input data in the high dynamic-range • ⁇ -neural bandwidth control system, . • : . * v:- . * • -
  • Fig. 20 illustrates the dynamic scaling method according to the invention
  • Fig. 21 shows the signal/noise characteristics of the transmission realized during the inventive dynamic scaling method, compared to the characteristics without dynamic scaling
  • Fig. 22 is the flowchart of the decoding process for video data coded with the method according to the invention.
  • Fig. 23 is the schematic block diagram of an audio and video data coding system applying the method according to the invention.
  • Fig. 24 is the schematic block diagram of a system applicable for decoding audio and video data coded according to the invention.
  • FIG. 8 The logical structure (schematic functional diagram) of the hybrid coding system according to the invention is shown in Fig. 8.
  • Main functional units of the system are in many ways similar to the l ⁇ iown MPEG coding system shown in Fig. 1.
  • the input video data 60 in other words, the frames to be coded are fed into the frame scaling module 61, which, according to a number of different criteria (discussed below in detail), either reduces the size of the input frame or leaves it unchanged.
  • the entire system is controlled by a coding control unit 62, with the exact functions thereof clarified later in the present description.
  • Frames or blocks are coded according to intra or inter coding depending on intra/inter switch 63.
  • Blocks are directed to the output 73 in a transformed, quantized and coded state, i DCT transformation module 64, quantization module 65 and entropy encoding module 72.
  • Reference frames needed for coding inter frames are generated by an inverse quantization module 66 and an inverse DCT module 67, from which the reconstructed reference frames are fed into the frame store 70 through a de-block filter 69.
  • Motion compensation i.e. production of filtered reference frames and compensated motion information 74 (motion vector and the subtracted block) is carried out by a module designated with the reference numeral 68 (with a resolution that is adjustable between l ⁇ , l A, and 1/8 pixels).
  • the frame store 70 stores the - • .
  • the module 71 performs the identification of the changes, and finds that block partitioning '"• which is best suited for tracking the changes in the frame, and the module 71 describes the . best block partitioning using a Quad-tree structure (detailed below).
  • the entropy ⁇ .encoding , - . module 72 is a so called neural arithmetic compressor (see below). -
  • prediction is used in the present description in a sense that covers reversible mathematical expressions which, exploiting actual or potentially expectable similarities, are based on operations of a substantially averaging character, and return original values with a good approximation. This means that data reconstruction can only yield approximated values of the original data, in other words, expected values are "predicted”. For practical purposes a specific function is used to perform these calculations (that usually involve averaging operations).
  • the inventive compression method has an essentially hybrid nature, because it exploits both temporal and spatial redundancy.
  • the implemented compression is based on a hierarchical block structure containing blocks of dynamically varying sizes.
  • the reference search uses not only the frames immediately preceding and following the current frame, but further preceding and subsequent frames as well, with a maximum depth of +1 and -3 frames (that is, reference search is allowed in one following and three preceding frames).
  • High-level motion compensation is realized by the method, with a resolution ranging from entropy compressor performs optimized arithmetical coding based on multi-level prediction.
  • intra prediction means a reversible mathematical expression that, depending on values in one or more reference blocks, reduces or zeroes out pixel values of the current block to be coded.
  • Intra prediction is based on the observation that neighbouring blocks in a given frame often have similar properties, and therefore spatial correlations among neighbouring blocks can be used for reduction.
  • the information content of selected blocks can be modified on the basis of the information content of predetermined pixels of a block or blocks adjacent to the selected block using the intra prediction procedure mentioned above.
  • intra prediction is realized using the vertical lines 76 of the block located before the block to be coded or the horizontal lines 77 (that is, pixel values thereof) of the block located above said block, or both of them, as it is schematically depicted in Fig. 9.
  • vertical line 76 be called B, and horizontal line 77, A.
  • This example uses horizontal prediction.
  • the advantage of the prediction is the bit reduction of the pixels, and, as the tendency of values increasing from left to the right that could be observed in horizontal line 77 proved to be the same in the case of the block to be coded, the entropy of the data to be coded has also improved.
  • the distribution of the resulting values is: 2 x "2", 2 x "1", 2 x "0", 4 x "4", 2 x "9", 1 x "7”, which shows higher symbol occurrence rate than the original block.
  • a modified (predicted) block is coded instead of the original block 75 to be coded:
  • the predicted block is computed by subtracting line-by-line the neighbouring horizontal line 77 A or vertical line 76 B from horizontal or vertical lines of the block 75 to be coded, or by subtracting from original pixel values the average values of A and B, the calculation typically being performed with the formula (pixel-(A+B)/2, and thereby obtaining the so-called predicted block.
  • a compressibility analysis is perforate coded before carrying out the DCT transformation.
  • the block is coded with DCT and entropy coding.
  • the compressibility analysis reveals that it is worth examining the compressibility of the block also by dividing the block to be coded into further sub-blocks.
  • the compressibility of blocks associated to the various block partition variants is analyzed, and that partitioning is selected which promises the best potential results.
  • DCT transformation is carried out on the basis of the selected, potentially most favourable block partitioning.
  • the possible block sizes are 16x16, 8x8, and 4x4 pixels.
  • the (intra) prediction of blocks with different sizes can be carried out in a plurality of ways. These are listed on the following pages.
  • T(4,0) (A(-1)+ 2 * A(0) + A(l) +2) / 4
  • the proposed method uses three different block sizes and as many as 14 prediction types. It is easy to see that high computing capacity would be required if the l ⁇ iown method were applied, as all the predictions and subsequent calculations should be carried out 4 times in 16xl6-mode (that is, in case the allowed block size is 16x16), also 4 times in 8x8-mode, and 16 times in 4x4-mode.
  • Block data 79 pass through multiplexer/selector 80, which, depending upon the block size, selects the current prediction mode 81 out of those above enumerated.
  • Selector 82b can be set by the user to direct block data 79 of the predicted block into processing module 82c either directly or through a Hadamard transform module 82a.
  • the processing module 82c produces the absolute squared sum of the block, with comparator 83 evaluating the resulting sum. In case the value is smaller than a reference threshold value, said reference threshold is overwritten by the momentary sum, with the current prediction mode being stored together with the predicted block by processing module 84.
  • the multiplexer/selector 80 selects the mode for the next prediction, and the whole process is repeated until all available modes - in other words, prediction modes pertaining to different potential partitionings of the block - are tested. At the end the best predicted block, and also the prediction mode by which it was generated, is. determined.
  • the predicted block is summed by processing module 82c using the following formula:
  • the computational load thereof is approximately one-tenth that of the known methods* if Hadamard transformation is performed, and approximately 1/16 of the computational load required by known methods if Hadamard transform is not applied.
  • blocks are partitioned according to a so-called Quad-tree structure.
  • Each block of 16x16 pixels can be conceived as a root with four descendant leaves, which in turn can be further decomposed into four other descendants down to the block size of 4x4.
  • the graph beside the image of the block illustrates how individual sub-blocks, or even individual pixels of the block can be identified if needed. It can be clearly seen that as the resolution increases, the amount of data needed for describing the given partitioning also increases.
  • This partitioning method (allowing three different block sizes) is proposed as a default for the inventive method. In another implementation, however, this can be overridden by the user or the system itself and a mode that uses only two different block sizes can be set. This will expediently pertain to the whole frame, and cannot be mixed with the three block size-mode, preventing that one block in a given frame is coded in two-block mode and another in three- block mode.
  • the intrapredictive coding in one proposed aspect of the invention a] modes using dynamically changing block sizes (I-type). Thus, during the coding of an entire I-frame it is allowed to apply blocks of different sizes (applicable block sizes are listed below). It should be noted again that the chosen mode must be indicated in the header structure of the frame.
  • the 4 possible modes in this example are the following:
  • the user can only select between two- and three-block modes, or, optionally the system may automatically select the optimal mode. Accordingly, the user may choose from the following options:
  • Fig. 12 illustrates the block sizes used in the example described above.
  • IV.3. Intrapredictive coding using three different, dynamically changing block sizes (I type)
  • the size of the Y block is 16x16, or alternatively, four 8x8-pixel sub-blocks or sixteen 4x4- pixel sub-blocks are used.
  • the size of the UV is either 8x8 or, corresponding to the partitioning of the Y block, either four 4x4-pixel sub-blocks or sixteen 2x2 -pixel sub-blocks are applied (see Fig. 13). It has to be noted that the block size of 2x2 pixels on the UV colour surface is allowed only in "inter" mode. Because three different block sizes are applied, a method is needed for se] size.
  • one set of transformation should be carried out in both directions on a 16x16 block, four 8x8 transformation sets also in both directions, and four 4x4 transformation sets should also be performed.
  • the transformation set carried out on the 16x16 block and the set of transformations (DCT and entropy coding-decoding) performed on one of the 8x8 blocks are redundant.
  • precisely those transformation sets would have to be carried out unnecessarily that have the highest computational load.
  • first compressibility analysis is performed on the blocks.
  • this is carried out by dividing the block into four sub-blocks and computing the so-called variance for the block using the following formula:
  • TH16 the variance threshold allowed for 16x16 blocks.
  • TH8 and TH16 are empirical constants. As the formula shows, the "variai the amount of visual details in the block.
  • the Hadamard transform can be activated before the calculation, but the TH constants will be different from those used for the calculation without the Hadamard transform.
  • the block can be coded using the largest block size.
  • the given sub-block can be coded in 8x8-size. Otherwise, the 8x8-pixel sub-block should be further divided into 4x4-pixel sub-blocks.
  • the error caused by quantization should be taken into account when determining values for
  • the value errorfactor(qp) is taken from a table indexed by qp that is determined on the basis of the quantization factor QP.
  • Said quantization factor QP is provided in this case by the inventive neural control system as will be described in due course, but, alternatively QP can also be constant or be determined utilizing another known method.
  • the table of error factors contains values generated from combined quantization error values, with the error factor values decreasing toward greater indices.
  • higher quantization means smaller changes in TH and stricter conditions, or, put in yet another way, higher amount of visual details in a block and higher quantization causes the block size to converge toward smaller block size values. Because, .as it is explained below, coding of the block partitioning itse high amount of data, it could be expedient to examine if it is worth to allow using three different block sizes. In case only two different block sizes are allowed, much less additional information has to be coded for recording block partitioning data.
  • the block partitioning is analysed over the entire frame, assigning a statistical quantity to each block size (that is, the count of blocks with every allowed block size is determined). If each occurrence rates for all . block sizes are approximately the same and we are in the three-block or automatic-choice mode, the process is continued. Otherwise, if most blocks are of one of two dominant block' sizes, these dominant sizes are determined, and the method is carried on with steps described in the chapter entitled Intrapredictive coding using two dynamically changing block sizes (Chapter IV.4. below).
  • the method operates in two parts.
  • compressibility analysis is performed over the entire frame on the basis of variance calculations, with the optimal block partitioning being determined as a result.
  • the block partitioning is carried out with those predictions that were found for the optimal partitioning being performed, and finally the coding and the inverse transformations are carried out on each block belonging to the selected block partitioning, utilizing those predictions which proved to be the best.
  • variable at the first level is called L
  • second-level variables are designated with the letters ABCD.
  • L is set to 1. In this case four other bits are needed for describing the sub-blocks.
  • v ⁇ bit is 0.
  • the value of the associated bit is 1. For example:
  • the first quarter of the block is divided into 4x4-pi ⁇ el sub-blocks
  • the size of the other blocks is 8x8 1 0010
  • the second quarter of the block is divided into 4x4-pixel sub-blocks, with the others sized 8x8
  • transformations pertaining to individual blocks are carried out and the transformed blocks are coded in the entropy coding module.
  • the block will be coded with a size of 16x16, otherwise it will be divided before coding into 8x8 or 4x4-pixel sub-blocks. If, however, the two dominant block sizes are 8x8 and 4x4, the block will be coded with a size of 8x8 in case the variance values of at least three sub-blocks are smaller than TH8 (that is, the block fulfils the condition), and with a size of 4x4-pixels otherwise.
  • Parts 1, 2, 3 of Fig. 14 illustrate possible sub-block combinations.
  • DCT discrete cosine transform
  • N is the number of elements in the given block
  • c(0) 1/VN
  • c(k) V(2/N)
  • x(n) being the n-th element of the block to be coded.
  • N-l 2 ⁇ k(2n + l) x( ⁇ ) 2 cos — — J -c(k)y(k)
  • the Hadamard transform is a variant of FFT, with the great advantage that it comprises only addition and subtraction in matrix form. Thus, it can be performed much faster on a computer than DCT or FFT. It also has an important disadvantage, namely that the function is not continuous. That is why the Hadamard transform causes a visually more conspicuous error with higher-detail blocks than DCT. This
  • 16x16-pixel block size requires the highest amount of calculation, it is preferable to apply Hadamard transform on 16x16 blocks whenever they need to be transformed. It should be noted here that in a specific embodiment the variance analysis performed according to the invention only allows the application of the 16x16 block size, if the given block has
  • the step performed between the DCT transformation of blocks or sub-blocks and entropy coding is the so-called quantization, during which matrix elements of the DCT- transformed block are modified according to specific guidelines in order to provide for easier >5 coding with the entropy coding module.
  • the quantization matrix matrixG has the same size as the DCT-transformed block, or the original block itself (e.g. 16x16, 8x8, etc.)
  • the solution provided by the inventive method differs from the known MPEG quantization method in that it chooses the quantization matrix matrixd ) depending on the quantization factor.
  • Known MPEG quantization uses a single matrix ( , ) quantization matrix.
  • the correspondence between the quantization matrix and the QP quantization factor is implemented by dividing the entire quantization domain into N subdomains with a previously specified bandwidth range being assigned to each subdomain.
  • QP was between 1 and 36, the interval being divided into multiple (in one aspect, four) subdomains according to the following: (l-4),(4-8),(8-20),(20-36).
  • Bandwidth ranges assigned to these subdomains were: (6000-1000kBit/s, 800-1000kBit/s, 400-800kBit/s, 100-400kBit/s)
  • optimised 4x3 matrix table (corresponding to the three different block sizes) was assigned to the divided QP domain, with individual elements of the table being entire matrix ⁇ quantization matrices.
  • each row of the table comprises three cells (in other words, three matrices are assigned to each subdomain).
  • the optimal table row (opi corresponds to the given bandwidth, is assigned to the new quantization factor.
  • the method is also called delta pulse code modulation (DPCM), and is based on the observation that the difference between consecutive DC values is usually very small, so the difference can be coded with fewer bits than the values themselves.
  • DPCM delta pulse code modulation
  • the arithmetic method codes each block size with dedicated parameters (subdivision of the coding interval, upper/lower limits of coding interval, etc.).
  • AC coefficients are retrieved by means of the so-called “zig-zag” table (see Fig. 4, 37) and are compressed by the known run-length method.
  • the run-length method generates ordered pairs (coefficient: occurrence count), where the latter value specifies the number of occurrences of the given coefficient in the data sequence. Because the total number of pairs in a given block cannot be foreseen, either the number of pairs should be specified or an end-of-block code should be inserted after the last pair. If the coefficient value of the last pair is zero, said last pair need not be c ⁇ to write the end-of-block code into the sequence. The coefficient-occurrence count pairs are written in reverse order (occurrence coun coefficient) into the data sequence to be coded.
  • the zero value of the occurrence count parameter can be used as an end-of-block code (without, of course, the corresponding coefficient) because, if all pairs are valid ones, no combination can occur where the occurrence count is zero, so the code can be safely applied as end-of-block code.
  • This arrangement is incapable of indicating the situation where all data are zeroes, because if a 1 is found at position 0, we should still code a 0 for the last active (non-zero) position. So, the position value is increased by one except when all data are zeroes.
  • the output data sequence will be the following: 4 63 1.1 21 32, or, if everything is zero, onl O.
  • Method 1 (for coding DC coefficients) is always carried out, with coded data being output into the output data stream and subsequently being coded with the neural entropy coding module according to the invention.
  • coded data being output into the output data stream and subsequently being coded with the neural entropy coding module according to the invention.
  • other known entropy coding methods can also be utilized.
  • I QT 0000 I [ 0 I PRED
  • PRED
  • QT quad tree
  • the 16x16 block contains three 8x8 sub-blocks that are not subdivided, and the fourth 8x8 block (coming in fact first) has been subdivided into four 4x4 sub-blocks.
  • pixel data of a given frame are converted from RGB to the so-called YUV2 format.
  • Y stands for the lightness (luma) signal
  • UV is the colour difference (chroma) signal.
  • the physical size of UV surfaces is scaled back to half relative to Y (the loss, this loss has proved to be acceptable and does not lead to a significant decrease in quality).
  • each 16x16 Y block one 8x8 U and one 8x8 V block is assigned (this is illustrated in Fig. 12).
  • the output format of the data block (prior to arithmetic coding) is the following: I 0 I M I DPCM I AC I EOB or if everything is zero then
  • V. Interpredictive coding using dynamically changing block sizes V.l As it has already been pointed out, coding of inter frames is redundancy. This means that the current frame is compared with the previous or the subsequent frame, and only the differences between the two frames are coded. Reference search modes of the method are illustrated in Fig. 15. The following alternatives are possible: Searching only in the three preceding P-type frames (Fig. 15a); searching only in the two preceding B-type frames (Fig. 15b); searching in preceding and subsequent motion compensated references (Fig. 15c, in this case B-type frames usually cannot be used as reference).
  • the difference block is computed by subtracting individual pixels of the block to be coded from respective pixels of the block located at the position determined by the search.
  • Fast search methods apply few test points (typically less than 64), and have the disadvantage of being successful only if the displacements are small (typically smaller than 1-4 pixels), that is, motions in the video footage are slow. In case of greater displacements the probability of a successful search decreases rapidly.
  • Another disadvantage of fast search methods is that, even if the search appears successful, it cannot be made sure that the found position is the minimum point (the pc reference block) within the search range.
  • the search method implemented in our invention can practically be regarded as a "full- search", which in case of slow motions has only slightly higher computational load than genuine full-search methods. Even in case of faster motions (greater displacements), the computational load of the inventive method is only a fraction of the load required by the standard "full-search" method.
  • a search range is specified in the reference frame. Coordinates of the centre of the search range are identical to coordinates of the centre of the search sample (the block to be coded).
  • the search sample that is, the block 88 to be coded is divided into smaller sub-blocks (see Fig. 16).
  • good results have been produced using 4x2 sub-blocks.
  • variance values are computed for each sub-block, using an expression similar to Equation II. If there are at least two sub-blocks that have a variance greater than the variance values of all the other sub-blocks, the sum of their variance is greater than a predefined empirical constant THV22, and the two sub-blocks are not located adjacently (e.g. sub-blocks 88b and 88c), then only these sub-blocks of the 16x16 block 88 are tested during the search.
  • sub-blocks are merged into 4x4 sub-blocks and the above operations are repeated with two sub-blocks with constant THV42, and, if necessary, with four sub-blocks with constant THV44 90b of block 90), attempting to find in the latter case the four biggest- variance non-adjacent sub-blocks.
  • the reference search is performed using five 4x4 sub-blocks located in the four corners and the centre of the 16x16 block (Fig. 16).
  • the constants THV specify the minimum variance that the combined variance of the sub- blocks should equal or exceed in each of the above situations.
  • the centre of the spiral is specified in the reference frame at a position conforming to the position of the search sample, and then blocks around the specified point are tested in widening cycles with the reduced search sample, described above.
  • the search range is scanned with the relative position of sub-blocks of the sample pattern kept constant.
  • MSE ⁇ abs(A U) - B (j) ) 2 where M is the block length.
  • MSE is the so called Mean Square Error. Every time the MSE value is found to be smaller than the current smallest calculated MSE, the new MSE value, together with the current position, is written into a temporary buffer, e.g. in a 64-element circular buffer. If the buffer is full, data are overwritten starting from the first element.
  • the search method is preferably fine-tuned by analyzing the obtained MSE value from other aspects as well. For instance, in case the search finds multiple positions that satisfy the conditions for a match (e.g. MSE is smaller than the maximum allowed error), and these positions are located in the same direction (on the same side) seen from the starting point, and further the error increases as the search is leaving the region of these posil can be aborted because it is highly probable that the search moves away from the optimum point.
  • MSE the search finds multiple positions that satisfy the conditions for a match (e.g. MSE is smaller than the maximum allowed error)
  • these positions are located in the same direction (on the same side) seen from the starting point, and further the error increases as the search is leaving the region of these posil can be aborted because it is highly probable that the search moves away from the optimum point.
  • the circular buffer contains those positions that are probably the best candidates for a reference position. (Of the 1024 possible positions only a smaller number are stored, e.g. according to the above example, 64 positions.) Stored positions are then tested again but this time with the whole 16x16 block, and the position yielding the smallest error is determined.
  • SAD where M is the block length, A and B stand for elements of the reference block and the block to be coded.
  • the constant MAXSAD16 specifies the maximum acceptable error of the reference matched to a 16x16 block. In case the error of the block found by the search is not acceptable, the reference search is repeated in the frame preceding or following the current frame (depending on frame type). If none of the reference frames give acceptable results, the one that yielded the smallest error is chosen. Now the block is partitioned into four 4x4 sub-blocks and SAD 8 values are computed and compared with the (empirical) constant MAXSAD8 for each sub- block.
  • the search is repeated in a reduced search range using a block size of 8x8, starting from the position of the given sub-block. If the error still exceeds the limit, the sub-block found the best by the 8x8-search is subdivided and the search is repeated on sub-blocks satisfying the condition SAD 4 > MAXSAD4.
  • blocks where the search was unsuccessful are marked. These are to be coded as intra blocks in subsequent steps of the method.
  • Searching in all reference frames means that, if the search stops with a satisfactory result in e.g. the second frame, then it is not continued in the third frame. • . . -• , ⁇
  • the search is repeated in the preceding P-type reference frames, with a maximum depth of 3 frames. If the search is successful, the number of the reference frame is recorded, and the search is finished.ried Otherwise, the method selects the frame with the smallest error, divides the block into four 8x8 sub-blocks, and continues the search with those sub-blocks where the error exceeds the limit. If the current frame is B-type, search is first performed in the following P frame, then in the three preceding P frames.
  • an averaged reference block is produced from the following frame and one of the preceding frames by interpolating the positions of the best reference block-candidates found in the following and in one of the preceding frames using the simple expression applied in the MPEG method. If the square error between the produced interpolated block and the original block should remain too large, the reference frame where the error was the smallest is selected, and the block is divided into four 8x8 sub-blocks.
  • the search is carried on with X A, V and Vs -pixel resolution (search in filtered/interpolated reference).
  • the sole exception is the interpolation mode of B-type frames where the V%, l A and Vs -pixel resolution search must be performed before the interpolation. Because the search with Vi, ⁇ A and Vs -pixel resolution is not essentially different from known methods which have been described earlier in this document, the process is not explained here.
  • Each search process uses an associated reference frame.
  • the search with Vz and Vi-pixel resolution uses the 1 :4 ratio interpolated reference frame, while the H -pixel resolution search utilizes the 1:8 ratio interpolated reference frame.
  • the search can be performed with each block size, but only without block reduction (that is, only whole blocks and not sub-blocks are compared), which means that testing a 16x16 block involves 256 subtraction operations.
  • the block to be coded is also divided into equal sized sub-blocks, and the sub-blocks are subtracted from sub-blocks of the reference block.
  • the differences are then subjected to discrete cosine transformation and quantization, and AC/DC prediction is applied on the coefficients contained in the resulting blocks.
  • the prediction method similarly to the prediction process of intra blocks, generates the differences between DC values of transformed blocks, and applies horizontal/vertical prediction on the first horizontal/vertical lines of AC coefficients.
  • a maximum 2-bit long value, L describes the partitioning of a 16x16 block. Bit 1 is 0 if the block is not divided, and 1 if it is divided. Bit 2 has the value 1 if the block is labelled intra. This latter happens when each of the 8x8 sub-block are subdivided into 4x4 sub-blocks and more than 50% of these sub-blocks have been labelled as intra blocks. In that case the system will code the given block according to the process for coding intra blocks.
  • the data prior to entropy coding are the following:
  • RFIDX is the frame number of the applied reference frame MV is the motion vector
  • DC is the first coefficient of the discrete cosine transform and AC designates the other DCT coefficients
  • IP indicating the interpolation mode for B frames I stands for intra mode
  • P is the number of intra mode prediction.
  • Modes for P frames are the following:
  • Modes for B frames are the following:
  • the next step is coding the UV colour surfaces.
  • the size of the block is in proportion with the size of the Y block and the sub-blocks thereof. In case the Y block had the size of 16x16 pixels, then the UV block is si Y block is sized 8x8 then the UV block is sized 4x4 and finally, to a 4x4 Y block the corresponding UV blocks are sized 2x2.
  • the partitioning of U and V blocks is identical to the partitioning of the Y block.
  • the method of partitioning of the UV blocks is performed in the same manner as the partitioning of the Y blocks.
  • the DC and AC values must be sequentially written out before entropy coding, because all the other data (block partitioning descriptors, block identifiers, etc.) are already described in the Y block.
  • the motion vectors are preferably represented in the shortest possible form. This can be provided by subtracting from the current motion vector the motion vector belonging to the block located beside, above, or diagonally above the current block. Of the three possible neighbouring motion vectors that one is selected which is the closest to the mean value, or in other words, is bigger than the smallest and smaller than the biggest.
  • the entropy coding module utilizes binary adaptive technique. This means that input data are processed bit by bit, in the function of the occurrence frequency and the pattern of bits already received.
  • the primary design aim for the method was achieving the best possible compression with relatively simple calculations.
  • the inventive method can be implemented without using divisions, performing only two multiplications and a few additions and logical operations. All other operations are based on integers.
  • the inventive method is a so-called arithmetic coding method.
  • Arithmetic coding is a method known per se
  • the basic principle of arithmetic coding involves the modification of the upper and lower limits of an interval (range) depending on received data of the coded.
  • Arithmetic coder is truly efficient only if the distribution of incoming data is known to some extent, in other words, if it the probability estimate for the value of the next input data element is known to some extent.
  • the following short algorithm performs arithmetic coding on a binary data stream (containing only 0 and 1 symbols).
  • the current data to be coded (the next bit of the data stream) is stored in the "bit" variable.
  • the upper and lower limits of the- coding interval are the variables "area[0]” and "area[l]”.
  • ⁇ prob calc _next _probe(bit)
  • the key factor in increasing the efficiency of coding is how the value of the "prob” variable (in the following: probe value or probe) is determined.
  • the probe value is returned in the above example by the "calc_next_probe(bit)" function.
  • the array "area[0,l]” contains two 32-bit values, namely the "area[0]” and "area[l]” variables that store the upper and lower limits of the coding interval.
  • the interval (area[0], area[l]) is scaled with the probe value.
  • the probe value is usually determined as a function of the frequency of occurrence of previously arrived bits.
  • either the lower or the upper limit of the coding interval is modified with the scaled value.
  • the interval can be modified (new bits can be coded) until the difference of the upper and lower limits becomes smaller than 256.
  • area[l] area[l] * 256 area[0] re ⁇ [0] * 256
  • Bits arriving sequentially into the buffer constitute the "window” variable (shifting left the contents of the buffer as needed).
  • the "window” variable is truncated to a length of m bits to form an index (stored in the "index” variable) that points to one of the rows in the frequency table.
  • the frequency table has 512 rows.
  • Elements of the frequency table are specified by variables FreqTbl [index] fO and FreqTbl [index] fl. These variables show how many times the received bit has been 0 or 1 when the bit combination was the same as the bit combination currently stored in the buffer (in other words, the current bit combination is considered as an index pointing to a given row of the table).
  • the probe value (the value of the "prob" variable) is calculated for the next bit. The exact formula for that should be
  • the probe value is obtained, which will fall into the interval 0..65535, which is in turn analogous with the interval 0..1.
  • the fraction table contains 512 elements (actually the appropriately scaled values of 1/sum, where the "sum” variable is used as an index to the table at the same time), it should be made sure that the "sum” value-does not exceed this value. ... ⁇ - • .', -.
  • the method is fairly simple. Since divisors are powers of 2, divisions can be substituted by right-shift operations. The MOD operation can also be substituted by a logical AND.
  • the method performs coding at different levels. In practice this affects only the probe variable. In other words, the same coding module can be used for all data types, only the parameters (N, window size, limits of the coding interval) should be adjusted. Different levels are assigned to each data type, with each level being divided into a plurality of sub-levels according to the requirements of the given data type. For instance, for coding the results of the 4x4 discrete cosine transform operation a specific type level is defined, with different sub-levels being assigned to the coding of AC and DC coefficients.
  • N determines the window size, in other words the number of previously received bits that are tested together with the bit currently being received. This factor strongly affects coding efficiency, but also increases the required memory, because more memory is needed if N is increased.
  • the method presented above is a fast integer-arithmetic variety of kn parameters tuned appropriately, compression efficiency is 10 % higher than that of the VLC method used in MPEG systems. So far, only methods using far more complex probe algorithms have performed significantly better than that. To improve efficiency, the frequency table should also be significantly sized up. Both the chosen probe algorithm and frequency table size affect the execution time of the method.
  • the best known method for determining the probe value for data structures, utilized in the present invention would be the so-called dynamic Markov model. This, .however, works efficiently with a frequency table of at least 64 Kb. If all sub-levels applied for coding were set to this size (that is, if all variables and variable types corresponding to different block sizes were to be coded, in this manner), more than 16 Mb of memory should be allocated for the frequency tables only.
  • VI.4.1 An important drawback of arithmetic coding is that for optimal-efficiency coding the occurrence probability of individual symbols appearing in the data to be coded should be known. In principle, it would be possible to take into account multiple symbols that have already occurred. It would be even more effective to watch not only individual symbols, but occurrence frequencies of different symbol groups. This, however would require the storing of a very high number of frequency values. This may be alleviated to some extent, by storing, instead of all the possible combinations of symbols which have already occurred (contexts), only those symbol combinations that have in fact occurred.
  • Known coding methods primarily the PPM (prediction by partial match) method examines symbol combinations of varying length. When a received symbol is coded, first the longest allowed combination is tested. The newly arrived symbol is added to the ; and a search is performed with the current symbol group length to establish if the current group has already occurred. For instance, if the group length is 4, then the three most recent symbols will be tested together with the newly arrived one. If the symbol combination has already occurred, it is coded using the momentary or constant probability value assigned to that given symbol combination. If, on the other hand, the combination has not yet occurred, an escape symbol is coded to indicate (for the decoder) that the combination is new, and the search is carried on with a shorter combination length.
  • PPM prediction by partial match
  • the received symbol has not been coded in any previous combination, it is coded using the average of occurrence probabilities assigned to individual symbols.
  • the counters measuring the occurrence counts of symbol combinations that is, quantifying the occurrence probabilities thereof are updated, with new combinations added if necessary.
  • Mahoney (Florida Institute of Technology) took over the ⁇ network technology to binary arithmetic coding (where only 0 and 1 are the symbols to be coded), using the on-line training method known from neural network theory and applying adaptive learning rate instead of a constant one.
  • this improved method is not good enough to be directly applicable for video encoding, because the memory requirement necessary for optimal coding is too high.
  • Mahoney' s original method applied more than 258 kB of memory for coding a single level. If that is applied at 128 levels (for 128 different types of data structure, taking into account the predictions, block sizes, DC and AC coefficients, etc.). the total memory needed would be more than 32 MB. If, however, only a single level. were defined for video encoding, the. method would be less efficient than the conventional coding method using multiple levels. . .
  • an inventive method is devised for determining the neural probe value.
  • the method according to the invention can maximise entropy using as little as 1-2 kB of memory. It has been found that it is worth increasing the memory only up to approx. 16 kB, above which the improvement in coding efficiency is negligible.
  • Incoming bits to be coded are fed into a shift register (buffer) with a size of 32, 64 or even more bits (in the following, an example comprising a 32-bit register is presented).
  • the contents of the register constitute the so-called window.
  • the value stored in the register (treated as a 32-bit integer) is dynamically divided into N parts using a hash function.
  • H3 is computed from previous address values, so that the range length H3, starting from (H0+Hl+H2)-(H2*k) extends to the end of remaining memory (until 2048).
  • the result of the hash function is shown in Fig. 18.
  • the "register” variable is the binary value currently stored in the register 150, and H0-H2 are predetermined values. For instance, the values of H0-H2 can be 256, 512, 1024, from which the value of H3 was calculated as 1536 in a concrete situation.
  • the factor k. is given by the. output of the neural network. The factor k has a default value and can fall into the interval ⁇ between 0 and 1.
  • the hash function presented above maps addresses adrl-adr4 to rows of table 155, where the table 155 consists of 2048 rows. More precisely, the mapping is to subranges 151-154, which means that address 1 points to an element (table row) in subrange 151, address2 to a row in subrange 152, address3 to a row in subrange 153, and address4 to a row in subrange 154.
  • An important feature of the inventive solution is that the subranges may overlap, thereby forming unions 156-158, this embodiment comprises three unions 156-158. As it can be understood from the above expressions, the sizes of the unions are determined by the factor k. The importance of unions increases from the least significant toward the most significant bits.
  • the unions play an important role in the recognition of recurring bit sequences in the input stream.
  • the role of the unions is also important because they make it possible that two addresses point to the same row of the table 155. Without going into much mathematical detail, suffice it to note here that, because the input is processed sequentially, if the first address points to a given neuron, then the weight thereof will change during the training process. In case another address selects the same neuron, the weight will change again together with the value of the bit frequency function assigned to it. Accordingly, the value of the bit frequency function associated to the neuron will also be modified twice. During the operation of the system both inputs will have the same weights.
  • the partition subdomains 151-154 is changing dynamically according to the output of the neural network after each received bit.
  • Each row of the table 155 contains two weight functions - quantization weight function WJ, Q and the scale weight function Wj,s, (or, in case the scaling factor S need not be generated, only WJ ,Q ) and a frequency-pair f(0);, f(l); defined in the same way as in the case of the discrete algorithm (that is, frequency values are updated depending -on the bit value each time a bit is received).
  • the selected weight functions are modified during- the training process as follows:
  • W, W. + (error * gain * eta * ⁇ ° ⁇ + ⁇ ' ) • ⁇ ⁇ - . . . ⁇
  • the knowledge base of the N-input neural network applied in the method is constituted by the weight functions and frequency values stored by table 155.
  • the probe value is 0 (corresponding to the probability 0.5) when the first bit arrives.
  • the system generates new addresses from the current value of the regisl functions (zero in the first step) of neurons selected by the addresses are then summed up and the exponential of the sum is calculated (the result in the first step is zero as well), which becomes the new probe value.
  • the next probe interval is -0.5..+0.5, so the current probe value mapped on the 0..1 interval will be 0.5.
  • the above process is repeated, this time with valid addresses, with the weight functions of the neurons previously selected being modified on the basis of the error value. The process is the same for the factor k.
  • the gain and the , learning rate, of the system can be dynamically adjusted.
  • the gain is modified only in case the address selecting the neurons points to an address range within a union. , : That is, a gain factor is assigned to each union according to the priority of the unions.
  • the learning rate is determined by the factor k and a number of external determinants.
  • the learning rate specifies the slope of the learning curve for the network, that is, the degree to which the error is minimized in each training cycle.
  • the neural network has two outputs: the output "probe” gives the arithmetic probe value, while the other output specifies the factor k that is applied for determining the partition of the unions.
  • a possible structure of the neural network is illustrated in Fig. 18b, showing neurons of the input layer 160, and outputs 169 and 168 yielding "prob" and the factor k.
  • the neural network shown in the figure has a hidden layer 162 as well, but the inventive method also works successfully with a simpler-structure network.
  • frequencies f(0) and f(l) that can be regarded as counters.
  • These counters similar to elements of the table FreqTbl [index], seen above, specify how many times the currently coded bit has been 0 or 1 when the given table row was selected by one of the addresses addresssl-4 pointing to subranges 151-154 produced by the subdivision of table 155.
  • frequencies f(0) and f(l) may be stored in a table of N rows, and, similarly to the way described above, they should be re-scaled if their value exceeds a given limit.
  • the neural network updates frequency data f(0), f(l) of the most recently addressed table rows based on the value of the next received bit, and "teaches" to the neuron weight functions stored in these rows the last value of k and the probe factors derived from frequencies f(0), f(l) with regard to the difference (error) between the predicted and received bit value.
  • Bandwidth (transfer rate) control is one of the most important issue
  • the information content of frames in a video frame sequence varies to a great extent, so in case the aim is to maintain a substantially even image quality, and the compression ratio has to be adjusted over a large scale to follow these changes.
  • the storage capacity of the device will limit the .total amount of coded data.
  • compression ratio regulation means increasing or decreasing the quantization factor.
  • quantization cannot, be increased ⁇ without consequences..: Higher quantization causes image details to disappear with the decrease of discernable spatial frequencies present in the image, with the visually perceptible error increasing at the same time. At a certain point the image inevitably falls apart into blocks and other visually conspicuous image distortions occur.
  • Modifying the quantization factor in accordance with the available bandwidth is known per se.
  • the new quantization factor is calculated from the expected and actual length of the coded sequence and is applied on the next frame. Instead of taking into account only one frame at a time, the more sophisticated solutions calculate the new quantization factor using the average length and the expected average length of frames compressed in a given timeframe. These methods usually involve a reaction delay factor, specifying the time in which the control system should achieve the computed maximum value.
  • Such methods provide constant transfer rate or constant bit rate (CBR method).
  • Results can be significantly improved by setting a minimum and a maximum limit for transfer rate control, always keeping the transfer rate within these limits and attempting to achieve in the long run a dominant transfer rate eiqualling the mean value of the upper and lower limits. It is preferable that the signal-to-noise ratio between the original and re ⁇ also taken into account as a control parameter, that is, the transfer rate should be increased (within the specific limits) in case the SNR deteriorates and the transfer rate may be lowered if the SNR improves. This is the so-called variable bit rate (VBR) method.
  • VBR variable bit rate
  • the neural network has a backpropagation structure that is known er se.
  • the network is illustrated in Fig. 18c.
  • the network has N inputs 1801-
  • the quantization factor Q and scaling factor S (the role of which is described in detail below in section VIII.) appear at outputs 188 and 189.
  • the input of the network is the last N received data elements, which are fed sequentially to the N inputs in their order.
  • the data elements are constituted by the ratio of expected and coded frame lengths, and these data elements are considered as a temporal sequence.
  • Test data applied for training the network were produced using an external control system or manually prior to the beginning of the training process, with the data being reduced by complex correlation calculations, to 1000-4000 training samples.
  • Training samples are devised such that they represent every frame type occurring in an ordinary video recording. These samples are "taught" to the system through- several training cycles, in a concrete implementation, 50000 cycles. After training has been completed, the network is ready for receiving and processing real data. It should be noted that in this concrete embodiment the calculations have been established such that it was not the quantization factor Q that appeared at the output of the network, but a k Q coefficient, which was in turn used for modifying the current Q.
  • Control characteristics are much more important in a variable bit rate control , system than in a constant bit rate control system. ' . ' , ⁇ ,
  • the compression ratio is increased, while if the quality is poorer than the average value, the compression ratio is decreased.
  • the neural network control system must also take this into account. Therefore a minimum and a maximum quantization factor is specified for the control network, which may not be exceeded by the control system.
  • the neural network applied for VBR mode has twice as many inputs as the network used for CBR mode, because, in addition to the expected/coded length ratio, data representing image quality are also fed to the input of the network in the form of expected/coded quality ratios: EQH/CQM, EQj/CQi, EQi + i/CQi + i, etc. where EQ is the expected quality, CQ is the coded quality, and i is the data index.
  • EQ is the expected quality
  • CQ is the coded quality
  • i is the data index.
  • determining the qu ⁇ neural network used in VBR mode may also comprise a further output 189 representing the scaling factor S (the role of the latter is described later).
  • the network processes the input data of expected/coded quality and expected/coded length in a time sequence during training, and estimates the sought mapping in accordance with the specified minimum and maximum values. Training data are chosen to reflect the specified control characteristics and control slope.
  • the network performs the same task as conventional control systems.
  • the time slot can be said to describe a particular situation. The network will search among situations it encountered during training for the one that best matches the current one, giving the optimal response learned in conjunction with that particular situation.
  • An implemented variant of the neural network substantially uses only a single formula, the so-called sigmoid sum.
  • the "gain” value may be unity and can be determined by optimum search as its only role is to determine the order of magnitude of the output values. First, weight functions of neurons in the hidden layer(s) are summed with the above expression, then the calculation is performed for the weight functions of the output layers_as well.
  • CBR networks except for the input data, which means that the network performing VBR mode can perform the functions of the CBR mode as well.
  • CBR-mode operation that is achieved by simply providing a constant value at the quality inputs (at the maximum possible value, which inputs are kept constant during training as well).
  • CBR and maximum bandwidth limit inputs are set equal and are kept constant, set to values corresponding to the desired constant bandwidth.
  • This network model is a variety of the one presented in the section dealing with arithmetic coding. It only differis from the above network in .that the addressing of certain selected neurons of the network are determined not by the entire time window/time slot. This is illustrated schematically in Fig. 19, showing that input data- examined in the time window bypass the address generator.
  • the elements of the. input data sequence are not 0-s and 1- s, and.therefore-.the address generation procedure described above cannot be applied directly. Instead, the input layer of the neural network consists of two parts.
  • a hash function assigns a neuron, selected from an appropriate number of neurons, such as 2048 or 256, depending on whether the incoming data is expected/coded length data or expected/coded quality data.
  • the inputs of the neural network are normalized data with values between 0 and 1, which are subsequently converted into integers for address generation.
  • the error factor is determined as the difference of the reciprocal of the current . training quantization factor and the reciprocal of the previously calculated quantization factor,.
  • . Qprev is the previous quantization factor. . . . , ⁇ •:,
  • the " weight function is modified as follows: ' ⁇ • • :> ⁇ ⁇ ; ?> i ' .
  • the process of the control operation is identical with the training process, except that weight modification is not activised.
  • the system can be switched to CBR mode by fixing the min max bandwidth and quality data at respective constant values.
  • This system operates flawlessly in multiple-step mode as well.
  • the essence of this mode of operation is that in a first step, the system encodes the entire footage with a constant quantization factor (e.g. with Q set to 3) without control.
  • a constant quantization factor e.g. with Q set to 3
  • the subsequent second step coding is performed with the control system activated.
  • This solution provides improved-precision coding because the first step specifies the degree to which each frame can be compressed, so Q need not be determined, but may be directly adapted from step 1.
  • Otb neural network can be applied without any modifications.
  • training can be performed using fast-training procedures.
  • interpolation is highly effective in this mode: we have observed that the quality achieved in 4-6 steps by discrete control systems can be reached by the neural control system in as little as two steps.
  • the multiple-step mode does not necessarily provide better quality.
  • One of the advantages of this mode is that the length of the output can be adjusted to a predetermined value, corresponding e.g. to the capacity of a storage medium. ⁇
  • coded video cannot be maintained with the desired video quality. This might be caused e.g. by that the preset compression ratio is extremely high for particular sequences and so the desired image quality cannot be maintained using the currently set min/max limits of compression. Such a situation typically occurs with highly detailed and action-rich footage. As an example, the first 5 minutes of the feature film "The Mummy Returns" may be mentioned. In case of this particular sequence, a bandwidth of at least 2.5 Mbit/s would be needed for good-quality MPEG compression. However, if the available bandwidth decreases to 1.5 Mbit/s, rather complex pre- and postfiltering operations would be needed both at compression and decompression time in order to eliminate errors. This would strongly decrease image sharpness, to the extent that the quality of the coded video would barely reach the "acceptable" level.
  • the inventive dynamic scaling procedure is performed as follows: Each incoming frame passes through the scaling module, with a scaling factor of 0 (no scaling) at the beginning.
  • the compression control system decides if the result of coding is satisfactory within the specified limits. If the result is not satisfactory, the frame size is changed (reduced) to a degree that provides acceptable quality even after decoding.
  • the scaling task can be -solved, utilizing ⁇ discrete methods.' But, considering that- a 'neural network has already been applied in the inventive system for bandwidth control, the scaling may be also performed more: efficiently,, with a neural network. As the problem is closely related to the problem of bandwidth control ⁇ it has proved to be satisfactory to add another output to the neural network (see Fig. 18c) ⁇ Thus, the network has two outputs, one providing the Q coefficient of the quantization factor, the other the scaling factor S.
  • the scaling procedure starts at an I- (intra) frame and lasts until the next I-frame. Scaling factors determined for frames of other types are averaged. This is shown in Figs. 20, 21 where scaling is started at A and ended at the point marked B. X.
  • the invention is essentially based on the idea of providing a control system that is capable of realizing different control characteristics, and ensuring optimal compression while also taking into account the visually perceived image quality.
  • Different learned characteristics can be grouped into profiles that enable the selection of the characteristics most appropriate for any given video sequence.
  • discrete control systems We have also tested discrete control systems and have found that they have inadequate control dynamics. For instance, if coding was carried out in two steps using medium bandwidth, there could always be found sequences that would have needed higher compression, or scenes where it would have been satisfactory to use lower compression.
  • Known discrete coding systems are closed systems, meaning that they usually perform encoding using constant functions.
  • the neural system is, however, capable of taking into account the information of previous frames and performing coding control using the learned momentary characteristics.
  • compression frames first pass through the scaling system (resampler module) 61 (Fig. 8).
  • the system decides with which method, the coding should continue, and selects the coding mode (I, P, B) accordingly.
  • the coding mode I, P, B
  • the different predictions are carried out for each block, and the system, based on the result of .variance analysis, selects the prediction promising the best compressibility.
  • blocks are transformed with DCT, are quantized and compressed at the appropriate level.
  • a drawback of the inventive coding system is that, due to arithmetic coc errors caused by data loss in the transmission channel.
  • contemporary digital transmission networks such as the Internet
  • the frequency table should be updated continuously. If a transmission error occurs somewhere during the decoding process, then from that point on all data until the end of the affected frame will be damaged.
  • Frame reconstruction starts by feeding encoded data into input buffer 121 and decoding the stream information block 133.
  • the stream information block 133 contains the .original size of the frame and other data that do not change in the course of decoding. Thus, the stream information block 133 is decoded only once, at the beginning of the decoding process.
  • frame header information is decoded (step 122).
  • the frame header information block contains the current frame size, the frame type (I, P, B), quantization type, and other data pertaining exclusively to the given frame.
  • the QuadTree structure describing block partitioning is decoded (step 123) together with the DCT coefficients and specific information pertaining to individual blocks (step 126).
  • the inverse transformations are carried out (steps 127, 128,
  • each block contains all data needed for its reconstruction (particularly the prediction type and information indicating if the block has been partitioned as a 16x16 block or as four 4x4 blocks, etc.).
  • the Quad-tree structure describing block partitioning is decoded at step 123, because this tree structure contains the data needed for the reconstruction of the block. These data are used for decoding DCT coefficients, motion vectors, and prediction codes associated to individual sub-blocks, and also for the decoding of codes identifying the reference frames that were used for coding. Inverse transformations are also carried out (steps 127, 128, 129), and then those blocks of the reference frame stored in ref which blocks were selected using the motion vectors in step 124, are added to the inverse transformed blocks in step 130.
  • the interpolated block is generated on the basis of the block selected by the reconstructed motion vectors in step 124 and the reference frames stored in the reference memory 125, and this interpolated block is then added to the inverse transformed block.
  • Each reconstructed block is written into the current video memory 131 storing the new frame .- ⁇ , . - - .
  • Both intra and inter decoded reconstructed frames are written into the reference memory 125.
  • the reference memory 125 may contain more than one frame; depending on the furthest reference frame used during the coding process.
  • the reference .memory. 125 is a circular buffer, meaning that the oldest frame is deleted each time a new frame is stored: * ': . ' * -
  • the next step is restoring the frame size to the original in step 132.
  • the frame size is restored preferably with the Lancos method. Scaling is carried out both during coding and decoding by a suitable subroutine. In case there is available a hardware video source or output device which is capable of scaling, the coder or decoder needs to specify only the frame size.
  • the neural arithmetic decoder operates in substantially the same way as the neural arithmetic coding module, since, as it is known per se, in arithmetic coding the operation of the coder is the same as that of the decoder. Because the method is adaptive, a single bit is decoded at the beginning, and the new predictor is computed using the decoded bit. For computing the predictor, the neural network used for coding can be used without any alteration. The difference between the coder/decoder manifests itself only in differences in mathematical calculations that are l ⁇ iown per se, with other functional elements being fully identical.
  • the inventive video coding system is capable of digitizing, efficiently coding and storing video signals. At the same time, it is also capable of transcoding already encoded digital video data for increased storage efficiency. For instance, such transcoding can be applied for reducing the bandwidth of MPEG transport packets of a DVB broadc Mbit/s to approx. 600 Kbit/s, e.g. for recording satellite or television broadcasts.
  • the inventive high-efficiency coding method can also be used for storing, video sequences recorded with digital video cameras, even without the application of mechanical 5 devices.
  • Inputs of the coding system are constituted by analogue video input 93, combined decoded MPEG digital video/audio packet input 94, and analogue audio input 105.
  • the coding system can be operated in the following modes: , s ⁇ ⁇ .- , ⁇ - * a, coding the signals coming from analogue video input 93 and analogue -audio input 105 after digital conversion. .-•.> -. • . . b, transcoding the .digital video signal 94 and the aud signal, " which latter is separated by demultiplexer 109 from the combined digital video/audio signal packet.
  • Digital video data selected by selector 96 are fed through input 97 to the coding system 98 (explained above in relation to Fig. 8).
  • Coded video data 99 are multiplexed with digital audio data into a combined packet 101 by multiplexer 100.
  • the digital packets, being routed by the PSC (Peripheral System Controller) 102, can be stored on hard disk 103, on an optical storage
  • the digital audio signal that was selected by selector 107 is coded by encoder 108 and is stored as explained above.
  • Demultiplexer 110 separates the data packet stored in semiconductor memory 104 or on hard 25 disk 103 into coded digital video data 111 and coded digital audio datal 12.
  • the digital video data 111 are decoded by the decoding system 113 that was described above referring to. Fig.
  • Decoded video data 114 are optionally fed into filtering and scaling module 115, and then converted into an analogue video signal 117 by a D/A converter 116.
  • Digital audio data 112 separated by demultiplexer 110 are decoded by decoder 118, and are finally converted back 30 into an analogue audio signal 120 by D/A converter 119.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Biophysics (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Algebra (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention concerns a method for compressing a digitally coded video frame sequence. In the method, a given frame is divided into blocks, and the information content of selected blocks is modified, relying on information contained in a neighbouring block or blocks (prediction), and the blocks are converted from spatial representation into frequency representation. The information content of the transformed blocks is encoded by arithmetic coding. The efficiency of the coding is improved by various methods, such as dynamically partitioning the blocks into sub-blocks, or performing a compressibility analysis is the blocks before carrying out further transformations. The entropy coding uses a neural network to determine the parameters of the arithmetic coding. The frames are dynamically re-scaled, depending on available bandwidth and quality of the coded image.

Description

Hybrid video compression method
The invention relates to video compression, more particularly to a method, and apparatus for compressing a video frame sequence.
Multimedia plays an ever-increasing role in everyday life. Digital video images (moving images) can be found almost everywhere. The amount of information contained in digital video calls for the improvement of the transfer bandwidth of digital video systems and for higher-capacity storage devices. An evidence of progress in the latter field is the rocketing increase of the capacity of Flash-type semiconductor memory modules in recent years. Unfortunately, the information content of digital video is extremely high, which makes it practically impossible or at least very expensive to use semiconductor memory for storing video digital data.
For instance, a single minute of full-resolution (Dl) digital video needs 1,866 Gbyte storage capacity without compression. The bandwidth may reach 248 000 kbit/s. In the early 1990s, the video encoding system known as MPEG1 appeared, which was capable of reducing the amount of digital video data to approx 1/30 th of the original. Due to quality issues, this system was improved, and the video encoder known as MPEG2 was born. This is applied primarily in DVD and DVB systems. An improved variety of the system, MPEG4 has been designed for the purposes of Internet-oriented, so-called streaming media.
The object of the present invention is a high-efficiency video data compression system. The proposed system makes it possible to store video data in semiconductor memory modules, permitting the application of low-cost RAM memory modules for storing video data, such RAM modules being widespread on the computer market,. Such a non-mechanic storage system (i. e. a storage system that does not contain moving parts) can be advantageously applied in TV sets and in so-called settop boxes used for satellite and cable TV applications, for intermediate storage of broadcast programs, and also as a replacement of conventional video tape recorders. The coding system applying the inventive compression method can be < used for replacing the mechanical tape recording system of conventional video cameras, storing digital video data e.g. in Flash memory.
The proposed Hybrid Video Compression coding system enables the bandwidth of the digital data stream to be decreased to 300-600 kbit/s, while preserving good video quality, which means that for two hours of video only 4-500 Mbyte storage space is needed.
I. Background art
A number of different methods have been devised for compressing video frame sequences.
During the coding process of video frames the amount of coded data is changing dynamically within minimum and maximum limits in order to maintain the desired quality and desired total data length.
Generally, known software programs perform compression control in accordance with the average coded frame length calculated for a sequence consisting of x frames. If the average length exceeds the previous average length value, the compression will be stronger (the compression ratio is increased). If the average length is smaller than the previous value, the compression ratio is decreased within specified minimum and maximum limit values.
The compression ratio is usually increased by selecting "stronger" quantization (a "rounding off operation performed during transformations, see below). That causes higher error rate and noise. Errors are often visually conspicuous and disturbing, especially under 1 Mbit/s. Since compressibility changes from frame to frame, in case of a constant expected quality it is usually difficult to maintain the desired average frame length. The minimum and maximum length values usually cannot be set too high, because that would result in the control range becoming too wide and the coded length varying over too large a scale. It is often the case that the specified minimum value cannot provide the desired quality so it would be necessary to further increase the compression ratio.
1.1. The MPEG method One of the most widespread and known methods for compressing video < be regarded a hybrid coding method, as it unites the compression based on spatial redundancy and the compression based on temporal redundancy.
The method based on spatial redundancy either reduces the information content of the frame by reducing details, or by recognizing and exploiting recurring features in the frame. The compression method relying on temporal redundancy, on the other hand, uses preceding and subsequent frames, and encodes only these changes.
One of the known methods for still image compression is JPEG. The method is also based on „ ..exploiting spatial redundancy. The image to be. compressed is divided into blocks, and the . , information content of the blocks is reduced using discrete cosine transformation. ..■• ■ .
For easier comprehension of the novel features of the invention, let us briefly .review the-.
. operation of the known MPEG system. The operation of the system is illustrated in Fig. 1,- έ showing the functional elements thereof. Received blocks to be compressed are passed to selector 2 through input line 1. The selector 2 decides if the given block is an intra-, inter-, or predicted block, and treats it accordingly. The block, having passed the DCT (discrete cosine transform) module 3 and quantization module 4, is coded in the entropy coding module 13 and is written out through video multiplexer 14 onto output 15, into the compressed output data stream which is to be transmitted or stored. Transformed data of intra/inter blocks (see the explanation below), are reconstructed by inverse quantization module 5, IDCT (inverse cosine transform) module 6 and selector 7, and these data are finally written into reference frame store 8. As it is explained in detail below, the quantization module 4 essentially divides the elements of the DCT transformed block (the DCT coefficients) with the quantization factor. Coefficients are reconstructed by the inverse quantization module 5, in practice by multiplying them with the quantization factor. In other words, the inverse quantization module attempts to restore the original values of DCT coefficients, at least to the extent possible, allowed by the errors arising from the integer division. This is done with the intention of immediately decoding each frame or each block within a frame. The immediate decoding is necessary because the method uses the decoded frame as reference for coding the next frame. This procedure does not include entropy coding(decoding), because it would be superfluous, considering that entropy coding does not cause information loss which should be taken into account in the decoded reference frame. The first frame has no reference, which means that it is always a so-< frame). Thus, with the first frame the above procedure is repeated until the entire I-type frame is processed. Frames or blocks that use the previous or subsequent frame as reference are called respectively P- and B-type frames/blocks.
Blocks of the next received frame are fed into the motion estimation module 10 that attempts to find a reference block for the block to be coded in the reference frame stored in reference frame store 8.
The motion estimation module 10 performs motion compensation using the found, reference block, then the (original) block to be coded is subtracted from the reference block by prediction module 9, with the difference being passed , on to the modules carrying out the above transformations: to selector 2, DCT transformation module 3 and quantization module 4, then to entropy coding module 13, and finally to multiplexer 14. The motion vector (MV), produced as the result of motion compensation, is coded by the entropy coding module 12 and is passed on to the multiplexer 14, which inserts the motion vector into the output data stream 15.
The 7 module is a selector/sum module that leaves data of I-type blocks unchanged, while in case of P- and B-type blocks adds the found reference block to the inverse transformed differences. The block thus reconstructed is subsequently written into the reference frame store.
Positions found during the search are converted into vectors and coded by the entropy coding module 12.
These operations will now be described in more detail.
1.2.1.
Compression systems relying on temporal redundancy encode only the changed portions of consecutive frames. In practice, this is done by dividing the frames into blocks and comparing individual blocks pixel by pixel with pixels located in a search range of the previous or the subsequent frame. The procedure is illustrated in Fig. 2, showing that a reference block best matching a given block 20 of a frame 17 is being searched for in the sea in the previous frame 16 or in the search range 19 of the subsequent frame 18. The reference block can be located anywhere, it need not coincide with the search ranges (shown in grey) designated in the reference frames 16 or 18. It may of course happen that in such cases the reference search is unsuccessful in the given reference frame(s). Evidently, the reference frames 17, 18 are not divided into blocks for the reference search, the blocks are shown in Fig. 2 only for the sake of better overview.
The comparison is performed using the following expression: , - > . . > .
MSE(k,l ;u,v) = (I n(k + i,l + j) - In_j(k + i+ u,l + j + v) )z-
Figure imgf000007_0001
where MSE is the so-called Mean Square Error, quantifying in essence the comparison of individual pixels of the block to be coded and the sought reference block, the comparison being performed pixel by pixel, indices k,l are indices determining the position of the block to be coded, indices u,v are indices pointing to the search range located in the reference frame, and M, N are the horizontal and vertical size of the block.
Frames located consecutively before and after the frame containing the block to be coded are uniformly called reference frames.
During the search procedure, a search range with a typical size of -32/32 pixels is set up in the reference frame. The position of the current block to be coded will be designated as the centre of the search range. That is, if the coding process is currently at position 10, 10 then this position will be the centre of the search range in the reference frame. The range is scanned step-by-step with the current block and the error (the above specified MSE value) is calculated in each step. The best reference candidate will be the position where the search gives the smallest error, that is, the block best matching the current block to be coded. Based on the error value, it can be determined whether the search can be regarded successful or not. In case of a successful search the sought reference block position is obtained in full resolution mode. However, in most cases the search result is not satisfactory. If we examine the issue in more detail, it soon turns out that the cause of therefore unsuccessful searches) is the error measurement method. For instance, in case of noisy frames even in the best position the two blocks cannot be identical, the information content of the blocks is different just because of the noise. This situation also arises when the displacement of a block is not the exact multiple of the pixel size, the displacement ends somewhere between two integer pixels, i. e. the real displacement can only be exactly expressed as a fraction of the pixel size.
Therefore, in order to provide a proper match between the current block and its reference, the noise and other disturbing factors should be filtered. Usually low-pass filters are applied for that purpose. The filters perform the damping of high-frequency components depending on the predetermined sampling frequency, and are thereby able to suppress picture noise to some extent. Filters usually compensate errors by averaging each pixel with pixels located beside or above it, or with both. For instance, the so-called 1/2 pixel-resolution reference frame is produced by inserting a pixel between every two neighbouring pixels of the original frame, with the average value of the two neighbouring pixels. The result is substantially the same if a new pixel is created from the average values of every two neighbouring pixels, using the new pixels to create a new frame with a resolution identical with the original. This frame is practically shifted l pixel left relative to the original in case it was interpolated horizontally, and Vi pixel up in case it was interpolated vertically.
1.2.2.
For error compensation, usually bilinear filters are proposed. Bilinear filtering involves creating three interpolated (filtered) reference frames, namely one with vertical, one with horizontal, and one with both vertical and horizontal interpolation. It should be remembered that a reference frame is the decoded (reconstructed) variety of a coded intra (or inter) frame. This is done in order to prevent further frames, which are based on the given reference frame, from being further deteriorated by the quantization error present in the decoded reference frame.
In the next phase the search is canied on with lA pixel resolution (that is, it is continued in the filtered reference frame). A selector S is generated from the bits of the matched x, y position using the expression S=(y & l) * 2 + x & l (where & stands for a logical AND operation). Next, a new search range is established with limits -1/+1, -1/+1, i.e. at (x +(-l/+l),y + ( - 1/+1)) , with the position of the best block, found in the first search phase (the search in the non-filtered reference), set as the centre of the range. Now the search is repeated using the new range. The selector picks the required interpolated reference frame according to the positions and also the particular block in the frame that is determined by the positions, and calculates the squared error relative to the current block. At the end of the search the position where the error was the smallest is retained. So, pixels of the current block will be subtracted from pixels of the block that was pointed to by the selector - when the error was smallest. This is illustrated in Fig., 3. A block similar to or identical with block 24 of the frame 22 to be coded is sought in -the reference frame 23. When the best matching block 25 is found, the contents thereof are fed into the Sad/Sub (comparison).. module. 29 through data line 28, with the comparison' being performed .using either the unfiltered, the horizontally interpolated (filtered), the vertically interpolated (filtered), or the bidirectionally interpolated (filtered) reference, depending on which one has been selected by the selector with the expression S = (y & 1) * 2 + x & 1 on the basis of the position values. This procedure involves only a non-filtered reference that is locally filtered (interpolated). The procedure is the same in case three previously filtered reference frames (horizontally, vertically, and bidirectionally interpolated) are available. In that case the selector chooses the appropriate reference frame from the above alternatives (the non-filtered frame and the three differently filtered ones), and forwards the block located at position x, y for further comparison and processing.
Finally, either the squared error or, in case of the smallest-error block, the difference of the reference block 25 and the block 24 to be coded is passed on the output 30.
1.2.3.
Next, either the resulting differences - in case of a successful search - or, if the search was unsuccessful, the current block itself are converted with DCT transformation from spatial representation to frequency representation. Then the unnecessary precision of data is reduced by the so-called quantization operation. This essentially involves discarding higher-order coefficients produced by the DCT, since these coefficients are usually small. The remaining DCT coefficients are also either small values or zeroes, which may be entropy coding, simultaneously with the position value established above. This procedure is illustrated in Figs. 4-5.
Fig. 4 shows the schematic block diagram of the coding process for an intra frame. The input frame 31 has Y, UV format where Y contains the luma information and UV contains the colour difference (chroma) information. The frame 31 comprises e.g. 8x8-pixel sized blocks.. Thus, individual blocks are 8x8 matrices, with separate Y and UV blocks associated to a given frame. In the following, if it is not indicated otherwise, Y and UV blocks are coded similarly, so they are generally represented in Fig. 4 by the matrix f(i,j). The result of.ther DCT transformation performed in step 31 on a given block is the matrix denoted F(u,v), also comprising 8x8 elements. Modifying the individual elements of the matrix F(u,v) in step 33., we obtain the quantized matrix Fq(u,v), ■designated in .Fig. 4 with the reference numeral.37. As it has been already indicated earlier, quantization essentially involves the reduction of unnecessary precision of the data, carried out in practice by discarding certain elements of the F(u,v) matrix. Accordingly, hereafter the information contained in the original block is contained in the quantized matrix 37. The first element of the quantized matrix 37, the so- called DC coefficient is reduced in step 34 with delta pulse code modulation (DPCM). This essentially means that DC coefficients of subsequent blocks, having the same order of magnitude, are subtracted from one another, and in this manner smaller-amplitude DC coefficients are obtained, which can be coded more efficiently by the static Huffman entropy coding performed in step 36. The other- elements of the matrices, the so-called AC coefficients, are coded applying the so-called run-length coding, which is based on recording only the occurrence count and the coefficient value for reoccunϊng coefficients (the procedure is described in greater detail below). DC and AC coefficients are retrieved from the quantized 8x8 matrices following the so-called Zig-Zag scan order, as illustrated at the matrix 37. Thereby the coefficients are forwarded to the entropy coder in increasing order of frequency, starting with lower-frequency coefficients, towards the higher frequency coefficients.
1.2.4.
In case a block is not an intra, but an inter coded block, then Fig. 5 shows the coding of a matched and compensated P-type block. It is sought to find a reference block 43 for the block 42 to be coded. The block 42 is located in its original position 40, betw the current frame to be coded. The reference block 43 may be located in the position indicated with the reference numeral 41. The search is performed by stepping the block 42 to be coded through the search range 39 of the reference frame. If the best match is found, the block 42 to be coded is subtracted from the reference block 43 (or the other way round) to generate the error between the block 42 to be coded and the matched reference block 43. In this manner, the luminance 44 and chrominance 45 components of the error are obtained. These components are subjected to DCT transformation, quantization, and run-length coding in step 46, and finally, in step 47 the run-length coded data undergo further entropy coding. . • .
Since the original frame will not be available as a reference during decoding, only an already decoded frame can be used as reference. That is why it is necessary to reconstruct reference , frames from the coded data already during the process of coding. The simplest way to do this is to perform the inverse quantization and inverse DCT immediately after quantization.
In case the reference search was successful, the matched reference block is added to the inverse transformed block, and the inverse transformed block is written to the current position of the current frame. Because the frame obtained in this step will serve as a reference for the next frame, all blocks of the current frame are updated.
If the reference search was successful, the block is classified as inter block, whereas upon an unsuccessful search the block is classified as an intra block. Block classification data are needed for the decoder, because they indicate how the block was generated during the coding process. Frames are classified according to the same principle.
If no reference is found for a frame (or if the frame has changed relative to the reference to such an extent that the coding of the difference would require substantially the same amount of data as the coding of the original frame), the entire frame is transformed using DCT and is classified as an I-frame. If a frame uses only the preceding frame as reference, it is classified as a P-frame, while in case the frame uses both the preceding and the subsequent frames as reference, it is categorized as a B-frame. Fig. 6 illustrates that for a B-frame, the coding system searches for a refei C to be coded in both the preceding frame 48 and the subsequent frame 50, finally keeping as reference either the one that produced the smallest error or the linearly interpolated average of the two.
First the MSE value of the matched blocks P and C is computed, then MSE is also calculated for blocks F and C. In the following, the system calculates MSE for the block generated by the expression 0.5 * (P + F) and the block C, and the alternative yielding the smallest MSE is finally coded. That is, in case MSE of the block C was best relative o the preceding frame 48, then the block P of said frame 48 becomes the reference block for, the block C. In case the best result was produced by the frame 50 following frame 49, then the block F of the frame 50 becomes the reference of C, and if the best result is obtained with the average of F, and P, then both these blocks are used as references for C. If none of the results were. ood enough, then . the block is coded as an intra block. The block descriptor structure must always show the source of the reference, that is, how the block C was coded.
1.2.5.
In case of a successful reference search, the established reference positions are converted to vectors and the vectors are coded. The vectors specify the magnitude and the direction of the displacement of the block to be coded relative to the reference.
The application of DCT can be justified by the following facts:
In 'case a portion of coefficients is deleted (zeroed out), the inverse DCT transformation is capable of reconstructing the original block data with a very good approximation. The question may arise: why use DCT when it is only a variety of FFT? The answer is that there is empirical evidence that DCT gives better function approximation for video encoding than FFT. This is illustrated with some concrete values shown as examples in Fig. 7. The FFT coefficients 52 and DCT coefficients 53 are produced by performing, respectively, FFT and DCT transformations on the input data 51. After quantization (that is, after discarding or truncating coefficients) the truncated FFT coefficients 54 and truncated DCT coefficients 55 are obtained. Following the inverse transformations the IFFT reconstructed data 56 and the IDCT reconstructed data 57 are obtained. Plotting the reconstructed dat and 59 it is seen that FFT is more sensitive to coefficient truncation.
1.2.6. The purpose of quantization is the reduction of the precision of frame data (the level of the details), discarding unnecessary details.
If a given block is subjected to close examination, it can be noticed that the block contains many details that are not perceived visually. The reason is that the sensitivity of the human eye increases toward Tower spatial frequency components. Thus, if . higher-frequency components of the frame are more strongly damped than.lower-frequency components, up to a certain limit no change can be visually perceived in the decoded - frame, though the compressibility of the data has increased. This kind of quantization is.applied by the MPEG1- 2 standards. . According to another known method, the frequency .distribution of the coefficients is disregarded, so each coefficient will be divided by the same constant (H26x- MPEG4). The most important function of quantization is the reduction of the number of bits that describe the DCT coefficients. In other words, it is desired to describe DCT transformed coefficients with as few bits as possible. The fewer the number of bits describing a coefficient, the better the compressibility will be. However, the error caused by the integer division also increases when the value of the divisor is increased.
There exist other known methods for reducing the number of bits representing DCT coefficients. For example, the so-called DC (delta code) prediction is based on the recognition that values located at the 0-th position of consecutive DCT blocks are only slightly different from each other. Hence, it is possible to reduce the value of the DC components and also the number of bits representing these values if a DC value is subtracted from the preceding one. (The coefficient located at the 0-th position of a block is called DC, while others are called AC.)
The process of AC prediction is similar to DC prediction, with the difference that coefficients are scanned in different directions, and are averaged using various methods. A number of solutions are lαiown for AC/DC prediction, so it is not needed to describe them in detail here. II.
The general objective of the invention is to improve the compression efficiency of the known method presented above, or more particularly, to provide efficient compression with relatively low computational load. This aim has been achieved with the inventive methods described in the independent claims attached to this description
Although the: above methods can be effectively applied by themselves, their simultaneous use can result in especially significant improvements, on the . one hand because the effects of individual methods are added, and on the other hand because the. individual methods concern different phases of the compression process. . .- • < ■.': ■■ ■. -'■
Other, apparatuses and software (computer program. products), performing the steps of the inventive methods^- and other, substantially inverse methods- carrying out the decompression of coded data are also the objects of the present invention.
The invention is explained in detail with reference to the attached drawings, where
Fig. 1 shows a schematic block diagram of prior art MPEG encoding,
Fig. 2 illustrates the method of finding inter frames,
Fig. 3 illustrates the method for comparing the reference block and the block to be coded, Fig. 4 shows the steps of the DCT transformation, quantization, and subsequent entropy coding,
Fig. 5 illustrates the method of subtracting the block to be coded from the reference block,
Fig. 6 illustrates the process of searching for reference frames among previous or subsequent frames, Fig. 7 shows differences between the DCT and FFT methods,
Fig. 8 is a schematic functional diagram of the inventive hybrid video encoder,
Fig. 9 illustrates the prediction modes of intra blocks,
Fig. 10 illustrates how the prediction mode is selected from possible prediction modes
Fig. 11 shows an embodiment of the encoding of the block partitioning, Fig. 12 shows possible block partitionings that use sub-blocks of different sizes,
Fig. 13 illustrates the partitioning that comprises three different block sizes,
Fig. 14 illustrates the partitioning comprising two different block sizes, Figs. 15a-c show search modes applicable with P and B frames,
Fig. 16 illustrates the reference search method that uses reduced samples, showing block sizes and block patterns used during the search process,
Fig. 17 shows how the interpolated reference frames used in the method according to the invention are generated,
Fig. 18a illustrates the selection (addressing) of neurons in the neural arithmetic coding unit according to the invention, and also shows the layout of unions within the address range,
Fig. 18b shows the schematic diagram of the neural network applicable for an embodiment of the neural bandwidth control system according to the invention. ■ - , ' Fig. 18c shows the schematic diagram of the neural network-applicable for another embodiment of the neural bandwidth control system according to the invention, . Fig. 19- shows the modification of the data path of the input data in the high dynamic-range • -neural bandwidth control system, . • : . * v:- .* -
Fig. 20 illustrates the dynamic scaling method according to the invention, Fig. 21 shows the signal/noise characteristics of the transmission realized during the inventive dynamic scaling method, compared to the characteristics without dynamic scaling,
Fig. 22 is the flowchart of the decoding process for video data coded with the method according to the invention,
Fig. 23 is the schematic block diagram of an audio and video data coding system applying the method according to the invention,
Fig. 24 is the schematic block diagram of a system applicable for decoding audio and video data coded according to the invention.
III. The logical structure (schematic functional diagram) of the hybrid coding system according to the invention is shown in Fig. 8. Main functional units of the system are in many ways similar to the lαiown MPEG coding system shown in Fig. 1. The input video data 60, in other words, the frames to be coded are fed into the frame scaling module 61, which, according to a number of different criteria (discussed below in detail), either reduces the size of the input frame or leaves it unchanged. The entire system is controlled by a coding control unit 62, with the exact functions thereof clarified later in the present description. Frames or blocks are coded according to intra or inter coding depending on intra/inter switch 63. Blocks are directed to the output 73 in a transformed, quantized and coded state, i DCT transformation module 64, quantization module 65 and entropy encoding module 72. Reference frames needed for coding inter frames are generated by an inverse quantization module 66 and an inverse DCT module 67, from which the reconstructed reference frames are fed into the frame store 70 through a de-block filter 69. Motion compensation, i.e. production of filtered reference frames and compensated motion information 74 (motion vector and the subtracted block) is carried out by a module designated with the reference numeral 68 (with a resolution that is adjustable between lΛ, lA, and 1/8 pixels). The frame store 70 stores the - . current reference frame, with the blocks thereof being automatically refreshed (actualized).. . : The module 71 performs the identification of the changes, and finds that block partitioning '"• which is best suited for tracking the changes in the frame, and the module 71 describes the . best block partitioning using a Quad-tree structure (detailed below). The entropy ^.encoding , - . module 72 is a so called neural arithmetic compressor (see below). -
In the following we explain in greater detail certain aspects of the encoding (compression) process according to the invention.
The term "prediction" is used in the present description in a sense that covers reversible mathematical expressions which, exploiting actual or potentially expectable similarities, are based on operations of a substantially averaging character, and return original values with a good approximation. This means that data reconstruction can only yield approximated values of the original data, in other words, expected values are "predicted". For practical purposes a specific function is used to perform these calculations (that usually involve averaging operations).
The inventive compression method has an essentially hybrid nature, because it exploits both temporal and spatial redundancy. The implemented compression is based on a hierarchical block structure containing blocks of dynamically varying sizes. The reference search uses not only the frames immediately preceding and following the current frame, but further preceding and subsequent frames as well, with a maximum depth of +1 and -3 frames (that is, reference search is allowed in one following and three preceding frames). High-level motion compensation is realized by the method, with a resolution ranging from entropy compressor performs optimized arithmetical coding based on multi-level prediction.
In the following, the term "intra prediction" means a reversible mathematical expression that, depending on values in one or more reference blocks, reduces or zeroes out pixel values of the current block to be coded.
For the sake of clarity, it has to be pointed out that in the present description, references are made to two fundamentally different prediction principles: 1. The so called "intra prediction", applied for coding intra frames, and 2. The prediction used in neural entropy coding. These are identified at the appropriate place.
IV. Fast intra prediction of the blocks to be coded IV.l
Intra prediction is based on the observation that neighbouring blocks in a given frame often have similar properties, and therefore spatial correlations among neighbouring blocks can be used for reduction. Thus, the information content of selected blocks (the blocks to be coded) can be modified on the basis of the information content of predetermined pixels of a block or blocks adjacent to the selected block using the intra prediction procedure mentioned above. In a possible aspect, intra prediction is realized using the vertical lines 76 of the block located before the block to be coded or the horizontal lines 77 (that is, pixel values thereof) of the block located above said block, or both of them, as it is schematically depicted in Fig. 9. Let vertical line 76 be called B, and horizontal line 77, A. Let us consider a concrete example: Let 221, 224, 230, 232 be elements of the last horizontal line 77 of the block located above the block to be coded.
Let the block to be coded be the following:
219,223,226,232 219,224,224,231 217,220,221,229 214,220,221,228 Now we subtract the horizontal line 77 from each horizontal line of the b] obtain the predicted block:
2, 1, 4, 0 2, 0, 6, 1,
4, 4, 9, 3
7, 4, 9, 4
This example uses horizontal prediction. The advantage of the prediction is the bit reduction of the pixels, and, as the tendency of values increasing from left to the right that could be observed in horizontal line 77 proved to be the same in the case of the block to be coded, the entropy of the data to be coded has also improved. The distribution of the resulting values is: 2 x "2", 2 x "1", 2 x "0", 4 x "4", 2 x "9", 1 x "7", which shows higher symbol occurrence rate than the original block.
The more transformation/prediction types are defined, the better is the achievable entropy by applying one of them. Thus, in one practical embodiment of the proposed solution a modified (predicted) block is coded instead of the original block 75 to be coded: The predicted block is computed by subtracting line-by-line the neighbouring horizontal line 77 A or vertical line 76 B from horizontal or vertical lines of the block 75 to be coded, or by subtracting from original pixel values the average values of A and B, the calculation typically being performed with the formula (pixel-(A+B)/2, and thereby obtaining the so-called predicted block. This is a known solution per se, but we have recognized that the efficiency of intra coding can be significantly improved if we allow using blocks of different sizes, even mixing them at the same time, by which we usually obtain blocks that can be better compressed. However, the high number of calculations which must be performed renders this solution infeasible in itself. In the known methods, the final, best compressed predicted block is found by effectively performing the DCT transformation and entropy coding on the predicted block. Only thereafter it is established, to what degree a given predicted block can be compressed. However, the best compressed predicted block found in the previous step can be used only if the error of the reconstructed block (compared to the original one) is not too high. Consequently, to measure the error the inverse transformations must also be carried out. Altogether, very high computing capacity is required. Thus, according to the invention, a compressibility analysis is perforate coded before carrying out the DCT transformation. Based on the compressibility analysis, the block is coded with DCT and entropy coding. In most cases, however, the compressibility analysis reveals that it is worth examining the compressibility of the block also by dividing the block to be coded into further sub-blocks. In this case, the compressibility of blocks associated to the various block partition variants is analyzed, and that partitioning is selected which promises the best potential results. Finally, after the block partitioning followed by the intra prediction, DCT transformation is carried out on the basis of the selected, potentially most favourable block partitioning.
IV. 2.
This process is now described in more detail.
As it can be seen in Fig. 12, in the shown embodiment of the invention, the possible block sizes are 16x16, 8x8, and 4x4 pixels. The (intra) prediction of blocks with different sizes can be carried out in a plurality of ways. These are listed on the following pages.
IV.2.1 Prediction of 4x4 blocks
Six types of prediction are defined.
1. DC prediction
Let SO be the prediction vector:
If exist A and B, then SO = Σ (Aj + Bj + 4) / 8 or else, if only A exists
SO = Σ (Aj + 2) / 4 or else, if only B exists
SO = Σ (Bj + 2) / 4 Or else SO = 128
Thus the predicted block is computed according to the formula DCP(j,i) = B(j,i) - SO where j=0..3, i=0..3 where IB is the block to be coded, and DCP is the predicted block. 2. Horizontal prediction
DCPG ) = IBG,i) - A(i) where j=0..3, i=0..3
3. Vertical prediction
DCPG ) = IBG,i) - B(i) where j=0..3, i=0..3 s:; '
4. Diagonal prediction combined with horizontal and vertical
T(0,0)=(B(3) + 2 * B(2) + B(l) +2) / 4 ... T,(l,0)=(B(2) + 2*B(l) + B(0)+2)/4 ., . ..: .. ..
T(2,0)=(B(l) + 2*B(0) + A(-l)+2)/4 T(3,0)=(B(0) + 2 * A(-l)+ A(0) +2) / 4
T(4,0)=(A(-1)+ 2 * A(0) + A(l) +2) / 4
T(5,0)=(A(0) + 2 * A(l) + A(2) +2) / 4
T(6,0)=(A(1)+ 2 * A(2) + A(3) +2) / 4 DCPG ) = IBG ) - TG-i+3) where j=0..3, i=0..3
5. Diagonal with vertical
T(j,i) = A(3) where j=0..3, i=0..3
T(0,0)=(A(0) + A(l))/2
T(150) = A(1) T(0,l) = T(2,0) = (A(l) + A(2))/2
T(1,1) = T(3,0) = A(2)
T(0,2) = T(2,l) = (A(2) + A(3))/2
DCP(j,i) = IB(j,i) - TG, where j=0..3, i=0..3
6. Diagonal with horizontal
TG,i) = B(3) where j=0..3, i=0..3
T(0,0)=(B(0) + B(l))/2 T(0,1) = B(1)
T(1,0) = T(0,2) = ( B(l) + B(2) ) / 2 T(1,1) = T(0,3) = B(2) T(2,0) = T(l,2) = ( B(2) + B(3) ) / 2 5
DCPQ5i) = IBG ) - T(j,i) where j=0..3, i=0..3
IV.2.2. Prediction of blocks with the size of 8x8 pixels can be implemented according to similar principles. U , In this case, four possible prediction types are defined:, . .. . .
1. DC prediction.
If exist A and B then S0 = Σ (Aj + Bj + 8) / 16 or else if only A exists SO = Σ (Aj + 4) / 8 or else if only B exists SO = Σ (Bj + 4) / 8 0 else SO = 128
2. Horizontal prediction
DCP(j,i) = IBG,i) - A(i) where j=0..8, i=0..8
3. Vertical prediction
DCPG ) = IBG,i) - B(i) where j=0..8, i=0..8
4. Diagonal prediction
DCPG,i) = IBG,i) - ( A(i) + B(i) )/2 where j=0..8, i=0..8
0 IV.2.3. Finally, prediction of 16x16-pixel blocks is also similar:
In this case four prediction types are defined.
1. DC prediction.
If exist A and B then S0 = Σ (Aj + Bj + 16) / 32 5 or else if only A exists S0 = Σ(Aj + 8)/16 or else if only B exists S0 = Σ(Bj + 8)/16 else SO = 128
DCPQ,i) = IBG,i) - SO where j=0..15, i=0..15 (IB is the current block, DCP is the predicted block)
2. Horizontal prediction
DCPG,i) = IBG,i) - A(i) where j=0..15, i=0..15
3. Vertical prediction
DCPG,i) = IBG,i) - B(i) where j=0..15, i=0..15
4. The so called "Plan prediction"
v = 5*((Σ((A(j+7)-A(j-7))*j))/4)/4 h = 5*((Σ((B(j+7)-BG-7))*j))/4)/4 k = A(15) + B(15) T(j,i)= ( k+ (i-7) * h + 0-7) * v + 16) / 32
DCPG,i) = IBG,i) - T(i) where j=0..15, i=0..15
IV.2.4. So, in this aspect the proposed method uses three different block sizes and as many as 14 prediction types. It is easy to see that high computing capacity would be required if the lαiown method were applied, as all the predictions and subsequent calculations should be carried out 4 times in 16xl6-mode (that is, in case the allowed block size is 16x16), also 4 times in 8x8-mode, and 16 times in 4x4-mode.
In practice, this means that if the 16xl6-sized block has not been divided into sub-blocks, the P → DCT → Q → IQ → IDCT → IP transformation sequence, and the subsequent entropy coding of coefficients, and determining MSE values for original and inverse transformed blocks must be performed 4 times. If the division of blocks into sub-blocks is allowed, according to the method described above, the total number of transformations increases to 16 (4*4) or even to 96 (6*16) (although with smaller block sizes). For this reason, the selection of the best predicted block is perform flowchart presented in Fig. 10. Block data 79 pass through multiplexer/selector 80, which, depending upon the block size, selects the current prediction mode 81 out of those above enumerated. Selector 82b can be set by the user to direct block data 79 of the predicted block into processing module 82c either directly or through a Hadamard transform module 82a. The processing module 82c produces the absolute squared sum of the block, with comparator 83 evaluating the resulting sum. In case the value is smaller than a reference threshold value, said reference threshold is overwritten by the momentary sum, with the current prediction mode being stored together with the predicted block by processing module 84. In the following the multiplexer/selector 80 selects the mode for the next prediction, and the whole process is repeated until all available modes - in other words, prediction modes pertaining to different potential partitionings of the block - are tested. At the end the best predicted block, and also the prediction mode by which it was generated, is. determined.
The predicted block is summed by processing module 82c using the following formula:
M sum^ = ' abs(pixel(j) ) 2
'=° (Equation I)
where M is the block length.
In certain cases it could prove disadvantageous that the above method does not take into account spatial frequencies. That is the reason for including Hadamard transformation module 82a. The transformation is carried out before the squared sum is computed, and the user can decide to apply it or not. The definition of Hadamard transform is given below. This transformation is similar to the. DCT in the sense that it generates frequency components/coefficients of the transformed block. In most cases, a more efficient prediction will be the result, where the transformed block contains fewer frequency components/coefficients . After the best block partitioning and the corresponding prediction mode as described above, the remaining transformations (DCT...) are carried out and the block is coded with the entropy coding module.
Having compared the inventive method to the known solution it turned out that the quality/compression ratio of our method is cca. 1 dB better. Though better compression could be achieved with the lαiown method, it was always at the expense of quality. The inventive method, however, provides better image quality and practically the same efficiency of compression. , . .,. . ,
Another important feature of the inventive method is that the computational load thereof is approximately one-tenth that of the known methods* if Hadamard transformation is performed, and approximately 1/16 of the computational load required by known methods if Hadamard transform is not applied.
As the partitioning of blocks must somehow be recorded for successful decoding, blocks are partitioned according to a so-called Quad-tree structure. Each block of 16x16 pixels can be conceived as a root with four descendant leaves, which in turn can be further decomposed into four other descendants down to the block size of 4x4. This is illustrated in Fig. 11, where in one of the 4x4-pixel sub-blocks (03) of the given block further 2x2 -pixel sub-blocks are shown and in one of these 2x2-pixel blocks individual pixels are shown. The graph beside the image of the block illustrates how individual sub-blocks, or even individual pixels of the block can be identified if needed. It can be clearly seen that as the resolution increases, the amount of data needed for describing the given partitioning also increases.
This partitioning method (allowing three different block sizes) is proposed as a default for the inventive method. In another implementation, however, this can be overridden by the user or the system itself and a mode that uses only two different block sizes can be set. This will expediently pertain to the whole frame, and cannot be mixed with the three block size-mode, preventing that one block in a given frame is coded in two-block mode and another in three- block mode. The intrapredictive coding in one proposed aspect of the invention a] modes using dynamically changing block sizes (I-type). Thus, during the coding of an entire I-frame it is allowed to apply blocks of different sizes (applicable block sizes are listed below). It should be noted again that the chosen mode must be indicated in the header structure of the frame. The 4 possible modes in this example are the following:
• Coding using three different, dynamically changing block sizes (16x16,8x8,4x4).
• Coding using two dynamically changing block sizes (16x16 and 8x8).
• Coding using two dynamically changing block sizes (16x16 and 4x4).
• Coding using two dynamically changing block sizes (8x8 and 4x4). In one implementation of the method, the user can only select between two- and three-block modes, or, optionally the system may automatically select the optimal mode. Accordingly, the user may choose from the following options:
1. Coding using three different, dynamically changing block sizes.
2. Coding two dynamically changing block sizes. 3. Automatically choosing one of the above options.
The choice is usually determined by the available computational capacity, or, optionally, is based on evaluating certain characteristics of the frames to be coded. Fig. 12 illustrates the block sizes used in the example described above.
Let us discuss now the process of intrapredictive coding with dynamically changing block sizes in more detail.
IV.3. Intrapredictive coding using three different, dynamically changing block sizes (I type) The size of the Y block is 16x16, or alternatively, four 8x8-pixel sub-blocks or sixteen 4x4- pixel sub-blocks are used.
The size of the UV is either 8x8 or, corresponding to the partitioning of the Y block, either four 4x4-pixel sub-blocks or sixteen 2x2 -pixel sub-blocks are applied (see Fig. 13). It has to be noted that the block size of 2x2 pixels on the UV colour surface is allowed only in "inter" mode. Because three different block sizes are applied, a method is needed for se] size.
If we were to proceed according to the known method, we would have to carry out all necessary transformations using the largest block size, and measure the error between the original and the reconstructed block. Then, in case the error exceeded a limit, the block would be divided into four parts, and the transformations .and error comparison repeated with each, sub-block. Those sub-blocks that had an error above a given threshold value would again be divided into four sub-blocks and the transformations would be repeated again.
Though this method would be ideal, it would involve a number of transformations that are unnecessary for producing the end result.
In case a block has to be divided into three 8x8 and four 4x4-pixel sub-blocks, one set of transformation should be carried out in both directions on a 16x16 block, four 8x8 transformation sets also in both directions, and four 4x4 transformation sets should also be performed. Of these, the transformation set carried out on the 16x16 block and the set of transformations (DCT and entropy coding-decoding) performed on one of the 8x8 blocks are redundant. Thus, precisely those transformation sets would have to be carried out unnecessarily that have the highest computational load.
So, according to the invention first compressibility analysis is performed on the blocks. In one aspect of the invention this is carried out by dividing the block into four sub-blocks and computing the so-called variance for the block using the following formula:
M M
∑ pixel - (∑ pixel j)2 variance = — — (Equation II)
M
where M is the length of the sub-blocks, and by examining if the conditions variance < TH8 or variance < TH16 are fulfilled, where TH8 = the variance threshold allowed for 8x8 blocks
TH16 = the variance threshold allowed for 16x16 blocks. TH8 and TH16 are empirical constants. As the formula shows, the "variai the amount of visual details in the block.
Upon the user's choice, the Hadamard transform can be activated before the calculation, but the TH constants will be different from those used for the calculation without the Hadamard transform.
If the variance values for all sub-blocks remain within a limit of ±N %, and the sum of said variance values does not exceed the preset threshold TH16, the block can be coded using the largest block size.
If the above condition is not fulfilled, but the variance of a sub-block is smaller than TH8, the given sub-block can be coded in 8x8-size. Otherwise, the 8x8-pixel sub-block should be further divided into 4x4-pixel sub-blocks.
The error caused by quantization should be taken into account when determining values for
TH8/16 because, if the quantization error is relatively low, larger block sizes can be utilized with satisfactory results and the subdivision of blocks may become unnecessary.
TH values may, for instance, be determined using the following expression: TH{f) = THbasevalue i) * errorfactor{qp) where i=0..1 and qp =1..MAXQP
The value errorfactor(qp) is taken from a table indexed by qp that is determined on the basis of the quantization factor QP. Said quantization factor QP is provided in this case by the inventive neural control system as will be described in due course, but, alternatively QP can also be constant or be determined utilizing another known method.
The table of error factors contains values generated from combined quantization error values, with the error factor values decreasing toward greater indices.
In other words, higher quantization means smaller changes in TH and stricter conditions, or, put in yet another way, higher amount of visual details in a block and higher quantization causes the block size to converge toward smaller block size values. Because, .as it is explained below, coding of the block partitioning itse high amount of data, it could be expedient to examine if it is worth to allow using three different block sizes. In case only two different block sizes are allowed, much less additional information has to be coded for recording block partitioning data.
So, in one aspect of the invention the block partitioning is analysed over the entire frame, assigning a statistical quantity to each block size (that is, the count of blocks with every allowed block size is determined). If each occurrence rates for all . block sizes are approximately the same and we are in the three-block or automatic-choice mode, the process is continued. Otherwise, if most blocks are of one of two dominant block' sizes, these dominant sizes are determined, and the method is carried on with steps described in the chapter entitled Intrapredictive coding using two dynamically changing block sizes (Chapter IV.4. below).
The method operates in two parts.
First, compressibility analysis is performed over the entire frame on the basis of variance calculations, with the optimal block partitioning being determined as a result. In the second part, the block partitioning is carried out with those predictions that were found for the optimal partitioning being performed, and finally the coding and the inverse transformations are carried out on each block belonging to the selected block partitioning, utilizing those predictions which proved to be the best.
Although the variance analysis exactly specifies how individual sub-blocks of a given block should be partitioned, this partitioning must be somehow recorded. The most obvious solution applies the so-called Quad-tree structure (illustrated in Fig. 11).
For the description of an entire block two variable levels are needed. The variable at the first level is called L, while second-level variables are designated with the letters ABCD. In case the given block is not partitioned, L is set to 0 (L=0 if the block size is 16x16). If the block is partitioned, L is set to 1. In this case four other bits are needed for describing the sub-blocks. If a sub-block is not partitioned further (has a size of 8x8 pixels), the vε bit is 0. In case the sub-block is further partitioned (into 4x4-pixel sub-blocks), the value of the associated bit is 1. For example:
L ABCD o the block is not partitioned.
1 0000 the block is divided into four 8x8 sub-blocks
1 0001 the first quarter of the block is divided into 4x4-piχel sub-blocks, the size of the other blocks is 8x8 1 0010 the second quarter of the block is divided into 4x4-pixel sub-blocks, with the others sized 8x8
If the block is partitioned (L=l), there are 16 possible combinations, so in this case the data encoding the partitioning of the block are 5-bit long together with L, while the partitioning data is only 1-bit long (L only) if the block is not partitioned.
After block partitioning has been completed, transformations pertaining to individual blocks are carried out and the transformed blocks are coded in the entropy coding module.
IV.4. Intrapredictive coding using two dynamically changing block sizes
If the analysis decides in favour of the option that uses two block sizes, then the two dominant block sizes have already been determined. (Possible sub-block configurations are shown in Fig. 14.) Coding with two block sizes is performed in essentially the same way that we have described above, with only a few minor adjustments.
In case one of the dominant block sizes is 16x16 (the other size being 8x8 or 4x4) then, provided the variance does not exceed the limit TH16 (that is, the block fulfils the condition in 16xl6-size), the block will be coded with a size of 16x16, otherwise it will be divided before coding into 8x8 or 4x4-pixel sub-blocks. If, however, the two dominant block sizes are 8x8 and 4x4, the block will be coded with a size of 8x8 in case the variance values of at least three sub-blocks are smaller than TH8 (that is, the block fulfils the condition), and with a size of 4x4-pixels otherwise. The advantage of a block partitioning where only two block sizes are all QT code (the partitioning descriptor) can be replaced by a single-bit code standing for the chosen partitioning (e.g., with a basic block size of 16x16, 0 may stand for a 16xl6-block, 1 for four 8x8-sized sub-blocks).
All the subsequent transformations are the same as those already described. To sum up: the analysis chooses two block sizes for the frame, and these will be used for coding the entire frame.
Parts 1, 2, 3 of Fig. 14 illustrate possible sub-block combinations.1
Thus, the block coding process proceeds as follows: . . •, ,
1. Dividing blocks into sub-blocks according to the block partitioning considered the best by ; the compressibility analysis 2. Determining the best predicted sub-block for each sub-block, and coding the predicted block.
IV.5. Transformations from spatial representation into frequency representation
IV.5.1 The discrete cosine transform (DCT) is not new in itself. The basic principles are identical for all block sizes.
The discrete cosine transform:
y(k) = c(£) Tcos π ^ x(ή)
where N is the number of elements in the given block, c(0) = 1/VN and c(k) = V(2/N), 1 < k < N-l, with x(n) being the n-th element of the block to be coded.
Inverse DCT transformation
N-l 2πk(2n + l) x(ή) = 2 cos — — J-c(k)y(k)
These transformations can be implemented as a factorized matrix-vector product, which significantly reduces the amount of calculations. Currently implemented methods are realized with integer-based 2D transformations. As there exist several well-documented methods for performing DCT transformations on a computer, there is no need to address them here. 5
IV.5.2 Hadamard transform:
Figure imgf000031_0001
where ■ „• ; . ■ ■
Figure imgf000031_0002
b^b(n-ϊ ..b(\)b(G) (/),b(k)= ,l -' i υ Similarly to the discrete cosine transform, the Hadamard transform is a variant of FFT, with the great advantage that it comprises only addition and subtraction in matrix form. Thus, it can be performed much faster on a computer than DCT or FFT. It also has an important disadvantage, namely that the function is not continuous. That is why the Hadamard transform causes a visually more conspicuous error with higher-detail blocks than DCT. This
15 makes it suitable to be directly applied only on "flat" (lower-detail) 16x16 blocks. As the 16x16-pixel block size requires the highest amount of calculation, it is preferable to apply Hadamard transform on 16x16 blocks whenever they need to be transformed. It should be noted here that in a specific embodiment the variance analysis performed according to the invention only allows the application of the 16x16 block size, if the given block has
20 sufficiently low detail levels.
IV.6 The step performed between the DCT transformation of blocks or sub-blocks and entropy coding is the so-called quantization, during which matrix elements of the DCT- transformed block are modified according to specific guidelines in order to provide for easier >5 coding with the entropy coding module.
The method applied according to the invention is similar to the standard MPEG quantization, and is performed using the following formula: ( (dataω * 16)+ (matrix(J) * O.s) qcoeff(l) = matrix v, )
Figure imgf000032_0001
where qcoeffG) is the j-th element of the matrix corresponding to the DCT-transformed block after quantization, dataG) is the j-th element of the matrix corresponding to the a DCT-transformed block prior to quantization, matrixG) is the j-th element of the quantization matrix, and QP is the quantization factor (a scalar value).
The inverse quantization:
[qcoeff, * 2 + 1 )* matrix, Λ * QP data, - X—XX± '- <A-X— ω 16
The quantization matrix matrixG) has the same size as the DCT-transformed block, or the original block itself (e.g. 16x16, 8x8, etc.)
The solution provided by the inventive method differs from the known MPEG quantization method in that it chooses the quantization matrix matrixd) depending on the quantization factor. Known MPEG quantization uses a single matrix(,) quantization matrix.)
The correspondence between the quantization matrix and the QP quantization factor is implemented by dividing the entire quantization domain into N subdomains with a previously specified bandwidth range being assigned to each subdomain. In an embodiment of the invention QP was between 1 and 36, the interval being divided into multiple (in one aspect, four) subdomains according to the following: (l-4),(4-8),(8-20),(20-36). Bandwidth ranges assigned to these subdomains were: (6000-1000kBit/s, 800-1000kBit/s, 400-800kBit/s, 100-400kBit/s)
That means that an optimised 4x3 matrix table (corresponding to the three different block sizes) was assigned to the divided QP domain, with individual elements of the table being entire matrix^ quantization matrices.
As the size of matrix^) is the same as the block size (4x4,8x8,16x16), separate matrices are assigned to each of these block sizes and that way each row of the table comprises three cells (in other words, three matrices are assigned to each subdomain). Thus, in case the method modifies QP, the optimal table row (opi corresponds to the given bandwidth, is assigned to the new quantization factor.
IV.6. Coding the quantized coefficients In a concrete realization of the inventive compression system, three different methods have been implemented for coding the coefficients. Though the basic principles of these methods are known, they are briefly explained below for the sake of clarity.
IV.6.1. Coding method based on the differences of DC values, of the discrete cosine transform As it turns out from the name, this method comprises the steps of subtracting DC values of consecutive blocks from each other and coding the resulting differences by an arithmetic coding method (the principles of arithmetic coding are well-known and are detailed later in this document).
X dpcm ~ - (i ) ~ ■ ■ (;-l ) The method is also called delta pulse code modulation (DPCM), and is based on the observation that the difference between consecutive DC values is usually very small, so the difference can be coded with fewer bits than the values themselves. Because the inventive method utilizes multiple block sizes, it is important to note that only the DC values of blocks of the same size can be expediently subtracted from each other, as the block size determines the magnitude of DC coefficients.
The arithmetic method codes each block size with dedicated parameters (subdivision of the coding interval, upper/lower limits of coding interval, etc.).
IV.6.2 Run-length coding of AC values and arithmetic coding of the resulting compressed values
AC coefficients are retrieved by means of the so-called "zig-zag" table (see Fig. 4, 37) and are compressed by the known run-length method.
The run-length method generates ordered pairs (coefficient: occurrence count), where the latter value specifies the number of occurrences of the given coefficient in the data sequence. Because the total number of pairs in a given block cannot be foreseen, either the number of pairs should be specified or an end-of-block code should be inserted after the last pair. If the coefficient value of the last pair is zero, said last pair need not be c< to write the end-of-block code into the sequence. The coefficient-occurrence count pairs are written in reverse order (occurrence coun coefficient) into the data sequence to be coded. The reason is that in this manner the zero value of the occurrence count parameter can be used as an end-of-block code (without, of course, the corresponding coefficient) because, if all pairs are valid ones, no combination can occur where the occurrence count is zero, so the code can be safely applied as end-of-block code.
If the block contained only zeroes prior to coding, only the end-of-block code is coded. In this case the given block, will be zeroed out (filled with zeroes) before decoding during block reconstruction. Pairs produced by the run-length method are finally also coded with arithmetic coding. ■ ■ • '
IV.6.3. Arithmetic coding of AC values using conventional parameters and parameters predicted by means of a neural network In this method, AC coefficients are directly coded with the arithmetic method, without intermediate run-length coding. In one of the methods implemented in the coder according to the invention, arithmetic coding is performed such that the level at which the current coefficient is coded is determined by the value of the previously coded coefficient through a modulo function (this is in many ways similar to conventional arithmetic coding without a neural network). This modulo function usually ensures only that in case more than one identical AC coefficients are beside each another, the coefficients are coded at the same level. The operating principles of the neural arithmetic coding module are explained in detail later in this document. Suffice it to mention here that in the inventive neural arithmetic coder there are no parameters (interval limits, interval subdivision) which would depend on the AC values. No end-of-block code is used, instead, the position of the last non-zero AC coefficient in the transformed and quantized block is recorded by putting out the actual position plus one. This is needed because if all AC coefficients would be zero in a block, it is possible to indicate, by writing out a zero, that no further data associated to the given block are coded in the output data stream (in other words, that the block contains only zeroes). For example:
positions 0 1 2 3 4 5 6 7 coefficients: 63 11 21 32 0 0 0 0 output: 3 63 11 21 32 where 3 indicates the last active (non-zero) position. This arrangement, however, is incapable of indicating the situation where all data are zeroes, because if a 1 is found at position 0, we should still code a 0 for the last active (non-zero) position. So, the position value is increased by one except when all data are zeroes.
So the output data sequence will be the following: 4 63 1.1 21 32, or, if everything is zero, onl O.
As an alternative to the above method, it could -be conceived that a zero is coded for each coefficient at a predetermined level, and a one if the last non-zero value has been reached. For instance:
Level 0: . 0 0 0 1 where the "1" indicates the last non-zero data - .
Level 1: 63 11 21 32 )
In the coding module implemented according to the invention one of the two above described methods are applied for preparing AC data for entropy coding. However, without departing from the scope of the invention, other transformations can also be utilized.
IV.6.4. During entropy coding both method 2 (see Chapter IV.6.2). and method 3 (see Chapter IV.6.3) are executed in test mode, and finally that method is applied which resulted in a shorter data sequence. Of course, the chosen method must be identified somehow in the coded data stream.
Method 1 (for coding DC coefficients) is always carried out, with coded data being output into the output data stream and subsequently being coded with the neural entropy coding module according to the invention. Of course, other known entropy coding methods can also be utilized.
For the sake of clarity, let us consider the format of the output data stream (before it would enter the arithmetic coder) for a single sub-block, utilizing methods 2 and 3 (Chapters IV.6.2 and IV.6.2, respectively) 2. I 0 I PRED I DPCM | AC | EOB or if everything is zero then | 0 | PRED
3. 1 1 1 PRED I DPCM | POS | AC or if everything is zero then 1 1 | PRED | DPCM | EOB
where the starting bit identifies the coding mode
PRED prediction type
DPCM DC coefficient coded by delta coding
AC one or more AC coefficients
POS position of AC coefficient ., EOB end-of-block character. ' ■ ' '- ■ ■ ■ .- - . ;
Format for coding the whole 16x16 block:
I QT=0000 I [ 0 I PRED | DPCM | AC | EOB], [ 0 |=PRED | DPCM | AC | EOB], : [ 0 I PRED I DPCM | AC | EOB], [ 0 | PRED | DPCM | AC | EOB] where QT (quad tree) are data describing block partitioning in case the block has been divided into four sub-blocks and each sub-block applies type-2 coding
Or:
Figure imgf000036_0001
[ 0 I PRED I DPCM | AC | EOB], | [ 0 | PRED | DPCM | AC | EOB] (2 x 4x4) [ 0 I PRED I DPCM | AC | EOB], J [ 0 | PRED | DPCM | AC | EOB] (2 x 4x4) [ 0 I PRED I DPCM | AC | EOB], (1 x 8x8)
[ 0 I PRED I DPCM | AC | EOB], [ 0 | PRED | DPCM | AC | EOB] (2 x 8x8)
meaning that the 16x16 block contains three 8x8 sub-blocks that are not subdivided, and the fourth 8x8 block (coming in fact first) has been subdivided into four 4x4 sub-blocks.
IV.7. Intrapredictive coding of the UV colour surfaces
During the known method of MPEG coding, pixel data of a given frame are converted from RGB to the so-called YUV2 format. Here Y stands for the lightness (luma) signal, while UV is the colour difference (chroma) signal. The physical size of UV surfaces is scaled back to half relative to Y (the loss, this loss has proved to be acceptable and does not lead to a significant decrease in quality).
Thus, to each 16x16 Y block, one 8x8 U and one 8x8 V block is assigned (this is illustrated in Fig. 12).
In this manner, when partitioning U and V blocks into sub-blocks, only the 8x8 and 4x4 sizes are desirable for use (as 2x2-pixel sub-blocks do not compress better than 4x4 or 8x8 ones, they are not worth using). The analysis of the block partitioning is done practically the same way as what has already been described, with the important difference that here comparison is performed only with the TH8 variance threshold. It has to be remembered that TH8 is an empirical value, with which the variance is compared, the latter computed in a way. similar to Equation II. If the variance, of the tested block satisfies condition TH8> variance then the block is coded with 8x8-size, otherwise with a size of 4x4 pixels.
For the prediction of U and V blocks only DC prediction is utilized (it is empirically shown that the gain from using other prediction modes would be marginal).
Other transformations are the same as described above. The only difference is in the quantization step size (order of quantization).
The output format of the data block (prior to arithmetic coding) is the following: I 0 I M I DPCM I AC I EOB or if everything is zero then | 0 | M | DPCM | EOB 1 1 1 M I DPCM I POS I AC or if everything is zero then 1 1 1 M | DPCM | EOB where M is the bit indicating block partitioning. E.g. M=0 if the block is not partitioned, M=l if it is partitioned.
Let us now turn to the coding of so-called "inter" blocks, where a reference block is searched for the block to be coded in another frame.
V. Interpredictive coding using dynamically changing block sizes V.l As it has already been pointed out, coding of inter frames is redundancy. This means that the current frame is compared with the previous or the subsequent frame, and only the differences between the two frames are coded. Reference search modes of the method are illustrated in Fig. 15. The following alternatives are possible: Searching only in the three preceding P-type frames (Fig. 15a); searching only in the two preceding B-type frames (Fig. 15b); searching in preceding and subsequent motion compensated references (Fig. 15c, in this case B-type frames usually cannot be used as reference).
The fundamentals of the method are identical to known, methods: , a. search is performed for the block to be coded in a search range specified within the reference frame, then the redundancy (the difference block) is coded together with the position of the reference block
« (or more exactly, the motion vector), and where the difference block is computed by subtracting individual pixels of the block to be coded from respective pixels of the block located at the position determined by the search.
Of the possible search methods the best results would be yielded by the so-called "full search". Such a search would, however, have enormous computational load, since it would involve the comparison of the 16x16 block with data in the search range starting from each pixel of the range, when searching for a matching block in all of the possible locations within the search range. Practically, with a search range of 32x32 pixels this would mean 1024*256=262144 additions and subtractions and operations for determining the absolute value of the differences, only for finding a matching 16x16 reference block. Because a frame of 720x576 pixels contains 1620 blocks (with 16x16 pixel size), the overall number of calculations would exceed 424 million. That is why for practical purposes the so-called "fast search" methods are usually applied instead of full search. "Fast search" methods apply few test points (typically less than 64), and have the disadvantage of being successful only if the displacements are small (typically smaller than 1-4 pixels), that is, motions in the video footage are slow. In case of greater displacements the probability of a successful search decreases rapidly. Another disadvantage of fast search methods is that, even if the search appears successful, it cannot be made sure that the found position is the minimum point (the pc reference block) within the search range.
The search method implemented in our invention can practically be regarded as a "full- search", which in case of slow motions has only slightly higher computational load than genuine full-search methods. Even in case of faster motions (greater displacements), the computational load of the inventive method is only a fraction of the load required by the standard "full-search" method.
V.2. The search method implemented according to < the invention is based on the so-called "spiral search", which is carried out in practice as follows.
V.2.1 A search range is specified in the reference frame. Coordinates of the centre of the search range are identical to coordinates of the centre of the search sample (the block to be coded).
In the next step the search sample, that is, the block 88 to be coded is divided into smaller sub-blocks (see Fig. 16). In one embodiment of the invention, good results have been produced using 4x2 sub-blocks. Now, variance values are computed for each sub-block, using an expression similar to Equation II. If there are at least two sub-blocks that have a variance greater than the variance values of all the other sub-blocks, the sum of their variance is greater than a predefined empirical constant THV22, and the two sub-blocks are not located adjacently (e.g. sub-blocks 88b and 88c), then only these sub-blocks of the 16x16 block 88 are tested during the search.
In case the condition THV22≤variance1 + variance2 is not fulfilled (where variance! and variance are the variance values of the two biggest- variance non-adjacent sub-blocks), then the above operation is repeated with the four biggest- variance non-adjacent sub-blocks, of which the combined variance is compared with another constant THV24 (this is illustrated by sub-blocks 89a, 89b, 89c, 89d of block 89).
If the condition for the variance of the four sub-blocks is still not true, sub-blocks are merged into 4x4 sub-blocks and the above operations are repeated with two sub-blocks with constant THV42, and, if necessary, with four sub-blocks with constant THV44 90b of block 90), attempting to find in the latter case the four biggest- variance non-adjacent sub-blocks.
If the respective condition is not fulfilled in any of the above situations, the reference search is performed using five 4x4 sub-blocks located in the four corners and the centre of the 16x16 block (Fig. 16).
The constants THV specify the minimum variance that the combined variance of the sub- blocks should equal or exceed in each of the above situations.
The process detailed above can be intuitively summed up as attempting to find the most detailed sub-blocks in the 16x16 block, supposing that in case they have matching references in the search range, other sub-blocks that are less rich in detail will also have their appropriate ■ - references. - , ■ •. " -
The centre of the spiral is specified in the reference frame at a position conforming to the position of the search sample, and then blocks around the specified point are tested in widening cycles with the reduced search sample, described above. The search range is scanned with the relative position of sub-blocks of the sample pattern kept constant.
V.2.2.
The test is performed according to the following formula:
M
MSE = ∑abs(AU) - B(j))2 where M is the block length.
MSE is the so called Mean Square Error. Every time the MSE value is found to be smaller than the current smallest calculated MSE, the new MSE value, together with the current position, is written into a temporary buffer, e.g. in a 64-element circular buffer. If the buffer is full, data are overwritten starting from the first element.
The search method is preferably fine-tuned by analyzing the obtained MSE value from other aspects as well. For instance, in case the search finds multiple positions that satisfy the conditions for a match (e.g. MSE is smaller than the maximum allowed error), and these positions are located in the same direction (on the same side) seen from the starting point, and further the error increases as the search is leaving the region of these posil can be aborted because it is highly probable that the search moves away from the optimum point.
At the end of the search, after every point has been tested or the search has been aborted, the circular buffer contains those positions that are probably the best candidates for a reference position. (Of the 1024 possible positions only a smaller number are stored, e.g. according to the above example, 64 positions.) Stored positions are then tested again but this time with the whole 16x16 block, and the position yielding the smallest error is determined.
V.2.3. Now, the SAD16 values (Sum Absolute Difference, the index refers to the block size) computed from the coded block and the newly established reference block are compared with an empirical constant MAXSAD16. SAD is computed using the following formula: >
SAD =
Figure imgf000041_0001
where M is the block length, A and B stand for elements of the reference block and the block to be coded.
The constant MAXSAD16 specifies the maximum acceptable error of the reference matched to a 16x16 block. In case the error of the block found by the search is not acceptable, the reference search is repeated in the frame preceding or following the current frame (depending on frame type). If none of the reference frames give acceptable results, the one that yielded the smallest error is chosen. Now the block is partitioned into four 4x4 sub-blocks and SAD8 values are computed and compared with the (empirical) constant MAXSAD8 for each sub- block.
Thereafter, positions contained in buffers associated to the reference frames are tested and the reference frame and position is selected where the most 8x8 sub-blocks yielded acceptable results (fulfilled the SAD8 < MAXSAD8 condition).
For each sub-block with excessive error the search is repeated in a reduced search range using a block size of 8x8, starting from the position of the given sub-block. If the error still exceeds the limit, the sub-block found the best by the 8x8-search is subdivided and the search is repeated on sub-blocks satisfying the condition SAD4 > MAXSAD4.
If all the sub-blocks of a particular block had to be subdivided into 4x4 sub-blocks, then for this particular block the reference search can be repeated in all reference frames, in case it is unsuccessful in the current reference frame.
In case the errors of individual sub-blocks are still found excessive after the search has ended, blocks where the search was unsuccessful are marked. These are to be coded as intra blocks in subsequent steps of the method.
Searching in all reference frames means that, if the search stops with a satisfactory result in e.g. the second frame, then it is not continued in the third frame. • . . -• , ■
V.3. Processing blocks in 16x16 partition
If the reference search is unsuccessful in the current frame in case of a 16x16 block (no reference block is found), and the current frame is P-type, the search is repeated in the preceding P-type reference frames, with a maximum depth of 3 frames. If the search is successful, the number of the reference frame is recorded, and the search is finished. „ Otherwise, the method selects the frame with the smallest error, divides the block into four 8x8 sub-blocks, and continues the search with those sub-blocks where the error exceeds the limit. If the current frame is B-type, search is first performed in the following P frame, then in the three preceding P frames. If, in case of a B-type frame the search is unsuccessful in all reference frames, an averaged reference block is produced from the following frame and one of the preceding frames by interpolating the positions of the best reference block-candidates found in the following and in one of the preceding frames using the simple expression applied in the MPEG method. If the square error between the produced interpolated block and the original block should remain too large, the reference frame where the error was the smallest is selected, and the block is divided into four 8x8 sub-blocks.
V.4 Processing blocks in 8x8 partition PCI - 41 -
The processing of 8x8 blocks is almost identical with the processing of It difference that if the search is still unsuccessful at the end of processing, blocks are subdivided into sub-blocks of 4x4 pixels.
V.5 Processing blocks in 4x4 partition
The processing of 4x4 blocks is almost identical with the processing of 8x8 blocks, the sole difference being that in case the search is still unsuccessful, the erroneous block is marked an intra block.
V.6. Extended search with Vi, % and Ys -pixel resolution
After the processing of the block has ended with full pixel resolution, the search is carried on with XA, V and Vs -pixel resolution (search in filtered/interpolated reference). The sole exception is the interpolation mode of B-type frames where the V%, lA and Vs -pixel resolution search must be performed before the interpolation. Because the search with Vi, γA and Vs -pixel resolution is not essentially different from known methods which have been described earlier in this document, the process is not explained here.
In the implemented method, a maximum of three reference frames are assigned to each frame. These are different only in their size and the filtering method by which they were created (see Fig. 17).
Sizes of reference frames 1:4 — > 1:8. w
Filters applied: Wiener → bilinear ' — > bilinear.
Each search process uses an associated reference frame. The search with Vz and Vi-pixel resolution uses the 1 :4 ratio interpolated reference frame, while the H -pixel resolution search utilizes the 1:8 ratio interpolated reference frame. The full-pixel search uses the 1:1 ratio interpolated reference frame. Because the application of interpolated reference frames and filters is lαiown er se, it is not necessary to detail it here. Similarly to previous situations, a spiral search is applied but here the number of test points is under 20 due to the significantly reduced search range. Usually, the search can only be aborted if SAD=0 (complete match between the current block and the reference block). The search can be performed with each block size, but only without block reduction (that is, only whole blocks and not sub-blocks are compared), which means that testing a 16x16 block involves 256 subtraction operations.
After the blocks to be coded have been subtracted . from matched reference blocks, the resulting reduced blocks are transformed from spatial representation into frequency representation.
V.7. ; ' ,
After the process of finding the reference block for the entire 16x16 block and partitioning the reference block has been successfully completed, the block to be coded is also divided into equal sized sub-blocks, and the sub-blocks are subtracted from sub-blocks of the reference block. The differences are then subjected to discrete cosine transformation and quantization, and AC/DC prediction is applied on the coefficients contained in the resulting blocks. The prediction method, similarly to the prediction process of intra blocks, generates the differences between DC values of transformed blocks, and applies horizontal/vertical prediction on the first horizontal/vertical lines of AC coefficients. The difference between this method and the previous one is that the intra prediction described above subtracts the actual pixel values of neighbouring pixels from pixel values of the block to be coded, whereas in this case elements of the neighbouring DCT-transformed blocks are subtracted from elements of a DCT-transformed block. This method further improves coding efficiency of transformed blocks during entropy coding.
Decision about which prediction mode (horizontal or vertical) should be applied is made on the basis of the differences between DC coefficients of the blocks surrounding the transformed block, where the relative positioning of blocks may be the following: C B A X where X stands for the transformed block that is being processed, while surrounding blocks.
The prediction mode (pred) is selected by the following conditional expression: pre d = άbs(A - C) < abs(C - B) where A, B and C are DC coefficients of blocks surrounding the block that is being processed.
If the condition is true, vertical prediction will be applied, otherwise the horizontal mode is selected. Because the correlations determining the prediction mode are available when block reconstruction is performed, it is not necessary to record the selected mode in the output.. . .- . . -
" V.8.
In this section a possible data format and coding method is presented for data describing, block- partitioning. • .' ■■ "
The description of the block partitioning of the block to be coded is similar to what was presented in the section dealing with intra frames.
A maximum 2-bit long value, L describes the partitioning of a 16x16 block. Bit 1 is 0 if the block is not divided, and 1 if it is divided. Bit 2 has the value 1 if the block is labelled intra. This latter happens when each of the 8x8 sub-block are subdivided into 4x4 sub-blocks and more than 50% of these sub-blocks have been labelled as intra blocks. In that case the system will code the given block according to the process for coding intra blocks.
The data prior to entropy coding are the following:
RFIDX is the frame number of the applied reference frame MV is the motion vector
DC is the first coefficient of the discrete cosine transform and AC designates the other DCT coefficients, IP indicating the interpolation mode for B frames I stands for intra mode P is the number of intra mode prediction. Modes for P frames are the following:
Mode 0: | L | RFIDX | MV | DC | AC
Modes 1..15: I L I QT I RFIDX 1 1 1 MV I DC I AC ... 1 1 MV I DC | AC
Modes for B frames are the following:
Mode 0: | L | RFIDX | IP | MV | DC | AC
Modes 1..15: I L I QT I RFIDX 1 1 1 IP I MV I DC I AC ... 1 1 IP I MV I DC I AC
If 1=1, the description of the given block changes to: 1 1 1 P | DC | AC.
Let us see two concrete examples for P-type frames:
Figure imgf000046_0001
0 MV4 DC4 AC4 1 P DC4 AC4 0 MV4 DC4 AC4 0 MV4 DC4 AC4 0 MV4 DC4 AC4 0 MV4 DC4 AC4 0 MV4 DC4 AC4 0 MV4 DC4 AC4 0 MV8 DC8 AC8 0 MV8 DC8 AC8 0 MV8 DC8 AC8 0 MV8 DC8 AC8 0 MV8 DC8 AC8 0 MV8 DC8 AC8
four 4x4 blocks and four 4x4 blocks, the first of which being an intra block three 8x8 blocks three 8x8 blocks.
(Also in this case, the variables "AC" usually represent more than one data elements.)
Having coded the Y colour surface of the 16x16 block, the next step is coding the UV colour surfaces. The size of the block is in proportion with the size of the Y block and the sub-blocks thereof. In case the Y block had the size of 16x16 pixels, then the UV block is si Y block is sized 8x8 then the UV block is sized 4x4 and finally, to a 4x4 Y block the corresponding UV blocks are sized 2x2.
Otherwise, the partitioning of U and V blocks is identical to the partitioning of the Y block. The method of partitioning of the UV blocks is performed in the same manner as the partitioning of the Y blocks. Thus during the coding process only the DC and AC values must be sequentially written out before entropy coding, because all the other data (block partitioning descriptors, block identifiers, etc.) are already described in the Y block.
V.9. Prediction of macroblocks (motion vectors and inter blocks)
For the optimal coding of motion vectors (that is, vectors indicating motion relative to the reference block) the motion vectors are preferably represented in the shortest possible form. This can be provided by subtracting from the current motion vector the motion vector belonging to the block located beside, above, or diagonally above the current block. Of the three possible neighbouring motion vectors that one is selected which is the closest to the mean value, or in other words, is bigger than the smallest and smaller than the biggest.
V.10. Finally, data are coded using the entropy coding module. We will now turn our attention to the description of the inventive binary multi-level arithmetic coding module.
VI. The neural arithmetic coding module
The entropy coding module according to the invention utilizes binary adaptive technique. This means that input data are processed bit by bit, in the function of the occurrence frequency and the pattern of bits already received.
VI.1. The primary design aim for the method was achieving the best possible compression with relatively simple calculations. The inventive method can be implemented without using divisions, performing only two multiplications and a few additions and logical operations. All other operations are based on integers.
The inventive method is a so-called arithmetic coding method. Arithmetic coding is a method known per se The basic principle of arithmetic coding involves the modification of the upper and lower limits of an interval (range) depending on received data of the coded. Arithmetic coder is truly efficient only if the distribution of incoming data is known to some extent, in other words, if it the probability estimate for the value of the next input data element is known to some extent.
The following short algorithm performs arithmetic coding on a binary data stream (containing only 0 and 1 symbols). The current data to be coded (the next bit of the data stream) is stored in the "bit" variable. The upper and lower limits of the- coding interval are the variables "area[0]" and "area[l]".
, , .-, ' rm (area[l] - area[0])* prob , . area[ιnverz(bιt)] = area[0] + — 16 J/ + bit if((area[l] - area[0]) < 256)
{
, area ϊ] outdata = — —. —
224 area[0] = reα[0] * 28 area[l] = area[l] * 28
} prob = calc _next _probe(bit)
The key factor in increasing the efficiency of coding is how the value of the "prob" variable (in the following: probe value or probe) is determined. The probe value is returned in the above example by the "calc_next_probe(bit)" function.
The array "area[0,l]" contains two 32-bit values, namely the "area[0]" and "area[l]" variables that store the upper and lower limits of the coding interval. As it is known from the theory of arithmetic coding, the interval (area[0], area[l]) is scaled with the probe value. In known methods the probe value is usually determined as a function of the frequency of occurrence of previously arrived bits. Depending on the value of the newly received bit, either the lower or the upper limit of the coding interval is modified with the scaled value. The interval can be modified (new bits can be coded) until the difference of the upper and lower limits becomes smaller than 256. In principle, other values can also be used, but for treating the overflow, 256 appeared to be the most practical value. Accordingly, when the difference of the upper and lower limits becomes less than 256, the 8 most significant bits are writl data sequence, and variables representing both the lower and upper limits are shifted to the left by 8 places.
This can be written in mathematical form as:
area[l] = area[l] * 256 area[0] reα[0] * 256
VI.2. The probe value is determined as follows:
We introduce the concept of frequency table, • and define two functions for describing the occurrence rate of 0-s and 1-s in the incoming data sequence, f(0) and f(l). Received bits are fed into a buffer with the length of m bits, where 2m •= N, so the base-2 logarithm of N provides the window width.
Bits arriving sequentially into the buffer constitute the "window" variable (shifting left the contents of the buffer as needed). The "window" variable is truncated to a length of m bits to form an index (stored in the "index" variable) that points to one of the rows in the frequency table. In the example presented here the frequency table has 512 rows. Elements of the frequency table are specified by variables FreqTbl [index] fO and FreqTbl [index] fl. These variables show how many times the received bit has been 0 or 1 when the bit combination was the same as the bit combination currently stored in the buffer (in other words, the current bit combination is considered as an index pointing to a given row of the table).
count = count -\ if (count >= log2 (N + 1)) { count = 0 window = 0
} window = window *2 + bit
FreqTbξindex] .fO = FreqTbξindex] JO + (2 * bz't)
FreqTblindex] .f\ = FreqTb\index] ./ + (2 - (2 * bit)) index = window mod N sum = FreqTblindex] . O + FreqTblindex] .f\
Figure imgf000050_0001
if (sum > 256) { F-reqT mbξi-i-nd rex i]. f ^Orv = Freq 2Tbξ Lindex] i.^ f_d
7-. T *-- j i -I FreqTb index].f\ . FreqTb ιndex].f\ = i — + 1
}
At the beginning of the compression, all variables (except Ν, of which the base 2 logarithm gives the window length) are filled with zero. The incoming bit overwrites the least significant bit of the buffer (window), and that element of the frequency table which was addressed by the previous value of the buffer is updated according to the newly arrived bit. As it will soon become apparent, the emphasis is on the requirement that the previous value of the buffer should be associated with the bit arriving one step later, that is, the bit currently being processed. It is precisely this feature that makes it possible to "predict" the value of the incoming bit during the operation of the system. The previous value of the buffer is stored in the variable "index" for which Ν is an upper limit.
In the next step of the method, the probe value (the value of the "prob" variable) is calculated for the next bit. The exact formula for that should be
, _ FreqTbl[index].fO sum but this expression is not applied directly because the result would be a fraction. The calculation (the division) would require real arithmetic that is too slow for our purposes. Instead, a fraction table of 512 elements is used (represented by the "Frac of which the appropriate element is selected by the sum of bit frequencies in the corresponding row of the frequency table (cf. the "sum" variable in the above algorithm). To determine the probe value, the fO value in the appropriate row of the frequency table is multiplied by the value retrieved above from the fraction table, and then the product is multiplied with a constant, e.g. the product is shifted 10 bits to the right. Thus, the probe value is obtained, which will fall into the interval 0..65535, which is in turn analogous with the interval 0..1. As the fraction table contains 512 elements (actually the appropriately scaled values of 1/sum, where the "sum" variable is used as an index to the table at the same time), it should be made sure that the "sum" value-does not exceed this value. ... - .', -.
This is achieved by testing the "sum" value and by re-scaling fO and fl .if "sum" is greater than 256 (because in effect the value of the "prob" variable is determined by the proportion of fO and fl and not their absolute value, they can be re-scaled). . • ;' . • . . ,
As it turns out from the algorithm, the method is fairly simple. Since divisors are powers of 2, divisions can be substituted by right-shift operations. The MOD operation can also be substituted by a logical AND.
VI.3. As it has already been mentioned, the method performs coding at different levels. In practice this affects only the probe variable. In other words, the same coding module can be used for all data types, only the parameters (N, window size, limits of the coding interval) should be adjusted. Different levels are assigned to each data type, with each level being divided into a plurality of sub-levels according to the requirements of the given data type. For instance, for coding the results of the 4x4 discrete cosine transform operation a specific type level is defined, with different sub-levels being assigned to the coding of AC and DC coefficients.
The constant N determines the window size, in other words the number of previously received bits that are tested together with the bit currently being received. This factor strongly affects coding efficiency, but also increases the required memory, because more memory is needed if N is increased. The method presented above is a fast integer-arithmetic variety of kn parameters tuned appropriately, compression efficiency is 10 % higher than that of the VLC method used in MPEG systems. So far, only methods using far more complex probe algorithms have performed significantly better than that. To improve efficiency, the frequency table should also be significantly sized up. Both the chosen probe algorithm and frequency table size affect the execution time of the method.
The best known method for determining the probe value for data structures, utilized in the present invention would be the so-called dynamic Markov model. This, .however, works efficiently with a frequency table of at least 64 Kb. If all sub-levels applied for coding were set to this size (that is, if all variables and variable types corresponding to different block sizes were to be coded, in this manner), more than 16 Mb of memory should be allocated for the frequency tables only.
These problems have made it necessary to devise a new, significantly more effective probe algorithm.
VI.4. Arithmetic coder with neural probe
VI.4.1. An important drawback of arithmetic coding is that for optimal-efficiency coding the occurrence probability of individual symbols appearing in the data to be coded should be known. In principle, it would be possible to take into account multiple symbols that have already occurred. It would be even more effective to watch not only individual symbols, but occurrence frequencies of different symbol groups. This, however would require the storing of a very high number of frequency values. This may be alleviated to some extent, by storing, instead of all the possible combinations of symbols which have already occurred (contexts), only those symbol combinations that have in fact occurred.
That means that an extra symbol (escape) should be introduced to indicate the occurrence of a new symbol combination.
Known coding methods, primarily the PPM (prediction by partial match) method examines symbol combinations of varying length. When a received symbol is coded, first the longest allowed combination is tested. The newly arrived symbol is added to the ; and a search is performed with the current symbol group length to establish if the current group has already occurred. For instance, if the group length is 4, then the three most recent symbols will be tested together with the newly arrived one. If the symbol combination has already occurred, it is coded using the momentary or constant probability value assigned to that given symbol combination. If, on the other hand, the combination has not yet occurred, an escape symbol is coded to indicate (for the decoder) that the combination is new, and the search is carried on with a shorter combination length.
In case the received symbol has not been coded in any previous combination, it is coded using the average of occurrence probabilities assigned to individual symbols. After the coding has been completed, the counters measuring the occurrence counts of symbol combinations (that is, quantifying the occurrence probabilities thereof) are updated, with new combinations added if necessary.
Since this method is slow and has relatively high memory load, it is not suitable for coding video data directly.
However, according to the invention, the principle of examining varying length symbol combinations is carried over to the neural coding method applied for the present invention. It has to be noted that the idea of applying a neural network for determining the arithmetic probe value is not new. A method utilizing a neural network was implemented in 1996 by
Schmidhuber and Heil. Their method, in a manner similar to PPM, watches the co-occurrence of previously received symbols and the newly arrived one, and determines the probe value accordingly. With this known solution it is not necessary to use different symbol group lengths for the search, as only those inputs of the neural network will be active where there is correlation between the currently tested combination and one of those that were "taught" earlier. That way, selection (recognition) of such symbol combinations is performed automatically. This lαiown method is, however, of little use for practical purposes because the training process is very long. For instance, in one test case the training of the network to recognize correlations of approx. 20 kB of data required two days. Matthew V. Mahoney (Florida Institute of Technology) took over the ∑ network technology to binary arithmetic coding (where only 0 and 1 are the symbols to be coded), using the on-line training method known from neural network theory and applying adaptive learning rate instead of a constant one. However, even this improved method is not good enough to be directly applicable for video encoding, because the memory requirement necessary for optimal coding is too high. Mahoney' s original method applied more than 258 kB of memory for coding a single level. If that is applied at 128 levels (for 128 different types of data structure, taking into account the predictions, block sizes, DC and AC coefficients, etc.). the total memory needed would be more than 32 MB. If, however, only a single level. were defined for video encoding, the. method would be less efficient than the conventional coding method using multiple levels. . .
Having' considered all these problems, an inventive method is devised for determining the neural probe value. The method according to the invention can maximise entropy using as little as 1-2 kB of memory. It has been found that it is worth increasing the memory only up to approx. 16 kB, above which the improvement in coding efficiency is negligible.
VI.4.2 The method is explained in detail on the following pages. Compared to the arithmetic method presented above, the only difference is that the calculation of the probe value (the function returning the value of the "prob" variable) has been replaced by a neural probe.
Incoming bits to be coded are fed into a shift register (buffer) with a size of 32, 64 or even more bits (in the following, an example comprising a 32-bit register is presented). The contents of the register constitute the so-called window. Now, the value stored in the register (treated as a 32-bit integer) is dynamically divided into N parts using a hash function.
Consider the following definition of the hash function (provided as an example only):
adrl= register mod HO adι-2=H0 - (HO * k) + ((register/64) mod HI) adr3=(H0 + HI) - (HI * k) + ((register/16384) mod H2) adr4=(H0 + H1 + H2) - (H2 * k) + ((register/4194304) mod H3)
H3 is computed from previous address values, so that the range length H3, starting from (H0+Hl+H2)-(H2*k) extends to the end of remaining memory (until 2048). The result of the hash function is shown in Fig. 18.
The "register" variable is the binary value currently stored in the register 150, and H0-H2 are predetermined values. For instance, the values of H0-H2 can be 256, 512, 1024, from which the value of H3 was calculated as 1536 in a concrete situation. The factor k. is given by the. output of the neural network. The factor k has a default value and can fall into the interval ■between 0 and 1.
The hash function presented above maps addresses adrl-adr4 to rows of table 155, where the table 155 consists of 2048 rows. More precisely, the mapping is to subranges 151-154, which means that address 1 points to an element (table row) in subrange 151, address2 to a row in subrange 152, address3 to a row in subrange 153, and address4 to a row in subrange 154. An important feature of the inventive solution is that the subranges may overlap, thereby forming unions 156-158, this embodiment comprises three unions 156-158. As it can be understood from the above expressions, the sizes of the unions are determined by the factor k. The importance of unions increases from the least significant toward the most significant bits. The unions play an important role in the recognition of recurring bit sequences in the input stream. The role of the unions is also important because they make it possible that two addresses point to the same row of the table 155. Without going into much mathematical detail, suffice it to note here that, because the input is processed sequentially, if the first address points to a given neuron, then the weight thereof will change during the training process. In case another address selects the same neuron, the weight will change again together with the value of the bit frequency function assigned to it. Accordingly, the value of the bit frequency function associated to the neuron will also be modified twice. During the operation of the system both inputs will have the same weights.
Because the factor k is assigned a value by the output of the neural network and the actual lengths H1-H4 of the subdomains 152-154 are determined by k (indirectly, through union sizes, because union sizes affect the length of subdomains), the partition subdomains 151-154 is changing dynamically according to the output of the neural network after each received bit.
The N addresses (in this case N=4) defined by the hash function select N elements (rows) of the table 155. Each row of the table 155 contains two weight functions - quantization weight function WJ,Q and the scale weight function Wj,s, (or, in case the scaling factor S need not be generated, only WJ,Q) and a frequency-pair f(0);, f(l); defined in the same way as in the case of the discrete algorithm (that is, frequency values are updated depending -on the bit value each time a bit is received). The selected weight functions are modified during- the training process as follows:
W, = W. + (error * gain * eta * ^°^ + ^' ) •■ ■- . . .
' ' ..: j *f(i) . ,- . , . , , where i is the index of the addressed row of the table, "error" is the difference of the predicted and the actually received bit, "gain" is the gain factor, "eta" is the learning rate, and f(0), f(l) are the bit frequencies defined above. In effect, the knowledge base of the N-input neural network applied in the method is constituted by the weight functions and frequency values stored by table 155.
During operation, the output of the network according to this example is given by the formula
out, = exp^ _ w> where i is the number of outputs, with the index i running from 1 to N, i. e. the output is summed for all the selected weight functions. The output of the network can be defined so that the k and "prob" values themselves appear at the output.
Again skipping the more detailed mathematical analysis, the operation of the neural network can be sketched as follows:
The probe value is 0 (corresponding to the probability 0.5) when the first bit arrives. Then the network calculates the error (error=bit-probe), and "teaches" the error to neurons assigned to the previous bit value. (In the first step these values are irrelevant. Because there are no previous data, all addresses are 0 so the 0-th neuron will be assigned to the input). Next, the system generates new addresses from the current value of the regisl functions (zero in the first step) of neurons selected by the addresses are then summed up and the exponential of the sum is calculated (the result in the first step is zero as well), which becomes the new probe value. The next probe interval is -0.5..+0.5, so the current probe value mapped on the 0..1 interval will be 0.5. For the following incoming bit the above process is repeated, this time with valid addresses, with the weight functions of the neurons previously selected being modified on the basis of the error value. The process is the same for the factor k.
As we have mentioned. 'it already, the gain and the , learning rate, of the system can be dynamically adjusted. In a preferred embodiment the gain is modified only in case the address selecting the neurons points to an address range within a union. , : That is, a gain factor is assigned to each union according to the priority of the unions.
The learning rate is determined by the factor k and a number of external determinants. The learning rate specifies the slope of the learning curve for the network, that is, the degree to which the error is minimized in each training cycle.
The neural network has two outputs: the output "probe" gives the arithmetic probe value, while the other output specifies the factor k that is applied for determining the partition of the unions. A possible structure of the neural network is illustrated in Fig. 18b, showing neurons of the input layer 160, and outputs 169 and 168 yielding "prob" and the factor k. The neural network shown in the figure has a hidden layer 162 as well, but the inventive method also works successfully with a simpler-structure network.
In this manner, to each row of the table constituting the knowledge base of the neural network there are assigned the frequencies f(0) and f(l) that can be regarded as counters. These counters, similar to elements of the table FreqTbl [index], seen above, specify how many times the currently coded bit has been 0 or 1 when the given table row was selected by one of the addresses adressl-4 pointing to subranges 151-154 produced by the subdivision of table 155. Thus, frequencies f(0) and f(l) may be stored in a table of N rows, and, similarly to the way described above, they should be re-scaled if their value exceeds a given limit. VI.5. Next, the partitions of the register 150 are tested iteratively to sele The neural network updates frequency data f(0), f(l) of the most recently addressed table rows based on the value of the next received bit, and "teaches" to the neuron weight functions stored in these rows the last value of k and the probe factors derived from frequencies f(0), f(l) with regard to the difference (error) between the predicted and received bit value.
The operation of the system is in many respects similar to methods described above, but the dynamic register partitioning and the utilization of dynamic gain and learning rate are fundamentally novel elements. .. .
Let us see an illustration of how efficient the method is in practice:
We coded the DCT coefficients of 20 8x8 blocks, producing 1280 bytes of data. The coded blocks' were adjacent in the frame, and were practically dentiGal. «We were interested mainly in the coding efficiency of the methods in a situation where ..there were recurring data sequences of DCT coefficients in the different blocks, but there were no recurring sequences within individual blocks themselves.
The results are compared to other methods in the following table:
Figure imgf000058_0001
* multiple-level method
With other data types the results show greater spread but our method still performs significantly better than other solutions.
VII. Bandwidth (transfer rate) control and the regulation of compression ratio VII.l. Bandwidth (transfer rate) control is one of the most important issue The information content of frames in a video frame sequence varies to a great extent, so in case the aim is to maintain a substantially even image quality, and the compression ratio has to be adjusted over a large scale to follow these changes.
If the compressed data are stored on a storage device, the storage capacity of the device will limit the .total amount of coded data. The most obvious case where the bandwidth is a constraint occurs, however, when data must be transferred in real time over a data transfer system. In that case the quality of the transferred video is limited by the available bandwidth • (data transfer rate). Therefore, it is necessary to keep the' transfer rate (the amount of data" • transferred in one second) at a near constant value. This can be achieved only by regulating the compression ratio. Hereafter, compression ratio regulation means increasing or decreasing the quantization factor. However, quantization cannot, be increased without consequences..: Higher quantization causes image details to disappear with the decrease of discernable spatial frequencies present in the image, with the visually perceptible error increasing at the same time. At a certain point the image inevitably falls apart into blocks and other visually conspicuous image distortions occur.
Modifying the quantization factor in accordance with the available bandwidth is known per se. In conventional solutions, the new quantization factor is calculated from the expected and actual length of the coded sequence and is applied on the next frame. Instead of taking into account only one frame at a time, the more sophisticated solutions calculate the new quantization factor using the average length and the expected average length of frames compressed in a given timeframe. These methods usually involve a reaction delay factor, specifying the time in which the control system should achieve the computed maximum value.
Such methods provide constant transfer rate or constant bit rate (CBR method).
Results can be significantly improved by setting a minimum and a maximum limit for transfer rate control, always keeping the transfer rate within these limits and attempting to achieve in the long run a dominant transfer rate eiqualling the mean value of the upper and lower limits. It is preferable that the signal-to-noise ratio between the original and reα also taken into account as a control parameter, that is, the transfer rate should be increased (within the specific limits) in case the SNR deteriorates and the transfer rate may be lowered if the SNR improves. This is the so-called variable bit rate (VBR) method. A major drawback of this solution is that the total expected data length cannot be predicted exactly. Minimum and maximum values cannot be set too high, because then the control range would also be too wide and the total coded data length would vary over a too large scale. It also often happens, that the desired quality cannot be maintained with the maximum transfer rate set by the system, making it necessary to further increase the transfer rate. , :■• - .
VII.2. According to the present invention, two solutions are provided for bandwidth (transfer- rate) control. Both methods are based on the application of a neural network. ,, . ..
VII.3.1. According to the first solution, the neural network has a backpropagation structure that is known er se. The network is illustrated in Fig. 18c. The network has N inputs 1801-
18 On, a hidden layer 185 containing 2N neurons, and at least one output. The quantization factor Q and scaling factor S (the role of which is described in detail below in section VIII.) appear at outputs 188 and 189.
In order to provide continuous control, the input of the network is the last N received data elements, which are fed sequentially to the N inputs in their order. The data elements are constituted by the ratio of expected and coded frame lengths, and these data elements are considered as a temporal sequence.
ELi.ι/CLi-1, ELj/CLi, ELi+ι/CLi+1, etc. ( where EL: Expected Length, CL: Coded Length, and i is the index corresponding to the i-th data (for instance, a coded frame)
Test data applied for training the network were produced using an external control system or manually prior to the beginning of the training process, with the data being reduced by complex correlation calculations, to 1000-4000 training samples. Training samples are devised such that they represent every frame type occurring in an ordinary video recording. These samples are "taught" to the system through- several training cycles, in a concrete implementation, 50000 cycles. After training has been completed, the network is ready for receiving and processing real data. It should be noted that in this concrete embodiment the calculations have been established such that it was not the quantization factor Q that appeared at the output of the network, but a kQ coefficient, which was in turn used for modifying the current Q.
The main advantage of neural networks compared to discrete systems is that virtually.all types of control characteristics can be implemented with them. • •
Control characteristics are much more important in a variable bit rate control, system than in a constant bit rate control system. ' . ' , ■ ,
VII.3.2. As we have already mentioned, the network operates with. surveyed. training. The neural network estimates the desired mapping with previous expected and • coded frame <length values, the latter being regarded as a data sequence. This method can be applied successfully in case of constant bandwidth (CBR) but is not always suitable in itself for variable bandwidth (VBR) systems. The reason for that is that VBR systems also take into account image quality.
In case the image quality exceeds the average quality value, the compression ratio is increased, while if the quality is poorer than the average value, the compression ratio is decreased. The neural network control system must also take this into account. Therefore a minimum and a maximum quantization factor is specified for the control network, which may not be exceeded by the control system. These values take effect through the neurons designated with reference numerals 186 and 187 in Fig. 18c.
VII.3.3. The neural network applied for VBR mode has twice as many inputs as the network used for CBR mode, because, in addition to the expected/coded length ratio, data representing image quality are also fed to the input of the network in the form of expected/coded quality ratios: EQH/CQM, EQj/CQi, EQi+i/CQi+i, etc. where EQ is the expected quality, CQ is the coded quality, and i is the data index. As seen in Fig. 18c, in addition to the output 188 determining the quε neural network used in VBR mode may also comprise a further output 189 representing the scaling factor S (the role of the latter is described later). Similarly to the above described case, the network processes the input data of expected/coded quality and expected/coded length in a time sequence during training, and estimates the sought mapping in accordance with the specified minimum and maximum values. Training data are chosen to reflect the specified control characteristics and control slope.
During the real coding operation of the network, i. e. when real data are processed, there is no further training, and the weight functions of neurons remain constant. Coding itself is in effect an association task: the received input data contained in the time slot are mapped to the Q and S factors on the basis of what the network has "learned" during the training process. Thus, by determining the next values of Q and S according to received length and quality data, the network performs the same task as conventional control systems. Intuitively, the time slot can be said to describe a particular situation. The network will search among situations it encountered during training for the one that best matches the current one, giving the optimal response learned in conjunction with that particular situation.
An implemented variant of the neural network substantially uses only a single formula, the so-called sigmoid sum.
out = 1 / exp 1 + -Gain * Wl) * Input ^ where N is the number of neurons ι=0
The "gain" value may be unity and can be determined by optimum search as its only role is to determine the order of magnitude of the output values. First, weight functions of neurons in the hidden layer(s) are summed with the above expression, then the calculation is performed for the weight functions of the output layers_as well.
In their practical implementation, there is no significant difference between the VBR and
CBR networks, except for the input data, which means that the network performing VBR mode can perform the functions of the CBR mode as well. For CBR-mode operation, that is achieved by simply providing a constant value at the quality inputs (at the maximum possible value, which inputs are kept constant during training as well). In CBR and maximum bandwidth limit inputs are set equal and are kept constant, set to values corresponding to the desired constant bandwidth.
VII.4. In this section, another variant of the improved dynamic quantization performed by a neural network is described (the so-called address decomposition method).
VII.4.1. This network model is a variety of the one presented in the section dealing with arithmetic coding. It only differis from the above network in .that the addressing of certain selected neurons of the network are determined not by the entire time window/time slot. This is illustrated schematically in Fig. 19, showing that input data- examined in the time window bypass the address generator. Here, the elements of the. input data sequence are not 0-s and 1- s, and.therefore-.the address generation procedure described above cannot be applied directly. Instead, the input layer of the neural network consists of two parts. To each data value that can be found in the time window, a hash function (similar to the example illustrated above) assigns a neuron, selected from an appropriate number of neurons, such as 2048 or 256, depending on whether the incoming data is expected/coded length data or expected/coded quality data. In effect, this means two neuron weight tables, one for neurons (more precisely, for the weight functions thereof), working with expected/coded length data and another table for weight functions of neurons working with expected/coded quality data.
If the time window size is N=32, and address generation is performed using 11 and 8 bits, respectively, for the two data types, the size of the memory needed to store the input data of neurons will be Mem = 2048 * 16 + 256 * 16 (16x11 bit-long normalized data for addresses generated from expected/coded length and 16x8 bit-long normalized data for addresses generated from expected/coded quality data)
In the used address conversion procedure, the inputs of the neural network are normalized data with values between 0 and 1, which are subsequently converted into integers for address generation.
vk " Equation III
C, „ = * 28 where VKn is the normalized expected/coded length ratio and CV is th and where Mn is the normalized quality and Cm is the generated address. Based on these expressions, addresses are generated from data located at each position of the time sequence. The addresses so generated than address the neurons stored in the tables. In other words, the neurons are selected by the generated addresses, and the neurons receive the ratios of expected/coded length and expected/coded quality during the training process. The system has two other inputs that are not associated with the time sequence. Similarly to the network shown in Fig. 18c, these inputs are applied for determining the minimum and . maximum bandwidth. An error factor is calculated using the expression (1/Q — 1/Qprev) . i. e. the error factor is determined as the difference of the reciprocal of the current . training quantization factor and the reciprocal of the previously calculated quantization factor,. where . Qprev is the previous quantization factor. . . . ,•:, The" weight function is modified as follows: ' ■ • • :> ■; ?> i ' .
w =w+ eta * input (where eta is the learning rate ) \X _ Prev J where N is the number of neurons
Figure imgf000064_0001
There is no further training during the effective control operation of the network, i. e. this system also uses a pre-trained network.
The process of the control operation is identical with the training process, except that weight modification is not activised.
In a manner similar to what has been described above, the system can be switched to CBR mode by fixing the min max bandwidth and quality data at respective constant values.
This system operates flawlessly in multiple-step mode as well. The essence of this mode of operation is that in a first step, the system encodes the entire footage with a constant quantization factor (e.g. with Q set to 3) without control. In the subsequent second step coding is performed with the control system activated. This solution provides improved-precision coding because the first step specifies the degree to which each frame can be compressed, so Q need not be determined, but may be directly adapted from step 1. Otb neural network can be applied without any modifications. In multiple-step mode training can be performed using fast-training procedures. Also, interpolation is highly effective in this mode: we have observed that the quality achieved in 4-6 steps by discrete control systems can be reached by the neural control system in as little as two steps.
It should be noted that, compared to the single-step moded, the multiple-step mode does not necessarily provide better quality. One of the advantages of this mode is that the length of the output can be adjusted to a predetermined value, corresponding e.g. to the capacity of a storage medium. ■
VIII. Dynamic scaling
VIII.1. As it has already been indicated, it may often happen that the desired length .of the
, coded video cannot be maintained with the desired video quality. This might be caused e.g. by that the preset compression ratio is extremely high for particular sequences and so the desired image quality cannot be maintained using the currently set min/max limits of compression. Such a situation typically occurs with highly detailed and action-rich footage. As an example, the first 5 minutes of the feature film "The Mummy Returns" may be mentioned. In case of this particular sequence, a bandwidth of at least 2.5 Mbit/s would be needed for good-quality MPEG compression. However, if the available bandwidth decreases to 1.5 Mbit/s, rather complex pre- and postfiltering operations would be needed both at compression and decompression time in order to eliminate errors. This would strongly decrease image sharpness, to the extent that the quality of the coded video would barely reach the "acceptable" level.
VIII.2. In order to eliminate the problems described above, in accordance with the present invention! the concept of dynamic scaling has been introduced. This essentially means scaling down (re-scaling) if the control system is unable to maintain the desired image quality due to fixed external boundary conditions. The frames are scaled down (re-sized) to a size that provides satisfactory results. The system compresses this reduced-size frame and, at decompression, restores it to its original size. Understandably, image quality deteriorates in this case as well, however, this will primarily appear as reduced sharpness. Blocking artefacts and other typical errors caused by the compression do not arise, at leas ratio is not set extremely high.
We have examined what would happen if the amount of input data were reduced for such critical frame sequences, but the compression factors were left unchanged. With other words, the frames were scaled down to 3A or V2 of their original size. Because the encoder strives to keep the data rate constant as far as possible, taking into consideration the image quality, reduction of frame sizes will result in a reduced degree of compression. In this, manner, the amount of output data remains the same as before re-scaling. '■. . ■> . For instance, if the entire data stream is coded with a bandwidth of. e.g. 0.5 Mbit s, and frames are reduced to half their original size in critical sequences, the actual transfer rate remains 0.5 Mbit/s, but both the compression ratio and the quantization factor are significantly reduced. In case of the above example, the latter factors were reduced to an extent that corresponded to an image quality coded with 2 Mbit/s-bandwidth, in the original frame size. This entails a reduction of the errors. The drawback f the method is that scaling reduces the resolution of the frames. Thus, when frames are restored to the original size during decoding, the values of missing pixels must be inferred. However, this problem can be significantly reduced by applying a suitable scaling method. It must be taken into account that there are spatial frequency components in the frame, and the transformation must be performed accordingly.
VIII.3. Accordingly, in the dynamic scaling method according to the invention, we need scaled images. A number of interpolation-based frame scaling methods were tested. The Lancos method yielded the best results (the Lancos method is a resampling procedure known per se that interpolates the missing pixel by a filter, based on spatial frequency components of the image). If compression with and without scaling are compared, it turns out that without scaling, in critical sequences the quality loss can be easily perceived if the stream is compressed for a transfer rate of 0.5 Mbit/s. Many areas in the image become completely "flat", blocking artefacts and stripes appear, with image sharpness being drastically reduced in some areas as if an eraser was applied to the image. On the other hand, in case the compression is performed with the frame scaling according to the invention, none of these errors occur. The only perceptible error is the reduction of sharpness. However, having analyzed the sequences, it was found that scaling is typically needed at those points where fast motions occur in the video footage. Because fast-moving scenes are usual the original already, the information loss caused by re-scaling is barely perceptible.
The inventive dynamic scaling procedure is performed as follows: Each incoming frame passes through the scaling module, with a scaling factor of 0 (no scaling) at the beginning. The compression control system decides if the result of coding is satisfactory within the specified limits. If the result is not satisfactory, the frame size is changed (reduced) to a degree that provides acceptable quality even after decoding.
It should be noted that the scaling task can be -solved, utilizing ^discrete methods.' But, considering that- a 'neural network has already been applied in the inventive system for bandwidth control, the scaling may be also performed more: efficiently,, with a neural network. As the problem is closely related to the problem of bandwidth control^ it has proved to be satisfactory to add another output to the neural network (see Fig. 18c)÷ Thus, the network has two outputs, one providing the Q coefficient of the quantization factor, the other the scaling factor S.
In the first solution provided for bandwidth control (see section VII.3, and Fig. 18c a new neuron 189 may be directly inserted, its output providing the scaling factor S. However, for the second proposed solution (see section VII.4.) in practice two weight vectors should be assigned to each table address.
This practically corresponds to two independent neural networks, having identical inputs but sending different values to the outputs. To render the network more sophisticated, it is proposed to add a hidden layer to the neural network, with the neurons thereof connected to the output layer. In that case the network will have a so-called backpropagation structure. Here again, as in the previous solution, neurons of the input layer are selected by the positions pointed to by addresses generated by the system.
The scaling procedure starts at an I- (intra) frame and lasts until the next I-frame. Scaling factors determined for frames of other types are averaged. This is shown in Figs. 20, 21 where scaling is started at A and ended at the point marked B. X. Some general remarks concerning the neural control system app invention
We have tested a number of different network types for potential application with the inventive control system. Taking into account their computational load and proper control behaviour, surprisingly the best results were produced by the networks with the simplest structure. The so-called counterpropagation-type networks may also give excellent results, providing in . many cases better approximation than, the, backpropagation-type network described above, but only if the address-decomposition method (see above) is applied : Summing up, the second method performed better than- the' first method, due to the fact that it uses .much more neurons than its counterparty which provides a larger knowledge base. Converted to backpropagation or counterpropagation it provides excellent control.
The invention, is essentially based on the idea of providing a control system that is capable of realizing different control characteristics, and ensuring optimal compression while also taking into account the visually perceived image quality. Different learned characteristics can be grouped into profiles that enable the selection of the characteristics most appropriate for any given video sequence. We have also tested discrete control systems and have found that they have inadequate control dynamics. For instance, if coding was carried out in two steps using medium bandwidth, there could always be found sequences that would have needed higher compression, or scenes where it would have been satisfactory to use lower compression. Known discrete coding systems are closed systems, meaning that they usually perform encoding using constant functions. The neural system is, however, capable of taking into account the information of previous frames and performing coding control using the learned momentary characteristics.
Because different neural network models are known per se, the operation of the inventive neural networks has not been analyzed in detail in this document. We have only provided a number of concrete implementations of neural networks adapted for coding video frame sequences. XI.l. A summary of the operation of the hybrid video coding systen inventive methods
The structure of the entire system is depicted in Fig. 8 and Figs. 22-24.
During compression frames first pass through the scaling system (resampler module) 61 (Fig. 8). The system decides with which method, the coding should continue, and selects the coding mode (I, P, B) accordingly. In case of an I-frame the different predictions are carried out for each block, and the system, based on the result of .variance analysis, selects the prediction promising the best compressibility. Then, blocks are transformed with DCT, are quantized and compressed at the appropriate level.
In case of a P frame only the preceding frame, while for a B frame both the preceding and the subsequent frames are used as reference frame for searching a matching reference block for the current block to be coded. The found block is then compensated in accordance with "the block size and position (it is subtracted from the reference block, optionally using Vi or % pixel resolution search and motion compensation), then the block is predicted, transformed and coded. At the same time, the found reference positions are converted into motion vectors, and the motion vectors are subtracted from previous ones, and compressed at the appropriate level. The compression ratio is regulated by the control system in accordance with expected and coded length and quality values. If the desired quality cannot be maintained within the current limits, the frame is scaled down to a size at which the quality becomes acceptable. It has to be noted here that in the concrete implementation the system never reduced frames to smaller than half of their original size.
Surprisingly, it was found that the implemented method performed far better than expected. Above the bandwidth of 450 kB/s there are hardly any visually perceptible errors in critical sequences, apart from a reduction in sharpness caused by re-scaling. It has been found that with a transfer rate in the 380-450 kB/s range the inventive hybrid coding system provides the quality of the SP mode of an average video recorder, while in the range of 280-380 kB/s the quality corresponds to the LP mode of a common video recorder. In case the bandwidth exceeds 500 kB/s, video quality approaches DVD quality. Above the 750 kB/s limit it is practically visually indistinguishable from DVD. A drawback of the inventive coding system is that, due to arithmetic coc errors caused by data loss in the transmission channel. However, contemporary digital transmission networks (such as the Internet) are capable of high-security and substantially loss-free data transfer, even for very high amounts of data so this drawback is not significant. For operation of the coding system with good efficiency, the frequency table should be updated continuously. If a transmission error occurs somewhere during the decoding process, then from that point on all data until the end of the affected frame will be damaged.
XI.2.1. The operation of the inventive hybrid video decoder applied for decoding data compressed with the system according to the invention is explained with reference to Fig; 22. Frame reconstruction starts by feeding encoded data into input buffer 121 and decoding the stream information block 133.. The stream information block 133 contains the .original size of the frame and other data that do not change in the course of decoding. Thus, the stream information block 133 is decoded only once, at the beginning of the decoding process. Next, frame header information is decoded (step 122). The frame header information block contains the current frame size, the frame type (I, P, B), quantization type, and other data pertaining exclusively to the given frame.
If the frame is an intra frame, the QuadTree structure describing block partitioning is decoded (step 123) together with the DCT coefficients and specific information pertaining to individual blocks (step 126). Next, the inverse transformations are carried out (steps 127, 128,
129) on each block, the resulting inverse transformed blocks being written into current video memory 131 storing the new frame.
In intra frames each block contains all data needed for its reconstruction (particularly the prediction type and information indicating if the block has been partitioned as a 16x16 block or as four 4x4 blocks, etc.).
In case of an inter frame, first the Quad-tree structure describing block partitioning is decoded at step 123, because this tree structure contains the data needed for the reconstruction of the block. These data are used for decoding DCT coefficients, motion vectors, and prediction codes associated to individual sub-blocks, and also for the decoding of codes identifying the reference frames that were used for coding. Inverse transformations are also carried out (steps 127, 128, 129), and then those blocks of the reference frame stored in ref which blocks were selected using the motion vectors in step 124, are added to the inverse transformed blocks in step 130.
If the frame were coded using linear interpolation, then first the interpolated block is generated on the basis of the block selected by the reconstructed motion vectors in step 124 and the reference frames stored in the reference memory 125, and this interpolated block is then added to the inverse transformed block. Each reconstructed block is written into the current video memory 131 storing the new frame .- ■ , . - - . Both intra and inter decoded reconstructed frames are written into the reference memory 125. The reference memory 125 may contain more than one frame; depending on the furthest reference frame used during the coding process. The reference .memory. 125 is a circular buffer, meaning that the oldest frame is deleted each time a new frame is stored: * ': . '*-
The next step is restoring the frame size to the original in step 132. The frame size is restored preferably with the Lancos method. Scaling is carried out both during coding and decoding by a suitable subroutine. In case there is available a hardware video source or output device which is capable of scaling, the coder or decoder needs to specify only the frame size.
XI.2.2. Neural decoder
The neural arithmetic decoder operates in substantially the same way as the neural arithmetic coding module, since, as it is known per se, in arithmetic coding the operation of the coder is the same as that of the decoder. Because the method is adaptive, a single bit is decoded at the beginning, and the new predictor is computed using the decoded bit. For computing the predictor, the neural network used for coding can be used without any alteration. The difference between the coder/decoder manifests itself only in differences in mathematical calculations that are lαiown per se, with other functional elements being fully identical.
Finally, a complete video coding/transcoding system is presented (see Fig. 23). The inventive video coding system is capable of digitizing, efficiently coding and storing video signals. At the same time, it is also capable of transcoding already encoded digital video data for increased storage efficiency. For instance, such transcoding can be applied for reducing the bandwidth of MPEG transport packets of a DVB broadc Mbit/s to approx. 600 Kbit/s, e.g. for recording satellite or television broadcasts. In a similar manner, the inventive high-efficiency coding method can also be used for storing, video sequences recorded with digital video cameras, even without the application of mechanical 5 devices.
Inputs of the coding system are constituted by analogue video input 93, combined decoded MPEG digital video/audio packet input 94, and analogue audio input 105.
•10 The coding system can be operated in the following modes: , s ■.- , - * a, coding the signals coming from analogue video input 93 and analogue -audio input 105 after digital conversion. .-•.> -. • . . b, transcoding the .digital video signal 94 and the aud signal," which latter is separated by demultiplexer 109 from the combined digital video/audio signal packet.
15
Digital video data selected by selector 96 are fed through input 97 to the coding system 98 (explained above in relation to Fig. 8). Coded video data 99 are multiplexed with digital audio data into a combined packet 101 by multiplexer 100. The digital packets, being routed by the PSC (Peripheral System Controller) 102, can be stored on hard disk 103, on an optical storage
20 device or in semiconductor memory 104. The digital audio signal that was selected by selector 107 is coded by encoder 108 and is stored as explained above.
XI.2.3. Decoding of the stored video and audio data is illustrated in Fig. 24.
Demultiplexer 110 separates the data packet stored in semiconductor memory 104 or on hard 25 disk 103 into coded digital video data 111 and coded digital audio datal 12. The digital video data 111 are decoded by the decoding system 113 that was described above referring to. Fig.
22. Decoded video data 114 are optionally fed into filtering and scaling module 115, and then converted into an analogue video signal 117 by a D/A converter 116. Digital audio data 112 separated by demultiplexer 110 are decoded by decoder 118, and are finally converted back 30 into an analogue audio signal 120 by D/A converter 119.
The invention is not restricted to the embodiments presented above, but other variations and implementations can also be conceived.

Claims

Claims
1. Method for compressing a digitally coded video frame sequence, comprising the steps of a, dividing a given frame into blocks, b, optionally, further dividing individual blocks into smaller blocks, c, modifying the information content of selected blocks relying on information contained in a neighbouring block or blocks (prediction), d, generating transformed blocks by carrying out on the selected blocks a transformation (DCT) that converts spatial representation into frequency>representation, and finally e, encoding the information content of the transformed blocks by entropy coding,
characterised by that * . ' *-
i, compressibility analysis is performed on said selected blocks before carrying out the transformation specified in step d, and, depending on the result of the analysis ii, steps c, (prediction) and d, (DCT) are carried out on the block or iii, optionally, the block is further partitioned into sub-blocks, and the compressibility analysis specified in step i, is performed again on the blocks resulting from individual partitioning, and iv, the block partitioning that will potentially yield the best results is chosen relying on results given by steps i and iii, and finally v, the transformation specified in step d, is carried out using the block partitioning with the best potential results, relying on the prediction specified in step c.
2. The method according to Claim 1, characterised by that the compressibility analysis of blocks belonging to individual block partitionings is performed taking into account the content of the blocks and/or the frequency of occurrence of individual block types.
3. The method according to Claim 1, characterised by that the contents of the blocks are subjected to variance analysis either directly or by way of a Hadamard filter during the compressibility analysis.
4. The method according to Claim 3, characterised by that the variance an using the following formula:
M M
∑ pixel - (∑ pixel j)2 variance = J=0 j=0
M where M is the number of elements in the given block or sub-block and pixel(i) is an element of the uncompressed (original) block, with the computed variance value being compared with a given threshold value to establish if the variance exceeds said given threshold value.
5. The method according to any one of Claims 1-4, characterised by fuither encoding with the entropy coding specific data that are assigned to blocks with the maximum allowed block size in a given frame, the specific data representing the block partitioning of the block they are assigned to (Quadtree).
6. The method according to any one of Claims 1-5, characterised by that discrete cosine transform (DCT) is applied as the transformation that converts the representation in the spatial domain into a representation in the frequency domain.
7. The method according to Claim 6, characterised by that DCT is applied on blocks smaller that 16x16, and Hadamard transform is applied on blocks with a size of 16x16 pixels.
)
8. The method according to any one of Claims 1-7, characterised by that the information content of the modified (predicted) blocks is quantified during the compressibility analysis with the following formula:
M sum i) = jabs(pixel{l)) i=0 where
M is the number of elements in the predicted block, and pixel(i) is an element of the predicted block, with the computed "sum" va with a given threshold value or against a former "sum" value to establish if the computed
"sum" value exceeds said given threshold value or said former "sum" value.
9. The method according to any one of Claims 8, characterised by that during the prediction of individual blocks prediction is carried out using multiple prediction modes, with the prediction mode yielding the lowest "sum" value being applied on the given block.
10. The method according to any one of Claims 1-9, characterised by that in case the ■ occurrence count of individual block sizes establishes that the frequency of occurrence of the two most frequently occurring block sizes exceeds a given value, all blocks are replaced with blocks of the two most frequently occurring block sizes. . .
11. The method according to any one of Claims 1-10, characterised by that an error is computed during the compressibility analysis of blocks, with the blocks contributing to the error above a threshold value being divided into further sub-blocks, taking into account the computed error.
12. The method according to Claim 11, characterised by that if the error exceeds a predetermined value in case of a given sub-block, that sub-block is divided into further smaller sub-blocks and the compressibility analysis is performed on the resulting block partitioning which includes the smaller sub-blocks.
13. The method according to any one of Claims 1-12, characterised by that blocks and sub- blocks of sizes of 16x16, 8x8, 4x4 or 2x2 are used.
14. Method for compressing a digitally coded video frame sequence, comprising the steps of a, dividing a given frame into two-dimensional blocks, b, establishing a block partitioning of the frame, in specific cases by dividing individual blocks into further sub-blocks, c, carrying out on the information content of blocks a transformation (DC spatial representation into frequency representation, producing thereby transformed multiple- element two-dimensional blocks (matrices of DCT coefficients) and d, modifying the elements of the transformed blocks according to external boundary conditions (quantization), and finally e, encoding the information contained in transformed blocks by entropy coding,
characterised by that
in step d, the modification of the data in transformed multiple-element two-dimensional blocks is modified depending on the size of the blocks and on the) bandwidth available for transmitting coded data. ., , •
15. The method according to Clam 14, characterised by that the modification of transformed blocks is a quantization.
16. The method according to Claim 15, characterised by that the quantisation is MPEG quantisation, according to the following function:
qcoeff,n =
Figure imgf000076_0001
where qcoeffG) s an element of the transformed multiple-element two-dimensional block, matrixG) is an element of a matrix corresponding in size to the transformed multiple-element two-dimensional block,
QP is the quantization factor.
17. The method according to Claim 16, characterised by that values of matrixG) are taken from an empirically established matrix table, where individual elements of the table are entire matrixG) matrices, with selection from said table being performed according to the external boundary condition specified in step d.
18. The method according to Claim 16 or 17, characterised by that selection from the table is performed with respect to the value of the QP quantization factor.
19. The method according to any one of Claims 16-18, characterised by that the entire QP domain is divided into N subdomains with matrix tables being assigned to individual subdomains, where the size of said matrix tables corresponds to the block size, with each subdomain being assigned to a previously specified bandwidth range.
20. The method according to any one of Claims 16-19,- characterised by that the external boundary condition of step d, is placed by the available-storage capacity and/or the available bandwidth. ,
21. The method according to any one of Claims 14-20, characterised by that in specific cases the information content of the selected blocks is modified prior to the transformation carried out in step c, on the basis of the information contained in previously selected image elements of a neighbouring block or blocks (prediction) or the information content of a reference block included in a reference frame.
22. The method according to any one of Claims 14-21 , characterised by that for encoding intra frames steps of the method according to any one of Claims 1-13 are also carried out.
23. Method for compressing a digitally coded video frame sequence, where the information content of certain frames is encoded from the contents of the preceding or subsequent frames (reference frames), the method further comprising the steps of a, dividing the frame to be encoded into blocks, b, searching a matching reference block for the given block to be encoded in the reference image preceding or following the frame containing said block to be encoded, c, carrying out a compressibility analysis by comparing matched reference blocks and the block to be encoded, d, selecting the best reference block relying on the result of the compressibility analysis, and e, encoding said block using the best reference block just selected, characterised by that in step b, during the search for reference blocks
i) the block to be encoded is divided into sub-blocks, 5 ii) the contents of the sub-blocks are analysed, iii) according to pre-defined criteria, a predetermined number of sub-blocks, preferably at least two, are selected, iv) a reference block search is performed using the selected sub-blocks, said search being performed in a specific search range in the selected reference frame for the reference block 0 . containing sub-blocks that differ the least from, the -selected sub-blocks, with the relative position of the selected blocks kept constant during said search, and .. v) the best reference block is chosen as a result of a search, using the selected sub-blocks.
24. The method according to Claim 23, characterised by that in step v) the best reference 5 block is chosen in such a way that every time the search finds a block that is better than the current reference block, position data of the newly found block are written into a multiple- element circular buffer, with the last element of the buffer containing the position of the best sub-block.
0 25. The method according to Claims 23 or 24, characterised by that a reference search is carried out using the entire block to be coded, and the search being performed in the vicinity of the reference block that is considered as the best reference block, and the final reference block is chosen according to the result of said search performed using the entire block to be coded.
>5
26. The method according to any one of Claims 23-25, characterised by determining the absolute square difference of the block to be coded and the reference block, and deciding about the acceptability of the reference block on the basis of the determined difference.
0 27. The method according to any one of Claims 23-26, characterised by that the reference block search is performed in a filtered reference frame.
28. The method according to any one of Claims 23-27, characterised by tl results are still not satisfactory, reference block search is carried out in search ranges located in further reference frames.
29. The method according to any one of Claims 23-28, characterised by that in case the search is unsuccessful in all reference frames, the block to be coded is divided into sub-blocks, with a matching reference sub-block being searched for for each sub-block, said search being performed in the vicinity of the reference frame positions that are considered the best, in that - reference frame which has so far yielded the best results. .
30. The method according to Claim 29, characterised by that in case dividing the block to be - coded into sub-blocks has not produced satisfactory results, the search for reference, sub- blocks is carried on in the vicinity of the best positions of other reference frames.
31. The method according to Claim 29 or 30, characterised by that in case a sub-block remained erroneous, the erroneous sub-block is further divided into smaller sub-blocks, and the search is repeated.
32. The method according to any one of Claims 23-31 , characterised by that the block to be coded is subtracted from the reference block, and the difference block is encoded in step e.
33. The method according to any one of Claims 23-32, characterised by carrying out on the information content of the difference block a transformation (DCT or Hadamard transform) that converts spatial representation into frequency representation, producing thereby transformed multiple-element two-dimensional blocks (matrices of DCT or Hadamard coefficients), and encoding the information content of the transformed blocks by entropy coding.
34. The method according to any one of Claims 23-32, characterised by that steps of the method according to any one of Claims 1-13 are also carried out during the process of encoding.
35. Method for compressing a digitally coded video frame sequence, com a, dividing each frame into blocks that are to be separately coded, b, carrying out on the information content of the blocks a transformation (DCT) that converts spatial representation into frequency representation, producing thereby transformed blocks, and finally e, encoding the information contained in transformed blocks by entropy coding, and applying arithmetic coding as entropy coding, during which
- a bit sequence is encoded by modifying the lower and upper limit of an interval as a function of values of consecutive bits of the bit sequence, and - the distribution of the already arrived bits of the sequence is taken into account in the function that modifies the limits of said interval, . <
characterised by that
- addresses are generated from already arrived bit values of the bit sequence,
- said addresses are applied for addressing individual processing elements of a neural network comprising multiple processing elements, and
- parameters of the processing element are modified such that the frequency of individual addressing operations and the value of the currently arriving bit of the bit sequence are used as input data, and the output of the neural network is applied for determining a parameter that modifies the lower or upper limit the interval,
- after an initial learning phase involving the processing of multiple bits, the upper or lower limits of the interval being determined during the encoding of incoming bits as a function of the output of the neural network.
36. The method according to Claim 35, characterised by that the incoming bit sequence to be encoded is fed into a buffer, and divided into multiple shorter bit sequences.
37. The method according to Claim 36, characterised by that the binary value represented by the bits of the shorter bit sequences is regarded as an address.
38. The method according to any one of Claims 35-37, characterised by tl used for selecting rows of a table, where said table contains function values representing the frequencies of occurrence of the possible values of the current bit to be coded, as well as at least one weight function.
39. The method according to Claim 38, characterised by that the weight functions of individual neurons are modified as a function of the function values representing the occurrence frequencies of the potential values of the bit to be coded. • •
40. The method according tσ Claim 35, characterised by that potential address ranges of the addresses form unions with one another (are at least partially overlapping)-.
41. The method according to any one of Claims 35-40, characterised by that the gain and the learning rate of the neural network are dynamically adjusted according to the boundary conditions.
42. The method according to any one of Claims 35-41, characterised by that the encoder is used with different levels, where parameters of each level can be adjusted separately, with a neural network operating with dedicated parameters being assigned to each level.
43. The method according to any one of Claims 35-42, characterised by that steps of the method according to any one of Claims 1-34 are also carried out during the process of encoding.
44. Method for compressing a digitally coded video frame sequence, comprising the steps of a, dividing a given frame into two-dimensional blocks, b, carrying out on the information content of blocks a transformation (DCT) that converts spatial representation into frequency representation, producing thereby transformed multiple- element two-dimensional blocks (matrices of DCT coefficients) and c, modifying the elements of the transformed blocks according to external boundary conditions (quantization), and finally d, encoding the information contained in transformed blocks by entropy coding, characterised by that
modification of the data of the transformed multiple-element two-dimensional blocks is carried out in step c, as a function of the output of a neural network.
45. The method according to Claim 44, characterised by that the neural network has backpropagation or counterpropagation structure, or is a simple network composed of multiple neurons, where - the normalized values of expected/coded length and expected/coded quality are used as input data,
- a specific number of previously received input data and the current input data are stored in a time window (time slot), with the data contained in the time window (slot) being assigned to the input neurons of the neural network.
46. The method according to Claim 45, characterised by that the number of neurons in the input layer of the network equals the number of data elements stored in the time window.
47. The method according to Claim 46, characterised by that the network comprises a hidden layer.
48. The method according to Claim 47, characterised by that the number of neurons in the hidden layer is larger than the number of neurons in the input layer.
49. The method according to Claim 44, characterised by that the normalized expected/coded length values and expected/coded quality values are applied as input data,
- a predetermined number (N) of previously received input data elements (preferably N=31 or N=63) are stored in a time window together with the current input data, and generating addresses based on the data contained in the time slot, - input data are rounded off to a given bit length for the address generation process, - an address is generated from each element of the time window by means said address pointing to an element of a table corresponding to one of the processing elements of the network.
50. The method according to Claim 49, characterised by that the network is pre-trained utilizing the expected/coded length and quality data in their original form, before they are rounded off for address generation.
51. The method according to Claims 49 or 50, characterised by that addresses are generated by means' of a hash function from the data contained nrthe time window.
52. The method according to any one of Claims 44-51, characterised by that the minimum and maximum allowed bandwidth values are applied as input data for two processing elements • . that are independent from the rest of the network.
53. The method according to Claim 52, characterised by that results generated by the processing elements of the network and the two independent processing elements appear at two outputs.
54. The method according to Claim 52, characterised by that the output of the neural network is a frame size scaling factor and/or a quantization factor.
55. The method according to Claim 52, characterised by that the output of the neural network is a frame size scaling factor and/or a quantization factor.
56 The method according to any one of Claims 44-55, characterised by that steps of the method according to any one of Claims 1-43 are also carried out during the coding process.
57. Apparatus for encoding digital video data, characterised by that it comprises means adapted for performing the steps of the method according to any one of Claims 1-55.
58. Software containing instructions for carrying out the steps of the meth one of Claims 1-55.
59. Coded sequence produced by the compression method according to any one of Claims 1-55.
60. Method for decompressing encoded video data from a coded sequence produced by the 'compression method according to any one of Claims 1-55.
PCT/HU2004/000055 2003-05-20 2004-05-20 Hybrid video compression method WO2004104930A2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2006530613A JP2007503784A (en) 2003-05-20 2004-05-20 Hybrid video compression method
CA002526450A CA2526450A1 (en) 2003-05-20 2004-05-20 Hybrid video compression method
US10/557,440 US8086052B2 (en) 2003-05-20 2004-05-20 Hybrid video compression method
EP04734055A EP1629437A2 (en) 2003-05-20 2004-05-20 Hybrid digital video compression
CN2004800209079A CN1857001B (en) 2003-05-20 2004-05-20 Hybrid video compression method
NO20055660A NO20055660L (en) 2003-05-20 2005-11-30 Hybrid Video Compression Procedure

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
HU0301368A HUP0301368A3 (en) 2003-05-20 2003-05-20 Method and equipment for compressing motion picture data
HUP0301368 2003-05-20

Publications (2)

Publication Number Publication Date
WO2004104930A2 true WO2004104930A2 (en) 2004-12-02
WO2004104930A3 WO2004104930A3 (en) 2006-05-18

Family

ID=89981373

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/HU2004/000055 WO2004104930A2 (en) 2003-05-20 2004-05-20 Hybrid video compression method

Country Status (9)

Country Link
US (1) US8086052B2 (en)
EP (1) EP1629437A2 (en)
JP (1) JP2007503784A (en)
KR (1) KR20060027795A (en)
CN (1) CN1857001B (en)
CA (1) CA2526450A1 (en)
HU (1) HUP0301368A3 (en)
NO (1) NO20055660L (en)
WO (1) WO2004104930A2 (en)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100750137B1 (en) 2005-11-02 2007-08-21 삼성전자주식회사 Method and apparatus for encoding and decoding image
WO2008044658A1 (en) * 2006-10-10 2008-04-17 Nippon Telegraph And Telephone Corporation Intra prediction encoding control method and device, its program, and storage medium containing program
WO2009036207A2 (en) * 2007-09-11 2009-03-19 Rgb Light Limited Byte representation for enhanced image compression
JP2010515310A (en) * 2007-01-11 2010-05-06 華為技術有限公司 Method and apparatus for intraframe predictive encoding / decoding
WO2011019250A2 (en) 2009-08-14 2011-02-17 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
WO2011049396A2 (en) 2009-10-23 2011-04-28 Samsung Electronics Co., Ltd. Method and apparatus for encoding video and method and apparatus for decoding video, based on hierarchical structure of coding unit
WO2011019253A3 (en) * 2009-08-14 2011-06-03 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
WO2011019234A3 (en) * 2009-08-13 2011-06-23 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
WO2011087323A3 (en) * 2010-01-14 2011-11-10 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transform unit
EP2547107A2 (en) * 2010-04-13 2013-01-16 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
US8761253B2 (en) 2008-05-28 2014-06-24 Nvidia Corporation Intra prediction mode search scheme
US8831099B2 (en) 2008-12-17 2014-09-09 Nvidia Corporation Selecting a macroblock encoding mode by using raw data to compute intra cost
CN104602013A (en) * 2009-10-01 2015-05-06 Sk电信有限公司 Video encoding apparatus and method
US9100649B2 (en) 2010-02-10 2015-08-04 Lg Electronics Inc. Method and apparatus for processing a video signal
WO2016011796A1 (en) * 2014-07-24 2016-01-28 华为技术有限公司 Adaptive inverse-quantization method and apparatus in video coding
RU2575868C2 (en) * 2009-08-13 2016-02-20 Самсунг Электроникс Ко., Лтд. Method and apparatus for image encoding and decoding using large transformation unit
EP2624557A4 (en) * 2010-09-30 2016-02-24 Samsung Electronics Co Ltd Video encoding method for encoding hierarchical-structure symbols and a device therefor, and video decoding method for decoding hierarchical-structure symbols and a device therefor
KR101607310B1 (en) 2014-10-29 2016-03-29 삼성전자주식회사 Method and apparatus for video encoding considering scanning order of coding units with hierarchical structure, and method and apparatus for video decoding considering scanning order of coding units with hierarchical structure
US9432674B2 (en) 2009-02-02 2016-08-30 Nvidia Corporation Dual stage intra-prediction video encoding system and method
AU2015202094B2 (en) * 2010-04-13 2016-11-17 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
US9848197B2 (en) 2011-03-10 2017-12-19 Qualcomm Incorporated Transforms in video coding
CN109036441A (en) * 2014-03-24 2018-12-18 杜比国际公司 To the method and apparatus of high-order clear stereo signal application dynamic range compression
GB2571818A (en) * 2018-01-13 2019-09-11 Advanced Risc Mach Ltd Selecting encoding options
US10841590B2 (en) 2011-01-13 2020-11-17 Nec Corporation Video decoding device, video decoding method, and program
CN112351252A (en) * 2020-10-27 2021-02-09 重庆中星微人工智能芯片技术有限公司 Monitoring video coding and decoding device
US11082697B2 (en) 2009-07-01 2021-08-03 Interdigital Vc Holdings, Inc. Methods and apparatus for signaling intra prediction for large blocks for video encoders and decoders

Families Citing this family (246)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7742525B1 (en) * 2002-07-14 2010-06-22 Apple Inc. Adaptive motion estimation
JP4263140B2 (en) * 2003-08-04 2009-05-13 Necエレクトロニクス株式会社 Data recording apparatus, data recording method, and recording control program
EP1605706A2 (en) * 2004-06-09 2005-12-14 Broadcom Corporation Advanced video coding (AVC) intra prediction scheme
US20050286777A1 (en) * 2004-06-27 2005-12-29 Roger Kumar Encoding and decoding images
US7792188B2 (en) * 2004-06-27 2010-09-07 Apple Inc. Selecting encoding types and predictive modes for encoding video data
US8111752B2 (en) 2004-06-27 2012-02-07 Apple Inc. Encoding mode pruning during video encoding
WO2006067731A1 (en) * 2004-12-22 2006-06-29 Koninklijke Philips Electronics N.V. Video stream modifier
JP2006333436A (en) * 2005-01-07 2006-12-07 Ntt Docomo Inc Motion image encoding apparatus, method, and program, and motion image decoding apparatus, method, and program
US7587401B2 (en) * 2005-03-10 2009-09-08 Intel Corporation Methods and apparatus to compress datasets using proxies
US7966190B2 (en) * 2005-07-11 2011-06-21 Lg Electronics Inc. Apparatus and method for processing an audio signal using linear prediction
JP4839035B2 (en) * 2005-07-22 2011-12-14 オリンパス株式会社 Endoscopic treatment tool and endoscope system
US8780997B2 (en) * 2005-11-18 2014-07-15 Apple Inc. Regulation of decode-side processing based on perceptual masking
US20070147510A1 (en) * 2005-12-27 2007-06-28 Islam Asad Method and module for altering color space parameters of video data stream in compressed domain
US20070160134A1 (en) * 2006-01-10 2007-07-12 Segall Christopher A Methods and Systems for Filter Characterization
US8014445B2 (en) * 2006-02-24 2011-09-06 Sharp Laboratories Of America, Inc. Methods and systems for high dynamic range video coding
US8194997B2 (en) * 2006-03-24 2012-06-05 Sharp Laboratories Of America, Inc. Methods and systems for tone mapping messaging
US8130822B2 (en) * 2006-07-10 2012-03-06 Sharp Laboratories Of America, Inc. Methods and systems for conditional transform-domain residual accumulation
US7840078B2 (en) * 2006-07-10 2010-11-23 Sharp Laboratories Of America, Inc. Methods and systems for image processing control based on adjacent block characteristics
US8422548B2 (en) * 2006-07-10 2013-04-16 Sharp Laboratories Of America, Inc. Methods and systems for transform selection and management
US8532176B2 (en) * 2006-07-10 2013-09-10 Sharp Laboratories Of America, Inc. Methods and systems for combining layers in a multi-layer bitstream
US8059714B2 (en) * 2006-07-10 2011-11-15 Sharp Laboratories Of America, Inc. Methods and systems for residual layer scaling
US7885471B2 (en) * 2006-07-10 2011-02-08 Sharp Laboratories Of America, Inc. Methods and systems for maintenance and use of coded block pattern information
EP2136564A1 (en) * 2007-01-09 2009-12-23 Kabushiki Kaisha Toshiba Image encoding and decoding method and device
US8233536B2 (en) * 2007-01-23 2012-07-31 Sharp Laboratories Of America, Inc. Methods and systems for multiplication-free inter-layer image prediction
US8503524B2 (en) * 2007-01-23 2013-08-06 Sharp Laboratories Of America, Inc. Methods and systems for inter-layer image prediction
US7826673B2 (en) * 2007-01-23 2010-11-02 Sharp Laboratories Of America, Inc. Methods and systems for inter-layer image prediction with color-conversion
US8665942B2 (en) * 2007-01-23 2014-03-04 Sharp Laboratories Of America, Inc. Methods and systems for inter-layer image prediction signaling
US7760949B2 (en) 2007-02-08 2010-07-20 Sharp Laboratories Of America, Inc. Methods and systems for coding multiple dynamic range images
US8767834B2 (en) 2007-03-09 2014-07-01 Sharp Laboratories Of America, Inc. Methods and systems for scalable-to-non-scalable bit-stream rewriting
KR101403338B1 (en) * 2007-03-23 2014-06-09 삼성전자주식회사 Method and apparatus for image encoding, decoding
KR100793285B1 (en) * 2007-05-11 2008-01-10 주식회사 코아로직 System and method for image noise reduction with filter matrix and computer readable medium stored thereon computer executable instruction for performing the method
JP5008484B2 (en) * 2007-07-11 2012-08-22 株式会社日立国際電気 Video processing method
US7925101B2 (en) * 2007-09-05 2011-04-12 Himax Technologies Limited Apparatus for controlling image compression
US8228983B2 (en) * 2007-12-04 2012-07-24 Hong Kong Applied Science And Technology Research Method and device for order-16 integer transform from order-8 integer cosine transform
US20090154567A1 (en) * 2007-12-13 2009-06-18 Shaw-Min Lei In-loop fidelity enhancement for video compression
US8401071B2 (en) * 2007-12-19 2013-03-19 Sony Corporation Virtually lossless video data compression
US8175158B2 (en) * 2008-01-04 2012-05-08 Sharp Laboratories Of America, Inc. Methods and systems for inter-layer image prediction parameter determination
KR20090097013A (en) * 2008-03-10 2009-09-15 삼성전자주식회사 Apparatus of encoding image and apparatus of decoding image
US8160141B2 (en) * 2008-03-17 2012-04-17 Sony Corporation Advanced video coded pictures—reduced cost computation of an intra mode decision in the frequency domain
US8108401B2 (en) * 2008-03-28 2012-01-31 International Business Machines Corporation Applying various hash methods used in conjunction with a query with a group by clause
US7827187B2 (en) * 2008-04-04 2010-11-02 International Business Machines Corporation Frequency partitioning: entropy compression with fixed size fields
US8199814B2 (en) * 2008-04-15 2012-06-12 Sony Corporation Estimation of I frame average rate quantization parameter (QP) in a group of pictures (GOP)
US8189677B2 (en) * 2008-04-15 2012-05-29 Sony Corporation Estimation of P frame average rate quantization parameter (QP) in a group of pictures (GOP)
US8199823B2 (en) * 2008-04-15 2012-06-12 Sony Corporation Estimation of B frame average rate quantization parameter (QP) in a group of pictures (GOP)
PL2288163T3 (en) * 2008-05-07 2015-11-30 Lg Electronics Inc Method and apparatus for decoding video signal
US8099440B2 (en) 2008-08-15 2012-01-17 International Business Machines Corporation Method for laying out fields in a database in a hybrid of row-wise and column-wise ordering
US8325801B2 (en) 2008-08-15 2012-12-04 Mediatek Inc. Adaptive restoration for video coding
KR101619972B1 (en) * 2008-10-02 2016-05-11 한국전자통신연구원 Apparatus and method for coding/decoding image selectivly using descrete cosine/sine transtorm
US8503527B2 (en) 2008-10-03 2013-08-06 Qualcomm Incorporated Video coding with large macroblocks
KR101590633B1 (en) * 2008-11-11 2016-02-02 삼성전자주식회사 / /apparatus for processing video encoding and decoding using video separation based on slice level and method therefor
US20100158105A1 (en) * 2008-12-19 2010-06-24 Nvidia Corporation Post-processing encoding system and method
JP5151999B2 (en) * 2009-01-09 2013-02-27 セイコーエプソン株式会社 Image processing apparatus and image processing method
KR20100095992A (en) * 2009-02-23 2010-09-01 한국과학기술원 Method for encoding partitioned block in video encoding, method for decoding partitioned block in video decoding and recording medium implementing the same
US8370326B2 (en) 2009-03-24 2013-02-05 International Business Machines Corporation System and method for parallel computation of frequency histograms on joined tables
KR101527085B1 (en) * 2009-06-30 2015-06-10 한국전자통신연구원 Intra encoding/decoding method and apparautus
KR101483750B1 (en) * 2009-07-24 2015-01-19 삼성전자주식회사 Method and apparatus for image encoding, and method and apparatus for image decoding
JP5359657B2 (en) 2009-07-31 2013-12-04 ソニー株式会社 Image encoding apparatus and method, recording medium, and program
KR101452859B1 (en) 2009-08-13 2014-10-23 삼성전자주식회사 Method and apparatus for encoding and decoding motion vector
KR101624649B1 (en) * 2009-08-14 2016-05-26 삼성전자주식회사 Method and apparatus for video encoding considering hierarchical coded block pattern, and method and apparatus for video decoding considering hierarchical coded block pattern
KR101452860B1 (en) * 2009-08-17 2014-10-23 삼성전자주식회사 Method and apparatus for image encoding, and method and apparatus for image decoding
KR101510108B1 (en) 2009-08-17 2015-04-10 삼성전자주식회사 Method and apparatus for encoding video, and method and apparatus for decoding video
KR101712097B1 (en) * 2009-08-19 2017-03-03 삼성전자 주식회사 Method and apparatus for encoding and decoding image based on flexible orthogonal transform
KR101694399B1 (en) * 2009-10-07 2017-01-09 에스케이 텔레콤주식회사 Video encoding/decoding Method and Apparatus generating/using adaptive coding pattern information, and Recording Medium therefore
US9565439B2 (en) * 2009-10-15 2017-02-07 Nbcuniversal Media, Llc System and method for enhancing data compression using dynamic learning and control
KR101504887B1 (en) * 2009-10-23 2015-03-24 삼성전자 주식회사 Method and apparatus for video decoding by individual parsing or decoding in data unit level, and method and apparatus for video encoding for individual parsing or decoding in data unit level
KR101452713B1 (en) 2009-10-30 2014-10-21 삼성전자주식회사 Method and apparatus for encoding and decoding coding unit of picture boundary
KR101710883B1 (en) * 2009-11-04 2017-02-28 삼성전자주식회사 Apparatus and method for compressing and restoration image using filter information
CN102726043B (en) * 2009-11-06 2016-03-02 弗劳恩霍夫应用研究促进协会 hybrid video coding
KR101491864B1 (en) * 2009-11-30 2015-02-11 한국전자통신연구원 hybrid predicting apparatus for entropy encoding, and method therefor
KR101484280B1 (en) 2009-12-08 2015-01-20 삼성전자주식회사 Method and apparatus for video encoding by motion prediction using arbitrary partition, and method and apparatus for video decoding by motion compensation using arbitrary partition
KR101674078B1 (en) * 2009-12-16 2016-11-08 삼성전자 주식회사 Method and apparatus for block-based image denoising
WO2011078721A1 (en) * 2009-12-24 2011-06-30 Intel Corporation Wireless display encoder architecture
US20110170608A1 (en) * 2010-01-08 2011-07-14 Xun Shi Method and device for video transcoding using quad-tree based mode selection
US8340188B2 (en) * 2010-01-08 2012-12-25 Research In Motion Limited Method and device for motion vector estimation in video transcoding using union of search areas
US8559519B2 (en) * 2010-01-08 2013-10-15 Blackberry Limited Method and device for video encoding using predicted residuals
US8315310B2 (en) * 2010-01-08 2012-11-20 Research In Motion Limited Method and device for motion vector prediction in video transcoding using full resolution residuals
US8358698B2 (en) * 2010-01-08 2013-01-22 Research In Motion Limited Method and device for motion vector estimation in video transcoding using full-resolution residuals
KR102127401B1 (en) * 2010-01-12 2020-06-26 엘지전자 주식회사 Processing method and device for video signals
KR101457396B1 (en) 2010-01-14 2014-11-03 삼성전자주식회사 Method and apparatus for video encoding using deblocking filtering, and method and apparatus for video decoding using the same
KR101703327B1 (en) * 2010-01-14 2017-02-06 삼성전자 주식회사 Method and apparatus for video encoding using pattern information of hierarchical data unit, and method and apparatus for video decoding using pattern information of hierarchical data unit
KR101675118B1 (en) 2010-01-14 2016-11-10 삼성전자 주식회사 Method and apparatus for video encoding considering order of skip and split, and method and apparatus for video decoding considering order of skip and split
CN102804782A (en) 2010-01-15 2012-11-28 三星电子株式会社 Method and apparatus for encoding video using variable partitions for predictive encoding, and method and apparatus for decoding video using variable partitions for predictive encoding
CN106454380B (en) * 2010-01-15 2019-04-05 三星电子株式会社 The method that video is decoded
US9369736B2 (en) 2010-04-05 2016-06-14 Samsung Electronics Co., Ltd. Low complexity entropy-encoding/decoding method and apparatus
KR101682147B1 (en) 2010-04-05 2016-12-05 삼성전자주식회사 Method and apparatus for interpolation based on transform and inverse transform
US8982961B2 (en) 2010-04-05 2015-03-17 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using transformation index, and method and apparatus for decoding video by using transformation index
KR101750046B1 (en) * 2010-04-05 2017-06-22 삼성전자주식회사 Method and apparatus for video encoding with in-loop filtering based on tree-structured data unit, method and apparatus for video decoding with the same
WO2011126283A2 (en) * 2010-04-05 2011-10-13 Samsung Electronics Co., Ltd. Method and apparatus for encoding video based on internal bit depth increment, and method and apparatus for decoding video based on internal bit depth increment
BR122020008249B1 (en) 2010-04-13 2021-02-17 Ge Video Compression, Llc inheritance in a multitree subdivision arrangement sample
CN106067983B (en) 2010-04-13 2019-07-12 Ge视频压缩有限责任公司 The method of decoding data stream, the method and decoder for generating data flow
EP3703369B1 (en) 2010-04-13 2024-07-24 GE Video Compression, LLC Sample region merging
CN106231337B (en) 2010-04-13 2020-06-19 Ge视频压缩有限责任公司 Decoder, decoding method, encoder, and encoding method
US8837592B2 (en) * 2010-04-14 2014-09-16 Mediatek Inc. Method for performing local motion vector derivation during video coding of a coding unit, and associated apparatus
US9106933B1 (en) 2010-05-18 2015-08-11 Google Inc. Apparatus and method for encoding video using different second-stage transform
JP2012019490A (en) * 2010-07-09 2012-01-26 Sony Corp Image processing device and image processing method
DK2955917T3 (en) * 2010-08-17 2018-08-06 Samsung Electronics Co Ltd Video decoding method using variable tree structure transformation unit
US8577159B2 (en) * 2010-09-14 2013-11-05 Blackberry Limited Methods and devices for data compression with adaptive filtering in the transform domain
WO2012034280A1 (en) * 2010-09-16 2012-03-22 Hewlett-Packard Development Company, L.P. Digital watermarking
ES2868133T3 (en) 2010-09-27 2021-10-21 Lg Electronics Inc Method for block partition and decoding device
US9532059B2 (en) 2010-10-05 2016-12-27 Google Technology Holdings LLC Method and apparatus for spatial scalability for video coding
US8442988B2 (en) 2010-11-04 2013-05-14 International Business Machines Corporation Adaptive cell-specific dictionaries for frequency-partitioned multi-dimensional data
CN107105280B (en) * 2010-12-14 2020-01-03 M&K控股株式会社 Apparatus for encoding moving picture
KR101506446B1 (en) * 2010-12-15 2015-04-08 에스케이 텔레콤주식회사 Code Motion Information Generating/Motion Information Reconstructing Method and Apparatus Using Motion Information Merge and Image Encoding/Decoding Method and Apparatus Using The Same
CN102547268B (en) * 2010-12-30 2014-12-10 深圳华强数码电影有限公司 Streaming media playback method and equipment
CN104811705B (en) 2011-01-06 2018-05-08 三星电子株式会社 The coding method of video and the coding/decoding method and device of device and video
US20120176536A1 (en) * 2011-01-12 2012-07-12 Avi Levy Adaptive Frame Rate Conversion
US9210442B2 (en) 2011-01-12 2015-12-08 Google Technology Holdings LLC Efficient transform unit representation
WO2012101781A1 (en) 2011-01-26 2012-08-02 株式会社日立製作所 Image decoding device
US9380319B2 (en) * 2011-02-04 2016-06-28 Google Technology Holdings LLC Implicit transform unit representation
KR20120098499A (en) * 2011-02-25 2012-09-05 삼성전자주식회사 Method and apparatus for transforming image, and method and apparatus for inverse-transforming image
US8754929B1 (en) * 2011-05-23 2014-06-17 John Prince Real time vergence control for 3D video capture and display
US8989256B2 (en) 2011-05-25 2015-03-24 Google Inc. Method and apparatus for using segmentation-based coding of prediction information
EP2721816A4 (en) * 2011-06-16 2015-03-18 Freescale Semiconductor Inc Method and device for encoding and decoding an image
US8837582B2 (en) 2011-06-22 2014-09-16 Blackberry Limited Compressing image data
US8768082B2 (en) 2011-06-22 2014-07-01 Blackberry Limited Compressing image data
EP2736254B1 (en) 2011-07-22 2018-07-04 Hitachi, Ltd. Video decoding method and image encoding method
US9800870B2 (en) 2011-09-16 2017-10-24 Qualcomm Incorporated Line buffer reduction for short distance intra-prediction
US9398300B2 (en) * 2011-10-07 2016-07-19 Texas Instruments Incorporated Method, system and apparatus for intra-prediction in video signal processing using combinable blocks
CN103108177B (en) * 2011-11-09 2016-11-23 华为技术有限公司 Method for encoding images and picture coding device
US9247257B1 (en) 2011-11-30 2016-01-26 Google Inc. Segmentation based entropy encoding and decoding
CN103139558B (en) * 2011-11-30 2016-08-03 联芯科技有限公司 The DC/AC coefficient prediction method of Video Decoder and Video Decoder
US9762904B2 (en) * 2011-12-22 2017-09-12 Qualcomm Incorporated Performing motion vector prediction for video coding
US9094681B1 (en) 2012-02-28 2015-07-28 Google Inc. Adaptive segmentation
US10003803B1 (en) 2012-04-18 2018-06-19 Matrox Graphics Inc. Motion-based adaptive quantization
US10003802B1 (en) 2012-04-18 2018-06-19 Matrox Graphics Inc. Motion-based adaptive quantization
US9300984B1 (en) 2012-04-18 2016-03-29 Matrox Graphics Inc. Independent processing of data streams in codec
US8396127B1 (en) * 2012-06-27 2013-03-12 Google Inc. Segmentation for video coding using predictive benefit
EP2873236B1 (en) * 2012-07-10 2020-10-07 Cisco Technology, Inc. Decoded picture buffer size management
US9332276B1 (en) 2012-08-09 2016-05-03 Google Inc. Variable-sized super block based direct prediction mode
US9380298B1 (en) 2012-08-10 2016-06-28 Google Inc. Object-based intra-prediction
US10333547B2 (en) 2012-08-13 2019-06-25 Gurologic Microsystems Oy Encoder and method for encoding input data using a plurality of different transformations or combinations of transformations
US8675731B2 (en) * 2012-08-13 2014-03-18 Gurulogic Microsystems Oy Encoder and method
JP2014082541A (en) * 2012-10-12 2014-05-08 National Institute Of Information & Communication Technology Method, program and apparatus for reducing data size of multiple images including information similar to each other
TW201419862A (en) * 2012-11-13 2014-05-16 Hon Hai Prec Ind Co Ltd System and method for splitting an image
WO2014078068A1 (en) 2012-11-13 2014-05-22 Intel Corporation Content adaptive transform coding for next generation video
US9219915B1 (en) 2013-01-17 2015-12-22 Google Inc. Selection of transform size in video coding
WO2014120367A1 (en) 2013-01-30 2014-08-07 Intel Corporation Content adaptive parametric transforms for coding for next generation video
US9544597B1 (en) 2013-02-11 2017-01-10 Google Inc. Hybrid transform in video encoding and decoding
US9967559B1 (en) 2013-02-11 2018-05-08 Google Llc Motion vector dependent spatial transformation in video coding
US9794375B2 (en) * 2013-03-14 2017-10-17 Openwave Mobility, Inc. Method, apparatus, and non-transitory computer medium for obtaining a required frame size for a compressed data frame
KR101464980B1 (en) * 2013-04-02 2014-11-25 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit
KR101454642B1 (en) * 2013-04-02 2014-10-27 삼성전자주식회사 Method and apparatus for video encoding, and method and apparatus for video decoding
KR101452862B1 (en) * 2013-04-02 2014-10-23 삼성전자주식회사 Method and apparatus for video encoding, and method and apparatus for video decoding
KR101464979B1 (en) * 2013-04-02 2014-11-25 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit
AU2014202288B2 (en) * 2013-04-29 2017-10-05 Everi Technology Pty Ltd Gaming machine and method employing video compression
US9674530B1 (en) 2013-04-30 2017-06-06 Google Inc. Hybrid transforms in video coding
KR101454664B1 (en) * 2013-04-30 2014-10-28 삼성전자주식회사 Method for decoding motion vector
EP3061253A4 (en) 2013-10-25 2016-08-31 Microsoft Technology Licensing Llc Hash-based block matching in video and image coding
WO2015058397A1 (en) 2013-10-25 2015-04-30 Microsoft Technology Licensing, Llc Representing blocks with hash values in video and image coding and decoding
US9973780B2 (en) 2013-10-31 2018-05-15 Microsoft Technology Licensing, Llc Scaled video for pseudo-analog transmission in spatial domain
KR101789954B1 (en) * 2013-12-27 2017-10-25 인텔 코포레이션 Content adaptive gain compensated prediction for next generation video coding
KR102185857B1 (en) * 2014-02-13 2020-12-02 삼성전자주식회사 Method and apparatus for encoding and decoding image using modification of residual block
US10368092B2 (en) * 2014-03-04 2019-07-30 Microsoft Technology Licensing, Llc Encoder-side decisions for block flipping and skip mode in intra block copy prediction
KR102185245B1 (en) * 2014-03-04 2020-12-01 마이크로소프트 테크놀로지 라이센싱, 엘엘씨 Hash table construction and availability checking for hash-based block matching
KR101601008B1 (en) * 2014-05-07 2016-03-08 삼성전자주식회사 Method and apparatus for video decoding by individual parsing or decoding in data unit level, and method and apparatus for video encoding for individual parsing or decoding in data unit level
KR101540684B1 (en) * 2014-05-07 2015-07-31 삼성전자주식회사 Method and apparatus for video encoding, and method and apparatus for video decoding
KR101636459B1 (en) * 2014-05-07 2016-07-06 삼성전자주식회사 Method and apparatus for video encoding by motion prediction using arbitrary partition, and method and apparatus for video decoding by motion compensation using arbitrary partition
KR101538920B1 (en) * 2014-05-07 2015-07-24 삼성전자주식회사 Method and apparatus for video encoding and decoding dependent on hierarchical structure of coding unit
US10681372B2 (en) 2014-06-23 2020-06-09 Microsoft Technology Licensing, Llc Encoder decisions based on results of hash-based block matching
CN104123375B (en) * 2014-07-28 2018-01-23 清华大学 Data search method and system
KR101643621B1 (en) * 2014-08-05 2016-08-10 삼성전자주식회사 Method and apparatus for video encoding, and method and apparatus for video decoding
JP6462119B2 (en) 2014-09-30 2019-01-30 マイクロソフト テクノロジー ライセンシング,エルエルシー Computing device
KR101564944B1 (en) * 2014-10-29 2015-11-02 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit
KR101601014B1 (en) * 2014-10-29 2016-03-08 삼성전자주식회사 Method and apparatus for video decoding by individual parsing or decoding in data unit level, and method and apparatus for video encoding for individual parsing or decoding in data unit level
KR101644092B1 (en) * 2014-10-29 2016-07-29 삼성전자주식회사 Method and apparatus for video encoding, and method and apparatus for video decoding
KR101538921B1 (en) * 2014-10-29 2015-07-24 삼성전자주식회사 Method and apparatus for video encoding and decoding dependent on hierarchical structure of coding unit
KR101677275B1 (en) * 2014-10-29 2016-11-17 삼성전자주식회사 Method and apparatus for video encoding by motion prediction using arbitrary partition, and method and apparatus for video decoding by motion compensation using arbitrary partition
US9565451B1 (en) 2014-10-31 2017-02-07 Google Inc. Prediction dependent transform coding
KR101677276B1 (en) * 2015-01-19 2016-11-17 삼성전자주식회사 Method and apparatus for video encoding by motion prediction using arbitrary partition, and method and apparatus for video decoding by motion compensation using arbitrary partition
CN104780379B (en) * 2015-01-21 2018-03-09 北京工业大学 A kind of compression method of screen picture set
US10516882B2 (en) 2015-01-29 2019-12-24 Vid Scale, Inc. Intra-block copy searching
KR101634253B1 (en) * 2015-04-13 2016-06-28 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit
KR101687283B1 (en) * 2015-04-13 2016-12-28 삼성전자주식회사 Method and apparatus for video encoding and decoding dependent on hierarchical structure of coding unit
KR101662742B1 (en) * 2015-04-13 2016-10-05 삼성전자주식회사 Method and apparatus for video encoding and decoding dependent on hierarchical structure of coding unit
KR101662743B1 (en) * 2015-04-13 2016-10-14 삼성전자주식회사 Method and apparatus for video encoding and decoding dependent on hierarchical structure of coding unit
KR101601016B1 (en) * 2015-04-21 2016-03-08 삼성전자주식회사 Method and apparatus for video decoding by individual parsing or decoding in data unit level, and method and apparatus for video encoding for individual parsing or decoding in data unit level
KR101601017B1 (en) * 2015-04-21 2016-03-08 삼성전자주식회사 Method and apparatus for video decoding by individual parsing or decoding in data unit level, and method and apparatus for video encoding for individual parsing or decoding in data unit level
WO2016199330A1 (en) * 2015-06-12 2016-12-15 パナソニックIpマネジメント株式会社 Image coding method, image decoding method, image coding device and image decoding device
US9769499B2 (en) 2015-08-11 2017-09-19 Google Inc. Super-transform video coding
US10277905B2 (en) 2015-09-14 2019-04-30 Google Llc Transform selection for non-baseband signal coding
WO2017088093A1 (en) * 2015-11-23 2017-06-01 Mediatek Singapore Pte. Ltd. On the smallest allowed block size in video coding
US9807423B1 (en) 2015-11-24 2017-10-31 Google Inc. Hybrid transform scheme for video coding
JP6721977B2 (en) * 2015-12-15 2020-07-15 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Audio-acoustic signal encoding device, audio-acoustic signal decoding device, audio-acoustic signal encoding method, and audio-acoustic signal decoding method
CN105916022A (en) * 2015-12-28 2016-08-31 乐视致新电子科技(天津)有限公司 Video image processing method and apparatus based on virtual reality technology
US10499056B2 (en) * 2016-03-09 2019-12-03 Sony Corporation System and method for video processing based on quantization parameter
US9946956B2 (en) * 2016-06-15 2018-04-17 Qualcomm Incorporated Differential image processing
KR101720195B1 (en) * 2016-06-22 2017-03-27 삼성전자주식회사 Method and apparatus for encoding and decoding image using large transform unit
JP6261020B2 (en) 2016-06-28 2018-01-17 株式会社Nexpoint Screen image transfer method and screen image restoration method
JP6229770B2 (en) * 2016-07-25 2017-11-15 ソニー株式会社 Image processing apparatus and method, recording medium, and program
US10390039B2 (en) 2016-08-31 2019-08-20 Microsoft Technology Licensing, Llc Motion estimation for screen remoting scenarios
RU2642402C1 (en) * 2016-10-07 2018-01-24 Общество с ограниченной ответственностью "СТРИМ Лабс" (ООО "СТРИМ Лабс") Method of detecting duplicate video frames
CN110168650A (en) * 2016-10-12 2019-08-23 汉诺威戈特弗里德威廉莱布尼茨大学 Method for coding and decoding the mass value of data structure
US11095877B2 (en) 2016-11-30 2021-08-17 Microsoft Technology Licensing, Llc Local hash-based motion estimation for screen remoting scenarios
CN107046646B (en) * 2016-12-30 2020-05-22 上海寒武纪信息科技有限公司 Video coding and decoding device and method based on depth automatic encoder
US10694181B2 (en) * 2017-01-27 2020-06-23 Qualcomm Incorporated Bilateral filters in video coding with reduced complexity
CN106713929B (en) * 2017-02-16 2019-06-28 清华大学深圳研究生院 A kind of video inter-prediction Enhancement Method based on deep neural network
CN110546955A (en) * 2017-02-24 2019-12-06 真实网络公司 Motion vector selection and prediction in video coding systems and methods
KR102332476B1 (en) * 2017-05-26 2021-11-30 구글 엘엘씨 Tile image compression using neural networks
US10360695B1 (en) 2017-06-01 2019-07-23 Matrox Graphics Inc. Method and an apparatus for enabling ultra-low latency compression of a stream of pictures
US11144828B2 (en) 2017-06-09 2021-10-12 Htc Corporation Training task optimization system, training task optimization method and non-transitory computer readable medium for operating the same
KR102401851B1 (en) * 2017-06-14 2022-05-26 삼성디스플레이 주식회사 Method of compressing image and display apparatus for performing the same
TWI812414B (en) * 2017-07-13 2023-08-11 美商松下電器(美國)知識產權公司 Coding device, decoding device and recording medium
TWI794129B (en) * 2017-07-13 2023-02-21 美商松下電器(美國)知識產權公司 Encoding device, encoding method, decoding device, decoding method, and computer-readable non-transitory medium
KR101886259B1 (en) * 2017-07-19 2018-08-08 삼성전자주식회사 Method and apparatus for image encoding, and computer-readable medium including encoded bitstream
US10614613B2 (en) * 2017-07-28 2020-04-07 Nvidia Corporation Reducing noise during rendering by performing parallel path space filtering utilizing hashing
KR101867597B1 (en) * 2017-09-22 2018-06-14 삼성전자주식회사 Method and apparatus for video encoding by motion prediction using arbitrary partition, and method and apparatus for video decoding by motion compensation using arbitrary partition
US11363302B2 (en) * 2017-10-12 2022-06-14 Mediatek Inc. Method and apparatus of neural network for video coding
US11195096B2 (en) * 2017-10-24 2021-12-07 International Business Machines Corporation Facilitating neural network efficiency
KR102589303B1 (en) 2017-11-02 2023-10-24 삼성전자주식회사 Method and apparatus for generating fixed point type neural network
EP3714404A4 (en) * 2017-11-26 2021-08-18 Yeda Research and Development Co. Ltd Signal enhancement and manipulation using a signal-specific deep network
CN108289224B (en) * 2017-12-12 2019-10-29 北京大学 A kind of video frame prediction technique, device and neural network is compensated automatically
CN108174225B (en) * 2018-01-11 2021-03-26 上海交通大学 Video coding and decoding in-loop filtering implementation method and system based on countermeasure generation network
CN110062246B (en) * 2018-01-19 2021-01-05 杭州海康威视数字技术股份有限公司 Method and device for processing video frame data
CN108174218B (en) * 2018-01-23 2020-02-07 中国科学技术大学 Video coding and decoding system based on learning
US11902369B2 (en) 2018-02-09 2024-02-13 Preferred Networks, Inc. Autoencoder, data processing system, data processing method and non-transitory computer readable medium
KR101943991B1 (en) * 2018-03-05 2019-01-30 삼성전자주식회사 Method and apparatus for video encoding, and method and apparatus for video decoding
US10972738B2 (en) * 2018-03-29 2021-04-06 Mediatek Inc. Video encoding apparatus having reconstruction buffer with fixed size and/or bandwidth limitation and associated video encoding method
EP3562162A1 (en) * 2018-04-27 2019-10-30 InterDigital VC Holdings, Inc. Method and apparatus for video encoding and decoding based on neural network implementation of cabac
KR102688439B1 (en) * 2018-05-09 2024-07-26 삼성전자주식회사 Electronic apparatus and method for controlling thereof
KR102006804B1 (en) * 2018-06-07 2019-08-02 삼성전자주식회사 Method and apparatus for video encoding by motion prediction using arbitrary partition, and method and apparatus for video decoding by motion compensation using arbitrary partition
KR101989160B1 (en) * 2018-08-01 2019-06-13 삼성전자주식회사 Method and apparatus for image encoding
CN109033439B (en) * 2018-08-15 2019-11-19 中科驭数(北京)科技有限公司 The treating method and apparatus of stream data
US12050461B2 (en) * 2018-09-07 2024-07-30 DoorDash, Inc. Video system with frame synthesis
CN109495750A (en) * 2018-10-26 2019-03-19 西安科锐盛创新科技有限公司 Bandwidth reduction prediction technique based on quaternary tree
US11562046B2 (en) 2018-11-26 2023-01-24 Samsung Electronics Co., Ltd. Neural network processor using dyadic weight matrix and operation method thereof
KR20200082227A (en) * 2018-12-28 2020-07-08 한국전자통신연구원 Method and device for determining loss function for audio signal
US11831867B2 (en) * 2019-02-15 2023-11-28 Nokia Technologies Oy Apparatus, a method and a computer program for video coding and decoding
CN112740677A (en) * 2019-02-28 2021-04-30 株式会社 Xris Method for encoding/decoding image signal and apparatus therefor
US11122297B2 (en) 2019-05-03 2021-09-14 Google Llc Using border-aligned block functions for image compression
KR20200129957A (en) 2019-05-10 2020-11-18 삼성전자주식회사 Neural network processor compressing featuremap data and computing system comprising the same
KR20200139909A (en) 2019-06-05 2020-12-15 삼성전자주식회사 Electronic apparatus and method of performing operations thereof
CN112235583B (en) * 2019-07-15 2021-12-24 华为技术有限公司 Image coding and decoding method and device based on wavelet transformation
CN113038134B (en) * 2019-12-25 2023-08-01 武汉Tcl集团工业研究院有限公司 Picture processing method, intelligent terminal and storage medium
US11403782B2 (en) * 2019-12-31 2022-08-02 Alibaba Group Holding Limited Static channel filtering in frequency domain
US11470327B2 (en) 2020-03-30 2022-10-11 Alibaba Group Holding Limited Scene aware video content encoding
US11792408B2 (en) 2020-03-30 2023-10-17 Alibaba Group Holding Limited Transcoder target bitrate prediction techniques
US11386873B2 (en) 2020-04-01 2022-07-12 Alibaba Group Holding Limited Method and apparatus for efficient application screen compression
US11323732B2 (en) * 2020-04-13 2022-05-03 Tencent America LLC Method and apparatus for video coding
KR20210136476A (en) 2020-05-07 2021-11-17 삼성전자주식회사 Compressing device and method using parameters of a quad-tree method
US11205077B1 (en) * 2020-05-29 2021-12-21 Arm Limited Operating on a video frame to generate a feature map of a neural network
US11202085B1 (en) 2020-06-12 2021-12-14 Microsoft Technology Licensing, Llc Low-cost hash table construction and hash-based block matching for variable-size blocks
US12047575B2 (en) * 2020-12-03 2024-07-23 Intel Corporation Methods, apparatus, and articles of manufacture for multi-symbol equiprobable mode entropy coding
EP4311238A4 (en) * 2021-04-23 2024-08-28 Panasonic Ip Corp America Image decoding method, image coding method, image decoder, and image encoder
CN113781588A (en) * 2021-07-01 2021-12-10 杭州未名信科科技有限公司 Intra-frame coding unit size dividing method based on neural network
GB2609218B (en) 2021-07-22 2023-08-30 Imagination Tech Ltd Coding blocks of pixels
CN114786011B (en) * 2022-06-22 2022-11-15 苏州浪潮智能科技有限公司 JPEG image compression method, system, equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6529634B1 (en) * 1999-11-08 2003-03-04 Qualcomm, Inc. Contrast sensitive variance based adaptive block size DCT image compression

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2830723B2 (en) * 1993-12-20 1998-12-02 松下電器産業株式会社 Noise removal device
JPH08294001A (en) * 1995-04-20 1996-11-05 Seiko Epson Corp Image processing method and image processing unit
KR100371130B1 (en) * 1996-05-28 2003-02-07 마쯔시다덴기산교 가부시키가이샤 Image predictive decoding apparatus and method thereof, and image predictive cording apparatus and method thereof
US6600836B1 (en) * 2000-01-28 2003-07-29 Qualcomm, Incorporated Quality based image compression
EP1246469A3 (en) * 2001-03-27 2005-04-13 Koninklijke Philips Electronics N.V. Method of simoultaneously downconverting and decoding of video
JP4193406B2 (en) * 2002-04-16 2008-12-10 三菱電機株式会社 Video data conversion apparatus and video data conversion method
US7330509B2 (en) * 2003-09-12 2008-02-12 International Business Machines Corporation Method for video transcoding with adaptive frame rate control

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6529634B1 (en) * 1999-11-08 2003-03-04 Qualcomm, Inc. Contrast sensitive variance based adaptive block size DCT image compression

Non-Patent Citations (10)

* Cited by examiner, † Cited by third party
Title
CHAN Y-L ET AL: "A BLOCK MOTION VECTOR ESTIMATION USING PATTERN BASED PIXEL DECIMATION" ISCAS '97. PROCEEDINGS OF THE 1997 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS. CIRCUITS AND SYSTEMS IN THE INFORMATION AGE. HONG KONG, JUNE 9 - 12, 1997, IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS, NEW-YORK, NY : IEEE, US, vol. VOL. 2, 9 June 1997 (1997-06-09), pages 1153-1156, XP000832406 ISBN: 0-7803-3584-8 *
CHENG-TIE CHEN ED - INSTITUTE OF ELECTRICAL AND ELECTRONICS ENGINEERS: "ADAPTIVE TRANSFORM CODING VIA QUADTREE-BASED VARIABLE BLOCKSIZE DCT" MULTIDIMENSIONAL SIGNAL PROCESSING, AUDIO AND ELECTROACOUSTICS. GLASGOW, MAY 23 - 26, 1989, INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH & SIGNAL PROCESSING. ICASSP, NEW YORK, IEEE, US, vol. VOL. 3 CONF. 14, 23 May 1989 (1989-05-23), pages 1854-1857, XP000089238 *
M. MAHONEY: "Neural Network Compression FAQ"[Online] 25 March 2000 (2000-03-25), XP002359427 Retrieved from the Internet: URL:www.cs.fit.edu/~mmahoney/compression/f aq.html> [retrieved on 2005-12-15] *
M. WIEN, A. DAHLHOFF: "hybrid video coding using variable size transforms" PROCEEDINGS OF SPIE, vol. 4671, 2002, pages 1040-1051, XP002338961 *
MAHONEY M V: "Fast text compression with neural networks" FLAIRS 2000: 13TH INTERNATIONAL FLAIRS CONFERENCE, 22 May 2000 (2000-05-22), pages 230-234, XP008057595 Orlando, FL, USA *
MATTHIAS LARSSON CARLANDER: "JPEG2000 Verification model 9.1: visual frequency weighting" ISO/IEC JTC1/SC29/WG1 N2165, 28 June 2001 (2001-06-28), pages 200-204, XP002359425 *
MOSCHETTI F ET AL: "A fast block matching for SIMD processors using subsampling" CIRCUITS AND SYSTEMS, 2000. PROCEEDINGS. ISCAS 2000 GENEVA. THE 2000 IEEE INTERNATIONAL SYMPOSIUM ON MAY 28-31, 2000, PISCATAWAY, NJ, USA,IEEE, vol. 4, 28 May 2000 (2000-05-28), pages 321-324, XP010503602 ISBN: 0-7803-5482-6 *
OLIVER M A ET AL: "OPERATIONS ON QUADTREE ENCODED IMAGES" COMPUTER JOURNAL, OXFORD UNIVERSITY PRESS, SURREY, GB, vol. 26, no. 1, 1 February 1983 (1983-02-01), pages 83-91, XP000601538 ISSN: 0010-4620 *
S ATEK, T VLADIMIROVA, P SWEENEY: "lossless compression for small satellite on-board imaging" 9TH INTERNATIONAL WORKSHOP ON SYSTEMS, SIGNALS AND IMAGE IWSSIP'02), 8 November 2002 (2002-11-08), pages 249-255, XP008057421 Manchester *
WIEGAND T (EDITOR): "N4920 Text of Final Committee Draft of Joint Video Specification (ITU-T Rec. H.264 ISO/IEC 14496 - 10AVC) - Annex C Hypothetical Reference Decoder" ISO/IEC JTC1/SC29/WG11 MPEG02/N4920, XX, XX, July 2002 (2002-07), pages 157-161, XP002321520 *

Cited By (146)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100750137B1 (en) 2005-11-02 2007-08-21 삼성전자주식회사 Method and apparatus for encoding and decoding image
KR101242013B1 (en) * 2006-10-10 2013-03-12 니폰덴신뎅와 가부시키가이샤 Intra prediction encoding control method and device, its program, and storage medium containing program
JPWO2008044658A1 (en) * 2006-10-10 2010-02-12 日本電信電話株式会社 INTRA PREDICTION ENCODING CONTROL METHOD AND DEVICE, ITS PROGRAM, AND STORAGE MEDIUM CONTAINING THE PROGRAM
US8228998B2 (en) 2006-10-10 2012-07-24 Nippon Telegraph And Telephone Corporation Intra prediction encoding control method and apparatus, program therefor, and storage medium which stores the program
TWI386064B (en) * 2006-10-10 2013-02-11 Nippon Telegraph & Telephone Intra prediction encoding control method and apparatus, program therefor, and storage medium for storing the program
WO2008044658A1 (en) * 2006-10-10 2008-04-17 Nippon Telegraph And Telephone Corporation Intra prediction encoding control method and device, its program, and storage medium containing program
JP2014140169A (en) * 2006-10-10 2014-07-31 Nippon Telegr & Teleph Corp <Ntt> Intra prediction encoding control method, intra prediction encoding controller, program of the same and recording medium in which program is recorded
JP2010515310A (en) * 2007-01-11 2010-05-06 華為技術有限公司 Method and apparatus for intraframe predictive encoding / decoding
WO2009036207A3 (en) * 2007-09-11 2009-05-14 Rgb Light Ltd Byte representation for enhanced image compression
WO2009036207A2 (en) * 2007-09-11 2009-03-19 Rgb Light Limited Byte representation for enhanced image compression
US8761253B2 (en) 2008-05-28 2014-06-24 Nvidia Corporation Intra prediction mode search scheme
US8831099B2 (en) 2008-12-17 2014-09-09 Nvidia Corporation Selecting a macroblock encoding mode by using raw data to compute intra cost
US9432674B2 (en) 2009-02-02 2016-08-30 Nvidia Corporation Dual stage intra-prediction video encoding system and method
US12120307B2 (en) 2009-07-01 2024-10-15 Interdigital Vc Holdings, Inc. Methods and apparatus for signaling intra prediction for large blocks for video encoders and decoders
US11082697B2 (en) 2009-07-01 2021-08-03 Interdigital Vc Holdings, Inc. Methods and apparatus for signaling intra prediction for large blocks for video encoders and decoders
US11936876B2 (en) 2009-07-01 2024-03-19 Interdigital Vc Holdings, Inc. Methods and apparatus for signaling intra prediction for large blocks for video encoders and decoders
RU2575868C2 (en) * 2009-08-13 2016-02-20 Самсунг Электроникс Ко., Лтд. Method and apparatus for image encoding and decoding using large transformation unit
US8842921B2 (en) 2009-08-13 2014-09-23 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
EP2866442A1 (en) * 2009-08-13 2015-04-29 Samsung Electronics Co., Ltd Method and apparatus for encoding and decoding image by using large transformation unit
US8204320B2 (en) 2009-08-13 2012-06-19 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
RU2543519C2 (en) * 2009-08-13 2015-03-10 Самсунг Электроникс Ко., Лтд. Method and apparatus for image encoding and decoding using large transformation unit
EP2890123A1 (en) * 2009-08-13 2015-07-01 Samsung Electronics Co., Ltd Method and apparatus for encoding and decoding image by using large transformation unit
US8971650B2 (en) 2009-08-13 2015-03-03 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
US8971649B2 (en) 2009-08-13 2015-03-03 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
US8515190B2 (en) 2009-08-13 2013-08-20 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
US8311348B2 (en) 2009-08-13 2012-11-13 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
EP3448039A1 (en) * 2009-08-13 2019-02-27 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
EP2629518A3 (en) * 2009-08-13 2013-12-18 Samsung Electronics Co., Ltd Method and apparatus for encoding and decoding image by using large transformation unit
EP2629526A3 (en) * 2009-08-13 2013-12-18 Samsung Electronics Co., Ltd Method and apparatus for encoding and decoding image by using large transformation unit
US8798381B2 (en) 2009-08-13 2014-08-05 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
WO2011019234A3 (en) * 2009-08-13 2011-06-23 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
US8792741B2 (en) 2009-08-13 2014-07-29 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
US8792737B2 (en) 2009-08-13 2014-07-29 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
AU2010283113B2 (en) * 2009-08-13 2014-07-03 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
EP3282696A1 (en) * 2009-08-13 2018-02-14 Samsung Electronics Co., Ltd. Method for decoding and apparatus for encoding images by using large transformation units
US9386325B2 (en) 2009-08-13 2016-07-05 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transformation unit
CN103220524A (en) * 2009-08-14 2013-07-24 三星电子株式会社 Method and apparatus for encoding video, and method and apparatus for decoding video
US9307238B2 (en) 2009-08-14 2016-04-05 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
EP2665267A3 (en) * 2009-08-14 2014-02-19 Samsung Electronics Co., Ltd Method and apparatus for encoding video, and method and apparatus for decoding video
EP2452494A4 (en) * 2009-08-14 2014-02-19 Samsung Electronics Co Ltd Method and apparatus for encoding video, and method and apparatus for decoding video
US8644385B2 (en) 2009-08-14 2014-02-04 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
US8634465B2 (en) 2009-08-14 2014-01-21 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
US8817877B2 (en) 2009-08-14 2014-08-26 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
RU2526861C2 (en) * 2009-08-14 2014-08-27 Самсунг Электроникс Ко., Лтд. Method and apparatus for encoding video based on scanning order of hierarchical encoding units, and method and apparatus for decoding video based on scanning order of hierarchical encoding units
US8824551B2 (en) 2009-08-14 2014-09-02 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
US8831097B2 (en) 2009-08-14 2014-09-09 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
US8831098B2 (en) 2009-08-14 2014-09-09 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
US8532185B2 (en) 2009-08-14 2013-09-10 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
US8526497B2 (en) 2009-08-14 2013-09-03 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
EP3101895A1 (en) * 2009-08-14 2016-12-07 Samsung Electronics Co., Ltd. Method for decoding video
US8842734B2 (en) 2009-08-14 2014-09-23 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
RU2597483C2 (en) * 2009-08-14 2016-09-10 Самсунг Электроникс Ко., Лтд. Method and apparatus for encoding video based on scanning order of hierarchical encoding units, and method and apparatus for decoding video based on scanning order of hierarchical encoding units
EP3267683A1 (en) * 2009-08-14 2018-01-10 Samsung Electronics Co., Ltd. Method and apparatus for encoding video
EP2804383A1 (en) * 2009-08-14 2014-11-19 Samsung Electronics Co., Ltd Method and apparatus for encoding video, and method and apparatus for decoding video
US8897363B2 (en) 2009-08-14 2014-11-25 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
WO2011019250A2 (en) 2009-08-14 2011-02-17 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
USRE48224E1 (en) 2009-08-14 2020-09-22 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
US8953682B2 (en) 2009-08-14 2015-02-10 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
US9374579B2 (en) 2009-08-14 2016-06-21 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
TWI563834B (en) * 2009-08-14 2016-12-21 Samsung Electronics Co Ltd Method and apparatus for encoding video, and method and apparatus for decoding video
US8472521B2 (en) 2009-08-14 2013-06-25 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
RU2582572C2 (en) * 2009-08-14 2016-04-27 Самсунг Электроникс Ко., Лтд. Method and apparatus for encoding video and method and apparatus for decoding video
US8374241B2 (en) 2009-08-14 2013-02-12 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
RU2582071C2 (en) * 2009-08-14 2016-04-20 Самсунг Электроникс Ко., Лтд. Method and apparatus for encoding video based on scanning order of hierarchical encoding units, and method and apparatus for decoding video based on scanning order of hierarchical encoding units
US8259803B2 (en) 2009-08-14 2012-09-04 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
US9313489B2 (en) 2009-08-14 2016-04-12 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
US9313490B2 (en) 2009-08-14 2016-04-12 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
EP2882188A3 (en) * 2009-08-14 2015-06-17 Samsung Electronics Co., Ltd Method and apparatus for encoding video, and method and apparatus for decoding video
EP2452494A2 (en) * 2009-08-14 2012-05-16 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
EP2863639A3 (en) * 2009-08-14 2015-07-08 Samsung Electronics Co., Ltd Method and apparatus for encoding video, and method and apparatus for decoding video
RU2579441C2 (en) * 2009-08-14 2016-04-10 Самсунг Электроникс Ко., Лтд. Method and apparatus for encoding video based on scanning order of hierarchical encoding units, and method and apparatus for decoding video based on scanning order of hierarchical encoding units
EP2665268A3 (en) * 2009-08-14 2014-02-19 Samsung Electronics Co., Ltd Method and apparatus for encoding video, and method and apparatus for decoding video
WO2011019253A3 (en) * 2009-08-14 2011-06-03 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
US9137536B2 (en) 2009-08-14 2015-09-15 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
WO2011019250A3 (en) * 2009-08-14 2011-06-03 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
EP3448026A1 (en) * 2009-08-14 2019-02-27 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and corresponding storage medium
CN104602013A (en) * 2009-10-01 2015-05-06 Sk电信有限公司 Video encoding apparatus and method
CN104602013B (en) * 2009-10-01 2017-10-31 Sk电信有限公司 Video coding apparatus and method
US9414055B2 (en) 2009-10-23 2016-08-09 Samsung Electronics Co., Ltd. Method and apparatus for encoding video and method and apparatus for decoding video, based on hierarchical structure of coding unit
EP2940997A1 (en) * 2009-10-23 2015-11-04 Samsung Electronics Co., Ltd Method and apparatus for encoding video and method and apparatus for decoding video, based on hierarchical structure of coding unit
EP3261344A1 (en) * 2009-10-23 2017-12-27 Samsung Electronics Co., Ltd Apparatus for decoding video, based on hierarchical structure of coding unit
WO2011049396A2 (en) 2009-10-23 2011-04-28 Samsung Electronics Co., Ltd. Method and apparatus for encoding video and method and apparatus for decoding video, based on hierarchical structure of coding unit
EP2940996A1 (en) * 2009-10-23 2015-11-04 Samsung Electronics Co., Ltd Method and apparatus for encoding video and method and apparatus for decoding video, based on hierarchical structure of coding unit
EP2897364A1 (en) * 2009-10-23 2015-07-22 Samsung Electronics Co., Ltd Method and apparatus for encoding video and method and apparatus for decoding video, based on hierarchical structure of coding unit
EP2489186A4 (en) * 2009-10-23 2015-07-08 Samsung Electronics Co Ltd Method and apparatus for encoding video and method and apparatus for decoding video, based on hierarchical structure of coding unit
EP2838267A3 (en) * 2009-10-23 2015-04-08 Samsung Electronics Co., Ltd Method and apparatus for encoding video and method and apparatus for decoding video, based on hierarchical structure of coding unit
US8971653B2 (en) 2010-01-14 2015-03-03 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transform unit
EP3468202A1 (en) * 2010-01-14 2019-04-10 Samsung Electronics Co., Ltd. Method for encoding an image by using a large transform unit
US8971654B2 (en) 2010-01-14 2015-03-03 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transform unit
EP3300371A1 (en) * 2010-01-14 2018-03-28 Samsung Electronics Co., Ltd. Method for encoding and decoding and apparatus for encoding an image by using a large transform unit
US10225551B2 (en) 2010-01-14 2019-03-05 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transform unit
US8923641B2 (en) 2010-01-14 2014-12-30 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transform unit
US8891893B2 (en) 2010-01-14 2014-11-18 Samsung Electronics Co. Ltd. Method and apparatus for encoding and decoding image by using large transform unit
US8885959B2 (en) 2010-01-14 2014-11-11 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transform unit
US9942549B2 (en) 2010-01-14 2018-04-10 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transform unit
WO2011087323A3 (en) * 2010-01-14 2011-11-10 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transform unit
US9584821B2 (en) 2010-01-14 2017-02-28 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transform unit
US8842927B2 (en) 2010-01-14 2014-09-23 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image by using large transform unit
US9100649B2 (en) 2010-02-10 2015-08-04 Lg Electronics Inc. Method and apparatus for processing a video signal
EP2547108A4 (en) * 2010-04-13 2014-07-02 Samsung Electronics Co Ltd Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with a tree structure
RU2676456C1 (en) * 2010-04-13 2018-12-28 Самсунг Электроникс Ко., Лтд. Method of coding video and video coding device using prediction blocks on basis of coding blocks defined in conformity with tree-shaped structure, and method for decoding video and video decoding device using units of predication on the basis of coding units defined in conformity with tree-like structure
US9565438B2 (en) 2010-04-13 2017-02-07 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with a tree structure
AU2015202094B2 (en) * 2010-04-13 2016-11-17 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
RU2612576C2 (en) * 2010-04-13 2017-03-09 Самсунг Электроникс Ко., Лтд. Video encoding method and video encoding apparatus and video decoding method and video decoding apparatus, performing deblocking filtration on basis of coding units of tree structure
US9654790B2 (en) 2010-04-13 2017-05-16 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
US9712822B2 (en) 2010-04-13 2017-07-18 Samsung Electronics Co., Ltd. Video encoding method and video encoding apparatus and video decoding method and video decoding apparatus, which perform deblocking filtering based on tree-structure encoding units
US9712823B2 (en) 2010-04-13 2017-07-18 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with a tree structure
US9485511B2 (en) 2010-04-13 2016-11-01 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
AU2017200713B2 (en) * 2010-04-13 2017-12-14 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
EP2547107A2 (en) * 2010-04-13 2013-01-16 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
RU2598586C2 (en) * 2010-04-13 2016-09-27 Самсунг Электроникс Ко., Лтд. Method of encoding video and device for encoding video based on coding units defined according to tree structure, and method of decoding video and device for decoding video based on coding units defined according to tree structure
RU2597471C2 (en) * 2010-04-13 2016-09-10 Самсунг Электроникс Ко., Лтд. Method of encoding video and device for encoding video based on coding units defined according to tree structure, and method of decoding video and device for decoding video based on coding units defined according to tree structure
RU2641243C1 (en) * 2010-04-13 2018-01-16 Самсунг Электроникс Ко., Лтд. Video encoding method and video encoding device for encoding video using prediction units based on encoding units defined according to tree structure and video decoding method and video decoding device based on coding units defined according to tree-like structure
EP2547108A2 (en) * 2010-04-13 2013-01-16 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with a tree structure
RU2647690C1 (en) * 2010-04-13 2018-03-16 Самсунг Электроникс Ко., Лтд. Method of video coding and video coding device with use of prediction blocks on the basis of coding units defined in accordance with the ancient structure, and the method of decoding video and decoding device with the use of prediction blocks on the basis of coding units defined in accordance with the ancient structure
EP2547107A4 (en) * 2010-04-13 2014-07-02 Samsung Electronics Co Ltd Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
US9936216B2 (en) 2010-04-13 2018-04-03 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with a tree structure
AU2011241283B2 (en) * 2010-04-13 2015-02-05 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
US9942564B2 (en) 2010-04-13 2018-04-10 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
US10027972B2 (en) 2010-04-13 2018-07-17 Samsung Electronics Co., Ltd. Video encoding method and video encoding apparatus and video decoding method and video decoding apparatus, which perform deblocking filtering based on tree-structure encoding units
RU2673712C1 (en) * 2010-04-13 2018-11-29 Самсунг Электроникс Ко., Лтд. Method for coding video and device for video coding on basis of coding units defined in accordance with tree-like structure, and method for decoding video and device for decoding video on basis of coding units defined in accordance with tree-like structure
US10432965B2 (en) 2010-04-13 2019-10-01 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
RU2608672C2 (en) * 2010-04-13 2017-01-23 Самсунг Электроникс Ко., Лтд. Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with tree structure
AU2018201344B2 (en) * 2010-04-13 2019-01-17 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus based on encoding units determined in accordance with a tree structure
US10412411B2 (en) 2010-04-13 2019-09-10 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with a tree structure
US10306262B2 (en) 2010-04-13 2019-05-28 Samsung Electronics Co., Ltd. Video encoding method and video encoding apparatus and video decoding method and video decoding apparatus, which perform deblocking filtering based on tree-structure encoding units
US9247247B2 (en) 2010-04-13 2016-01-26 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with a tree structure
AU2011241284B2 (en) * 2010-04-13 2015-05-07 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with a tree structure
EP2624557A4 (en) * 2010-09-30 2016-02-24 Samsung Electronics Co Ltd Video encoding method for encoding hierarchical-structure symbols and a device therefor, and video decoding method for decoding hierarchical-structure symbols and a device therefor
US9300957B2 (en) 2010-09-30 2016-03-29 Samsung Electronics Co., Ltd. Video encoding method for encoding hierarchical-structure symbols and a device therefor, and video decoding method for decoding hierarchical-structure symbols and a device therefor
US11943449B2 (en) 2011-01-13 2024-03-26 Nec Corporation Video decoding device, and video encoding method performing entropy-decoding process for inter prediction unit partition type syntax
US11582461B2 (en) 2011-01-13 2023-02-14 Nec Corporation Video encoding device, video decoding device, video encoding method, video decoding method, and program restricts inter-prediction unit partitions based on coding unit depth
US10841590B2 (en) 2011-01-13 2020-11-17 Nec Corporation Video decoding device, video decoding method, and program
US9848197B2 (en) 2011-03-10 2017-12-19 Qualcomm Incorporated Transforms in video coding
CN109036441B (en) * 2014-03-24 2023-06-06 杜比国际公司 Method and apparatus for applying dynamic range compression to high order ambisonics signals
CN109036441A (en) * 2014-03-24 2018-12-18 杜比国际公司 To the method and apparatus of high-order clear stereo signal application dynamic range compression
US11838738B2 (en) 2014-03-24 2023-12-05 Dolby Laboratories Licensing Corporation Method and device for applying Dynamic Range Compression to a Higher Order Ambisonics signal
US10257514B2 (en) 2014-07-24 2019-04-09 Huawei Technologies Co., Ltd. Adaptive dequantization method and apparatus in video coding
CN105338352A (en) * 2014-07-24 2016-02-17 华为技术有限公司 Adaptive dequantization method and device in video decoding
WO2016011796A1 (en) * 2014-07-24 2016-01-28 华为技术有限公司 Adaptive inverse-quantization method and apparatus in video coding
KR101607310B1 (en) 2014-10-29 2016-03-29 삼성전자주식회사 Method and apparatus for video encoding considering scanning order of coding units with hierarchical structure, and method and apparatus for video decoding considering scanning order of coding units with hierarchical structure
US10559093B2 (en) 2018-01-13 2020-02-11 Arm Limited Selecting encoding options
GB2571818B (en) * 2018-01-13 2022-04-27 Advanced Risc Mach Ltd Selecting encoding options
GB2571818A (en) * 2018-01-13 2019-09-11 Advanced Risc Mach Ltd Selecting encoding options
CN112351252A (en) * 2020-10-27 2021-02-09 重庆中星微人工智能芯片技术有限公司 Monitoring video coding and decoding device
CN112351252B (en) * 2020-10-27 2023-10-20 重庆中星微人工智能芯片技术有限公司 Monitoring video coding and decoding device

Also Published As

Publication number Publication date
EP1629437A2 (en) 2006-03-01
JP2007503784A (en) 2007-02-22
US20060251330A1 (en) 2006-11-09
HU0301368D0 (en) 2003-07-28
NO20055660D0 (en) 2005-11-30
US8086052B2 (en) 2011-12-27
HUP0301368A3 (en) 2005-09-28
KR20060027795A (en) 2006-03-28
CN1857001A (en) 2006-11-01
CA2526450A1 (en) 2004-12-02
NO20055660L (en) 2005-12-16
WO2004104930A3 (en) 2006-05-18
HUP0301368A2 (en) 2005-02-28
CN1857001B (en) 2011-12-21

Similar Documents

Publication Publication Date Title
US8086052B2 (en) Hybrid video compression method
US11240498B2 (en) Independently coding frame areas
US7471724B2 (en) Method and apparatus for adaptive multiple-dimensional signal sequences encoding/decoding
US4816914A (en) Method and apparatus for efficiently encoding and decoding image sequences
Westwater et al. Real-time video compression: techniques and algorithms
US20070025442A1 (en) Coding method for coding moving images
US6252905B1 (en) Real-time evaluation of compressed picture quality within a digital video encoder
AU2004223358B2 (en) Overcomplete basis transform-based motion residual frame coding method and apparatus for video compression
JP3703299B2 (en) Video coding method, system and computer program product for optimizing picture center image quality
KR100541623B1 (en) Prediction method and device with motion compensation
KR100961760B1 (en) Motion Estimation Method and Apparatus Which Refer to Discret Cosine Transform Coefficients
WO2011005105A1 (en) Computer implemented early skip
JP3964139B2 (en) Motion compensated adaptive image processing method and apparatus
CN115118976A (en) Image coding method, readable medium and electronic device thereof
EP1720356A1 (en) A frequency selective video compression
EP1841235A1 (en) Video compression by adaptive 2D transformation in spatial and temporal direction
JP2824222B2 (en) Video data compensation method and compensation device
CN116074539A (en) Image coding and decoding method and device
Koivusaari et al. Simplified three-dimensional discrete cosine transform-based video codec
Luts New Approaches and Methods of Adaptive Image Encoding
Choo et al. Interframe hierarchical vector quantization using hashing-based reorganized codebook
Young Software CODEC algorithms for desktop videoconferencing
Dutoit et al. How are digital images compressed in the web?
GB2401739A (en) Data compression
JP2004158946A (en) Moving picture coding method, its decoding method, and apparatus thereof

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200480020907.9

Country of ref document: CN

AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DPEN Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed from 20040101)
WWE Wipo information: entry into national phase

Ref document number: 2006251330

Country of ref document: US

Ref document number: 2526450

Country of ref document: CA

Ref document number: 10557440

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1020057022258

Country of ref document: KR

Ref document number: 2006530613

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 2490/KOLNP/2005

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2004734055

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 2004734055

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1020057022258

Country of ref document: KR

WWP Wipo information: published in national office

Ref document number: 10557440

Country of ref document: US