WO2008017209A1 - Methods for encoding a sequence of pictures and device implementing said method - Google Patents

Methods for encoding a sequence of pictures and device implementing said method Download PDF

Info

Publication number
WO2008017209A1
WO2008017209A1 PCT/CN2006/001963 CN2006001963W WO2008017209A1 WO 2008017209 A1 WO2008017209 A1 WO 2008017209A1 CN 2006001963 W CN2006001963 W CN 2006001963W WO 2008017209 A1 WO2008017209 A1 WO 2008017209A1
Authority
WO
WIPO (PCT)
Prior art keywords
block
coefficients
blocks
super
transformed
Prior art date
Application number
PCT/CN2006/001963
Other languages
French (fr)
Inventor
Quqing Chen
Xiaodong Gu
Zhibo Chen
Original Assignee
Thomson Licensing
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 Thomson Licensing filed Critical Thomson Licensing
Priority to US12/309,721 priority Critical patent/US20090304292A1/en
Priority to CN200680055536.7A priority patent/CN101501998A/en
Priority to EP06775285A priority patent/EP2047603A4/en
Priority to PCT/CN2006/001963 priority patent/WO2008017209A1/en
Priority to BRPI0621892-0A priority patent/BRPI0621892A2/en
Priority to JP2009523130A priority patent/JP2009545935A/en
Publication of WO2008017209A1 publication Critical patent/WO2008017209A1/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/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • 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/129Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
    • 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/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

Definitions

  • the invention relates to a method for encoding a sequence of pictures. It also relates to the encoding device implementing this method.
  • the transforming step is often preceded by a prediction step.
  • the blocks of residuals are transformed into transformed blocks of coefficients usually by applying a DCT (discrete cosine transform) or a simplified integer transform. While the residuals are in the spatial domain, the coefficients are in the frequency domain.
  • the transforming step is often followed by a quantization step in order to get blocks of quantized coefficients. The quantized coefficients are then entropy coded to further remove the statistical redundancy within the coefficients.
  • the words "transformed block” means either a block that has been simply transformed or a block that has been transformed and quantized.
  • each transformed block is usually scanned before entropy coding according to a zig-zag pattern as depicted on figure 1 for one block of 4 by 4 coefficients.
  • this scanning pattern low frequency coefficients which have higher energy are scanned first while coefficients with lower energy, i.e. high frequency coefficients are scanned last.
  • the zig-zag pattern thus rearranges the coefficients within a transformed block in a list of coefficients from up-left coefficients to bottom-right coefficients.
  • the entropy coding step benefits from this scanning pattern since, statistically, more zero coefficients are located at the end of the list and are therefore not coded.
  • the invention relates to a method for encoding a plurality of non overlapping blocks in a picture.
  • the method comprises the steps of :
  • the encoding method allows to save bits when encoding a given sequence of pictures by scanning the coefficients more efficiently. More particularly, by scanning coefficients across multiple transformed blocks more statistical redundancy is removed.
  • the predefined transform applied to each block of the super-block is such that the lowest frequency coefficients are located in the center of the super-block while the highest frequency coefficients are located on the outer side of the super-block.
  • the same predefined transform is applied to each block of the super-block and the transforming step is followed by a transposing step for rearranging the coefficients within the super-block so that the lowest frequency coefficients are located in the center of the super- block while the highest frequency coefficients are located on the outer side of the super-block.
  • the scanning pattern is a spiral pattern.
  • the predefined transform is a discrete cosinus transform and the super-block is made up of two lines of two blocks.
  • the invention also relates to a device for encoding a sequence of pictures divided into non overlapping blocks comprising :
  • - entropy coding means for encoding the scanned coefficients into an entropy coded group of bits.
  • the scanning means are adapted to scan the coefficients across at least two neighboring transformed blocks from the lowest frequency to the highest frequency according to a predefined scanning pattern.
  • the invention concerns a bitstream of MPEG type.
  • the bitstream comprises at least one bit indicating whether the size of the predefined scanning pattern used for the encoding of at least a portion of an image is larger than the size of a transformed block or whether the size of the predefined scanning pattern equals the size of a transformed block.
  • the bitstream comprises at least one bit indicating whether the size of the predefined scanning pattern used for the encoding of a group of images is larger than the size of a transformed block or whether the size of the predefined scanning pattern equals the size of the transformed block.
  • FIG. 1 depicts a scanning pattern for a block of 4 by 4 pixels according to the state of art
  • FIG. 2 depicts a super-block made up of two lines of two blocks of 4 by 4 pixels
  • - Figure 3 depicts the transposition of a top left 4 by 4 pixels block of a super-block made up of two lines of two blocks of 4 by 4 pixels according to the invention
  • - Figure 4 depicts the transposition of a top right 4 by 4 pixels block of a super-block made up of two lines of two blocks of 4 by 4 pixels according to the invention
  • FIG. 5 depicts the transposition of a bottom left 4 by 4 pixels block of a super-block made up of two lines of two blocks of 4 by 4 pixels according to the invention
  • Figure 6 depicts a super-block whose coefficients have been rearranged according to the invention
  • FIG. 8 depicts a second spiral like scanning pattern according to the invention.
  • FIG. 9 depicts a third spiral like scanning pattern according to the invention.
  • FIG. 10 depicts a fourth spiral like scanning pattern according to the invention.
  • FIG. 11 depicts a fifth spiral like scanning pattern according to the invention.
  • FIG. 12 depicts a sixth spiral like scanning pattern according to the invention.
  • FIG. 13 depicts a seventh spiral like scanning pattern according to the invention.
  • FIG. 14 depicts an eighth spiral like scanning pattern according to the invention.
  • Figure 15 depicts a scanning pattern according to the invention
  • Figure 16 depicts a flowchart of an encoding method according to a first embodiment of the invention
  • FIG. 17 depicts a flowchart of an encoding method according to a second embodiment of the invention.
  • FIG. 18 depicts a flowchart of an encoding method according to a third embodiment of the invention.
  • FIG. 19 depicts a flowchart of a decoding method according to one embodiment of the invention
  • FIG. 20 depicts an encoding device according to the invention.
  • FIG. 21 depicts a decoding device according to the invention.
  • the transforming step is applied to each block of 8 by 8 pixels and the entropy coding step is then applied to each transformed block of 8 by 8 coefficients.
  • the transforming step is applied to each block of 4 by 4 pixels and the entropy coding step is then applied to each transformed block of 4 by 4 coefficients.
  • the entropy coding step is performed on a super-block made up of least two neighboring transformed blocks. Therefore, the entropy coding step is improved and so the compression efficiency.
  • the coefficients are therefore scanned across transformed blocks as depicted on figures 7 to 14 for four neighboring transformed blocks A, B, C and D.
  • the method depicted on figure 16 comprises the following steps, applied to a super-block:
  • a quantization step 30, if any, is applied after the transposing step as depicted on figure 16 or before the transposing step as depicted on figure 17.
  • each block of the super-block are transformed and transposed in a single step 11 by applying directly to each block a dedicated transposed transform M 1 so that the generated coefficients are located directly at the right place in the super- block according to figure 7, i.e. so that the lowest frequency coefficients are gathered in the center of the super-block while the highest frequency coefficients are located on the outer side of the super-block.
  • a super-block is made up of four transformed blocks as depicted on figure 2: a first transformed block A (up-left block), a second transformed block B (up-right block), a third transformed block C (bottom-left block) and a fourth transformed block D (bottom-right block).
  • a first transformed block A up-left block
  • a second transformed block B up-right block
  • a third transformed block C bottom-left block
  • a fourth transformed block D bottom-right block.
  • the zig-zag pattern according to the state of art is also depicted.
  • blocks A, B, and C are transposed (step 20) while the block D remain unchanged.
  • the transposition of coefficients in block A depicted on figure 3 is centro-symmetric.
  • the transposition of coefficients in block B depicted on figure 4 consists in exchanging first and fourth rows and in exchanging second and third rows.
  • the transposition of coefficients in block C depicted on figure 5 consists in exchanging first and fourth columns and in exchanging second and third columns. After the transposing step 20, the lowest frequency coefficients of the four blocks A, B, C and D are gathered in the center of the super-block while the highest frequency coefficients are located on the outer side of the super-block as depicted on figure 6.
  • the coefficients within a super- block are scanned (step 40) according to a spiral scanning pattern from the lowest frequency coefficients to the highest frequency coefficients as depicted on figures 7 to 14.
  • the process is applied separately to the luminance and chrominance blocks.
  • the coefficients are not explicitly transposed.
  • the coefficients of figure 2, i.e. after the transforming step 10, are scanned within the super-block according to a scanning pattern as the one of figure 15 so that the lowest frequency coefficients are scanned first and the highest frequency coefficients are scanned at the end.
  • numbers are used instead of arrows to indicate the scanning order of the coefficients after the transforming step 10.
  • the invention includes any spiral like scanning patterns covering more than one transformed block starting from the lowest frequency coefficients and ending with the highest frequency coefficients. Therefore, the spiral pattern can turn in the clockwise direction as depicted on figures 7 to 8, can turn in the anti-clockwise direction or partly in the clockwise direction and partly in the anticlockwise direction as depicted on figure 9.
  • the scanning pattern can also have a different priority between the vertical and the horizontal direction.
  • the scanning pattern for coding interlace sequence of pictures can put higher priority on the vertical direction in order to improve the coding efficiency since higher correlation exits between coefficient along the horizontal direction as depicted on figure 10 where, for sake of clarity, the numbers are used instead of arrows to indicate the scanning order of the coefficients after the transposing step 20.
  • the invention described for block of 4 by 4 pixels may be applied to blocks of 8 by 8 pixels, or even larger blocks.
  • the super-block may also comprise more than 4 blocks. The only constraint is that the super-block is larger than the transformed blocks.
  • the scanning pattern is modified when some of the blocks within the super-block are all-zero blocks, i.e. when all their coefficients equal zero. For example, if transformed blocks A and D are all-zero blocks, then the scanning pattern depicted on figure 7 is changed to the scanning pattern depicted on figure 11 , i.e. the coefficients of blocks A and D are skipped during the scanning step 40.
  • This modified scanning pattern allows saving more bits since the zero coefficients of these two blocks are no longer coded.
  • Another example of modified scanning pattern is depicted on figure 12. This modified scanning pattern is advantageously used when transformed blocks C and D are all-zero blocks.
  • Figures 13 and 14 depict modified scanning pattern when B and C are all-zero blocks and when B and D are all-zero blocks respectively.
  • the sequence of pictures is encoded using both the transposed transform with the spiral-like scanning pattern and the traditional transform with the traditional scanning pattern, the choice being made at the macroblock, slice, picture or GOP (GOP stands for Group Of Pictures) level.
  • GOP Group Of Pictures
  • one or more bits are inserted in the bitstream in order to indicate whether the scanning step 40 is applied to super-blocks larger than the transformed blocks or whether the scanning step 40 is applied to each transformed blocks. More particularly one or more bits is(are) inserted to indicate whether the traditional transform and the scanning pattern are used or if the transposed transform and the scanning pattern according to the invention are used to encode the picture data.
  • This bit(s) is(are) inserted at the macroblock, slice, picture or GOP level and therefore the switching from one transform/scanning solution to the other is performed at the macroblock, slice, picture or GOP level respectively.
  • This choice is done by an encoding device based for example on a rate-distortion criterion.
  • the invention also relates to a decoding method depicted on figure 19.
  • This method is adapted to decode a group of bits generated by the encoding method according to the invention.
  • the decoding method comprises the steps of:
  • the decoding method also comprises a step 90 for de-quantizing the coefficients.
  • This step 90 is applied either before the transposing step 80 or after the transposing step 80.
  • the invention also relates to an encoding device 1 depicted on figure 20 that implements the method according to the invention.
  • the coding device comprises:
  • module 100 for transforming and possibly quantizing the blocks of pixels in transformed blocks
  • the module 110 is not required if the coefficients are not explicitly transposed and are directly scanned according to the scanning pattern of figure 15.
  • the encoding device may further comprise:
  • module 160 for reconstructing the blocks of residuals R' n , said module performing an inverse transform and possibly dequantizing the coefficients;
  • the invention relates to a decoding device 2 as depicted on figure 21.
  • the decoding device 2 is adapted to decode groups of bits generated by the encoding device 1 and implements the decoding method according to the invention.
  • the decoding device 2 comprises:
  • module 200 for decoding a group of bits in a set of coefficients in the frequency domain
  • modules represented are functional units, which may or may not correspond to physically distinguishable units. For example, these modules or some of them may be grouped together in a single component, or constitute functionalities of one and the same software. A contrario, certain modules may possibly be composed of separate physical entities.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention relates to a method for encoding a plurality of non overlapping blocks in a picture. The method comprises the steps of: - transforming (10) each of the blocks into a transformed block of coefficients in the frequency domain by applying a predefined transform; - scanning (40) the coefficients of at least two neighboring transformed blocks jointly from the lowest frequency to the highest frequency according to a predefined scanning pattern, the group of at least two neighboring transformed blocks being called super-block; and - entropy coding (50) the scanned coefficients of the super-block into an entropy coded group of bits.

Description

METHODS FOR ENCODING A SEQUENCE OF PICTURES AND DEVICE IMPLEMENTING SAID METHOD
1. Field of the invention
The invention relates to a method for encoding a sequence of pictures. It also relates to the encoding device implementing this method.
2. Background of the invention
Most of the methods for encoding a sequence of pictures divided in non overlapping blocks of pixels comprise the following steps, for each block:
- transforming the block into a transformed block of coefficients by applying a predefined transform;
- scanning the coefficients of the transformed block according to a zig-zag pattern; and
- entropy coding the scanned coefficients of the transformed block into an entropy coded group of bits.
The transforming step is often preceded by a prediction step. After the prediction step, the blocks of residuals are transformed into transformed blocks of coefficients usually by applying a DCT (discrete cosine transform) or a simplified integer transform. While the residuals are in the spatial domain, the coefficients are in the frequency domain. The transforming step is often followed by a quantization step in order to get blocks of quantized coefficients. The quantized coefficients are then entropy coded to further remove the statistical redundancy within the coefficients. In the sequel, the words "transformed block" means either a block that has been simply transformed or a block that has been transformed and quantized. The coefficients of each transformed block are usually scanned before entropy coding according to a zig-zag pattern as depicted on figure 1 for one block of 4 by 4 coefficients. According to this scanning pattern low frequency coefficients which have higher energy are scanned first while coefficients with lower energy, i.e. high frequency coefficients are scanned last. The zig-zag pattern thus rearranges the coefficients within a transformed block in a list of coefficients from up-left coefficients to bottom-right coefficients. The entropy coding step benefits from this scanning pattern since, statistically, more zero coefficients are located at the end of the list and are therefore not coded.
3. Summary of the invention
The invention relates to a method for encoding a plurality of non overlapping blocks in a picture. The method comprises the steps of :
- transforming each of the blocks into a transformed block of coefficients in the frequency domain by applying a predefined transform;
- scanning the coefficients across at least two neighboring transformed blocks from the lowest frequency to the highest frequency according to a predefined scanning pattern, the group of two neighboring transformed blocks being called super-block; and
- entropy coding the scanned coefficients of the super-block into an entropy coded group of bits.
Advantageously, the encoding method allows to save bits when encoding a given sequence of pictures by scanning the coefficients more efficiently. More particularly, by scanning coefficients across multiple transformed blocks more statistical redundancy is removed.
According to one embodiment, the predefined transform applied to each block of the super-block is such that the lowest frequency coefficients are located in the center of the super-block while the highest frequency coefficients are located on the outer side of the super-block.
According to another embodiment, the same predefined transform is applied to each block of the super-block and the transforming step is followed by a transposing step for rearranging the coefficients within the super-block so that the lowest frequency coefficients are located in the center of the super- block while the highest frequency coefficients are located on the outer side of the super-block.
According to a specific characteristic, the scanning pattern is a spiral pattern. According to other characteristics, the predefined transform is a discrete cosinus transform and the super-block is made up of two lines of two blocks. The invention also relates to a device for encoding a sequence of pictures divided into non overlapping blocks comprising :
- means for transforming each of the blocks into a transformed block of coefficients in the frequency domain by applying a predefined transform;
- means for scanning the coefficients; and
- entropy coding means for encoding the scanned coefficients into an entropy coded group of bits.
According to one embodiment, the scanning means are adapted to scan the coefficients across at least two neighboring transformed blocks from the lowest frequency to the highest frequency according to a predefined scanning pattern.
The invention concerns a bitstream of MPEG type. According to a first embodiment, the bitstream comprises at least one bit indicating whether the size of the predefined scanning pattern used for the encoding of at least a portion of an image is larger than the size of a transformed block or whether the size of the predefined scanning pattern equals the size of a transformed block. According to another embodiment, the bitstream comprises at least one bit indicating whether the size of the predefined scanning pattern used for the encoding of a group of images is larger than the size of a transformed block or whether the size of the predefined scanning pattern equals the size of the transformed block.
4. Brief description of the drawings
Other features and advantages of the invention will appear with the following description of some of its embodiments, this description being made in connection with the drawings in which:
- Figure 1 depicts a scanning pattern for a block of 4 by 4 pixels according to the state of art;
- Figure 2 depicts a super-block made up of two lines of two blocks of 4 by 4 pixels;
- Figure 3 depicts the transposition of a top left 4 by 4 pixels block of a super-block made up of two lines of two blocks of 4 by 4 pixels according to the invention; - Figure 4 depicts the transposition of a top right 4 by 4 pixels block of a super-block made up of two lines of two blocks of 4 by 4 pixels according to the invention;
- Figure 5 depicts the transposition of a bottom left 4 by 4 pixels block of a super-block made up of two lines of two blocks of 4 by 4 pixels according to the invention;
Figure 6 depicts a super-block whose coefficients have been rearranged according to the invention;
- Figure 7 depicts a first spiral like scanning pattern according to the invention;
- Figure 8 depicts a second spiral like scanning pattern according to the invention;
- Figure 9 depicts a third spiral like scanning pattern according to the invention;
- Figure 10 depicts a fourth spiral like scanning pattern according to the invention; and
- Figure 11 depicts a fifth spiral like scanning pattern according to the invention;
- Figure 12 depicts a sixth spiral like scanning pattern according to the invention;
- Figure 13 depicts a seventh spiral like scanning pattern according to the invention;
- Figure 14 depicts an eighth spiral like scanning pattern according to the invention;
- Figure 15 depicts a scanning pattern according to the invention; Figure 16 depicts a flowchart of an encoding method according to a first embodiment of the invention;
- Figure 17 depicts a flowchart of an encoding method according to a second embodiment of the invention;
- Figure 18 depicts a flowchart of an encoding method according to a third embodiment of the invention;
- Figure 19 depicts a flowchart of a decoding method according to one embodiment of the invention; - Figure 20 depicts an encoding device according to the invention; and
- Figure 21 depicts a decoding device according to the invention.
5. Detailed description of preferred embodiments
In MPEG-2 video coding standard, the transforming step is applied to each block of 8 by 8 pixels and the entropy coding step is then applied to each transformed block of 8 by 8 coefficients. In H.264/AVC baseline profile, main profile and extended profile, the transforming step is applied to each block of 4 by 4 pixels and the entropy coding step is then applied to each transformed block of 4 by 4 coefficients. These encoding methods separate the statistical correlation between different neighboring transformed blocks and hence limit a further improvement of the coding efficiency of the entropy coding step.
To this aim, according to the invention, the entropy coding step is performed on a super-block made up of least two neighboring transformed blocks. Therefore, the entropy coding step is improved and so the compression efficiency. The coefficients are therefore scanned across transformed blocks as depicted on figures 7 to 14 for four neighboring transformed blocks A, B, C and D. In the following detailed description of the embodiments, reference is made to the accompanying drawings that show, by way of illustration, specific embodiments in which the invention may be practiced. On these figures similar elements (steps or modules) are given the same reference numbers.
According to a preferred embodiment, the method depicted on figure 16 comprises the following steps, applied to a super-block:
- transforming 10 each of the blocks of the super-block into a transformed block of coefficients in the frequency domain by applying a predefined transform M;
- transposing 20 each of the blocks of coefficients if needed so that the lowest frequency coefficients are gathered in the center of the super-block while the highest frequency coefficients are located on the outer side of the super-block; and
- scanning 40 the coefficients of said super-block according to a spiral pattern as depicted on figure 7 starting from the center of the super-block with the lowest frequency coefficients to the outer side of the super-block with the highest frequency coefficients; and
- entropy coding 50 the scanned coefficients of said super-block into an entropy coded group of bits.
A quantization step 30, if any, is applied after the transposing step as depicted on figure 16 or before the transposing step as depicted on figure 17.
According to another embodiment depicted on figure 18, each block of the super-block are transformed and transposed in a single step 11 by applying directly to each block a dedicated transposed transform M1 so that the generated coefficients are located directly at the right place in the super- block according to figure 7, i.e. so that the lowest frequency coefficients are gathered in the center of the super-block while the highest frequency coefficients are located on the outer side of the super-block.
According to a specific embodiment a super-block is made up of four transformed blocks as depicted on figure 2: a first transformed block A (up-left block), a second transformed block B (up-right block), a third transformed block C (bottom-left block) and a fourth transformed block D (bottom-right block). On this figure the zig-zag pattern according to the state of art is also depicted. To gather the lowest frequency coefficients of each block in the center of the super-block, blocks A, B, and C are transposed (step 20) while the block D remain unchanged. The transposition of coefficients in block A depicted on figure 3 is centro-symmetric. The transposition of coefficients in block B depicted on figure 4 consists in exchanging first and fourth rows and in exchanging second and third rows. The transposition of coefficients in block C depicted on figure 5 consists in exchanging first and fourth columns and in exchanging second and third columns. After the transposing step 20, the lowest frequency coefficients of the four blocks A, B, C and D are gathered in the center of the super-block while the highest frequency coefficients are located on the outer side of the super-block as depicted on figure 6.
According to a preferred embodiment, the coefficients within a super- block are scanned (step 40) according to a spiral scanning pattern from the lowest frequency coefficients to the highest frequency coefficients as depicted on figures 7 to 14. The process is applied separately to the luminance and chrominance blocks. According to another embodiment the coefficients are not explicitly transposed. The coefficients of figure 2, i.e. after the transforming step 10, are scanned within the super-block according to a scanning pattern as the one of figure 15 so that the lowest frequency coefficients are scanned first and the highest frequency coefficients are scanned at the end. On this figure, for sake of clarity, numbers are used instead of arrows to indicate the scanning order of the coefficients after the transforming step 10.
More generally, the invention includes any spiral like scanning patterns covering more than one transformed block starting from the lowest frequency coefficients and ending with the highest frequency coefficients. Therefore, the spiral pattern can turn in the clockwise direction as depicted on figures 7 to 8, can turn in the anti-clockwise direction or partly in the clockwise direction and partly in the anticlockwise direction as depicted on figure 9. The scanning pattern can also have a different priority between the vertical and the horizontal direction. For example, the scanning pattern for coding interlace sequence of pictures can put higher priority on the vertical direction in order to improve the coding efficiency since higher correlation exits between coefficient along the horizontal direction as depicted on figure 10 where, for sake of clarity, the numbers are used instead of arrows to indicate the scanning order of the coefficients after the transposing step 20. The invention described for block of 4 by 4 pixels may be applied to blocks of 8 by 8 pixels, or even larger blocks. Besides the super-block may also comprise more than 4 blocks. The only constraint is that the super-block is larger than the transformed blocks.
According to another aspect of the invention, the scanning pattern is modified when some of the blocks within the super-block are all-zero blocks, i.e. when all their coefficients equal zero. For example, if transformed blocks A and D are all-zero blocks, then the scanning pattern depicted on figure 7 is changed to the scanning pattern depicted on figure 11 , i.e. the coefficients of blocks A and D are skipped during the scanning step 40. This modified scanning pattern allows saving more bits since the zero coefficients of these two blocks are no longer coded. Another example of modified scanning pattern is depicted on figure 12. This modified scanning pattern is advantageously used when transformed blocks C and D are all-zero blocks. Figures 13 and 14 depict modified scanning pattern when B and C are all-zero blocks and when B and D are all-zero blocks respectively.
According to a preferred embodiment, the sequence of pictures is encoded using both the transposed transform with the spiral-like scanning pattern and the traditional transform with the traditional scanning pattern, the choice being made at the macroblock, slice, picture or GOP (GOP stands for Group Of Pictures) level. To this aim one or more bits are inserted in the bitstream in order to indicate whether the scanning step 40 is applied to super-blocks larger than the transformed blocks or whether the scanning step 40 is applied to each transformed blocks. More particularly one or more bits is(are) inserted to indicate whether the traditional transform and the scanning pattern are used or if the transposed transform and the scanning pattern according to the invention are used to encode the picture data. This bit(s) is(are) inserted at the macroblock, slice, picture or GOP level and therefore the switching from one transform/scanning solution to the other is performed at the macroblock, slice, picture or GOP level respectively. This choice is done by an encoding device based for example on a rate-distortion criterion.
The invention also relates to a decoding method depicted on figure 19. This method is adapted to decode a group of bits generated by the encoding method according to the invention. The decoding method comprises the steps of:
- decoding 60 at least one group of bits in a set of coefficients in the frequency domain;
- rearranging 70 the coefficients in blocks of coefficients by reversing the process of step 40 of the encoding method;
- transposing 80 the coefficients in order to reverse the process of the transposing step 20 of the encoding method; and
- transforming 100 said blocks of coefficients by applying an inverse transform M"1.
According to another embodiment the decoding method also comprises a step 90 for de-quantizing the coefficients. This step 90 is applied either before the transposing step 80 or after the transposing step 80. The invention also relates to an encoding device 1 depicted on figure 20 that implements the method according to the invention. The coding device comprises:
- a module 100 for transforming and possibly quantizing the blocks of pixels in transformed blocks;
- a module 110 for transposing the transformed blocks of coefficients;
- a module 120 for scanning the coefficients according to the invention;
- and a module 130 for entropy coding the scanned coefficients according to the invention.
The module 110 is not required if the coefficients are not explicitly transposed and are directly scanned according to the scanning pattern of figure 15. The encoding device may further comprise:
- an intra/inter prediction module 140 for computing prediction blocks P used for computing blocks of residuals Rn ;
- a module 150 for estimating motion vectors, said motion vectors being used by the prediction module 140; and
- a module 160 for reconstructing the blocks of residuals R'n, said module performing an inverse transform and possibly dequantizing the coefficients; and
- a memory 170 for storing the reconstructed blocks Tn.
The invention relates to a decoding device 2 as depicted on figure 21. The decoding device 2 is adapted to decode groups of bits generated by the encoding device 1 and implements the decoding method according to the invention. The decoding device 2 comprises:
- a module 200 for decoding a group of bits in a set of coefficients in the frequency domain;
- a module 210 for rearranging the coefficients in blocks of coefficients by reversing the process of step 40 of the encoding method; and
- a module for transposing 220 the coefficients in order to reverse the process of the transposing step 20 of the encoding method;
- a module 230 for transforming said blocks of coefficients by applying an inverse transform M"1 and possibly for de-quantizing the coefficients. In figures 20 and 21 , the modules represented are functional units, which may or may not correspond to physically distinguishable units. For example, these modules or some of them may be grouped together in a single component, or constitute functionalities of one and the same software. A contrario, certain modules may possibly be composed of separate physical entities.

Claims

Claims
1. Method for encoding a plurality of non overlapping blocks in a picture, characterized in that it comprises the steps of :
- transforming (10) each of said blocks into a transformed block of coefficients in the frequency domain by applying a predefined transform;
- scanning (40) said coefficients across at least two neighboring transformed blocks from the lowest frequency to the highest frequency according to a predefined scanning pattern, said group of at least two neighboring transformed blocks being called super-block; and
- entropy coding (50) said scanned coefficients of said super-block into an entropy coded group of bits.
2. Method according to claim 1 , wherein the predefined transform applied to each block of said super-block (11) is such that the lowest frequency coefficients are located in the center of the super-block while the highest frequency coefficients are located on the outer side of said super-block.
3. Method according to claim 1 , wherein the same predefined transform is applied to each block of said super-block and wherein the transforming step (10) is followed by a transposing step (20) for rearranging the coefficients within said super-block so that the lowest frequency coefficients are located in the center of said super-block while the highest frequency coefficients are located on the outer side of said super-block.
4. Method according to claim 2 or 3, wherein the scanning pattern is a spiral pattern.
5. Method according to claim 4, wherein the predefined transform is a discrete cosinus transform.
6. Method according to any of claims 1 to 5, wherein said super-block is made up of two lines of two blocks.
7. Device (1) for encoding a sequence of pictures divided into non overlapping blocks comprising :
- means for transforming (100) each of said blocks into a transformed block of coefficients in the frequency domain by applying a predefined transform;
- means for scanning (120) said coefficients; and
- entropy coding means (130) for encoding said scanned coefficients into an entropy coded group of bits ; characterized in that said scanning means (120) are adapted to scan the coefficients across at least two neighboring transformed blocks from the lowest frequency to the highest frequency according to a predefined scanning pattern.
8. Bitstream of MPEG type wherein said bitstream comprises at least one bit indicating whether the size of the predefined scanning pattern used for the encoding of at least a portion of an image is larger than the size of a transformed block or whether said size of the predefined scanning pattern equals the size of the transformed block.
9. Bitstream of MPEG type wherein said bitstream comprises at least one bit indicating whether the size of the predefined scanning pattern used for the encoding of a group of images is larger than the size of a transformed block or whether said size of the predefined scanning pattern equals the size of the transformed block.
PCT/CN2006/001963 2006-08-04 2006-08-04 Methods for encoding a sequence of pictures and device implementing said method WO2008017209A1 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
US12/309,721 US20090304292A1 (en) 2006-08-04 2006-08-04 Encoding and decoding methods, devices implementing said methods and bitstream
CN200680055536.7A CN101501998A (en) 2006-08-04 2006-08-04 Methods for encoding a sequence of pictures and device implementing said method
EP06775285A EP2047603A4 (en) 2006-08-04 2006-08-04 Methods for encoding a sequence of pictures and device implementing said method
PCT/CN2006/001963 WO2008017209A1 (en) 2006-08-04 2006-08-04 Methods for encoding a sequence of pictures and device implementing said method
BRPI0621892-0A BRPI0621892A2 (en) 2006-08-04 2006-08-04 methods for encoding a sequence of images and device implementing said method
JP2009523130A JP2009545935A (en) 2006-08-04 2006-08-04 Encoding and decoding method, apparatus for executing the method, and bitstream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2006/001963 WO2008017209A1 (en) 2006-08-04 2006-08-04 Methods for encoding a sequence of pictures and device implementing said method

Publications (1)

Publication Number Publication Date
WO2008017209A1 true WO2008017209A1 (en) 2008-02-14

Family

ID=39032608

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/001963 WO2008017209A1 (en) 2006-08-04 2006-08-04 Methods for encoding a sequence of pictures and device implementing said method

Country Status (6)

Country Link
US (1) US20090304292A1 (en)
EP (1) EP2047603A4 (en)
JP (1) JP2009545935A (en)
CN (1) CN101501998A (en)
BR (1) BRPI0621892A2 (en)
WO (1) WO2008017209A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9648325B2 (en) * 2007-06-30 2017-05-09 Microsoft Technology Licensing, Llc Video decoding implementations for a graphics processing unit
US10992958B2 (en) 2010-12-29 2021-04-27 Qualcomm Incorporated Video coding using mapped transforms and scanning modes
KR101605173B1 (en) * 2012-04-20 2016-03-21 후아웨이 테크놀러지 컴퍼니 리미티드 Method for processing an image
US10602147B2 (en) * 2018-07-10 2020-03-24 Samsung Display Co., Ltd. Efficient entropy coding group grouping methodology for transform mode
US10863179B1 (en) * 2018-09-05 2020-12-08 Amazon Technologies, Inc. Overlapped rate control for high-quality segmented video encoding
US11792824B2 (en) * 2020-03-30 2023-10-17 Qualcomm Incorporated Multicast feedback and retransmission for transport block grouping

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005001771A1 (en) * 2003-06-30 2005-01-06 Koninklijke Philips Electronics N.V. Method of encoding a signal into a bit stream
US20050068208A1 (en) * 2003-09-07 2005-03-31 Microsoft Corporation Scan patterns for progressive video content
US20050078754A1 (en) * 2003-09-07 2005-04-14 Microsoft Corporation Scan patterns for interlaced video content
JP2006042371A (en) * 2005-08-01 2006-02-09 Sony Corp Image recording and reproducing apparatus and image reproducing apparatus

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0832039B2 (en) * 1989-08-19 1996-03-27 日本ビクター株式会社 Variable length coding method and apparatus thereof
JPH06205388A (en) * 1992-12-28 1994-07-22 Canon Inc Picture coder
US6192081B1 (en) * 1995-10-26 2001-02-20 Sarnoff Corporation Apparatus and method for selecting a coding mode in a block-based coding system
KR100196838B1 (en) * 1995-12-23 1999-06-15 전주범 Apparatus for encoding an image signal according to correlation of blocks
US6023296A (en) * 1997-07-10 2000-02-08 Sarnoff Corporation Apparatus and method for object based rate control in a coding system
KR100382516B1 (en) * 1999-01-15 2003-05-01 주식회사 팬택앤큐리텔 Object-based image signal coding/decoding apparatus and method
US7933407B2 (en) * 2001-04-11 2011-04-26 Nice Systems Ltd. Digital video protection for authenticity verification
KR100846778B1 (en) * 2002-07-16 2008-07-16 삼성전자주식회사 Coding and decoding method and apparatus using plural scanning patterns
WO2004008757A1 (en) * 2002-07-16 2004-01-22 Thomson Licensing S.A. Interleaving of base and enhancement layers for hd-dvd
US20050036549A1 (en) * 2003-08-12 2005-02-17 Yong He Method and apparatus for selection of scanning mode in dual pass encoding
JP4855417B2 (en) * 2005-11-30 2012-01-18 シャープ株式会社 Video encoding device, video decoding device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005001771A1 (en) * 2003-06-30 2005-01-06 Koninklijke Philips Electronics N.V. Method of encoding a signal into a bit stream
US20050068208A1 (en) * 2003-09-07 2005-03-31 Microsoft Corporation Scan patterns for progressive video content
US20050078754A1 (en) * 2003-09-07 2005-04-14 Microsoft Corporation Scan patterns for interlaced video content
JP2006042371A (en) * 2005-08-01 2006-02-09 Sony Corp Image recording and reproducing apparatus and image reproducing apparatus

Also Published As

Publication number Publication date
EP2047603A1 (en) 2009-04-15
US20090304292A1 (en) 2009-12-10
CN101501998A (en) 2009-08-05
EP2047603A4 (en) 2011-06-08
BRPI0621892A2 (en) 2011-12-20
JP2009545935A (en) 2009-12-24

Similar Documents

Publication Publication Date Title
JP3118237B1 (en) Picture prediction decoding method
JP4308138B2 (en) Context-based adaptive variable length coding for adaptive block transform
JP5270757B2 (en) Video coding by coding significant coefficient positions in coefficient blocks
RU2406258C2 (en) Method and system for coding and decoding of information related to compression of video signal
US8194749B2 (en) Method and apparatus for image intraprediction encoding/decoding
RU2658148C2 (en) Moving image encoder
JP4393875B2 (en) System and method for providing a single layer video encoded bitstream suitable for reduced complexity decoding
EP1768415A1 (en) Adaptive scan order of DCT coefficients and its signaling
US8666177B2 (en) Texture-pattern-adaptive partitioned block transform
US20070171970A1 (en) Method and apparatus for video encoding/decoding based on orthogonal transform and vector quantization
US20040258162A1 (en) Systems and methods for encoding and decoding video data in parallel
JP2013243716A (en) Entropy coding of interleaved sub-blocks of video block
US20080219576A1 (en) Method and apparatus for encoding/decoding image
KR20080090936A (en) Method and apparatus for encoding and decoding image using modification of residual block
WO2008035842A1 (en) Apparatus and method for encoding and decoding using alternative converter according to the correlation of residual signal
US20090304292A1 (en) Encoding and decoding methods, devices implementing said methods and bitstream
EP1841235A1 (en) Video compression by adaptive 2D transformation in spatial and temporal direction
WO2009031904A2 (en) Method for alternating entropy coding
US8582657B2 (en) Multi-dimensional and multi-stage transforming apparatus and method
EP1768416A1 (en) Frequency selective video compression and quantization
US8831099B2 (en) Selecting a macroblock encoding mode by using raw data to compute intra cost
KR20090046791A (en) Methods for encoding a sequence of pictures and device implementing said method
JP3157144B1 (en) Picture prediction decoding method
JP2002359852A (en) Device and method for predictive decoding of image
JP3343553B1 (en) Image prediction coding apparatus and method

Legal Events

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

Ref document number: 200680055536.7

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 06775285

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 1020097001447

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 2006775285

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2009523130

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

WWE Wipo information: entry into national phase

Ref document number: 12309721

Country of ref document: US

ENP Entry into the national phase

Ref document number: PI0621892

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20090119